Created attachment 498492 [details] emerge_info x86_64-pc-linux-gnu-g++ -m32 -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -I. -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fPIC -march=native -O2 -pipe H264or5VideoFileSink.cpp x86_64-pc-linux-gnu-g++ -m32 -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -I. -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fPIC -march=native -O2 -pipe H264VideoFileSink.cpp x86_64-pc-linux-gnu-g++ -m32 -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -I. -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fPIC -march=native -O2 -pipe H265VideoFileSink.cpp x86_64-pc-linux-gnu-g++ -m32 -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -I. -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fPIC -march=native -O2 -pipe OggFileSink.cpp x86_64-pc-linux-gnu-g++ -m32 -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -I. -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fPIC -march=native -O2 -pipe MPEG1or2AudioRTPSink.cpp x86_64-pc-linux-gnu-g++ -m32 -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -I. -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fPIC -march=native -O2 -pipe MP3ADURTPSink.cpp x86_64-pc-linux-gnu-g++ -m32 -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -I. -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fPIC -march=native -O2 -pipe MPEG1or2VideoRTPSink.cpp x86_64-pc-linux-gnu-g++ -m32 -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -I. -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fPIC -march=native -O2 -pipe MPEG4LATMAudioRTPSink.cpp x86_64-pc-linux-gnu-g++ -m32 -c -Iinclude -I../UsageEnvironment/include -I../groupsock/include -I. -DSOCKLEN_T=socklen_t -D_LARGEFILE_SOURCE=1 -D_FILE_OFFSET_BITS=64 -fPIC -march=native -O2 -pipe MPEG4GenericRTPSink.cpp In file included from MPEG4GenericRTPSink.cpp:22:0: include/Locale.hh:47:10: fatal error: xlocale.h: No such file or directory #include <xlocale.h> // because, on some systems, <locale.h> doesn't include <xlocale.h>; this makes sure that we get both ^~~~~~~~~~~ compilation terminated. make[1]: *** [Makefile:32: MPEG4GenericRTPSink.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/media-plugins/live-2017.09.12/work/live-2017.09.12-abi_x86_32.x86/live-shared/liveMedia' make: *** [Makefile:33: all] Error 2 * ERROR: media-plugins/live-2017.09.12::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-plugins/live-2017.09.12::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-plugins/live-2017.09.12::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-plugins/live-2017.09.12/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-plugins/live-2017.09.12/temp/environment'. * Working directory: '/var/tmp/portage/media-plugins/live-2017.09.12/work/live-2017.09.12-abi_x86_32.x86/live-shared' * S: '/var/tmp/portage/media-plugins/live-2017.09.12/work/live-2017.09.12' * Messages for package media-plugins/live-2017.09.12: * ERROR: media-plugins/live-2017.09.12::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=media-plugins/live-2017.09.12::gentoo'`, * the complete build log and the output of `emerge -pqv '=media-plugins/live-2017.09.12::gentoo'`. * The complete build log is located at '/var/tmp/portage/media-plugins/live-2017.09.12/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-plugins/live-2017.09.12/temp/environment'. * Working directory: '/var/tmp/portage/media-plugins/live-2017.09.12/work/live-2017.09.12-abi_x86_32.x86/live-shared' * S: '/var/tmp/portage/media-plugins/live-2017.09.12/work/live-2017.09.12'
Please attach the full build log.
Created attachment 498494 [details] build.log
I have this problem on arm64 with glibc-2.26-r3. With -DXLOCALE_NOT_USED it builds.
same on tinderbox image 17.0-systemd_libressl_20171120-180901
Created attachment 506634 [details, diff] Patch but not perfect If I unpack the ebuild and patch it, this works to finish the compile, I'm not really good at making patches, so I'm certain I didn't quite do it right. I used the -DXLOCALE_NOT_USED flag and placed it into all the config.linux files. This bug comes from glibc-2.26 removing the xlocale file, as mentioned, it blocks that version of glibc from being stable.
(In reply to James from comment #5) > Created attachment 506634 [details, diff] [details, diff] > Patch but not perfect > > If I unpack the ebuild and patch it, this works to finish the compile, I'm > not really good at making patches, so I'm certain I didn't quite do it right. > I used the -DXLOCALE_NOT_USED flag and placed it into all the config.linux > files. > This bug comes from glibc-2.26 removing the xlocale file, as mentioned, it > blocks that version of glibc from being stable. James, Your patch does not apply for me, but manually including -DXLOCALE_NOT_USED in the referred files allows the compilation of live!
Don't need to patch. The ebuild already manipulates with -DXLOCALE_NOT_USED. Just make it apply always.. Or only with high enough versions of glibc? See my version here: https://github.com/khumarahn/teres1-gentoo/blob/master/usr/local/portage/media-plugins/live/live-2017.09.12.ebuild#L72
(In reply to Alexey Korepanov from comment #7) > Don't need to patch. The ebuild already manipulates with -DXLOCALE_NOT_USED. > Just make it apply always.. Or only with high enough versions of glibc? > > See my version here: > https://github.com/khumarahn/teres1-gentoo/blob/master/usr/local/portage/ > media-plugins/live/live-2017.09.12.ebuild#L72 The ebuild from https://github.com/khumarahn/teres1-gentoo/blob/master/usr/local/portage/media-plugins/live/live-2017.09.12.ebuild worked for me.
Me too, although I had trouble actually downloading the patch, had to extract from the htm, but it did work. Thanks.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e8c4597e86598c495ea4e4dd43897c52941b4b08 commit e8c4597e86598c495ea4e4dd43897c52941b4b08 Author: Alexis Ballier <aballier@gentoo.org> AuthorDate: 2017-12-28 10:03:15 +0000 Commit: Alexis Ballier <aballier@gentoo.org> CommitDate: 2017-12-28 10:03:24 +0000 media-plugins/live: bump to 2017.10.28 and fix build with recent glibc versions. Closes: https://bugs.gentoo.org/634152 Package-Manager: Portage-2.3.19, Repoman-2.3.6 media-plugins/live/Manifest | 1 + media-plugins/live/files/config.gentoo-r1 | 17 ++++ media-plugins/live/files/config.gentoo-so-r2 | 17 ++++ media-plugins/live/live-2017.10.28.ebuild | 128 +++++++++++++++++++++++++++ 4 files changed, 163 insertions(+)