Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 339735 - Unable to re-emerge Imagemagick: coders/svg.la unable to find liblcms.la
Summary: Unable to re-emerge Imagemagick: coders/svg.la unable to find liblcms.la
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-04 19:32 UTC by Brad Beglin
Modified: 2010-10-04 19:52 UTC (History)
0 users

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 Brad Beglin 2010-10-04 19:32:18 UTC
I attempted to re-emerge Imagemagick using revdep-rebuild after finding some link breakage.  However, Imagemagick failed to build as soon as it tried to build the library that was the source of the broken link, coders/svg.la.

I successfully re-emerge media-libs/lcms, but Imagemagick fails to build. I also manually searched, but could not locate liblcms.la on my system.

Reproducible: Always




emerge --info:
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r2 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T7250_@_2.00GHz-with-gentoo-1.12.13
Timestamp of tree: Mon, 04 Oct 2010 13:45:03 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 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.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://www.gtlib.gatech.edu/pub/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j3"
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.us.gentoo.org/gentoo-portage"
USE="X a52 aac acpi aim alsa amd64 bash-completion berkdb branding bzip2 cairo cdda cddb cdparanoia cdr cli cracklib crypt css cups cxx dbus djvu dri dts dv dvd encode exif ffmpeg flac fontconfig fortran ftp gcj gdbm gif gimp gmp gnutls gtk hal hddtemp iconv ieee1394 imagemagick imap imlib java java6 jbig jpeg jpeg2k ladspa lame lcms ldap libnotify lm_sensors lzo mad matroska mikmod mmap mmx mng modplug modules mp3 mp4 mpeg mudflap multilib musepack musicbrainz ncurses nls nntp nptl nptlonly offensive ogg openexr opengl openmp pcre pdf perl png ppds python qt3support qt4 quicktime raw readline rss samba sdl smp sndfile sox speex spell sse sse2 ssl startup-notification svg symlink sysfs syslog taglib theora threads tiff truetype unicode usb vcd vorbis wavpack wifi wmf x264 xcb xine xinerama xml xorg xscreensaver xv xvid 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 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 keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" NETBEANS_MODULES="apisupport cnd dlight enterprise harness ide java mobility nb profiler websvccommon" 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, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

revdep-rebuild -p:
* Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 45% ]  *   broken /usr/lib64/ImageMagick-6.6.2/modules-Q16/coders/svg.la (requires /usr/lib64/liblcms.la)
[ 65% ]  *   broken /usr/lib64/libautotrace.la (requires /usr/lib64/liblcms.la)
[ 84% ]  *   broken /usr/lib64/pstoedit/libp2edrvmagick++.la (requires /usr/lib64/liblcms.la)
[ 100% ]                 
 * Generated new 3_broken.rr
 * Assigning files to packages
 *   /usr/lib64/ImageMagick-6.6.2/modules-Q16/coders/svg.la -> media-gfx/imagemagick
 *   /usr/lib64/libautotrace.la -> media-gfx/autotrace
 *   /usr/lib64/pstoedit/libp2edrvmagick++.la -> media-gfx/pstoedit
 * Generated new 4_raw.rr and 4_owners.rr
 * Cleaning list of packages to rebuild
 * Generated new 4_pkgs.rr
 * Assigning packages to ebuilds
 * Generated new 4_ebuilds.rr
 * Evaluating package order
 * Generated new 5_order.rr
 * All prepared. Starting rebuild
emerge --oneshot --pretend  media-gfx/autotrace:0
media-gfx/imagemagick:0
media-gfx/pstoedit:0

emerge -pv1 imagemagick:
  CCLD   utilities/montage
  CCLD   utilities/stream
  CCLD   coders/svg.la
/bin/grep: /usr/lib64/liblcms.la: No such file or directory
/bin/sed: can't read /usr/lib64/liblcms.la: No such file or directory
libtool: link: `/usr/lib64/liblcms.la' is not a valid libtool archive
make[1]: *** [coders/svg.la] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/imagemagick-6.6.2.5/work/ImageMagick-6.6.2-5'
make: *** [all] Error 2
 * ERROR: media-gfx/imagemagick-6.6.2.5 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 2605:  Called _eapi2_src_compile
 *     ebuild.sh, line  646:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =media-gfx/imagemagick-6.6.2.5',
 * the complete build log and the output of 'emerge -pqv =media-gfx/imagemagick-6.6.2.5'.
 * The complete build log is located at '/var/tmp/portage/media-gfx/imagemagick-6.6.2.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/imagemagick-6.6.2.5/temp/environment'.
 * S: '/var/tmp/portage/media-gfx/imagemagick-6.6.2.5/work/ImageMagick-6.6.2-5'

>>> Failed to emerge media-gfx/imagemagick-6.6.2.5, Log file:

>>>  '/var/tmp/portage/media-gfx/imagemagick-6.6.2.5/temp/build.log'

 * Messages for package media-gfx/imagemagick-6.6.2.5:

 * ERROR: media-gfx/imagemagick-6.6.2.5 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 2605:  Called _eapi2_src_compile
 *     ebuild.sh, line  646:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =media-gfx/imagemagick-6.6.2.5',
 * the complete build log and the output of 'emerge -pqv =media-gfx/imagemagick-6.6.2.5'.
 * The complete build log is located at '/var/tmp/portage/media-gfx/imagemagick-6.6.2.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/imagemagick-6.6.2.5/temp/environment'.
 * S: '/var/tmp/portage/media-gfx/imagemagick-6.6.2.5/work/ImageMagick-6.6.2-5'

 * GNU info directory index is up-to-date.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-10-04 19:52:58 UTC
.la file problems:

# emerge lafilefixer
# lafilefixer --justfixit

or plain revdep-rebuild, but lafilefixer is faster (no need to re-emerge anything)