Summary: | imagemagick-6.1.6.0 compile fails with "needs -fPIC" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Kyle Liddell <kyle> |
Component: | Current packages | Assignee: | AMD64 Project <amd64> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | vinil |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 83369 |
Description
Kyle Liddell
2005-01-11 18:55:50 UTC
Sorry, can're reproduce on this bug on my system. I used the very same USE flags you provided, but it didn't want to show up :-/ I have the same problem -- can I help somehow? emerge info? Any news here? Meanwhile, there appeared few files in my imagemagick package (after changing the system a bit): echelon ~ # epm -ql imagemagick /usr/lib64/libltdl.so.3.1.0 /usr/lib64/libltdl.so.3 /usr/lib64/libltdl.so /usr/lib64/libltdl.la /usr/lib64/libltdl.a build error: ------------ /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3-20050110/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/imagemagick-6.2.0.6/work/ImageMagick-6.2.0/magick/.libs/libMagick.a(magick_libMagick_la-annotate.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /var/tmp/portage/imagemagick-6.2.0.6/work/ImageMagick-6.2.0/magick/.libs/libMagick.a: could not read symbols: Bad value collect2: ld returned 1 exit status libtool: install: error: relink `Magick++/lib/libMagick++.la' with the above command before installing it make[2]: *** [install-libLTLIBRARIES] Error 1 make[2]: Leaving directory `/var/tmp/portage/imagemagick-6.2.0.6/work/ImageMagick-6.2.0' make[1]: *** [install-am] Error 2 make[1]: Leaving directory `/var/tmp/portage/imagemagick-6.2.0.6/work/ImageMagick-6.2.0' make: *** [install] Error 2 emerge info: ------------ Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r6 x86_64) ================================================================= System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 10:19:43)] distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r3, 1.6.3, 1.5, 1.4_p6, 1.9.5, 1.7.9-r1 sys-devel/binutils: 2.15.92.0.2-r8 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.11 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LC_ALL="cs_CZ.UTF-8" LINGUAS="cs" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X Xaw3d a52 aac aalib acpi adns alsa apache2 arts avi bash-completion berkdb bitmap-fonts bzlib calendar cdr crypt cups curl doc dvd dvdr dvdread encode esd evo examples exif expat fam fastcgi flac font-server foomaticdb fortran ftp gcj gd gdbm geoip gif gnome gphoto2 gpm gstreamer gtk gtk2 guile hal howl iconv icq imagemagick imap imlib ipv6 jabber java jikes joystick jp2 jpeg kde kdeenablefinal kdexdeltas lcms libwww lm_sensors lzw lzw-tiff mad maildir mhash mikmod mime mmap mng mozilla mp3 mpeg nas ncurses nls nptl offensive ogg oggvorbis openal opengl oscar pam pdflib perl pic plotutils png postgres ppds python qt quicktime readline sdl slang soap speex spell sqlite ssl svg sysfs tcltk tcpd tetex tidy tiff truetype truetype-fonts type1-fonts unicode usb usepackagedmakefiles userlocales vcd videos vorbis wmf xface xml xml2 xmlrpc xmms xosd xpm xprint xrandr xsl xv xvid zlib video_cards_radeon linguas_cs" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LDFLAGS Is this relevent anymore? 6.2.0.4 is stable now and installs fine... Yes, it is! As you can see in my last comment, I was trying to install version 6.2.0.6 (running ~amd64). Also, I have no luck with the older versions. To summarize our problem: We have no imagemagick on our systems. The package is (nearly) empty. And every dependent package also fails to build. Okay, then I'm with Danny, I can't replicate this either. It installs fine for me. Hello again! I did 'emerge -ev imagemagick' and after few hours... voila... imagemagick compiles well. Strange, strange. In fact the build stopped on graphviz package with some strange error. But when I did 'emerge --resume' it compiled well and the whole build finished. So, it works for me, now. I don't either what's wrong. |