Summary: | media-gfx/splashutils-1.5.4.4 fails to build against media-libs/freetype-2.4.5 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Timo A. Hummel <privat> |
Component: | Current packages | Assignee: | Michal Januszewski (RETIRED) <spock> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | e.suarezsantana, int.teo, marduk, pryka.iluvatar, staff, tampakrap, timmy |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
fbtruetype-bzip2.patch
splashutils-1.5.4.4-r1.patch splashutils-1.5.4.4 build log |
Description
Timo A. Hummel
2011-07-06 06:16:16 UTC
Portage 2.2.0_alpha43 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo-r1 x86_64) ================================================================= System uname: Linux-2.6.38-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7_CPU_950_@_3.07GHz-with-gentoo-2.0.3 Timestamp of tree: Wed, 06 Jul 2011 05:30: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.7.2, 3.1.3-r1, 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.9.6-r3, 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 vmware steev benf eyolfson felicitus_overlay Installed sets: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe -march=native" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages metadata-transfer news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo/" LANG="de_DE.UTF-8" LC_ALL="" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en de" MAKEOPTS="-j18" 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="/var/lib/layman/vmware /var/lib/layman/steev /var/lib/layman/benf /var/lib/layman/eyolfson /home/felicitus/projects/gentoo/felicitus_overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 autoipd avahi bash-completion berkdb bluetooth branding bzip2 cairo cardbus cdda cdr cli consolekit cracklib crypt cscope cups cxx dbus dga dhclient dhcpcd dri dts dvb dvd dvdr emboss encode esd exif fam fbcon ffmpeg fftw firefox flac fontconfig foomaticdb fortran gdbm gdu gif gnome gnome-keyring gpm gtk guile iconv id3tag imlib ipv6 java jpeg jpeg2k kerberos ladspa lame laptop lcms ldap libffi libnotify libsamplerate lv2 lzo mad mdnsresponder-compat midi mmx mng modules mp3 mp4 mpeg mudflap multilib mysql mysqli ncurses network-cron nls nptl nptlonly nsplugin nss ntp ogg opengl openmp oss pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 quicktime readline resolvconf samba sdl session smp speex spell sse sse2 ssl ssse3 startup-notification static-libs svg sysfs taglib tcpd theora threads tiff truetype udev unicode usb vim-syntax vorbis wmf x264 xattr xcb xcomposite xinerama xml xorg xulrunner xv xvid zeroconf zlib zsh-completion" 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" 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" APACHE2_MPMS="prefork" 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 keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php-5.3 php-5.2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="r600 radeon" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS This is NOT the same as bug #373121 Downgrading freetype to 2.4.4 makes splashutils build again. Please add build.log as attachment for the next time. Created attachment 279877 [details, diff]
fbtruetype-bzip2.patch
I can confirm that splashutils-1.5.4.4 fails to compile. miscsplashutils-0.1.8 fails to build a static version of the fbtruetype utility. This happens because libfreetype needs libbz2.a library to be included when you want to create a static version of a program. There are two solutions to this:
1) Don't build fbtruetype.static
2) Add libbz2.a in the appropriate Makefile
As I don't really know if the static version of fbtruetype is useful or not, I went with the second solution and created a patch for the Makefile. Hope this helps!
Created attachment 279915 [details, diff]
splashutils-1.5.4.4-r1.patch
Here is the patch you need to apply to the current ebuild. It checks for the freetype version and if it's greater than 2.4.4, it applies the bz2 patch I posted before. The bz2 patch needs to be named splashutils-1.5.4.4-freetype-bz2.patch. Please test
I can also confirm splashutils failing to build on my ~x86 laptop with the same results. I installed Theofilos Intzoglou patches into my personal overlay and it built and installed properly. These patches should be included into the tree ASAP. TIA I have tried adding your patch but it fails to apply. I think you may have deviated from your instructions and not documented it. Please zip the entire splashutils folder from your overlay and upload it here. Thanks Fixed in CVS, thanks for the patch. Created attachment 281809 [details]
splashutils-1.5.4.4 build log
I'm trying to emerge the latest fixed splashutils ebuild (1.5.4.4) but it still fails with the same errors :(
Freetype version installed: media-libs/freetype-2.4.6 USE="X static-libs -auto-hinter -bindist -debug -doc -fontforge -utils"
Splashutils emerged with: media-gfx/splashutils-1.5.4.4 USE="fbcondecor gpm mng png truetype -hardened"
Any ideas?
@Phillip Richter, splashutils-1.5.4.4 isn't fixed portage. To get it to build you need to use the above 'splashutils'-patch to modify your ebuild in your personal portage overlay, and place the 'fbtruetype' patch there as well. Then it will compile without issues. I hope this helps. Just for kicks I tired to re-emerge splashutils this afternoon as it currently exists in the portage tree. It compiles fine without needing to do anything in your personal overlay. So it seems the above changes have indeed been incorporated into the current build. I hope this helps (In reply to comment #11) > Just for kicks I tired to re-emerge splashutils this afternoon as it currently > exists in the portage tree. It compiles fine without needing to do anything in > your personal overlay. > > So it seems the above changes have indeed been incorporated into the current > build. > > I hope this helps Yes, the current ebuild in the portage tree has the changes incorporated, the build log states how it applies the patch in question. I don't see why it's failing for me, maybe there's something wrong during freetype emerge? Would it bother you to reemerge the current =freetype-2.4.6 and then the splashutils package? Thank you for your help ;) It does not compile to me. I need to add /usr/lib64/libbz2.a at the end of splashutils-1.5.4.4/src/Makefile:842 to make it compile. Experienced same error with media-libs/freetype-2.4.9-r1. I was able to successfully build against media-libs/freetype-2.4.9. Implies an issue with the latest freetype and the patch. |