Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Installing Splashutils 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
lcronos
n00b
n00b


Joined: 09 Jun 2014
Posts: 16

PostPosted: Fri Jul 04, 2014 12:45 am    Post subject: [SOLVED] Installing Splashutils Fails Reply with quote

I'm trying to install splashutils to get a splash screen during the boot process (I'd like to look at something during the ~30 seconds before kdm launches) and have opted for fbsplash, but i can't emerge it. It errors out trying to build miscsplashutils. Here is my emerge --info '=media-gfx/splashutils-1.5.4.4-r1::gentoo'
Code:

Portage 2.2.8-r1 (default/linux/x86/13.0/desktop/kde, gcc-4.7.3, glibc-2.17, 3.12.21-gentoo-r1 i686)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.12.21-gentoo-r1-i686-Genuine_Intel-R-_CPU_T2300_@_1.66GHz-with-gentoo-2.2
KiB Mem:     2058976 total,   1047304 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of tree: Thu, 19 Jun 2014 20:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo poly-c stuff write2David x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -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 -march=i686 -pipe"
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/ ftp://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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="/var/lib/layman/poly-c /var/lib/layman/stuff /var/lib/layman/write2David /usr/local/portage"
SYNC="rsync://rsync24.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam fbcondecor firefox flac fortran gdbm gif gpm gtk gtk2 hal iconv ipv6 jpeg kde kipi lcms ldap libnotify mad mng modules mp3 mp4 mpeg ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline sdl session spell ssl startup-notification svg tcpd tiff truetype udev udisks unicode upower usb vorbis wifi wxwidgets x264 x86 xcb xcomposite xinerama xml xorg xscreensaver xv xvid zlib" ABI_X86="32" 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" 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" DRACUT_MODULES="plymouth" 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="synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON


and my build log
Code:
 * Package:    media-gfx/splashutils-1.5.4.4-r1
 * Repository: gentoo
 * Maintainer: asaf.gery@gmail.com proxy-maint@gentoo.org
 * USE:        abi_x86_32 elibc_glibc fbcondecor gpm kernel_linux mng png policykit truetype userland_GNU x86
 * 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-r1/work
>>> Unpacking splashutils-gentoo-1.0.17.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work
>>> Unpacking miscsplashutils-0.1.8.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work
>>> Unpacking libpng-1.4.3.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work
>>> Unpacking jpegsrc.v8a.tar.gz to /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work
>>> Unpacking freetype-2.3.12.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work
>>> Unpacking zlib-1.2.3.tar.bz2 to /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work
>>> Source unpacked in /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work
>>> Preparing source in /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/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 ]
 * Running eautoreconf in '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/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-r1/work/splashutils-1.5.4.4 ...
make -j2 CC=i686-pc-linux-gnu-gcc LIB=lib STRIP=true
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wl,-O1 -Wl,--as-needed fbres.c -o fbres
i686-pc-linux-gnu-gcc -O2 -march=i686 -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-r1/work/miscsplashutils-0.1.8/fbtruetype'
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -I/usr/include/freetype2   -c -o fbtruetype.o fbtruetype.c
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -I/usr/include/freetype2   -c -o messages.o messages.c
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -I/usr/include/freetype2   -c -o console.o console.c
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -I/usr/include/freetype2   -c -o ttf.o ttf.c
i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -I/usr/include/freetype2   -c -o luxisri.o luxisri.c
ttf.c:16:30: fatal error: freetype/ftoutln.h: No such file or directory
compilation terminated.
make[1]: *** [ttf.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work/miscsplashutils-0.1.8/fbtruetype'
make: *** [all] Error 2
emake failed
 * ERROR: media-gfx/splashutils-1.5.4.4-r1::gentoo failed (configure phase):
 *   failed to build miscsplashutils
 *
 * Call stack:
 *     ebuild.sh, line  93:  Called src_configure
 *   environment, line 2799:  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-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-gfx/splashutils-1.5.4.4-r1::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work/miscsplashutils-0.1.8'
 * S: '/var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work/splashutils-1.5.4.4'


I saw on another post that disabling the truetype use flag would fix it, so I added it to /etc/portage/package.use but it doesn't appear to be used since in the log it shows it as enabled (it's enabled in /etc/make.conf, but that shouldn't matter since it should have lower priority in portage). Plymouth won't work since it doesn't seem to play very well with OpenRC.


Last edited by lcronos on Fri Jul 04, 2014 5:51 pm; edited 1 time in total
Back to top
View user's profile Send private message
khayyam
Advocate
Advocate


Joined: 07 Jun 2012
Posts: 2346

PostPosted: Fri Jul 04, 2014 11:40 am    Post subject: Reply with quote

lcronos ...

Its a known issue, see bug 506124

best ... khay
Back to top
View user's profile Send private message
russK
Apprentice
Apprentice


Joined: 27 Jun 2006
Posts: 225

PostPosted: Fri Jul 04, 2014 1:40 pm    Post subject: Reply with quote

A workaround is to build without the truetype USE flag.

Put this in your package.use file:

Code:
media-gfx/splashutils -truetype
Back to top
View user's profile Send private message
lcronos
n00b
n00b


Joined: 09 Jun 2014
Posts: 16

PostPosted: Fri Jul 04, 2014 5:43 pm    Post subject: Reply with quote

Well that'd be the issue lol. I put sys-apps/splashutils -truetype for some reason, this should fix it.
Back to top
View user's profile Send private message
khayyam
Advocate
Advocate


Joined: 07 Jun 2012
Posts: 2346

PostPosted: Fri Jul 04, 2014 6:22 pm    Post subject: Reply with quote

lcronos wrote:
Well that'd be the issue lol. I put sys-apps/splashutils -truetype for some reason, this should fix it.

lcronos ... from the comments in the bug it looks like the attatched patch works, so you you could apply it and retain the truetype useflag (if having support for truetype fonts is important).

best ... khay
Back to top
View user's profile Send private message
lcronos
n00b
n00b


Joined: 09 Jun 2014
Posts: 16

PostPosted: Fri Jul 04, 2014 7:33 pm    Post subject: Reply with quote

Truetype isn't necessary, I'm just using it for a splash screen, thanks though. Plus I'm not sure how to actually use the patches lol, I'm still new to Gentoo, this is the first issue I've had where a patch could be used to fix the problem.
Back to top
View user's profile Send private message
khayyam
Advocate
Advocate


Joined: 07 Jun 2012
Posts: 2346

PostPosted: Fri Jul 04, 2014 10:28 pm    Post subject: Reply with quote

lcronos wrote:
Truetype isn't necessary, I'm just using it for a splash screen, thanks though. Plus I'm not sure how to actually use the patches lol, I'm still new to Gentoo, this is the first issue I've had where a patch could be used to fix the problem.

lcronos ... you're welcome. The ebuild is using 'eutils' and so 'epatch_user' will be in play, all you need do is the following:

Code:
# mkdir -p /etc/portage/patches/media-gfx/splashutils-1.5.4.4-r1/
# mv /path/to/truetype.patch /etc/portage/patches/media-gfx/splashutils-1.5.4.4-r1/truetype.patch
# echo "truetype.patch" > /etc/portage/patches/media-gfx/splashutils-1.5.4.4-r1/patch_list
# emerge --ask =media-gfx/splashutils-1.5.4.4-r1

See: 6.f. Applying Non-Standard Patches. Note I use the <category>/<package>[-<version>[-<revision>]] so that this patch is only applied to that specific package, if you wanted the patch to apply to all versions then simply use <category>/<package>.

If the ebuild doesn't support epatch_user then you can use 'ebuild' and 'patch' to achieve the same result ...

Code:
# ebuild /usr/portage/media-gfx/splashutils/splashutils-1.5.4.4-r1.ebuild unpack
# patch -p1 --dry-run -d /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work/splashutils-1.5.4.4-r1 < truetype.patch
# patch -p1 -d /var/tmp/portage/media-gfx/splashutils-1.5.4.4-r1/work/splashutils-1.5.4.4-r1 < truetype.patch
# ebuild /usr/portage/media-gfx/splashutils/splashutils-1.5.4.4-r1.ebuild compile
# ebuild /usr/portage/media-gfx/splashutils/splashutils-1.5.4.4-r1.ebuild install
# ebuild /usr/portage/media-gfx/splashutils/splashutils-1.5.4.4-r1.ebuild qmerge

I'm using the absolute path to the ebuild and 'work' dir but relative paths are also acceptable. I also use '--dry-run' first to test if the patch will be applied correctly before actually patching.

HTH & best ... khay
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