Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 336172 - media-gfx/splashutils-1.5.4.3-r3 is missing dep on media-libs/lcms[static-libs]
Summary: media-gfx/splashutils-1.5.4.3-r3 is missing dep on media-libs/lcms[static-libs]
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal with 1 vote (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
: 339148 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-09-06 07:28 UTC by Justin Lecher (RETIRED)
Modified: 2010-10-11 20:40 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/log/portage/build/media-gfx/splashutils-1.5.4.3-r3:20100906-072611.log (splashutils-1.5.4.3-r3:20100906-072611.log,26.14 KB, text/plain)
2010-09-06 07:28 UTC, Justin Lecher (RETIRED)
Details
add [static-libs] for lcms in ebuild (splashutils-1.5.4.3-r3-lcms_staticlibs.patch,541 bytes, patch)
2010-09-29 16:17 UTC, hal
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Justin Lecher (RETIRED) gentoo-dev 2010-09-06 07:28:35 UTC
daemon.c:476: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
daemon.c: At top level:
daemon.c:597: warning: no previous prototype for ‘daemon_start’
daemon.c: In function ‘daemon_start’:
daemon.c:652: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
daemon.c: At top level:
daemon.c:748: warning: no previous prototype for ‘fbsplashd_main’
  LD      fbcondecor_helper
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: attempted static link of dynamic object `/usr/lib64/liblcms.so'
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.3-r3 failed:
 *   failed to build splashutils
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 3081:  Called die
 * The specific snippet of code:




$ iemerge --info =media-gfx/splashutils-1.5.4.3-r3
sh: iemerge: command not found
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2010-09-06 07:28:53 UTC
Created attachment 246230 [details]
/var/log/portage/build/media-gfx/splashutils-1.5.4.3-r3:20100906-072611.log

build.log
Comment 2 Wormo (RETIRED) gentoo-dev 2010-09-17 01:27:50 UTC
Thanks for reporting this missing dep. Assigning to maintainer.
Comment 3 Mike Nerone 2010-09-28 22:51:38 UTC
I get this error, as well, except looking at the ebuild, I *do* see a dep on lcms (with mng USE flag), and I confirmed that I have lcms installed.

Specifically, media-gfx/splashutils-1.5.4.3-r3 fails to compile (same error as previously described) though I have media-libs/lcms-2.0a installed.
Comment 4 hal 2010-09-29 00:23:04 UTC
stumbled upon this error today after a system update where lcms was marked to be reinstalled due to the new useflag -static-libs.
afterwards revdep-rebuild pulled in libmng and splashutils. libmng was build just fine while splashutils failed to build.

------------------------------------

emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.35-gentoo-r9 i686)
=================================================================
System uname: Linux-2.6.35-gentoo-r9-i686-Intel-R-_Atom-TM-_CPU_330_@_1.60GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 28 Sep 2010 23:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.9.6-r3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.35
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -Os -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
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/splash /etc/terminfo"
CXXFLAGS="-march=prescott -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="bzip2"
PORTAGE_COMPRESS_FLAGS="-9"
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/xbmc-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa avahi bash-completion berkdb bluetooth bzip2 cairo caps cddb cdr cli consolekit cpudetection cracklib crypt cxx dbus dri dts dvd dvdr emboss encode exif fam fbcondecor fbsplash ffmpeg firefox flac fortran gdbm gif gpm iconv ipod jpeg jpeg2k lcms libnotify libsamplerate lm_sensors mad mikmod minimal mmx mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support readline reflection sdl session spell sse sse2 sse3 ssl ssse3 startup-notification svg symlink sysfs syslog tcpd theora threads tiff truetype udev unicode usb v4l2 vaapi vdpau vorbis x264 x86 xcb xml xorg xulrunner xv xvid xvmc 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" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Steven Trogdon 2010-09-29 13:07:11 UTC
(In reply to comment #4)
> stumbled upon this error today after a system update where lcms was marked to
> be reinstalled due to the new useflag -static-libs.
> afterwards revdep-rebuild pulled in libmng and splashutils. libmng was build
> just fine while splashutils failed to build.
> 
> ------------------------------------
> 
It appears that media-gfx/splashutils-1.5.4.3-r3 will no longer build unless media-libs/lcms-1.19 is installed with USE=static-libs. The splashutils ebuild doesn't require this but, as noted above, a system update pulls in lcms with new useflag -static-libs and hence the failure when splashutils is attempted to be rebuilt after a revdep-rebuild.
Comment 6 David W Noon 2010-09-29 14:20:19 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > stumbled upon this error today after a system update where lcms was marked to
> > be reinstalled due to the new useflag -static-libs.
> > afterwards revdep-rebuild pulled in libmng and splashutils. libmng was build
> > just fine while splashutils failed to build.
> > 
> > ------------------------------------
> > 
> It appears that media-gfx/splashutils-1.5.4.3-r3 will no longer build unless
> media-libs/lcms-1.19 is installed with USE=static-libs. The splashutils ebuild
> doesn't require this but, as noted above, a system update pulls in lcms with
> new useflag -static-libs and hence the failure when splashutils is attempted to
> be rebuilt after a revdep-rebuild.

The same applies to ImageMagick, which requires the libtool archive /usr/lib/liblcms.la.
Comment 7 hal 2010-09-29 16:16:56 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > stumbled upon this error today after a system update where lcms was marked to
> > be reinstalled due to the new useflag -static-libs.
> > afterwards revdep-rebuild pulled in libmng and splashutils. libmng was build
> > just fine while splashutils failed to build.
> > 
> > ------------------------------------
> > 
> It appears that media-gfx/splashutils-1.5.4.3-r3 will no longer build unless
> media-libs/lcms-1.19 is installed with USE=static-libs. The splashutils ebuild
> doesn't require this but, as noted above, a system update pulls in lcms with
> new useflag -static-libs and hence the failure when splashutils is attempted to
> be rebuilt after a revdep-rebuild.
> 

that fixed it, thanks for the hint. as i read your post i remembered we had this issue in the past with jpeg, too.
i attached a patch.
Comment 8 hal 2010-09-29 16:17:49 UTC
Created attachment 248979 [details, diff]
add [static-libs] for lcms in ebuild
Comment 9 Christian Bricart 2010-09-29 16:53:48 UTC
I can confirm depending on media-libs/lcms[static-libs] solves the compilation issue.

As a sidenote, perhaps the dependency on =media-libs-1*[static-libs] should then also be altered to use slot-dependency instead of wildcard numbering:

   =media-libs/lcms:0[static-libs]

Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2010-09-29 17:52:03 UTC
*** Bug 339148 has been marked as a duplicate of this bug. ***
Comment 11 Mike Nerone 2010-09-29 18:12:36 UTC
This feels strange, but I've triple-checked. I now have lcms installed with USE=static-libs, but attempting to emerge splashutils still produces the same error.

Note: I notice that even with static-libs, lcms does not contain a .la file.
Comment 12 Norbert Marx 2010-09-30 06:43:21 UTC
media-libs/lcms is installed in two slots:
emerge -pC media-libs/lcms

 media-libs/lcms
    selected: 1.19 2.0a 
   protected: none 
     omitted: none 

You need 1.19, build with static-libs use flag.
Comment 13 Mike Nerone 2010-09-30 06:47:30 UTC
Please disregard comment #11. I should have quadruple-checked: I static-lib'd the wrong slot. splashutils does, indeed, build successfully with media-libs/lcms:0[static-libs].
Comment 14 Mike Nerone 2010-09-30 06:48:38 UTC
Believe it or not, I had just realized that on my own. :P
Comment 15 Michal Januszewski (RETIRED) gentoo-dev 2010-09-30 08:16:48 UTC
Fixed in CVS.  Thanks for reporting the problem! :)
Comment 16 David Mudrák 2010-10-11 11:30:31 UTC
media-libs/devil seems to require lcms with static-libs, too
Comment 17 Michal Januszewski (RETIRED) gentoo-dev 2010-10-11 20:40:25 UTC
(In reply to comment #16)
> media-libs/devil seems to require lcms with static-libs, too

If this is the case, please open a separate bug for that package so that its maintainers can take care of the problem.