Не собирается splashutils
pascorp 22 апреля, 2012 - 15:32
Решил обновиться, emerge -ueDNv system world. Остановка произошла на media-gfx/splashutils-1.5.4.4:
emerge -v splashutils These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-gfx/splashutils-1.5.4.4 USE="fbcondecor gpm mng png truetype -hardened" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB >>> Verifying ebuild manifests >>> Emerging (1 of 1) media-gfx/splashutils-1.5.4.4 * splashutils-lite-1.5.4.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * splashutils-gentoo-1.0.17.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * miscsplashutils-0.1.8.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * libpng-1.4.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * jpegsrc.v8a.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * freetype-2.3.12.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * zlib-1.2.3.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking splashutils-lite-1.5.4.4.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work >>> Unpacking splashutils-gentoo-1.0.17.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work >>> Unpacking miscsplashutils-0.1.8.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work >>> Unpacking libpng-1.4.3.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work >>> Unpacking jpegsrc.v8a.tar.gz to /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work >>> Unpacking freetype-2.3.12.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work >>> Unpacking zlib-1.2.3.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work >>> Source unpacked in /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work >>> Preparing source in /var/tmp/portage/media-gfx/splashutils-1.5.4.4/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 ] * Running eautoreconf in '/var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/splashutils-1.5.4.4' ... * Running aclocal -I m4 ... [ ok ] * Running libtoolize --copy --force --install --automake ... [ ok ] * Running aclocal -I m4 ... [ ok ] * Running autoconf ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy ... [ ok ] * 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 ... * 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 ... * 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 ... * Running elibtoolize in: splashutils-1.5.4.4/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.2.6 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/splashutils-1.5.4.4 ... make -j3 CC=i686-pc-linux-gnu-gcc LIB=lib STRIP=true i686-pc-linux-gnu-gcc -O2 -march=k8 -pipe -Wl,-O1 -Wl,--as-needed fbres.c -o fbres i686-pc-linux-gnu-gcc -O2 -march=k8 -pipe -Wl,-O1 -Wl,--as-needed usleep.c -o usleep true usleep true fbres make[1]: Вход в каталог `/var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/miscsplashutils-0.1.8/fbtruetype' i686-pc-linux-gnu-gcc -O2 -march=k8 -pipe -I/usr/include/freetype2 -c -o fbtruetype.o fbtruetype.c i686-pc-linux-gnu-gcc -O2 -march=k8 -pipe -I/usr/include/freetype2 -c -o messages.o messages.c i686-pc-linux-gnu-gcc -O2 -march=k8 -pipe -I/usr/include/freetype2 -c -o console.o console.c i686-pc-linux-gnu-gcc -O2 -march=k8 -pipe -I/usr/include/freetype2 -c -o ttf.o ttf.c i686-pc-linux-gnu-gcc -O2 -march=k8 -pipe -I/usr/include/freetype2 -c -o luxisri.o luxisri.c i686-pc-linux-gnu-gcc -O2 -march=k8 -pipe -I/usr/include/freetype2 -Wl,-O1 -Wl,--as-needed -L/usr/lib -o fbtruetype -Wl,-O1 -Wl,--as-needed -L/usr/lib fbtruetype.o messages.o console.o ttf.o luxisri.o -lfreetype -lm i686-pc-linux-gnu-gcc -O2 -march=k8 -pipe -I/usr/include/freetype2 -Wl,-O1 -Wl,--as-needed -L/usr/lib -static -o fbtruetype.static -Wl,-O1 -Wl,--as-needed -L/usr/lib fbtruetype.o messages.o console.o ttf.o luxisri.o -lfreetype -lz -lbz2 -lm true -s fbtruetype fbtruetype.static make[1]: Выход из каталога `/var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/miscsplashutils-0.1.8/fbtruetype' make[1]: Вход в каталог `/var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/miscsplashutils-0.1.8/kbd' i686-pc-linux-gnu-gcc -O2 -march=k8 -pipe -c -o fgconsole.o fgconsole.c i686-pc-linux-gnu-gcc -O2 -march=k8 -pipe -c -o getfd.o getfd.c i686-pc-linux-gnu-gcc -O2 -march=k8 -pipe -Wl,-O1 -Wl,--as-needed fgconsole.o getfd.o -o fgconsole make[1]: Выход из каталога `/var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/miscsplashutils-0.1.8/kbd' * 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/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/config.guess with /usr/share/gnuconfig/config.guess * econf: updating splashutils-1.5.4.4/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-png --with-mng --with-gpm --with-ttf --with-ttf-kernel --enable-fbcondecor --docdir=/usr/share/doc/splashutils-1.5.4.4 --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=/lib 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 for i686-pc-linux-gnu-gcc... i686-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 i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking build system type... i686-pc-linux-gnu checking host system type... i686-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 i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/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 i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for i686-pc-linux-gnu-objdump... i686-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for i686-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking command to parse /usr/bin/nm -B output from i686-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for i686-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... i686-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 i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if i686-pc-linux-gnu-gcc static flag -static works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) 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 i686-pc-linux-gnu-gcc... i686-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 i686-pc-linux-gnu-pkg-config... no checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for FREETYPE2... yes 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/work/splashutils-1.5.4.4 ... make -j3 CC=i686-pc-linux-gnu-gcc STRIP=true (CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/splashutils-1.5.4.4/missing --run autoheader) rm -f stamp-h1 touch config.h.in cd . && /bin/sh ./config.status config.h config.status: creating config.h config.status: config.h is unchanged 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/ld: warning: cannot find entry symbol main; defaulting to 0000000008048140 Making all in src CREATE fbsplash.h Making all in . libfbsplash.c: In function 'fbsplash_send': libfbsplash.c:696:2: warning: format not a string literal and no format arguments libfbsplash.c: In function 'fbsplash_profile': libfbsplash.c:650:8: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result libfbsplash.c: In function 'fbsplash_set_evdev': libfbsplash.c:615:9: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result libfbsplash.c: In function 'fbsplash_check_sanity': libfbsplash.c:571:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result libfbsplash.c: In function 'fbsplash_cache_cleanup': libfbsplash.c:498:8: warning: ignoring return value of 'system', declared with attribute warn_unused_result libfbsplash.c: In function 'fbsplash_parse_kcmdline': libfbsplash.c:177:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result libfbsplashrender.c: In function 'vt_cursor_enable': libfbsplashrender.c:598:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result libfbsplashrender.c: In function 'fbsplashr_tty_silent_init': libfbsplashrender.c:627:8: warning: ignoring return value of 'write', declared with attribute warn_unused_result libfbsplashrender.c: In function 'vt_cursor_disable': libfbsplashrender.c:593:7: warning: ignoring return value of 'write', declared with attribute warn_unused_result libfbsplashrender.c: In function 'fbsplashr_input_init': libfbsplashrender.c:216:11: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result common.c: In function 'dev_create': common.c:47:6: warning: ignoring return value of 'read', declared with attribute warn_unused_result image.c: In function 'is_png': image.c:171:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result ttf.c: In function 'text_get_output': ttf.c:676:6: warning: ignoring return value of 'pipe', declared with attribute warn_unused_result ttf.c:687:6: warning: ignoring return value of 'dup', declared with attribute warn_unused_result daemon.c: В функции ‘daemon_start’: daemon.c:652:7: предупреждение: ignoring return value of ‘chdir’, declared with attribute warn_unused_result daemon.c: В функции ‘thf_switch_ttymon’: daemon.c:476:7: предупреждение: ignoring return value of ‘read’, declared with attribute warn_unused_result 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 daemon.c: В функции ‘daemon_start’: daemon.c:652:7: предупреждение: ignoring return value of ‘chdir’, declared with attribute warn_unused_result daemon.c: В функции ‘thf_switch_ttymon’: daemon.c:476:7: предупреждение: ignoring return value of ‘read’, declared with attribute warn_unused_result CREATE libfbsplash.pc CREATE libfbsplashrender.pc LD fbcondecor_helper /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../../lib/libfreetype.a(ftbzip2.o): In function `ft_bzip2_stream_close': (.text+0xd3): undefined reference to `BZ2_bzDecompressEnd' /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../../lib/libfreetype.a(ftbzip2.o): In function `ft_bzip2_file_fill_output': (.text+0x183): undefined reference to `BZ2_bzDecompress' /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../../lib/libfreetype.a(ftbzip2.o): In function `ft_bzip2_stream_io': (.text+0x353): undefined reference to `BZ2_bzDecompressEnd' /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../../lib/libfreetype.a(ftbzip2.o): In function `ft_bzip2_stream_io': (.text+0x3a7): undefined reference to `BZ2_bzDecompressInit' /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/../../../../lib/libfreetype.a(ftbzip2.o): In function `FT_Stream_OpenBzip2': (.text+0x504): undefined reference to `BZ2_bzDecompressInit' collect2: ld returned 1 exit status make[4]: *** [fbsplashctl] Ошибка 1 make[4]: *** Ожидание завершения заданий... make[3]: *** [all-recursive] Ошибка 1 make[2]: *** [all] Ошибка 2 make[1]: *** [all-recursive] Ошибка 1 make: *** [all] Ошибка 2 emake failed * ERROR: media-gfx/splashutils-1.5.4.4 failed (compile phase): * failed to build splashutils * * Call stack: * ebuild.sh, line 85: Called src_compile * environment, line 2624: Called die * The specific snippet of code: * emake CC="${CC}" STRIP="true" || die "failed to build splashutils"; * * If you need support, post the output of 'emerge --info =media-gfx/splashutils-1.5.4.4', * the complete build log and the output of 'emerge -pqv =media-gfx/splashutils-1.5.4.4'. * The complete build log is located at '/var/tmp/portage/media-gfx/splashutils-1.5.4.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-gfx/splashutils-1.5.4.4/temp/environment'. * S: '/var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/splashutils-1.5.4.4' >>> Failed to emerge media-gfx/splashutils-1.5.4.4, Log file: >>> '/var/tmp/portage/media-gfx/splashutils-1.5.4.4/temp/build.log'
freetype собран
eix freetype [I] media-libs/freetype Available versions: (1) 1.4_pre20080316-r2 (2) 2.4.9 2.4.9-r1 {X auto-hinter bindist bzip2 debug doc fontforge kpathsea nls static-libs utils} Installed versions: 2.4.9-r1(2)(17:09:12 22.04.2012)(X auto-hinter bindist bzip2 fontforge static-libs utils -debug -doc) Homepage: http://www.freetype.org/ Description: A high-quality and portable font engine
Чего нехватает?
»
- Для комментирования войдите или зарегистрируйтесь
Попробуй lafilefixer
Попробуй
lafilefixer --justfixit
Не грусти, товарищ! Всё хорошо, beautiful good!
Не помогло.
Не помогло.
Выставил флаг -bzip2 у
Выставил флаг -bzip2 у freetype все собралось нормально, но теперь вопрос чем это грозит? В описании написано, что это нужно для поддержки сжатия PCF шрифтов. Гугл говорит, что это устаревшие шрифты, но опасения пока остаются (не перезагружался еще).
Исходя из собственного опыта,
Все проблемы, с которыми сталкивался при сборке splashutils, были из-за того, что некоторые требуемые им библиотеки (jpeg, png, ...) нужно было собирать с USE=static-libs. Может и здесь такое же?
Попробуйте собрать freetype c USE="bzip2 static-libs", может после этого splashutils будут собираться без проблем.
P.S. Перечитал пост ещё раз, увидел, что вроде и так всё собрано как надо, значит, дело не в этом.
к томуже, теперь этот флаг
к томуже, теперь этот флаг включен в зависимости.
Я на какомто форуме нашел,
Я на какомто форуме нашел, что на новой версии этот прикол появляется, предложил замаскировать 2.4.9-r1:
В итоге все нормально.