| View previous topic :: View next topic |
| Author |
Message |
F1uX n00b


Joined: 07 Jan 2004 Posts: 14
|
Posted: Tue Jul 12, 2011 8:14 pm Post subject: /usr/lib/libfreetype.a: No such file or directory |
|
|
Compiling the package media-gfx/splashutils-1.5.4.4 I get the following error:
| Code: |
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/splashutils-1.5.4.4 ...
make CC=i686-pc-linux-gnu-gcc LIB=lib STRIP=true
i686-pc-linux-gnu-gcc -O2 -march=core2 -mfpmath=sse -mssse3 -pipe -Wl,-O1 -Wl,--as-needed fbres.c -o fbres
true fbres
i686-pc-linux-gnu-gcc -O2 -march=core2 -mfpmath=sse -mssse3 -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/work/miscsplashutils-0.1.8/fbtruetype'
i686-pc-linux-gnu-gcc -O2 -march=core2 -mfpmath=sse -mssse3 -pipe -I/usr/include/freetype2 -c -o fbtruetype.o fbtruetype.c
i686-pc-linux-gnu-gcc -O2 -march=core2 -mfpmath=sse -mssse3 -pipe -I/usr/include/freetype2 -c -o messages.o messages.c
i686-pc-linux-gnu-gcc -O2 -march=core2 -mfpmath=sse -mssse3 -pipe -I/usr/include/freetype2 -c -o console.o console.c
i686-pc-linux-gnu-gcc -O2 -march=core2 -mfpmath=sse -mssse3 -pipe -I/usr/include/freetype2 -c -o ttf.o ttf.c
i686-pc-linux-gnu-gcc -O2 -march=core2 -mfpmath=sse -mssse3 -pipe -I/usr/include/freetype2 -c -o luxisri.o luxisri.c
i686-pc-linux-gnu-gcc -O2 -march=core2 -mfpmath=sse -mssse3 -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=core2 -mfpmath=sse -mssse3 -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 /usr/lib/libfreetype.a /usr/lib/libz.a -lm
i686-pc-linux-gnu-gcc: /usr/lib/libfreetype.a: File o directory non esistente
make[1]: *** [fbtruetype.static] Errore 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/miscsplashutils-0.1.8/fbtruetype'
make: *** [all] Errore 2
emake failed
* ERROR: media-gfx/splashutils-1.5.4.4 failed (configure phase):
* failed to build miscsplashutils
*
* Call stack:
* ebuild.sh, line 56: Called src_configure
* environment, line 2825: Called die
* The specific snippet of code:
* emake CC="${CC}" LIB=$(get_libdir) STRIP=true || die "failed to build miscsplashutils";
*
* 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'
|
This is my environment:
| Code: |
dreamer fulvio # emerge --info =media-gfx/splashutils-1.5.4.4
Portage 2.1.10.4 (default/linux/x86/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.39-gentoo-r2 i686)
=================================================================
System Settings
=================================================================
System uname: Linux-2.6.39-gentoo-r2-i686-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-gentoo-2.0.3
Timestamp of tree: Tue, 12 Jul 2011 08:15:01 +0000
ccache version 3.1.5 [disabled]
app-shells/bash: 4.2_p10
dev-java/java-config: 2.1.11-r3
dev-lang/python: 2.6.7, 2.7.2, 3.1.4, 3.2
dev-util/ccache: 3.1.5
dev-util/cmake: 2.8.4-r1
dev-util/pkgconfig: 0.26
sys-apps/baselayout: 2.0.3
sys-apps/openrc: 0.8.3-r1
sys-apps/sandbox: 2.5
sys-devel/autoconf: 2.13, 2.68
sys-devel/automake: 1.10.3, 1.11.1-r1
sys-devel/binutils: 2.21.1
sys-devel/gcc: 4.5.2
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool: 2.4-r1
sys-devel/make: 3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc: 2.13-r2
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -mfpmath=sse -mssse3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=core2 -mfpmath=sse -mssse3 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://212.219.56.153/sites/www.ibiblio.org/gentoo/ http://212.219.56.134/sites/www.ibiblio.org/gentoo/ http://212.219.56.138/sites/www.ibiblio.org/gentoo/"
LANG="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="it"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apng berkdb bluetooth branding bzip2 cairo cdda cdr cli clucene consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr dynamic embedded emboss encode exif fam fbcon fbcondecor firefox flac fortran gdbm gdu gif gpm gstreamer gtk iconv ipod java jpeg kde lastfm lcms ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap mysql ncurses nls nptl nptlonly nss ogg opengl openmp pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 readline samba sdl semantic-desktop session spell sql ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vlc vorbis webkit wifi wps x264 x86 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 kpresenter krita tables words" 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 ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon radeonhd" 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: CPPFLAGS, CTARGET, 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 was built with the following:
USE="fbcondecor gpm mng png truetype -hardened"
dreamer fulvio #
dreamer fulvio # emerge -pqv =media-gfx/splashutils-1.5.4.4
[ebuild R ] media-gfx/splashutils-1.5.4.4 USE="fbcondecor gpm mng png truetype -hardened" |
Is there anyone which could also suggest me some gentoo guide or other source to refresh me on the basics of the compilation process (the various file extensions, static and dynamic linking, which are the various programs called by makefile for calling the existing libraries and creating the executable, and stuff like that), it's since college years that I haven't programmed anything in c under linux (I've used mostly java, c# and plsql during the last decade), so I need a refresh...
Thanks a lot in advance |
|
| Back to top |
|
 |
sebaro Veteran


Joined: 03 Jul 2006 Posts: 1028 Location: Romania
|
Posted: Wed Jul 13, 2011 4:27 am Post subject: |
|
|
Re-merge media-libs/freetype with static-libs flag enabled.
See bug https://bugs.gentoo.org/show_bug.cgi?id=373121 . _________________ My Smooth Computer
MB: VIA 82C598MVP on DFI P5BV3+/Rev. B+
CPU: AMD K6-II 333 MHz | RAM: 256 MB SDRAM
Video: Asus MB19TU on nVidia GeForce MX4000 64 MB
Sound: CM8738 | Net: RTL-8139
PATA HDD WD 80 GB & DVD-RW LG 16x |
|
| Back to top |
|
 |
F1uX n00b


Joined: 07 Jan 2004 Posts: 14
|
Posted: Wed Jul 13, 2011 2:22 pm Post subject: |
|
|
That error is now solved, and this one is now thrown(it happens even though I try to compile zlib as a static library):
| Code: |
i686-pc-linux-gnu-gcc -O2 -march=core2 -mfpmath=sse -mssse3 -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/work/miscsplashutils-0.1.8/fbtruetype'
i686-pc-linux-gnu-gcc -O2 -march=core2 -mfpmath=sse -mssse3 -pipe -I/usr/include/freetype2 -c -o fbtruetype.o fbtruetype.c
i686-pc-linux-gnu-gcc -O2 -march=core2 -mfpmath=sse -mssse3 -pipe -I/usr/include/freetype2 -c -o messages.o messages.c
i686-pc-linux-gnu-gcc -O2 -march=core2 -mfpmath=sse -mssse3 -pipe -I/usr/include/freetype2 -c -o console.o console.c
i686-pc-linux-gnu-gcc -O2 -march=core2 -mfpmath=sse -mssse3 -pipe -I/usr/include/freetype2 -c -o ttf.o ttf.c
i686-pc-linux-gnu-gcc -O2 -march=core2 -mfpmath=sse -mssse3 -pipe -I/usr/include/freetype2 -c -o luxisri.o luxisri.c
i686-pc-linux-gnu-gcc -O2 -march=core2 -mfpmath=sse -mssse3 -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=core2 -mfpmath=sse -mssse3 -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 /usr/lib/libfreetype.a /usr/lib/libz.a -lm
/usr/lib/libfreetype.a(ftbzip2.o): In function `ft_bzip2_stream_close':
(.text+0xd3): undefined reference to `BZ2_bzDecompressEnd'
/usr/lib/libfreetype.a(ftbzip2.o): In function `ft_bzip2_file_fill_output':
(.text+0x183): undefined reference to `BZ2_bzDecompress'
/usr/lib/libfreetype.a(ftbzip2.o): In function `ft_bzip2_stream_io':
(.text+0x363): undefined reference to `BZ2_bzDecompressEnd'
/usr/lib/libfreetype.a(ftbzip2.o): In function `ft_bzip2_stream_io':
(.text+0x3b7): undefined reference to `BZ2_bzDecompressInit'
/usr/lib/libfreetype.a(ftbzip2.o): In function `FT_Stream_OpenBzip2':
(.text+0x514): undefined reference to `BZ2_bzDecompressInit'
collect2: ld returned 1 exit status
make[1]: *** [fbtruetype.static] Errore 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/splashutils-1.5.4.4/work/miscsplashutils-0.1.8/fbtruetype'
make: *** [all] Errore 2
emake failed
|
|
|
| Back to top |
|
 |
sebaro Veteran


Joined: 03 Jul 2006 Posts: 1028 Location: Romania
|
Posted: Wed Jul 13, 2011 2:38 pm Post subject: |
|
|
That's another bug: https://bugs.gentoo.org/show_bug.cgi?id=374203 .
You can downgrade to freetype-2.4.4 or wait for splashutils-1.5.4.4-r1. _________________ My Smooth Computer
MB: VIA 82C598MVP on DFI P5BV3+/Rev. B+
CPU: AMD K6-II 333 MHz | RAM: 256 MB SDRAM
Video: Asus MB19TU on nVidia GeForce MX4000 64 MB
Sound: CM8738 | Net: RTL-8139
PATA HDD WD 80 GB & DVD-RW LG 16x |
|
| Back to top |
|
 |
mikegpitt Advocate


Joined: 22 May 2004 Posts: 3194
|
Posted: Thu Aug 18, 2011 6:46 pm Post subject: |
|
|
| FYI - Ran into this problem today and the current splashutils-1.5.4.4 fixes the issue. It also forces USE="static-libs" for freetype. |
|
| Back to top |
|
 |
dE_logics Veteran


Joined: 02 Jan 2009 Posts: 1980 Location: $TERM
|
Posted: Sat Nov 05, 2011 6:20 am Post subject: |
|
|
I confirm this. _________________ Buy from companies supporting opensource -- IBM, Dell, HP, Hitachi, Google etc...
Disfavor companies supporting only Win -- Logitech, Epson, Adobe, Autodesk, Pioneer, Kingston, WD, Yahoo, MSI, XFX
My blog |
|
| Back to top |
|
 |
nullnullfzu n00b

Joined: 08 Apr 2012 Posts: 3
|
Posted: Sun Apr 08, 2012 7:52 am Post subject: |
|
|
| dE_logics wrote: | | I confirm this. |
I ran into the exact same problem as state above with media-gfx/splashutils-1.5.4.4 in combination with media-libs/freetype-2.4.9-r1.
my Work-Around: installing media-libs/freetype-2.4.9 --> media-gfx/splashutils-1.5.4.4 installs fine. |
|
| Back to top |
|
 |
tsuui n00b

Joined: 13 Apr 2012 Posts: 3
|
Posted: Tue Apr 24, 2012 8:32 pm Post subject: |
|
|
me too.
I've got this "BZ2_bzXXX" info while emerging splashutils and USE was set to ">=media-libs/freetype-2.4.9-r1 static-libs" as the prompts told before. |
|
| Back to top |
|
 |
cach0rr0 Moderator


Joined: 13 Nov 2008 Posts: 4117 Location: Houston, Republic of Texas
|
Posted: Tue May 01, 2012 3:01 am Post subject: |
|
|
| tsuui wrote: | me too.
I've got this "BZ2_bzXXX" info while emerging splashutils and USE was set to ">=media-libs/freetype-2.4.9-r1 static-libs" as the prompts told before. |
same here. I'm fiddling around to see what I can figure out, but I have the same failures on bzip as above
| Code: |
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libfreetype.a(ftbzip2.o): In function `ft_bzip2_stream_close':
(.text+0xb9): undefined reference to `BZ2_bzDecompressEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libfreetype.a(ftbzip2.o): In function `ft_bzip2_file_fill_output':
(.text+0x18b): undefined reference to `BZ2_bzDecompress'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libfreetype.a(ftbzip2.o): In function `ft_bzip2_stream_io':
(.text+0x37f): undefined reference to `BZ2_bzDecompressEnd'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libfreetype.a(ftbzip2.o): In function `ft_bzip2_stream_io':
(.text+0x3d8): undefined reference to `BZ2_bzDecompressInit'
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../lib64/libfreetype.a(ftbzip2.o): In function `FT_Stream_OpenBzip2':
(.text+0x543): undefined reference to `BZ2_bzDecompressInit'
collect2: ld returned 1 exit status
make[4]: *** [fbsplashctl] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
emake failed
* ERROR: media-gfx/splashutils-1.5.4.4 failed (compile phase):
|
_________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
| Back to top |
|
 |
cach0rr0 Moderator


Joined: 13 Nov 2008 Posts: 4117 Location: Houston, Republic of Texas
|
Posted: Tue May 01, 2012 3:30 am Post subject: |
|
|
2 things
1> building with USE="-truetype" is an/the immediate workaround. The effects of this? No idea, presumably cosmetic, though, with a package whose purpose is purely cosmetic i suppose that makes a difference
2> moving thread to "Portage & Programming", as it relates to a build failure not of DE/WM origin _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
| Back to top |
|
 |
rjtupas n00b


Joined: 26 Jul 2003 Posts: 59 Location: Coronado, CA USA
|
Posted: Sun May 06, 2012 6:46 pm Post subject: |
|
|
| I was able to build by masking media-libs/freetype-2.4.9-r1. Builds with media-libs/freetype-2.4.9. Implies an issue with the latest freetype. |
|
| Back to top |
|
 |
fafhrd Retired Dev


Joined: 14 May 2002 Posts: 431 Location: Hudson, MA
|
Posted: Tue May 08, 2012 11:21 am Post subject: |
|
|
Masking freetype-2.4.9-r1 worked here as well. Nice catch! _________________ jñanam bandha |
|
| Back to top |
|
 |
hunjiaolin n00b

Joined: 16 Oct 2008 Posts: 4
|
Posted: Wed May 09, 2012 1:31 pm Post subject: |
|
|
I got the same error, and mask freetype-2.4.9-r1 and solve it
echo "=media-libs/freetype-2.4.9-r1" >> /etc/portage/package.mask
emerge media-gfx/splashutils |
|
| Back to top |
|
 |
Eleazar Anzola Veteran


Joined: 17 Jul 2003 Posts: 1247 Location: Caracas / Venezuela
|
Posted: Wed May 09, 2012 5:04 pm Post subject: |
|
|
| hunjiaolin wrote: | I got the same error, and mask freetype-2.4.9-r1 and solve it
echo "=media-libs/freetype-2.4.9-r1" >> /etc/portage/package.mask
emerge media-gfx/splashutils | Another simple solution is to add media-gfx/splashutils -truetyp in /etc/portage/package.use _________________ Salu2
Eleazar Anzola
Linux User : # 216232
__________________________________________
Por un foro ordenado y un buscador más útil:
[TEMA] Descripción problema (estado) |
|
| Back to top |
|
 |
VinzC Advocate


Joined: 17 Apr 2004 Posts: 4550 Location: Spa (Belgium)
|
Posted: Sat Jul 21, 2012 3:36 pm Post subject: Solved! |
|
|
media-gfx/splashutils-1.5.4.4-r1 seems to fix this issue. At least on my machine . _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
GNU/Linux user #369763
“Wow! I feel root” |
|
| Back to top |
|
 |
hhtoigo n00b

Joined: 12 Apr 2012 Posts: 1 Location: SF Bay Area
|
Posted: Sun Sep 02, 2012 7:00 am Post subject: |
|
|
| media-gfx/splashutils-1.5.4.4-r1 also fixed it on mine, with media-libs/freetype-2.4.9-r1 installed and USE=truetype on splashutils. |
|
| Back to top |
|
 |
|