Your message dated Fri, 05 Nov 2010 15:32:11 +0000
with message-id <[email protected]>
and subject line Bug#602166: fixed in cimg 1.4.4-1
has caused the Debian Bug report #602166,
regarding cimg: FTBFS with binutils-gold
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
602166: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=602166
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cimg
Version: 1.3.9-1
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu natty ubuntu-patch no-add-needed
Hi,
binutils-gold will be the default for next Debian and Ubuntu release.
The main difference is that --no-add-needed is the default behavior of GNU
binutils-gold. This means that you need to provide all needed libraries to the
linker when building your executables.
More informations can be found at
http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking
Here is the interesting part of the log file:
...
** Compiling 'CImg_demo (1.3.9)' with 'gcc version 4.5.1 (Ubuntu/Linaro
4.5.1-9ubuntu1) '
g++ -o CImg_demo CImg_demo.cpp -I.. -Wall -W -lm -lpthread -O3 -fno-tree-pre
-Dcimg_use_vt100 -I/usr/X11R6/include -Dcimg_use_xshm -Dcimg_use_xrandr
-Dcimg_use_tiff -Dcimg_use_openexr -I/usr/include/OpenEXR -Dcimg_use_png
-Dcimg_use_jpeg -Dcimg_use_zlib -Dcimg_use_magick -I/usr/include/ImageMagick -g
-O2 -pthread -Dcimg_use_fftw3 -L/usr/X11R6/lib -lpthread -lX11 -lXext -lXrandr
-ltiff -lIlmImf -lpng -lz -ljpeg -lz -L/usr/lib -Wl,-Bsymbolic-functions
-L/usr/lib/X11 -L/usr/lib -lMagick++ -lMagickWand -lMagickCore -llcms -ltiff
-lfreetype -ljpeg -llqr-1 -lglib-2.0 -lfontconfig -lXext -lSM -lICE -lX11 -lXt
-lbz2 -lz -lm -lgomp -lpthread -lltdl -lfftw3
/usr/bin/ld: /tmp/ccELshpW.o: undefined reference to symbol 'half::_eLut'
/usr/bin/ld: note: 'half::_eLut' is defined in DSO /usr/lib/libHalf.so.6 so try
adding it to the linker command line
/usr/lib/libHalf.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [CImg_demo] Error 1
make[3]: Leaving directory `/build/buildd/cimg-1.3.9/examples'
make[2]: *** [Mlinux] Error 2
Here is the patch we applied in Ubuntu to fix the FTBFS:
*** /tmp/tmplSR4El
Thanks,
Fabrice
-- System Information:
Debian Release: squeeze/sid
APT prefers maverick-updates
APT policy: (500, 'maverick-updates'), (500, 'maverick-security'), (500,
'maverick-proposed'), (500, 'maverick')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.35-23-generic (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- cimg-1.3.9/debian/rules 2010-07-28 08:45:11.000000000 +0200
+++ cimg-1.3.9/debian/rules 2010-11-02 06:15:17.000000000 +0100
@@ -26,7 +26,7 @@
cp -a CHANGES.txt $(CURDIR)/debian/$(pkg)/usr/share/doc/$(pkg)/changelog
override_dh_auto_install:
- cd examples && $(MAKE) Mlinux "LDFLAGS=-lm -lpthread"
+ cd examples && $(MAKE) Mlinux "LDFLAGS=-lm -lpthread -lHalf"
CHANGEFILES=gaussian_fit1d.cpp \
use_RGBclass.cpp
--- End Message ---
--- Begin Message ---
Source: cimg
Source-Version: 1.4.4-1
We believe that the bug you reported is fixed in the latest version of
cimg, which is due to be installed in the Debian FTP archive:
cimg-dev_1.4.4-1_all.deb
to main/c/cimg/cimg-dev_1.4.4-1_all.deb
cimg-doc_1.4.4-1_all.deb
to main/c/cimg/cimg-doc_1.4.4-1_all.deb
cimg-examples_1.4.4-1_all.deb
to main/c/cimg/cimg-examples_1.4.4-1_all.deb
cimg_1.4.4-1.debian.tar.gz
to main/c/cimg/cimg_1.4.4-1.debian.tar.gz
cimg_1.4.4-1.dsc
to main/c/cimg/cimg_1.4.4-1.dsc
cimg_1.4.4.orig.tar.gz
to main/c/cimg/cimg_1.4.4.orig.tar.gz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andreas Tille <[email protected]> (supplier of updated cimg package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Thu, 04 Nov 2010 21:59:49 +0100
Source: cimg
Binary: cimg-dev cimg-doc cimg-examples
Architecture: source all
Version: 1.4.4-1
Distribution: unstable
Urgency: low
Maintainer: Debian Science Team
<[email protected]>
Changed-By: Andreas Tille <[email protected]>
Description:
cimg-dev - powerful image processing library
cimg-doc - documentation of cimg-dev imaging library
cimg-examples - examples for cimg-dev imaging library
Closes: 602166
Changes:
cimg (1.4.4-1) unstable; urgency=low
.
* New upstream version
* Stabilized gzipped tarball's MD5 sum in ‘debian/get-orig-source’.
* Make sure package builds with binutils-gold (Thanks for the patch
provided by Fabrice Coutadeur <[email protected]>)
Closes: #602166
* debian/control
- Build-Depends: libcv-dev, libhighgui-dev
- Recommends: libcv-dev, libhighgui-dev
- Depends: libmagick++-dev (instead of libmagick++9-dev)
* debian/rules:
- Make sure no object files from test build will make it into
examples package
- Do not compress .gmic file in examples
Checksums-Sha1:
3ff4a8406d19a99a149f61360bef9d3911e78d31 1507 cimg_1.4.4-1.dsc
2466e654d00b634555baa490dcc0d676d3689df7 9985767 cimg_1.4.4.orig.tar.gz
60491667daf4425e063aefbb727e8877df16d264 14976 cimg_1.4.4-1.debian.tar.gz
76e2aa7abe725b7657f61ee13b9d5f07fe6184d6 625064 cimg-dev_1.4.4-1_all.deb
4e57b7596f3eae5968f1bc6440487cd00e66e7f0 6477510 cimg-doc_1.4.4-1_all.deb
fc495d68dfd14dcb19b2055788f840241210eefc 2866478 cimg-examples_1.4.4-1_all.deb
Checksums-Sha256:
b3203766e60d4cb185115f4ecbe3f3f43960af4fefc6612acfb7ef24c82efdfd 1507
cimg_1.4.4-1.dsc
599d8173fc4fadb99300b8208c02053570a136bdc64e7e0d3a442381b41b378e 9985767
cimg_1.4.4.orig.tar.gz
7b6e154c3e88e997e3e4406d1ee9188a756b7a26d05aa7cea7023299e8334124 14976
cimg_1.4.4-1.debian.tar.gz
ea16d87167668dfe153ba74727ac9efd8ebe9abc9b11591bf23167c5f3668ca4 625064
cimg-dev_1.4.4-1_all.deb
13fa924f59991f16af8f72c247f3000ee244cfd31579918b47e4a07e5896e6f3 6477510
cimg-doc_1.4.4-1_all.deb
42f3a3fe5ec48d0b4ec477530921f4d8d33c5a9c1cdeb2ce0ae4c3b34a9277f7 2866478
cimg-examples_1.4.4-1_all.deb
Files:
1c3eb31597aa64296536de6f8af9cf77 1507 math optional cimg_1.4.4-1.dsc
ef0591275d27bbc4f96c87df44e87ebc 9985767 math optional cimg_1.4.4.orig.tar.gz
5cddaa6ed41a82a246d2cc10e5cf3ffe 14976 math optional cimg_1.4.4-1.debian.tar.gz
91f0db31ebecc82e53b8d438f241e294 625064 math optional cimg-dev_1.4.4-1_all.deb
0a0c61d5e1b4297a8ce14892ced3b6d8 6477510 doc optional cimg-doc_1.4.4-1_all.deb
939606178a1e074eed7e68329604fc71 2866478 doc optional
cimg-examples_1.4.4-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iD8DBQFM1CC/YDBbMcCf01oRAh/bAJ40l11U/58+/Q9fp9Wpw7fQLmBN5wCgkm2I
6WHkZktNakXdVllmFRmjnCw=
=DP/T
-----END PGP SIGNATURE-----
--- End Message ---