Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 356231 - media-gfx/splashutils-1.5.4.3-r3 fails with "cannot find -lmng"
Summary: media-gfx/splashutils-1.5.4.3-r3 fails with "cannot find -lmng"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
: 356413 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-02-23 17:31 UTC by Craig Andrews
Modified: 2011-02-25 13:42 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Andrews gentoo-dev 2011-02-23 17:31:57 UTC
When attempting to emerge splashutils:
---
  CC      fbcondecor_helper-ttf.o
daemon.c: In function ‘daemon_start’:
daemon.c:652:7: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result
daemon.c: In function ‘thf_switch_ttymon’:
daemon.c:476:7: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result
  CREATE  libfbsplash.pc
  CREATE  libfbsplashrender.pc
  LD      fbcondecor_helper
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lmng
collect2: ld returned 1 exit status
make[4]: *** [fbsplashctl] Error 1
---

# emerge libmng splashutils -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] media-libs/libmng-1.0.10-r1  USE="lcms -static-libs" 0 kB
[ebuild   R   ] media-gfx/splashutils-1.5.4.3-r3  USE="fbcondecor gpm mng png truetype -hardened" 0 kB

Reproducible: Always




# emerge --info
Portage 2.1.9.41 (default/linux/amd64/10.0, gcc-4.5.2, glibc-2.13-r1, 2.6.37-gentoo x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 22 Feb 2011 23:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.4 [enabled]
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3, 3.2
dev-util/ccache:     3.1.4
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.1-r1
sys-apps/openrc:     0.7.0
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
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.36.1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf"
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.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j5"
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 /var/lib/layman/openrc /var/lib/layman/webapps-experimental /var/lib/layman/sabayon /var/lib/layman/java-overlay /var/lib/layman/sunrise"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aiglx alsa amd64 amr amrnb amrwb animation apache2 artworkextra asf aspnet2 asyncns authdaemond avahi avi bash-completion bcmath berkdb bitmap-fonts bluetooth bmp bonjour bzip2 cairo caps ccache cdda cddb cdparanoia cdr chm cli consolekit cracklib crypt css cups curl cxx daap dbus device-mapper dga dirac divx4linux dlloader dpms dri dts dv dvb dvd dvdr dvdread enca encode exif faac fam fame fat fbcondecor fbsplash ffmpeg fftw firefox flac fontconfig foomaticdb fortran freetype ftp gaim gd gdbm geoip gif gimpprint glib glibc-omitfp glitz glut gnome gphoto2 gpm gstreamer gstreamer10 gtk gtk2 hardenedphp hbci howl howl-compat https iconv ieee1394 imagemagick imap imlib innodb ipv6 java java5 jbig joystick jpeg jpeg2k junit kdehiddenvisibility kvm lapack lcms libfame libnotify libsamplerate libusb lirc live lm_sensors lzo mad maildir mdnsresponder-compat mjpeg mmap mms mmx mmxext mng modules mono motif mozilla mozsvg mp3 mpeg mpeg2 mplayer mudflap multilib musepack mysql mythtv ncurses nemesi network nls nptl nptlonly ntfs offensive ofx ogg oggvorbis openal openexr opengl openmp pam pango pcre pdf pdflib perl phonon pic pie png pnp policykit ppd ppds pppd prelude pulseaudio python qt qt3 qt3support qt4 quicktime rar readline resolvconf rtc samba sasl schroedinger screensaver sctp sdl session sharedmem shout sni snmp sox speex spell sqlite sse sse2 ssl suspend2 svg sysfs tcpd theora threads tiff tls transcode truetype truetype-fonts type-fonts udev unicode unzip upnp ups usb v4l v4l2 vaapi vcd videos vorbis webdav webservices wifi wmf wv x264 xanim xattr xcb xinerama xml2 xorg xpm xprint xrandr xv xvid xvmc zeroconf zip zlib" ALSA_CARDS="hda-intel" 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 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 auth_digest proxy proxy_ajp proxy_connect proxy_http reqtimeout" 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 joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="mceusb" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-02-23 19:29:50 UTC
Please try rebuilding libmng with static-libs and try to build splashutils again.
Comment 2 Craig Andrews gentoo-dev 2011-02-23 19:33:41 UTC
(In reply to comment #1)
> Please try rebuilding libmng with static-libs and try to build splashutils
> again.
> 

Confirmed - that fixes the problem. I suppose the splashutils ebuild should express that requirement?
Comment 3 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2011-02-23 19:57:35 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > Please try rebuilding libmng with static-libs and try to build splashutils
> > again.
> > 
> Confirmed - that fixes the problem. I suppose the splashutils ebuild should
> express that requirement?

Yes, it should.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2011-02-25 13:37:26 UTC
*** Bug 356413 has been marked as a duplicate of this bug. ***
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2011-02-25 13:42:37 UTC
+  25 Feb 2011; Samuli Suominen <ssuominen@gentoo.org>
+  splashutils-1.5.4.3-r3.ebuild:
+  Fix media-libs/libmng depend to require USE="static-libs" wrt #356231 by
+  candrews.