Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved] Splashutils installation fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Mika15
n00b
n00b


Joined: 09 Dec 2010
Posts: 64
Location: Barcelona, Spain

PostPosted: Wed May 21, 2014 9:25 am    Post subject: [Solved] Splashutils installation fails Reply with quote

Hi everyone,

I'm trying to install splashutils using this documentation (http://wiki.gentoo.org/wiki/Fbsplash), but it fails everytime.

I tried without truetype useflag, or creating a symbolic link /usr/include/freetype2 to /usr/include/freetype but it don't finish to compile...
Someone can help me please ?

Code:
>>> Emerging (2 of 2) media-gfx/splashutils-1.5.4.4-r4::gentoo
 * splashutils-lite-1.5.4.4.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                   [ ok ]
 * splashutils-gentoo-1.0.17.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                  [ ok ]
 * miscsplashutils-0.1.8.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                      [ ok ]
 * libpng-1.4.3.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                               [ ok ]
 * jpegsrc.v8a.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                 [ ok ]
 * freetype-2.3.12.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                            [ ok ]
 * zlib-1.2.3.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                 [ ok ]
>>> 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-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 ...
 *   Applying as-needed/2.4.2 patch ...
 *   Applying target-nm/2.4.2 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 -j5 CC=x86_64-pc-linux-gnu-gcc LIB=lib64 STRIP=true
x86_64-pc-linux-gnu-gcc -march=core-avx2 -O2 -pipe -Wl,-O1 -Wl,--as-needed fbres.c -o fbres
x86_64-pc-linux-gnu-gcc -march=core-avx2 -O2 -pipe -Wl,-O1 -Wl,--as-needed usleep.c -o usleep
true usleep
true fbres
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 -march=core-avx2 -O2 -pipe -I/usr/include/freetype2   -c -o fbtruetype.o fbtruetype.c
x86_64-pc-linux-gnu-gcc -march=core-avx2 -O2 -pipe -I/usr/include/freetype2   -c -o messages.o messages.c
x86_64-pc-linux-gnu-gcc -march=core-avx2 -O2 -pipe -I/usr/include/freetype2   -c -o console.o console.c
x86_64-pc-linux-gnu-gcc -march=core-avx2 -O2 -pipe -I/usr/include/freetype2   -c -o ttf.o ttf.c
x86_64-pc-linux-gnu-gcc -march=core-avx2 -O2 -pipe -I/usr/include/freetype2   -c -o luxisri.o luxisri.c
x86_64-pc-linux-gnu-gcc -march=core-avx2 -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 -march=core-avx2 -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 -L/usr/lib64 -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 -march=core-avx2 -O2 -pipe   -c -o fgconsole.o fgconsole.c
x86_64-pc-linux-gnu-gcc -march=core-avx2 -O2 -pipe   -c -o getfd.o getfd.c
x86_64-pc-linux-gnu-gcc -march=core-avx2 -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.sub with /usr/share/gnuconfig/config.sub
 * 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/freetype-2.3.12/builds/unix/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/libs/jpeg-8a/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/libpng-1.4.3/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating splashutils-1.5.4.4/config.guess with /usr/share/gnuconfig/config.guess
./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 --libdir=/usr/lib64 --disable-silent-rules --disable-dependency-tracking --with-png --with-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 whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
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 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 libmng.h usability... yes
checking libmng.h presence... yes
checking for libmng.h... yes
checking for mng_initialize in -lmng... yes
checking for zlibVersion in -lz... yes
checking for cmsCloseProfile in -llcms... 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 -j5 CC=x86_64-pc-linux-gnu-gcc STRIP=true
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r4/work/splashutils-1.5.4.4/missing autoheader)
rm -f stamp-h1
touch config.h.in
make --silent all-recursive
Making all in libs
  CONF    libz.a
  CONF    libjpeg.a
  CONF    libfreetype.a
  MAKE    zlib.a
  CONF    libpng.a
  MAKE    libpng.a
  MAKE    libfreetype.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
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);
        ^
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);
      ^
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);
       ^
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]);
      ^
  CC      fbcondecor_helper-kernel.o
  CC      fbcondecor_helper-libfbsplash.o
  CC      fbcondecor_helper-libfbsplashrender.o
  CC      fbcondecor_helper-fbcon_decor.o
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-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
  CREATE  libfbsplash.pc
  CREATE  libfbsplashrender.pc
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("/");
       ^
  LD      fbcondecor_helper
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../lib64/libmng.a(libmng_cms.o): In function `mnglcms_createsrgbprofile':
(.text+0x1d2): undefined reference to `cmsFreeToneCurve'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.2/../../../../lib64/libmng.a(libmng_cms.o): In function `mng_init_full_cms':
(.text+0x779): undefined reference to `cmsFreeToneCurve'
collect2: error: ld returned 1 exit status
Makefile:983: recipe for target 'fbsplashctl' failed
make[4]: *** [fbsplashctl] Error 1
Makefile:1466: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
Makefile:681: recipe for target 'all' failed
make[2]: *** [all] Error 2
Makefile:431: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
Makefile:361: recipe for target 'all' failed
make: *** [all] Error 2
 * 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-1.5.4.4'
 * S: '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r4/work/splashutils-1.5.4.4'

>>> Failed to emerge media-gfx/splashutils-1.5.4.4-r4, Log file:


Many thanks.


Last edited by Mika15 on Wed May 21, 2014 12:03 pm; edited 1 time in total
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1555
Location: Montréal

PostPosted: Wed May 21, 2014 11:07 am    Post subject: Reply with quote

Do you have an Fbcondecor kernel sources installed (like gentoo-sources), configure with linux symlink to them in /usr/src? My Splashutils package is install and work. It have all USE flags enabled except hardened.

A point that I found to resolv some emerge problems that I had, is to have the less possible personnalised /etc/portage/make.conf. This way, it use the defaults settings as mutch as possible according to your profile choose with the eselect command. Specially, the make.conf variables that concern Gcc like CFLAGS, CXXFLAGS, EMERGE_DEFAULT_OPTS and FEATURES are let unset.

Note that if emerge ask you to make changes before proceeding, you have to accept them, as a lot of libraries needed by Splashutils need to be compile statically with the statics-libs USE flag enabled as it is said in the Gentoo wiki.
_________________
Paul
Back to top
View user's profile Send private message
Freeky
Tux's lil' helper
Tux's lil' helper


Joined: 11 Mar 2011
Posts: 129
Location: Novosibirsk, Russia

PostPosted: Wed May 21, 2014 11:15 am    Post subject: Reply with quote

See bug at b.g.o media-gfx/splashutils-1.5.4.4-r4 with media-libs/libmng-2.0.2-r1
Back to top
View user's profile Send private message
Mika15
n00b
n00b


Joined: 09 Dec 2010
Posts: 64
Location: Barcelona, Spain

PostPosted: Wed May 21, 2014 12:02 pm    Post subject: Reply with quote

Freeky wrote:
See bug at b.g.o media-gfx/splashutils-1.5.4.4-r4 with media-libs/libmng-2.0.2-r1


Many thanks! copying ebuild and patch on my gentoo I compiled it!
Back to top
View user's profile Send private message
andrewwalker27
l33t
l33t


Joined: 27 Jun 2005
Posts: 660

PostPosted: Tue Jan 06, 2015 10:47 am    Post subject: Reply with quote

I'm encountering what seems to be the same error but I'm not enabling mng!
Code:

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

Anyone experiencing the same? The errors I'm getting are as follows
Code:

Making all in libs
  CONF    libz.a
  CONF    libjpeg.a
  MAKE    zlib.a
  CONF    libpng.a
  MAKE    libpng.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
Making all in src
  CREATE  fbsplash.h
Making all in .
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);
       ^
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);
        ^
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);
       ^
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);
      ^
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
  CREATE  libfbsplash.pc
  CREATE  libfbsplashrender.pc
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("/");
       ^
  LD      fbcondecor_helper
Making all in test
Making all in docs
Making all in misc
Making all in scripts
make -j7 LIB=lib64
x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -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

Anyone got any suggestions?
Back to top
View user's profile Send private message
jam666
n00b
n00b


Joined: 19 Apr 2012
Posts: 6
Location: Belarus

PostPosted: Wed Jan 07, 2015 5:21 pm    Post subject: Reply with quote

andrewwalker27 wrote:
.....
Anyone got any suggestions?


Sure. Here is the way to fix the problem:
Code:
layman -a emc && emerge -1av =splashutils-1.5.4.4-r7


It compiled without problems and now I got:

Code:
$ eix splashutils
[I] media-gfx/splashutils
     Available versions:  1.5.4.4-r1^t (~)1.5.4.4-r2^t (~)1.5.4.4-r3^t (~)1.5.4.4-r4^t (~)1.5.4.4-r5^t[1] (~)1.5.4.4-r6^t[1] (~)1.5.4.4-r7^t[1] {fbcondecor gpm hardened +mng +png +truetype}
     Installed versions:  1.5.4.4-r7^t[1](19:34:33 06.01.2015)(fbcondecor gpm mng png truetype -hardened)
     Homepage:            http://fbsplash.berlios.de
     Description:         Framebuffer splash utilities

[1] "mipl_emc" /usr/local/portage/layman/emc


Good luck...
Back to top
View user's profile Send private message
nollo
n00b
n00b


Joined: 15 Mar 2013
Posts: 43
Location: Ferrara - Italy

PostPosted: Mon Feb 09, 2015 7:35 am    Post subject: Reply with quote

Hello to everyone
I found that compiling freetype with use flag -harfbuzz solved the problem with splashutils (the official one)

Bye
_________________
λάθε βιώσας
M/B Aorus x470 Gaming
Ryzen 7 2700x, 3.6GHz, 32GB
Samsung 960EVO 250GB, Nvidia GTX 1050 Ti
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo 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