Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gettext 0.19.7-1 failed to build #1928

Closed
trippleflux opened this issue Nov 13, 2016 · 6 comments
Closed

gettext 0.19.7-1 failed to build #1928

trippleflux opened this issue Nov 13, 2016 · 6 comments

Comments

@trippleflux
Copy link

Failed to build today :

Making all in src
make[4]: Entering directory '/home/Prodigy/MINGW-packages/mingw-w64-gettext/src/                                                                                                                                                                                               build-x86_64-w64-mingw32/gettext-runtime/src'
x86_64-w64-mingw32-gcc -DLOCALEDIR=\"/mingw64/share/locale\" -DHAVE_CONFIG_H -I.                                                                                                                                                                                                -I../../../gettext-0.19.7/gettext-runtime/src -I..  -I. -I../../../gettext-0.19                                                                                                                                                                                               .7/gettext-runtime/src -I.. -I../intl -I../../../gettext-0.19.7/gettext-runtime/                                                                                                                                                                                               src/../intl -I../gnulib-lib -I../../../gettext-0.19.7/gettext-runtime/src/../gnu                                                                                                                                                                                               lib-lib -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw64/include -DINST                                                                                                                                                                                               ALLDIR=\"/mingw64/bin\" -march=x86-64 -mtune=generic -O2 -pipe -c -o gettext-get                                                                                                                                                                                               text.o `test -f 'gettext.c' || echo '../../../gettext-0.19.7/gettext-runtime/src                                                                                                                                                                                               /'`gettext.c
windres `/bin/sh ../../../gettext-0.19.7/gettext-runtime/../windows/windres-opti                                                                                                                                                                                               ons --escape 0.19.7` -i ../../../gettext-0.19.7/gettext-runtime/../windows/gette                                                                                                                                                                                               xt.rc -o gettext.res --output-format=coff
x86_64-w64-mingw32-gcc -DLOCALEDIR=\"/mingw64/share/locale\" -DHAVE_CONFIG_H -I.                                                                                                                                                                                                -I../../../gettext-0.19.7/gettext-runtime/src -I..  -I. -I../../../gettext-0.19                                                                                                                                                                                               .7/gettext-runtime/src -I.. -I../intl -I../../../gettext-0.19.7/gettext-runtime/                                                                                                                                                                                               src/../intl -I../gnulib-lib -I../../../gettext-0.19.7/gettext-runtime/src/../gnu                                                                                                                                                                                               lib-lib -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw64/include -DINST                                                                                                                                                                                               ALLDIR=\"/mingw64/bin\" -march=x86-64 -mtune=generic -O2 -pipe -c -o ngettext-ng                                                                                                                                                                                               ettext.o `test -f 'ngettext.c' || echo '../../../gettext-0.19.7/gettext-runtime/                                                                                                                                                                                               src/'`ngettext.c
x86_64-w64-mingw32-gcc -DLOCALEDIR=\"/mingw64/share/locale\" -DHAVE_CONFIG_H -I.                                                                                                                                                                                                -I../../../gettext-0.19.7/gettext-runtime/src -I..  -I. -I../../../gettext-0.19                                                                                                                                                                                               .7/gettext-runtime/src -I.. -I../intl -I../../../gettext-0.19.7/gettext-runtime/                                                                                                                                                                                               src/../intl -I../gnulib-lib -I../../../gettext-0.19.7/gettext-runtime/src/../gnu                                                                                                                                                                                               lib-lib -D_FORTIFY_SOURCE=2 -D__USE_MINGW_ANSI_STDIO=1 -I/mingw64/include -DINST                                                                                                                                                                                               ALLDIR=\"/mingw64/bin\" -march=x86-64 -mtune=generic -O2 -pipe -c -o envsubst-en                                                                                                                                                                                               vsubst.o `test -f 'envsubst.c' || echo '../../../gettext-0.19.7/gettext-runtime/                                                                                                                                                                                               src/'`envsubst.c
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-w64-mingw32-gcc -DINSTALLDIR=\                                                                                                                                                                                               "/mingw64/bin\" -march=x86-64 -mtune=generic -O2 -pipe  -pipe -Wl,--disable-auto                                                                                                                                                                                               -import -o gettext.exe gettext-gettext.o ../gnulib-lib/libgrt.a ../intl/libintl.                                                                                                                                                                                               la -L/mingw64/lib -liconv -R/mingw64/lib  -L/mingw64/lib -liconv -R/mingw64/lib                                                                                                                                                                                                gettext.res
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-w64-mingw32-gcc -DINSTALLDIR=\                                                                                                                                                                                               "/mingw64/bin\" -march=x86-64 -mtune=generic -O2 -pipe  -pipe -Wl,--disable-auto                                                                                                                                                                                               -import -o ngettext.exe ngettext-ngettext.o ../gnulib-lib/libgrt.a ../intl/libin                                                                                                                                                                                               tl.la -L/mingw64/lib -liconv -R/mingw64/lib  -L/mingw64/lib -liconv -R/mingw64/l                                                                                                                                                                                               ib gettext.res
/bin/sh ../libtool  --tag=CC   --mode=link x86_64-w64-mingw32-gcc -DINSTALLDIR=\                                                                                                                                                                                               "/mingw64/bin\" -march=x86-64 -mtune=generic -O2 -pipe  -pipe -Wl,--disable-auto                                                                                                                                                                                               -import -o envsubst.exe envsubst-envsubst.o ../gnulib-lib/libgrt.a ../intl/libin                                                                                                                                                                                               tl.la -L/mingw64/lib -liconv -R/mingw64/lib  -L/mingw64/lib -liconv -R/mingw64/l                                                                                                                                                                                               ib gettext.res
libtool: link: x86_64-w64-mingw32-gcc -DINSTALLDIR=\"/mingw64/bin\" -march=x86-6                                                                                                                                                                                               4 -mtune=generic -O2 -pipe -pipe -Wl,--disable-auto-import -o .libs/ngettext.exe                                                                                                                                                                                                ngettext-ngettext.o gettext.res  ../gnulib-lib/libgrt.a ../intl/.libs/libintl.d                                                                                                                                                                                               ll.a -L/mingw64/lib -liconv -L/mingw64/lib
libtool: link: x86_64-w64-mingw32-gcc -DINSTALLDIR=\"/mingw64/bin\" -march=x86-6                                                                                                                                                                                               4 -mtune=generic -O2 -pipe -pipe -Wl,--disable-auto-import -o .libs/gettext.exe                                                                                                                                                                                                gettext-gettext.o gettext.res  ../gnulib-lib/libgrt.a ../intl/.libs/libintl.dll.                                                                                                                                                                                               a -L/mingw64/lib -liconv -L/mingw64/lib
libtool: link: x86_64-w64-mingw32-gcc -DINSTALLDIR=\"/mingw64/bin\" -march=x86-6                                                                                                                                                                                               4 -mtune=generic -O2 -pipe -pipe -Wl,--disable-auto-import -o .libs/envsubst.exe                                                                                                                                                                                                envsubst-envsubst.o gettext.res  ../gnulib-lib/libgrt.a ../intl/.libs/libintl.d                                                                                                                                                                                               ll.a -L/mingw64/lib -liconv -L/mingw64/lib
collect2.exe: error: ld returned 5 exit status
collect2.exe: error: ld returned 5 exit status
make[4]: *** [Makefile:1371: ngettext.exe] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [Makefile:1367: gettext.exe] Error 1
make[4]: Leaving directory '/home/Prodigy/MINGW-packages/mingw-w64-gettext/src/b                                                                                                                                                                                               uild-x86_64-w64-mingw32/gettext-runtime/src'
make[3]: *** [Makefile:1367: all-recursive] Error 1
make[3]: Leaving directory '/home/Prodigy/MINGW-packages/mingw-w64-gettext/src/b                                                                                                                                                                                               uild-x86_64-w64-mingw32/gettext-runtime'
make[2]: *** [Makefile:1272: all] Error 2
make[2]: Leaving directory '/home/Prodigy/MINGW-packages/mingw-w64-gettext/src/b                                                                                                                                                                                               uild-x86_64-w64-mingw32/gettext-runtime'
make[1]: *** [Makefile:413: all-recursive] Error 1
make[1]: Leaving directory '/home/Prodigy/MINGW-packages/mingw-w64-gettext/src/b                                                                                                                                                                                               uild-x86_64-w64-mingw32'
make: *** [Makefile:369: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
@peterbud
Copy link
Contributor

It does build properly.
Please read this first carefully: Contributing to MSYS2
If you want to build the package for yourself you ca do tha with the following command:
MINGW_INSTALLS=mingw64 makepkg-mingw -sLf

Also keep in mind that this package is cheking GPG signature so first import the appropriate GPG key:
gpg --recv-key D605848ED7E69871

If you are OK with the response please close the issue.

@mati865
Copy link
Collaborator

mati865 commented Nov 15, 2016

I couldn't build it yesterday (the same error as @trippleflux) but had no time to investigate it.

@peterbud
Copy link
Contributor

I just tried, and build finished without error

@mati865
Copy link
Collaborator

mati865 commented Nov 15, 2016

Maybe it is long path issue.
If you could build it that's great.

@hfp-ak
Copy link

hfp-ak commented Apr 21, 2017

The collect2 errors seem to come from this bug: msys2/MSYS2-packages#454

@lazka
Copy link
Member

lazka commented Jan 24, 2018

With msys2/MSYS2-packages#454 being fixed and various updates to the gettext package in the meantime I guess this can be closed.

@lazka lazka closed this as completed Jan 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants