Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] splashutils broken after mng USE flag removal?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
SunMar
n00b
n00b


Joined: 15 Nov 2004
Posts: 33
Location: The Netherlands

PostPosted: Sat Jan 03, 2015 7:42 pm    Post subject: [Solved] splashutils broken after mng USE flag removal? Reply with quote

Hi,

Today my system wanted to re-emerge splashutils because the mng USE was removed, but it failed to build. Does anyone have an idea what's wrong? Checking here before posting a bug report. All other packages on my system are up-to-date (~amd64).

emerge --info:
Code:

emerge --info '=media-gfx/splashutils-1.5.4.4-r4::gentoo'
Portage 2.2.15 (python 3.4.2-final-0, default/linux/amd64/13.0, gcc-4.8.4, glibc-2.20-r1, 3.18.1-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.1-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_870_@_2.93GHz-with-gentoo-2.2
KiB Mem:     2057836 total,    150076 free
KiB Swap:    1004056 total,   1003920 free
Timestamp of tree: Sat, 03 Jan 2015 17:45:01 +0000
sh bash 4.3_p33
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p33
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.4.2
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.6
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.4
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.20-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://gentoo.tiscali.nl/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="X acl amd64 bash-completion berkdb bindist bzip2 cli cracklib crypt cxx dbus dri fbcon fortran gdbm gpm iconv ipv6 jpeg mmx modules multilib ncurses nls nptl openmp pam pcre png readline session sse sse2 sse3 ssl startup-notification subversion tcpd thunar tiff udev unicode vim-syntax 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="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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5 php5-6" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="virtualbox" 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"
USE_PYTHON="2.7"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

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

media-gfx/splashutils-1.5.4.4-r4 was built with the following:
USE="fbcondecor gpm mng png truetype -hardened" ABI_X86="64"


emerge -pqv:
Code:

[ebuild   R   ] media-gfx/splashutils-1.5.4.4-r4  USE="fbcondecor gpm png truetype -hardened (-mng%*)"


build.log:
Code:

 * Package:    media-gfx/splashutils-1.5.4.4-r4
 * Repository: gentoo
 * Maintainer: asaf.gery@gmail.com proxy-maint@gentoo.org
 * USE:        abi_x86_64 amd64 elibc_glibc fbcondecor gpm kernel_linux png truetype userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking splashutils-lite-1.5.4.4.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r4/work
>>> Unpacking splashutils-gentoo-1.0.17.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r4/work
>>> Unpacking miscsplashutils-0.1.8.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r4/work
>>> Unpacking libpng-1.4.3.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r4/work
>>> Unpacking jpegsrc.v8a.tar.gz to /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r4/work
>>> Unpacking freetype-2.3.12.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r4/work
>>> Unpacking zlib-1.2.3.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r4/work
>>> Source unpacked in /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r4/work
>>> Preparing source in /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r4/work/splashutils-1.5.4.4 ...
 * Applying splashutils-1.5.4.4-gentoo-typo-fix.patch ...                                                             [ ok ]
 * Applying splashutils-1.5.4.4-freetype-bz2.patch ...                                                                [ ok ]
 * Applying splashutils-1.5.4.4-ft25.patch ...                                                                        [ ok ]
 * Applying splashutils-1.5.4.4-bzip2.patch ...                                                                       [ ok ]
 * Applying splashutils-1.5.4.4-multi-keyboard.patch ...                                                              [ ok ]
 * Running eautoreconf in '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r4/work/splashutils-1.5.4.4' ...
 * Running libtoolize --install --copy --force --automake ...                                                         [ ok ]
 * Running aclocal -I m4 ...                                                                                          [ ok ]
 * Running autoconf ...                                                                                               [ ok ]
 * Running autoheader ...                                                                                             [ ok ]
 * Running automake --add-missing --copy --force-missing ...                                                          [ ok ]
 * Running elibtoolize in: splashutils-1.5.4.4/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 * Running elibtoolize in: splashutils-1.5.4.4/libs/freetype-2.3.12/
 * Running elibtoolize in: splashutils-1.5.4.4/libs/freetype-2.3.12/builds/unix/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 *   Applying target-nm/2.4.2 patch ...
 * Running elibtoolize in: splashutils-1.5.4.4/libs/jpeg-8a/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 *   Applying target-nm/2.4.2 patch ...
 * Running elibtoolize in: splashutils-1.5.4.4/libs/libpng-1.4.3/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
 *   Applying target-nm/2.4.2 patch ...
 * Running elibtoolize in: splashutils-1.5.4.4/libs/zlib-1.2.3/
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r4/work/splashutils-1.5.4.4 ...
make CC=x86_64-pc-linux-gnu-gcc LIB=lib64 STRIP=true
x86_64-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed fbres.c -o fbres
true fbres
x86_64-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed usleep.c -o usleep
true usleep
make[1]: Entering directory '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r4/work/miscsplashutils-0.1.8/fbtruetype'
x86_64-pc-linux-gnu-gcc -O2 -pipe -I/usr/include/freetype2   -c -o fbtruetype.o fbtruetype.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -I/usr/include/freetype2   -c -o messages.o messages.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -I/usr/include/freetype2   -c -o console.o console.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -I/usr/include/freetype2   -c -o ttf.o ttf.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -I/usr/include/freetype2   -c -o luxisri.o luxisri.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -I/usr/include/freetype2 -Wl,-O1 -Wl,--as-needed -L/usr/lib64 -o fbtruetype -Wl,-O1 -Wl,--as-needed -L/usr/lib64 fbtruetype.o messages.o console.o ttf.o luxisri.o -lfreetype  -lm
x86_64-pc-linux-gnu-gcc -O2 -pipe -I/usr/include/freetype2 -Wl,-O1 -Wl,--as-needed -L/usr/lib64 -static -o fbtruetype.static -Wl,-O1 -Wl,--as-needed -L/usr/lib64 fbtruetype.o messages.o console.o ttf.o luxisri.o -lfreetype -lbz2 -lpng16 -lz  -lm
true -s fbtruetype fbtruetype.static
make[1]: Leaving directory '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r4/work/miscsplashutils-0.1.8/fbtruetype'
make[1]: Entering directory '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r4/work/miscsplashutils-0.1.8/kbd'
x86_64-pc-linux-gnu-gcc -O2 -pipe   -c -o fgconsole.o fgconsole.c
x86_64-pc-linux-gnu-gcc -O2 -pipe   -c -o getfd.o getfd.c
x86_64-pc-linux-gnu-gcc -O2 -pipe -Wl,-O1 -Wl,--as-needed fgconsole.o getfd.o -o fgconsole
make[1]: Leaving directory '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r4/work/miscsplashutils-0.1.8/kbd'
 * econf: updating splashutils-1.5.4.4/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating splashutils-1.5.4.4/libs/freetype-2.3.12/builds/unix/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating splashutils-1.5.4.4/libs/freetype-2.3.12/builds/unix/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating splashutils-1.5.4.4/libs/libpng-1.4.3/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating splashutils-1.5.4.4/libs/libpng-1.4.3/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating splashutils-1.5.4.4/libs/jpeg-8a/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating splashutils-1.5.4.4/libs/jpeg-8a/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating splashutils-1.5.4.4/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 --with-png --without-mng --with-gpm --with-ttf --with-ttf-kernel --enable-fbcondecor --docdir=/usr/share/doc/splashutils-1.5.4.4-r4 --with-freetype2-src=libs/freetype-2.3.12 --with-jpeg-src=libs/jpeg-8a --with-lpng-src=libs/libpng-1.4.3 --with-zlib-src=libs/zlib-1.2.3 --with-essential-libdir=/lib64
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B
checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-pc-linux-gnu-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for archiver @FILE support... @
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for x86_64-pc-linux-gnu-mt... no
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no
checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC
checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes
checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes
checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes
checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether ln -s works... yes
checking for a sed that does not truncate output... (cached) /bin/sed
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for klcc... klcc
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking for ceilf in -lm... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for clock_gettime in -lrt... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_create in -lpthread... yes
checking for pthread.h... (cached) yes
checking for xxpthread_create in -lpthread... no
checking for pthread_create in -lpthread... (cached) yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for jpeg_set_defaults in -ljpeg... yes
checking gpm.h usability... yes
checking gpm.h presence... yes
checking for gpm.h... yes
checking for Gpm_Open in -lgpm... yes
checking for libpng-config... /usr/bin/libpng-config
checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for FREETYPE2... yes
checking for BZ2_bzDecompress in -lbz2... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating libs/Makefile
config.status: creating misc/Makefile
config.status: creating src/test/Makefile
config.status: creating docs/Makefile
config.status: creating scripts/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r4/work/splashutils-1.5.4.4 ...
make CC=x86_64-pc-linux-gnu-gcc STRIP=true
make --silent all-recursive
Making all in libs
  CONF    libjpeg.a
  MAKE    libjpeg.a
/usr/bin/x86_64-pc-linux-gnu-ld: error in /usr/lib64/klibc/lib/libc.so(.eh_frame); no .eh_frame_hdr table will be created.
/usr/bin/x86_64-pc-linux-gnu-ld: warning: cannot find entry symbol main; defaulting to 00000000004001c0
  CONF    libz.a
  MAKE    zlib.a
  CONF    libpng.a
  MAKE    libpng.a
  CONF    libfreetype.a
  MAKE    libfreetype.a
Making all in src
  CREATE  fbsplash.h
Making all in .
libfbsplash.c: In function ‘fbsplash_send’:
libfbsplash.c:725:2: warning: format not a string literal and no format arguments [-Wformat-security]
  fprintf(fp_fifo, cmd);
  ^
libfbsplash.c: In function ‘fbsplash_parse_kcmdline’:
libfbsplash.c:177:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
  fgets(buf, 1024, fp);
       ^
libfbsplash.c: In function ‘fbsplash_cache_cleanup’:
libfbsplash.c:498:8: warning: ignoring return value of ‘system’, declared with attribute warn_unused_result [-Wunused-result]
  system("/bin/sed -i -e '\\#"FBSPLASH_CACHEDIR"# d' /etc/mtab");
        ^
libfbsplash.c: In function ‘fbsplash_check_sanity’:
libfbsplash.c:571:7: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
  fgets(buf, 128, fp);
       ^
libfbsplash.c: In function ‘fbsplash_profile’:
libfbsplash.c:677:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
  fscanf(fp, "%f", &uptime);
        ^
libfbsplashrender.c: In function ‘fbsplashr_input_init’:
libfbsplashrender.c:216:11: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
     fscanf(fp, "%x", &ev);
           ^
libfbsplashrender.c: In function ‘fbsplashr_tty_silent_init’:
libfbsplashrender.c:627:8: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
   write(fd, "\e[H\e[2J", 7);
        ^
libfbsplashrender.c: In function ‘vt_cursor_disable’:
libfbsplashrender.c:593:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  write(fd, "\e[?25l\e[?1c", 11);
       ^
libfbsplashrender.c: In function ‘vt_cursor_enable’:
libfbsplashrender.c:598:7: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
  write(fd, "\e[?25h\e[?0c", 11);
       ^
common.c: In function ‘dev_create’:
common.c:47:6: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
  read(fd, buf, 256);
      ^
image.c: In function ‘is_png’:
image.c:171:7: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
  fread(header, 1, 8, fp);
       ^
ttf.c: In function ‘text_get_output’:
ttf.c:676:6: warning: ignoring return value of ‘pipe’, declared with attribute warn_unused_result [-Wunused-result]
  pipe(pfds);
      ^
ttf.c:687:6: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result]
   dup(pfds[1]);
      ^
daemon.c: In function ‘thf_switch_ttymon’:
daemon.c:506:7: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
   read(fd_tty[config.tty_s], &ret, 1);
       ^
daemon.c: In function ‘daemon_start’:
daemon.c:682:7: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
  chdir("/");
       ^
  CC      fbcondecor_helper-kernel.o
  CC      fbcondecor_helper-libfbsplash.o
  CC      fbcondecor_helper-libfbsplashrender.o
  CC      fbcondecor_helper-fbcon_decor.o
  CC      fbcondecor_helper-common.o
  CC      fbcondecor_helper-parse.o
  CC      fbcondecor_helper-list.o
  CC      fbcondecor_helper-render.o
  CC      fbcondecor_helper-image.o
  CC      fbcondecor_helper-effects.o
  CC      fbcondecor_helper-ttf.o
  LD      fbcondecor_helper
daemon.c: In function ‘thf_switch_ttymon’:
daemon.c:506:7: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
   read(fd_tty[config.tty_s], &ret, 1);
       ^
daemon.c: In function ‘daemon_start’:
daemon.c:682:7: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result]
  chdir("/");
       ^
  CREATE  libfbsplash.pc
  CREATE  libfbsplashrender.pc
Making all in test
Making all in docs
Making all in misc
Making all in scripts
make LIB=lib64
x86_64-pc-linux-gnu-gcc -O2 -pipe -g -Wall -I../core/objs -I../core -I../core/src -I../core/objs/src -fPIC -c -o splash.o splash.c
splash.c: In function ‘list_has’:
splash.c:66:3: warning: implicit declaration of function ‘TAILQ_FOREACH’ [-Wimplicit-function-declaration]
   TAILQ_FOREACH(s, list, entries)
   ^
splash.c:66:26: error: ‘entries’ undeclared (first use in this function)
   TAILQ_FOREACH(s, list, entries)
                          ^
splash.c:66:26: note: each undeclared identifier is reported only once for each function it appears in
splash.c:67:4: error: expected ‘;’ before ‘if’
    if (strcmp(s->value, item) == 0)
    ^
splash.c: In function ‘strlist_count’:
splash.c:82:26: error: ‘entries’ undeclared (first use in this function)
   TAILQ_FOREACH(s, list, entries)
                          ^
splash.c:83:4: error: expected ‘;’ before ‘c’
    c++;
    ^
splash.c: In function ‘splash_init’:
splash.c:437:4: warning: implicit declaration of function ‘TAILQ_EMPTY’ [-Wimplicit-function-declaration]
    TAILQ_CONCAT(svcs_done, tmp, entries);
    ^
splash.c:437:4: warning: implicit declaration of function ‘TAILQ_INIT’ [-Wimplicit-function-declaration]
splash.c: In function ‘splash_svcs_start’:
splash.c:547:30: error: ‘entries’ undeclared (first use in this function)
   TAILQ_FOREACH(s, deporder, entries) {
                              ^
splash.c:547:39: error: expected ‘;’ before ‘{’ token
   TAILQ_FOREACH(s, deporder, entries) {
                                       ^
splash.c:561:39: error: expected ‘;’ before ‘{’ token
   TAILQ_FOREACH(s, deporder, entries) {
                                       ^
splash.c:528:9: warning: variable ‘err’ set but not used [-Wunused-but-set-variable]
  int i, err = 0;
         ^
splash.c:528:6: warning: variable ‘i’ set but not used [-Wunused-but-set-variable]
  int i, err = 0;
      ^
splash.c:527:17: warning: unused variable ‘r’ [-Wunused-variable]
  RC_STRING *s, *r;
                 ^
splash.c: In function ‘splash_svcs_stop’:
splash.c:611:30: error: ‘entries’ undeclared (first use in this function)
   TAILQ_FOREACH(s, deporder, entries) {
                              ^
splash.c:611:39: error: expected ‘;’ before ‘{’ token
   TAILQ_FOREACH(s, deporder, entries) {
                                       ^
splash.c:593:6: warning: variable ‘i’ set but not used [-Wunused-but-set-variable]
  int i, err = 0;
      ^
splash.c: In function ‘splash_start’:
splash.c:679:26: error: ‘entries’ undeclared (first use in this function)
   TAILQ_FOREACH(s, svcs, entries)
                          ^
splash.c:680:4: error: expected ‘;’ before ‘splash_svc_state’
    splash_svc_state(s->value, start ? "svc_inactive_start" : "svc_inactive_stop", 0);
    ^
splash.c: In function ‘rc_plugin_hook’:
splash.c:759:27: error: ‘entries’ undeclared (first use in this function)
    TAILQ_FOREACH(s, list, entries)
                           ^
splash.c:760:5: error: expected ‘;’ before ‘rc_service_mark’
     rc_service_mark(s->value, RC_SERVICE_HOTPLUGGED);
     ^
splash.c:728:6: warning: variable ‘retval’ set but not used [-Wunused-but-set-variable]
  int retval = 0;
      ^
Makefile:17: recipe for target 'splash.o' failed
make: *** [splash.o] Error 1
 * ERROR: media-gfx/splashutils-1.5.4.4-r4::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=media-gfx/splashutils-1.5.4.4-r4::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/splashutils-1.5.4.4-r4::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r4/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r4/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r4/work/splashutils-gentoo-1.0.17'
 * S: '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r4/work/splashutils-1.5.4.4'


Update:
It's not really solved in that the error was fixed, but by using the patches from https://bugs.gentoo.org/show_bug.cgi?id=506124 and putting them in a local overlay you can get splashutils to compile again. The bug report contains a tarball with all you need, see http://wiki.gentoo.org/wiki/Overlay/Local_overlay on how to create a local overlay. Though I would advice renaming the ebuild from -r5 to -r4 so you don't overrule any updates in the official repository. After changing the ebuild filename you can generate a new Manifest with "ebuild splashutils-1.5.4.4-r4.ebuild digest". After that you can re-emerge splashutils with emerge -1 splashutils and all should be fine again :).


Last edited by SunMar on Wed Jan 07, 2015 1:53 pm; edited 2 times in total
Back to top
View user's profile Send private message
Bloss
n00b
n00b


Joined: 05 Dec 2014
Posts: 20
Location: MI, USA

PostPosted: Wed Jan 07, 2015 4:13 am    Post subject: Reply with quote

Splash utills has been broken for a while. I got it working on my work machine and I'll see what I did to get it to work
Back to top
View user's profile Send private message
Oniryczny
Guru
Guru


Joined: 01 Dec 2011
Posts: 419
Location: Poland

PostPosted: Wed Jan 07, 2015 5:19 am    Post subject: Reply with quote

I had issues with splashutils too but I got it working https://forums.gentoo.org/viewtopic-t-997662-highlight-splashutils.html
_________________
cogito ergo sum
Back to top
View user's profile Send private message
SunMar
n00b
n00b


Joined: 15 Nov 2004
Posts: 33
Location: The Netherlands

PostPosted: Wed Jan 07, 2015 8:03 am    Post subject: Reply with quote

Splashutils has issues with freetype where it looks in the wrong directory (freetype/ when it should be looking in freetype2/ for newer versions of freetype). That can be fixed by creating the following symlink:

Code:

ln -s /usr/include/freetype2 /usr/include/freetype


That issue I know of :). Splashutils is properly compiled on my system, but they recently removed the mng USE flag and because of that my update script wants to re-emerge splashutils (it's still the same version, as you can see from emerge -pqv it's replacing splashutils, not updating it) and without that mng USE flag the build now fails when before it worked fine (after creating that symlink as a workaround to fix the freetype issue). I've filed a bug report yesterday (https://bugs.gentoo.org/show_bug.cgi?id=535740).
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 541
Location: Germany

PostPosted: Wed Jan 07, 2015 8:31 am    Post subject: Reply with quote

splashutils has many issues. I've followed https://bugs.gentoo.org/show_bug.cgi?id=506124 and created overlay with patches listed in Comment 21 (https://bugs.gentoo.org/show_bug.cgi?id=506124#c21) It works for me.
Back to top
View user's profile Send private message
SunMar
n00b
n00b


Joined: 15 Nov 2004
Posts: 33
Location: The Netherlands

PostPosted: Wed Jan 07, 2015 11:15 am    Post subject: Reply with quote

Created a local overlay as well with the patches in that bug report and now splashutils compiles fine again. I did however change the local overlay version back to -r4 and re-emerged with -1 so that when there is a new official -r5 it isn't overruled by the local overlay. That bug report seems to fix all current splashutils issue, I hope the maintainer also fixes it in the official repository.
Back to top
View user's profile Send private message
Oniryczny
Guru
Guru


Joined: 01 Dec 2011
Posts: 419
Location: Poland

PostPosted: Wed Jan 07, 2015 1:44 pm    Post subject: Reply with quote

Gladd we'd helped ;)
_________________
cogito ergo sum
Back to top
View user's profile Send private message
Bloss
n00b
n00b


Joined: 05 Dec 2014
Posts: 20
Location: MI, USA

PostPosted: Wed Jan 07, 2015 3:42 pm    Post subject: Reply with quote

That's exactly what I did was create a local overlay with patches. Hard to say if the maintainer abandoned it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum