bugGNU gettext - Bugs: bug #61682, Build sometimes fails on MacOS

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #61682: Build sometimes fails on MacOS

Submitter:  Lukas Oberhuber <lukaso>
Submitted:  Thu 16 Dec 2021 12:18:39 AM UTC
   
 
Category:  Build Severity:  3 - Normal
Item Group:  None Status:  Works For Me
Privacy:  Public Assigned to:  haible
Open/Closed:  Closed

Sat 17 Dec 2022 06:08:46 PM UTC, comment #3: 

I also got the same problem with gettext-0.21
I use parallel build using MAKEFLAGS=-j5

I then tried:

make clean
make -j1


and this time the compilation worked.

I suspect a bug related to parallel build.

Ludovic Rousseau <rousseau>
Sun 26 Dec 2021 08:34:55 AM UTC, comment #2: 

This set of commands works for me, in gettext-0.21:

./configure --without-emacs --disable-java --disable-native-java --disable-libasprintf --disable-csharp --with-included-glib --with-included-libcroco --with-included-libunistring
make


And it produces a gettext-tools/libgettextpo/.libs/libgettextpo.dylib that contains the symbols _libgettextpo_u8_mbtouc_aux and _libgettextpo_u8_mbtouc_unsafe_aux.

Bruno Haible <haible>
Group administrator
Thu 16 Dec 2021 02:11:30 AM UTC, comment #1: 

What do you mean by "often"? When you execute the entire configure + build, say, 10 times in the same conditions, how many times does it succeed and how many times does it fail?

Also, do you use parallel build (make -j)?

Bruno Haible <haible>
Group administrator
Thu 16 Dec 2021 12:18:39 AM UTC, original submission:  

The following often results when building on MacOS. It appears that the namespacing of the functions which are missing, is not occurring for the actual c code related.

These are the configure flags passed:

```
gettext-0.21/configure --prefix /Users/user/gtk/inst --without-emacs --disable-java --disable-native-java --disable-libasprintf --disable-csharp --with-included-glib --with-included-libcroco --with-included-libunistring
```

And this is the error:

```
Undefined symbols for architecture x86_64:
  "_libgettextpo_u8_mbtouc_aux", referenced from:
      _name_validate in libgnu.a(markup.o)
      _utf8conv_carefully in libgnu.a(striconveh.o)
  "_libgettextpo_u8_mbtouc_unsafe_aux", referenced from:
      _mem_cd_iconveh_internal in libgnu.a(striconveh.o)
ld: symbol(s) not found for architecture x86_64
```

Lukas Oberhuber <lukaso>

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rousseau (Posted a comment)
  • -email is unavailable- added by haible (Posted a comment)
  • -email is unavailable- added by lukaso (Submitted the item)
  • -email is unavailable- added by lukaso
  •  

    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.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-12-26 haible StatusNone Works For Me
        Assigned toNone haible
        Open/ClosedOpen Closed
    2021-12-16 lukaso Carbon-Copy- Added lukaso

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code