bugm17n - Bugs: bug #61377, m17n-lib occasionally fails...

 
 

bug #61377: m17n-lib occasionally fails parallel builds

Submitter:  Sergei Trofimovich <slyfox>
Submitted:  Sun 24 Oct 2021 07:52:18 PM UTC
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  handa
Open/Closed:  Open
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       No canned response available

 

Fri 16 Sep 2022 09:22:44 PM UTC, comment #1: 

Before the change I get failures most of the time with `make --shuffle` mode (https://savannah.gnu.org/bugs/index.php?62100). After the change I got successful build in 15 out of 15 builds.

Sergei Trofimovich <slyfox>
Sun 24 Oct 2021 07:52:18 PM UTC, original submission:  

Noticed build failure today when built with `make -j16`:

make[2]: *** No rule to make target '../src/libm17n-core.la', needed by 'libm17n.la'.  Stop.
make[2]: *** Waiting for unfinished jobs....

Gentoo has an example fix: https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-libs/m17n-lib/files/m17n-lib-parallel-make.patch?id=cfe2bf058f9d2e61dd9ce39b46cc4df491a18ec9

--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -53,7 +53,7 @@
  language.h language.c \
  mlocale.h locale.c \
  m17n.h m17n.c
-libm17n_la_LIBADD = ${top_builddir}/src/libm17n-core.la -ldl
+libm17n_la_LIBADD = libm17n-core.la -ldl
 libm17n_la_LDFLAGS = -export-dynamic ${VINFO}

(and other similar targets). Does the fix look about right?

Thank you!

Sergei Trofimovich <slyfox>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #52149:  m17n-lib.failure added by slyfox (72KiB - application/octet-stream - m17n-lib.failure log)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by harshula (Updated the item)
  • -email is unavailable- added by slyfox (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

     

     

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-09-16 slyfox Attached File- Added 0001-src-Makefile.am-switch-from-absolute-to-relative-pat.patch, #53704
    2021-11-27 harshula Assigned toNone handa
    2021-10-24 slyfox Attached File- Added m17n-lib.failure, #52149

    Back to the top


    Powered by Savane 3.9