Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639742 - media-gfx/splashutils-1.5.4.4-r7 - In file included from crc32.c:36:0: /usr/lib64/klibc/include/limits.h:43:10: fatal error: linux/limits.h: No such file or directory
Summary: media-gfx/splashutils-1.5.4.4-r7 - In file included from crc32.c:36:0: /usr/l...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 2 votes (vote)
Assignee: Asaf Gery
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-04 10:02 UTC by Heiko Baums
Modified: 2018-02-25 14:37 UTC (History)
8 users (show)

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


Attachments
build.log (build.log,20.60 KB, text/plain)
2017-12-04 10:02 UTC, Heiko Baums
Details
build.log (build.log,21.42 KB, text/plain)
2017-12-04 21:56 UTC, Paul Klos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Baums 2017-12-04 10:02:10 UTC
Created attachment 508000 [details]
build.log

media-gfx/splashutils-1.5.4.4-r7 fails to build.


  MAKE    libfreetype.a
In file included from /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r7/work/splashutils-1.5.4.4/libs/freetype-2.3.12/include/freetype/config/ftstdlib.h:60:0,
                 from /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r7/work/splashutils-1.5.4.4/libs/freetype-2.3.12/include/freetype/config/ftconfig.h:43,
                 from /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r7/work/splashutils-1.5.4.4/libs/freetype-2.3.12/include/freetype/freetype.h:34,
                 from /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r7/work/splashutils-1.5.4.4/libs/freetype-2.3.12/src/base/ftdebug.c:45:
/usr/lib64/klibc/include/limits.h:43:10: fatal error: linux/limits.h: No such file or directory
 #include <linux/limits.h>
          ^~~~~~~~~~~~~~~~
compilation terminated.


emerge --info:

Portage 2.3.16 (python 3.4.6-final-0, default/linux/amd64/17.0/desktop, gcc-7.2.0, glibc-2.26-r3, 4.13.8-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.13.8-gentoo-x86_64-AMD_Phenom-tm-_II_X4_945_Processor-with-gentoo-2.4.1
KiB Mem:     4044636 total,   1339656 free
KiB Swap:    1048572 total,   1002256 free
Timestamp of repository gentoo: Mon, 04 Dec 2017 06:45:01 +0000
Head commit of repository gentoo: 810ca4e9f6be6b016ff655a25d9c500e853963e0
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.6-r1::gentoo
dev-util/cmake:           3.10.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            7.2.0::gentoo
sys-devel/gcc-config:     1.9.0-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

LocalOverlay
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/env.d/70less /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=amdfam10 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/"
INSTALL_MASK="/lib/systemd /lib32/systemd /lib64/systemd /usr/lib/systemd /usr/lib32/systemd /usr/lib64/systemd /etc/systemd /usr/lib64/firefox/browser/searchplugins"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac aacs acl acpi alsa amd64 aspell bash-completion berkdb bluray branding bzip2 cairo caps cdda cddb cdparanoia cdr cli consolekit cracklib crypt cryptsetup css cups cxx dbus dga djvu dri dts dv dvb dvd dvdr emboss encode exif faac fam fbcon fbcondecor ffmpeg firefox flac foomaticdb ftp gcj gdbm gif gimp glamor gnome-keyring gpg gpm gtk gtk2 gtk3 gtkstyle gzip hddtemp hunspell iconv idn imagemagick imap ipv6 jbig jpeg jpeg2k justify latex lcms ldap libnotify libsamplerate lm_sensors lzma lzo mad maildir matroska mbox mime mms mng modemmanager modplug modules mp3 mp4 mpeg multilib musicbrainz ncurses networkmanager nftables nls nntp nptl nsplugin ntp ogg openal openexr opengl openmp opus pam pango pcre pdf pkcs11 png policykit postscript ppds qt3support quicktime raw readline rtmp rtsp scanner schroedinger sdl seccomp session sndfile sound speex spell ssl startup-notification svg syslog taglib theora threads thunar tiff timidity tk truetype udev udisks unicode upower usb uvm v4l vcd vdpau vorbis wavpack webp wmf wxwidgets x264 xattr xcb xcomposite xface xfce xft xml xorg xpm xv xvid xvmc zlib" ABI_X86="64" ALSA_CARDS="ice1712" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" L10N="de de_DE en en_US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de de_DE en en_US" LIRC_DEVICES="devinput" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby24" SANE_BACKENDS="epson2" USERLAND="GNU" VIDEO_CARDS="nvidia v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-gfx/splashutils-1.5.4.4-r7::gentoo was built with the following:
USE="fbcondecor gpm png truetype -hardened" ABI_X86="(64)"
Comment 1 Paul Klos 2017-12-04 21:55:40 UTC
Same here. My emerge --info:

Portage 2.3.13 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-6.4.0, glibc-2.25-r9, 4.12.12-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.12.12-gentoo-x86_64-Intel-R-_Core-TM-_i5-3570K_CPU_@_3.40GHz-with-gentoo-2.4.1
KiB Mem:    16396888 total,  10068264 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Mon, 04 Dec 2017 18:24:47 +0000
Head commit of repository gentoo: 3edcc60526042fb99c105961045aefd1d6228ebb

sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.28.1 p1.0) 2.28.1
distcc[19902] (dcc_trace_version) distcc 3.2rc1 x86_64-pc-linux-gnu; built Dec  3 2017 13:56:56 [disabled]
ccache version 3.2.4 [enabled]
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14::gentoo, 3.4.5::gentoo, 3.5.4::gentoo, 3.6.3-r1::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.10.0::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.14.1-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.28.1::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            5.4.0-r3::gentoo, 6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

my_local_overlay
    location: /usr/local/portage/manual
    masters: gentoo

hamper-overlay
    location: /var/lib/layman/hamper-overlay
    sync-type: laymansync
    sync-uri: git://github.com/hamper/hamper-overlay.git
    masters: gentoo
    priority: 50

java
    location: /var/lib/layman/java
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/java.git
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs 5 --load-average 3"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="rsync://ftp.snt.utwente.nl/gentoo http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.netcologne.de/gentoo/ ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo ftp://gentoo.imj.fr/pub/gentoo/"
LANG="nl_NL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="--jobs 5 --load-average 3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi activities aim alsa amd64 apache2 aspell audiofile bash-completion branding bzip2 cairo cdda cdr chipcard cleartype cli consolekit corefonts cracklib crypt css cups cxx dbus declarative dri dts dv dvd dvdr emboss encode exif fam fbcondecor firefox flac fortran ftp gd gif gimp glamor gles1 gpm hddtemp iconv id3tag ieee1394 imagemagick imap innodb ipv6 jack java6 javascript jpeg kde kdepim kipi kontact kwallet lame lcms ldap libnotify lm_sensors logrotate mad marble mime mmx mmxext mng modules mp3 mp4 mpeg mplayer msplugin multilib mysql mysqli ncurses nls nntp nptl offensive ogg oggvorbis opengl openmp pam pango pcre pdf phonon php plasma png policykit ppds pulseaudio qml qt3support qt5 raw readline rss sdl seccomp semantic-desktop session slp smp sockets spell sql sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg taglib tcl tcpd theora tiff truetype type1 udev udisks unicode upower usb utils v4l v4l2 vhosts vorbis webkit widgets wifi win32codecs wxwidgets x264 xattr xcb xcomposite xine xinerama xml xpm xrandr xv xvid yahoo zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="proxy proxy_http authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi krita plan sheets stage words" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="emu efi-64" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en nl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en nl" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" QEMU_SOFTMMU_TARGETS="x86_64 ppc" QEMU_USER_TARGETS="x86_64 ppc" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="intel i965 nvidia nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

media-gfx/splashutils-1.5.4.4-r7::gentoo was built with the following:
USE="fbcondecor gpm png truetype -hardened" ABI_X86="(64)"
CFLAGS="-march=core2 -O2 -pipe"
CXXFLAGS="-march=core2 -O2 -pipe"
Comment 2 Paul Klos 2017-12-04 21:56:38 UTC
Created attachment 508194 [details]
build.log
Comment 3 thomas 2017-12-31 11:06:38 UTC
Since the error is in an include from klibc, could this be related to this: https://bugs.gentoo.org/621848
Comment 4 Zentoo 2018-01-11 15:41:13 UTC
With a klibc compiled with KV_MAJOR="4" KV_MINOR="x" KV_SUB="14"
splashutils don't emerge:


>>> Compiling source in /gentoo/tmp/portage/media-gfx/splashutils-1.5.4.4-r7/work/splashutils-1.5.4.4 ...
make -j8 -l8 CC=x86_64-pc-linux-gnu-gcc STRIP=true 
make --silent all-recursive
Making all in libs
  CONF    libz.a
  CONF    libjpeg.a
  MAKE    zlib.a
In file included from crc32.c:36:0:
/usr/lib64/klibc/include/limits.h:43:10: fatal error: linux/limits.h: No such file or directory
 #include <linux/limits.h>
          ^~~~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [<builtin>: crc32.o] Error 1
make[3]: *** Waiting for unfinished jobs....
In file included from /usr/lib64/klibc/include/stdio.h:9:0,
                 from gzio.c:10:
/usr/lib64/klibc/include/klibc/sysconfig.h:12:10: fatal error: asm/unistd.h: No such file or directory
 #include <asm/unistd.h>
          ^~~~~~~~~~~~~~
compilation terminated.
make[3]: *** [<builtin>: gzio.o] Error 1
make[2]: *** [Makefile:628: libz.a] Error 2
make[2]: *** Waiting for unfinished jobs....
configure: error: in `/gentoo/tmp/portage/media-gfx/splashutils-1.5.4.4-r7/work/splashutils-1.5.4.4/libs/libjpeg':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
/usr/bin/sed: can't read Makefile: No such file or directory
make[3]: *** No rule to make target 'libjpeg.la'.  Stop.
  MAKE    libjpeg.a
make[3]: *** No rule to make target 'libjpeg.la'.  Stop.
make[2]: *** [Makefile:595: libjpeg.a] Error 2
make[1]: *** [Makefile:441: all-recursive] Error 1
make: *** [Makefile:372: all] Error 2
 * ERROR: media-gfx/splashutils-1.5.4.4-r7::gentoo failed (compile phase):
 *   emake failed
Comment 5 Sergio 2018-01-13 14:38:58 UTC
Zentoo, I just built media-gfx/splashutils-1.5.4.4-r7 after successfully emerging dev-libs/klibc-2.0.4-r2 with 'KV_MAJOR="4" KV_MINOR="x" KV_SUB="14"'.

Regards,
Sergio
Comment 6 Zentoo 2018-01-15 12:31:22 UTC
(In reply to Sergio from comment #5)
> Zentoo, I just built media-gfx/splashutils-1.5.4.4-r7 after successfully
> emerging dev-libs/klibc-2.0.4-r2 with 'KV_MAJOR="4" KV_MINOR="x"
> KV_SUB="14"'.

Which USE flags do you enable to emerge splashutils ?

I can't emerge it with USE="fbcondecor png gpm" or USE="png" (theme dependency).
Comment 7 Jim Niemira 2018-01-17 13:47:59 UTC
I just built media-gfx/splashutils-1.5.4.4-r7 after successfully emerging dev-libs/klibc-2.0.4-r2 with 'KV_MAJOR="4" KV_MINOR="x" KV_SUB="12"' (because I have 4.12.12 code/kernel installed).

klibc had thrown this, after the above fix, during emerge -e @world:
 * Messages for package dev-libs/klibc-2.0.4-r2:

 * 
 * Installation of a symlink is blocked by a directory:
 *   '/usr/lib64/klibc/include/linux'
 * This symlink will be merged with a different name:
 *   '/usr/lib64/klibc/include/linux.backup.0002'
 * 
 * 
 * Installation of a symlink is blocked by a directory:
 *   '/usr/lib64/klibc/include/asm-generic'
 * This symlink will be merged with a different name:
 *   '/usr/lib64/klibc/include/asm-generic.backup.0002'
 * 
 * 
 * Installation of a symlink is blocked by a directory:
 *   '/usr/lib64/klibc/include/asm'
 * This symlink will be merged with a different name:
 *   '/usr/lib64/klibc/include/asm.backup.0002'
 * 

but successfully installed, and emerge -e @world continued (via "emerge --resume") until stopping on splashutils.

I went to /usr/lib64/klibc/include and noticed that asm, asm-generic, and linux were all directories (not symlinks), and they were all empty.  The previous klibc emerge attempts had installed symlinks of the pattern

asm.backup.0000->/usr/include/asm

I did this:
- Moved each of asm, asm-generic, and linux to <name>.old
- emerge klibc
- emerge --resume

and this time asm, asm-generic, and linux are now symlinks into /usr/include, and the emerge -e @world is continuing on.

I don't know if KV_SUB setting of 12 is good or bad, but the system does compile now.
Comment 8 Zentoo 2018-01-17 16:25:51 UTC
Thanks Jim, I got the same problem, these path were empty directories and not symlink:

# qcheck klibc
Checking dev-libs/klibc-2.0.4-r2 ...
 MTIME: /usr/lib64/klibc/include/linux
 MTIME: /usr/lib64/klibc/include/asm
 MTIME: /usr/lib64/klibc/include/asm-generic

but splashutils don't want be emerged. I got another error:

 ./.libs/libfbsplashrender.a(libfbsplashrender_la-common.o): In function `dev_create':
common.c:(.text+0x95): undefined reference to `makedev'
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:993: fbsplashctl] Error 1
make[3]: *** [Makefile:1475: all-recursive] Error 1
make[2]: *** [Makefile:691: all] Error 2
make[1]: *** [Makefile:441: all-recursive] Error 1
make: *** [Makefile:372: all] Error 2
Comment 9 hangglider 2018-01-30 20:34:07 UTC
Had the same problem just a few minutes before, with even failing to build libjpeg.a because of asm/unistd.h not found.

So watch for empty dirs as in comment 8, and symlinks with the same name as those and ".backup.000[0-9]" appended. I removed the empty dirs, mved the latest symlinks to the names of the dirs, and removed all remaining symlinks of that names. That fixed that bug for me and brought me to the next one (see makedev).

Hope this helps.
Comment 10 Patrick Lauer gentoo-dev 2018-02-25 14:37:29 UTC
It looks like the only real splashutils issue here is caused by newer glibc, and is fixed in -r8.

All the other issues are related to klibc and should also be fixed there, if I'm not mistaken