Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645400 - app-emulation/rkt-1.29.0: parse-util.c:26:10: fatal error: xlocale.h: No such file or directory
Summary: app-emulation/rkt-1.29.0: parse-util.c:26:10: fatal error: xlocale.h: No such...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL:
Whiteboard: ~arch only
Keywords:
Depends on:
Blocks: xlocale.h
  Show dependency tree
 
Reported: 2018-01-22 19:11 UTC by Alexander Sergeyev
Modified: 2019-05-31 23:07 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,722.95 KB, text/plain)
2018-01-22 19:11 UTC, Alexander Sergeyev
Details
emerge --info output (emerge-info.txt,3.55 KB, text/plain)
2018-01-22 19:14 UTC, Alexander Sergeyev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Sergeyev 2018-01-22 19:11:41 UTC
Created attachment 515996 [details]
build.log

The current version of the rkt fails to build with the rkt_stage1_src flavor (the one which builds systemd-nspawn from bundled sources, https://coreos.com/rkt/docs/latest/build-configure.html):


/var/tmp/portage/app-emulation/rkt-1.29.0/work/rkt-1.29.0/build-rkt-1.29.0/tmp/usr_from_src/systemd/src/src/basic/parse-util.c:26:10: fatal error: xlocale.h: No such file or directory
 #include <xlocale.h>
          ^~~~~~~~~~~
compilation terminated.
make[3]: *** [Makefile:16041: src/basic/libbasic_la-parse-util.lo] Error 1

It looks like this particular include should be removed as it is in the upstream: https://github.com/systemd/systemd/commit/284d1cd0a12cad96a5ea61d1afb0dd677dbd147e

The target useflags: app-emulation/rkt-1.29.0 actool rkt_stage1_src
The host system uses openrc (not systemd).

Use flags for dependencies (from equery depgraph):
sys-libs/glibc-2.26-r5:2.2 caps -audit -crosscompile_opts_headers-only -debug -doc -gd -hardened -multilib -nscd -profile -selinux -suid -systemtap -vanilla
app-arch/cpio-2.12-r1:0 -nls
app-crypt/trousers-0.3.14-r1:0 -doc -libressl -selinux
app-portage/elt-patches-20170826.1:0 
app-shells/bash-4.4_p12-r1:0 readline -afs -bashlogger -examples -mem-scramble -net -nls -plugins
dev-lang/go-1.9.2:0 gccgo
dev-perl/Capture-Tiny-0.460.0:0 -examples -test
sys-apps/attr-2.4.47-r2:0 -nls -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32"
sys-apps/util-linux-2.31.1:0 caps cramfs ncurses pam unicode -build -fdformat -kill -nls -python -readline -selinux -slang -static-libs -suid -systemd -test -tty-helpers -udev ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" PYTHON_SINGLE_TARGET="python2_7 -python3_4 -python3_5 -python3_6" PYTHON_TARGETS="python2_7 python3_5 python3_6 -python3_4"
sys-devel/autoconf-2.13:2.1 USERLAND="-BSD"
sys-devel/autoconf-2.69-r4:2.69 -emacs
sys-devel/automake-1.11.6-r2:1.11 
sys-devel/automake-1.15.1-r1:1.15 
sys-devel/libtool-2.4.6-r4:2 -vanilla
sys-fs/squashfs-tools-4.3-r2:0 lzma xattr xz -debug -lz4 -lzo -static
sys-libs/libcap-2.25:0 -pam -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32"
sys-libs/zlib-1.2.11-r1:0 minizip -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32"
virtual/pkgconfig-0-r1:0 ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32"
x11-libs/pixman-0.34.0:0 -altivec -iwmmxt -loongson2f -neon -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="64 -32 -x32" CPU_FLAGS_X86="mmxext sse2 ssse3"
Comment 1 Alexander Sergeyev 2018-01-22 19:14:58 UTC
Created attachment 515998 [details]
emerge --info output
Comment 2 Nico Baggus 2018-10-22 21:48:15 UTC
This is no also in production, virtualbox does not compile due to missing xlocale.h.


This is caused appearantly because a recent glibc update removed that file.
Comment 3 Zac Medico gentoo-dev 2018-11-20 19:11:42 UTC
Because of this issue, I've removed the rkt_stage1_src USE flag in the rkt-1.30.0 ebuild.
Comment 4 Zac Medico gentoo-dev 2019-05-31 23:07:39 UTC
Masked for removal: bug 687100