[Pkg-gmagick-im-team] Bug#606297: FTBFS: collect2: ld returned 1 exit status

Len Sorensen lennartsorensen at ruggedcom.com
Tue Mar 1 16:24:06 UTC 2011


Package: imagemagick
Version: 8:6.6.0.4-3
Severity: normal

I have seen this too.  I am building on an 8 core xeon.  If I use
DEB_BUILD_OPTIONS=parallel=8, then it almost never fails.  If I use
DEB_BUILD_OPTIONS=parallel=16 then it almost always fails.

So there is some race condition in the imagemagick makefiles that makes
it not safe to build in parallel.  The race is only triggered with enough
parallelism it seems.  It seems it results in something trying to use
libMagick++.so before it is actually fully written.

I can provide logs from both a working parallel=8 and a broken parallel=16
run if that would help.

It fails on squeeze, wheezy and sid in the same way.  This is absolutely
a problem in imagemagick's makefiles when doing parallel building in
my opinion.  Having found other similar reports from gentoo users and
others where it failed to build with more parallelism in the past seems
to agree with that.

The simple fix of course is to not use parallel building.  A real fix
would involve getting upstreams makefiles fixed.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages imagemagick depends on:
ii  libbz2-1.0              1.0.5-6          high-quality block-sorting file co
ii  libc6                   2.11.2-12        Embedded GNU C Library: Shared lib
ii  libfontconfig1          2.8.0-2.1        generic font configuration library
ii  libfreetype6            2.4.4-1          FreeType 2 font engine, shared lib
ii  libglib2.0-0            2.28.1-1+b1      The GLib library of C routines
ii  libgomp1                4.5.2-4          GCC OpenMP (GOMP) support library
ii  libice6                 2:1.0.7-1        X11 Inter-Client Exchange library
ii  libjpeg62               6b1-1            The Independent JPEG Group's JPEG 
ii  liblcms1                1.18.dfsg-1.2+b3 Color management library
ii  liblqr-1-0              0.4.1-1          converts plain array images into m
ii  libltdl7                2.2.6b-2         A system independent dlopen wrappe
ii  libmagickcore3          8:6.6.0.4-3      low-level image manipulation libra
ii  libmagickwand3          8:6.6.0.4-3      image manipulation library
ii  libsm6                  2:1.2.0-1        X11 Session Management library
ii  libtiff4                3.9.4-5          Tag Image File Format (TIFF) libra
ii  libx11-6                2:1.4.1-5        X11 client-side library
ii  libxext6                2:1.2.0-2        X11 miscellaneous extension librar
ii  libxt6                  1:1.0.9-2        X11 toolkit intrinsics library
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

Versions of packages imagemagick recommends:
ii  ghostscript               9.01~dfsg-2    interpreter for the PostScript lan
ii  libmagickcore3-extra      8:6.6.0.4-3    low-level image manipulation libra
ii  netpbm                    2:10.0-12.2+b1 Graphics conversion tools between 
ii  ufraw-batch               0.18-1         batch importer for raw camera imag

Versions of packages imagemagick suggests:
pn  autotrace      <none>                    (no description available)
ii  cups-bsd [lpr] 1.4.6-1                   Common UNIX Printing System(tm) - 
ii  curl           7.21.3-1                  Get a file from an HTTP, HTTPS or 
pn  enscript       <none>                    (no description available)
pn  ffmpeg         <none>                    (no description available)
ii  gimp           2.6.11-1                  The GNU Image Manipulation Program
ii  gnuplot        4.4.0-1.1                 A command-line driven interactive 
pn  grads          <none>                    (no description available)
ii  groff-base     1.21-4                    GNU troff text-formatting system (
pn  hp2xx          <none>                    (no description available)
pn  html2ps        <none>                    (no description available)
pn  imagemagick-do <none>                    (no description available)
ii  libwmf-bin     0.2.8.4-6.1+b1            Windows metafile conversion tools
ii  mplayer        3:1.0~rc4+svn20110225-0.0 The Ultimate Movie Player For Linu
pn  povray         <none>                    (no description available)
pn  radiance       <none>                    (no description available)
ii  sane-utils     1.0.22-1                  API library for scanners -- utilit
ii  texlive-binari 2009-8                    Binaries for TeX Live
pn  transfig       <none>                    (no description available)
ii  xdg-utils      1.1.0~rc1-2               desktop integration utilities from

-- no debconf information





More information about the Pkg-gmagick-im-team mailing list