I tried to merge dev-perl/Net-DBus-1.1.0 but it failed as sys-libs/glibc-2.26-r3 does not have /usr/src/xlocale.h in it. The exact error, with a few extra lines to give context, is: cp lib/Net/DBus/Reactor.pm blib/lib/Net/DBus/Reactor.pm cp lib/Net/DBus/Binding/Introspector.pm blib/lib/Net/DBus/Binding/Introspector.pm cp lib/Net/DBus/Binding/Connection.pm blib/lib/Net/DBus/Binding/Connection.pm cp lib/Net/DBus/Annotation.pm blib/lib/Net/DBus/Annotation.pm cp lib/Net/DBus/Test/MockIterator.pm blib/lib/Net/DBus/Test/MockIterator.pm cp lib/Net/DBus/Binding/Bus.pm blib/lib/Net/DBus/Binding/Bus.pm cp lib/Net/DBus/Test/MockConnection.pm blib/lib/Net/DBus/Test/MockConnection.pm cp lib/Net/DBus/Object.pm blib/lib/Net/DBus/Object.pm cp lib/Net/DBus/Binding/PendingCall.pm blib/lib/Net/DBus/Binding/PendingCall.pm cp lib/Net/DBus/Test/MockMessage.pm blib/lib/Net/DBus/Test/MockMessage.pm mv DBus.xsc DBus.c x86_64-pc-linux-gnu-gcc -c -Wall -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=haswell -DVERSION=\"1.1.0\" -DXS_VERSION=\"1.1.0\" -fPIC "-I/usr/lib64/perl5/5.26.0/x86_64-linux/CORE" -DNET_DBUS_DEBUG=1 DBus.c In file included from DBus.xs:21:0: /usr/lib64/perl5/5.26.0/x86_64-linux/CORE/perl.h:738:24: fatal error: xlocale.h: No such file or directory # include <xlocale.h> ^ compilation terminated. make: *** [Makefile:377: DBus.o] Error 1 emerge -pqv '=dev-perl/Net-DBus-1.1.0' returns: [ebuild N ] dev-perl/Net-DBus-1.1.0 USE="{-test}" while emerge --info returns: Traceback (most recent call last): File "/usr/lib/python-exec/python3.5/emerge", line 50, in <module> retval = emerge_main() File "/usr/lib64/python3.5/site-packages/_emerge/main.py", line 1250, in emerge_main return run_action(emerge_config) File "/usr/lib64/python3.5/site-packages/_emerge/actions.py", line 3255, in run_action emerge_config.trees, emerge_config.opts, valid_atoms) File "/usr/lib64/python3.5/site-packages/_emerge/actions.py", line 1654, in action_info head_commit = sync.retrieve_head(options=options) File "/usr/lib64/python3.5/site-packages/portage/sync/modules/git/git.py", line 142, in retrieve_head cwd=portage._unicode_encode(self.repo.location)))) File "/usr/lib64/python3.5/subprocess.py", line 316, in check_output **kwargs).stdout File "/usr/lib64/python3.5/subprocess.py", line 383, in run with Popen(*popenargs, **kwargs) as process: File "/usr/lib64/python3.5/subprocess.py", line 676, in __init__ restore_signals, start_new_session) File "/usr/lib64/python3.5/subprocess.py", line 1211, in _execute_child executable = os.fsencode(executable) File "/usr/lib64/python3.5/os.py", line 864, in fsencode raise TypeError("expect bytes or str, not %s" % type(filename).__name__) TypeError: expect bytes or str, not NoneType (unfortunately I was trying to install it in a chroot)
Tried uploading the build log but it failed. Here it is in a pastebin: https://paste.pound-python.org/show/K3mmCIr026ZWCHfLmW7L/.
/usr/lib64/perl5/5.26.0/x86_64-linux/CORE/perl.h:738:24: fatal error: xlocale.h: ^ This file comes from dev-lang/perl, and you need to reinstall dev-lang/perl somewhat recently to get the patch that fixes this: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59e5b94ccd20a044eaa752ca5077c7d6d2b065b4 However, seeing the effects of this patch are not merely build time, and affect later, we should probably consider -r1 bumping Perl too.
Ah ... it was -r1 bumped, just only done in 5.26.1 So yeah, please upgrade to 5.26.1-r1 and if this problem persists, please reopen this bug.