Opened 2 years ago

Closed 2 years ago

#65334 closed defect (fixed)

gettext-tools-libs: build failure: error CS0006: Metadata file `GNU.Gettext' could not be found

Reported by: i0ntempest Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.7.2
Keywords: Cc:
Port: gettext-tools-libs, gettext

Description

:info:build /bin/sh ../libtool  --tag=CC   --mode=link /usr/bin/clang  -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64  -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -o urlget urlget-urlget.o ../gnulib-lib/libgettextlib.la  ../intl/libintl.la -liconv  -Wl,-framework -Wl,CoreFoundation  
:info:build libtool: link: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -Wl,-headerpad_max_install_names -Wl,-syslibroot -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -o .libs/urlget urlget-urlget.o -Wl,-framework -Wl,CoreFoundation  -L/opt/local/lib ../gnulib-lib/.libs/libgettextlib.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gettext/gettext-tools-libs/work/gettext-0.21/gettext-tools/intl/.libs/libintl.dylib ../intl/.libs/libintl.dylib -liconv
:info:build /usr/bin/clang -DLOCALEDIR=\"/opt/local/share/locale\" -DBISON_LOCALEDIR=\"/opt/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/local/share/locale\" -DUSEJAVA=0 -DGETTEXTJAR=\"/opt/local/share/gettext/gettext.jar\" -DLIBDIR=\"/opt/local/lib\" -DGETTEXTDATADIR=\"/opt/local/share/gettext\" -DPROJECTSDIR=\"/opt/local/share/gettext/projects\" -DEXEEXT=\"\" -DHAVE_CONFIG_H -I. -I..  -I. -I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl -I../../gettext-runtime/intl -DINSTALLDIR=\"/opt/local/lib/gettext\" -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk   -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -c -o cldr_plurals-cldr-plural.o `test -f 'cldr-plural.c' || echo './'`cldr-plural.c
:info:build /usr/bin/clang -DLOCALEDIR=\"/opt/local/share/locale\" -DBISON_LOCALEDIR=\"/opt/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/local/share/locale\" -DUSEJAVA=0 -DGETTEXTJAR=\"/opt/local/share/gettext/gettext.jar\" -DLIBDIR=\"/opt/local/lib\" -DGETTEXTDATADIR=\"/opt/local/share/gettext\" -DPROJECTSDIR=\"/opt/local/share/gettext/projects\" -DEXEEXT=\"\" -DHAVE_CONFIG_H -I. -I..  -I. -I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl -I../../gettext-runtime/intl -DINSTALLDIR=\"/opt/local/lib/gettext\" -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk   -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -c -o cldr_plurals-cldr-plural-exp.o `test -f 'cldr-plural-exp.c' || echo './'`cldr-plural-exp.c
:info:build /usr/bin/clang -DLOCALEDIR=\"/opt/local/share/locale\" -DBISON_LOCALEDIR=\"/opt/local/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/local/share/locale\" -DUSEJAVA=0 -DGETTEXTJAR=\"/opt/local/share/gettext/gettext.jar\" -DLIBDIR=\"/opt/local/lib\" -DGETTEXTDATADIR=\"/opt/local/share/gettext\" -DPROJECTSDIR=\"/opt/local/share/gettext/projects\" -DEXEEXT=\"\" -DHAVE_CONFIG_H -I. -I..  -I. -I. -I.. -I.. -I../libgrep -I../gnulib-lib -I../gnulib-lib -I../intl -I../../gettext-runtime/intl -DINSTALLDIR=\"/opt/local/lib/gettext\" -I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk   -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -c -o cldr_plurals-cldr-plurals.o `test -f 'cldr-plurals.c' || echo './'`cldr-plurals.c
:info:build /bin/sh ../libtool  --tag=CC   --mode=link /usr/bin/clang   -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64  -L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -o cldr-plurals cldr_plurals-cldr-plural.o cldr_plurals-cldr-plural-exp.o cldr_plurals-cldr-plurals.o libgettextsrc.la ../gnulib-lib/libgettextlib.la  ../intl/libintl.la -liconv  -Wl,-framework -Wl,CoreFoundation  
:info:build libtool: link: /usr/bin/clang -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -Wl,-headerpad_max_install_names -Wl,-syslibroot -Wl,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch x86_64 -o .libs/cldr-plurals cldr_plurals-cldr-plural.o cldr_plurals-cldr-plural-exp.o cldr_plurals-cldr-plurals.o -Wl,-framework -Wl,CoreFoundation  -L/opt/local/lib ./.libs/libgettextsrc.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gettext/gettext-tools-libs/work/gettext-0.21/gettext-tools/gnulib-lib/.libs/libgettextlib.dylib -ltextstyle -lc ../gnulib-lib/.libs/libgettextlib.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gettext/gettext-tools-libs/work/gettext-0.21/gettext-tools/intl/.libs/libintl.dylib ../intl/.libs/libintl.dylib -liconv
:info:build /bin/sh ../csharpcomp.sh -O -g -o msgfmt.net.exe ./msgfmt.cs
:info:build /bin/sh ../csharpcomp.sh -O -g -o msgunfmt.net.exe -L '../../gettext-runtime/intl-csharp' -l GNU.Gettext ./msgunfmt.cs
:info:build error CS0006: Metadata file `GNU.Gettext' could not be found
:info:build Compilation failed: 1 error(s), 0 warnings
:info:build make[3]: *** [msgunfmt.net.exe] Error 1
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gettext/gettext-tools-libs/work/gettext-0.21/gettext-tools/src'
:info:build make[2]: *** [all] Error 2
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gettext/gettext-tools-libs/work/gettext-0.21/gettext-tools/src'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gettext/gettext-tools-libs/work/gettext-0.21/gettext-tools'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gettext/gettext-tools-libs/work/gettext-0.21/gettext-tools'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gettext/gettext-tools-libs/work/gettext-0.21/gettext-tools" && /usr/bin/make -j16 -w all 
:info:build Exit code: 2

Attachments (1)

main.log (814.4 KB) - added by i0ntempest 2 years ago.

Download all attachments as: .zip

Change History (6)

Changed 2 years ago by i0ntempest

Attachment: main.log added

comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign removed
Owner: set to ryandesign
Status: newaccepted

openelec fixed the same problem by adding the configure argument --disable-csharp.

comment:2 Changed 2 years ago by i0ntempest

That arg is already applied to the gettext-runtime subport, do we want to apply it globally now?

comment:3 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)

I assume so. There would be no reason to allow some subports to opportunistically use csharp (and then fail to build).

comment:5 Changed 2 years ago by i0ntempest

Resolution: fixed
Status: acceptedclosed

In 9f6ce432d605cdb93762a0c1384fd7f1e1d45246/macports-ports (master):

gettext: disable csharp globally

Closes: #65334

Note: See TracTickets for help on using tickets.