Tried to upgrade freeimage to latest version but failed - any clue?

Andreas Tille andreas at an3as.eu
Tue Aug 21 14:31:14 BST 2018


Hi Anton and Ghislain,

in my attempt to fix Vcs fields[1] and upgrade all packages that are
relevant for Debian Med I tried the latest version of freeimage.  I hope
I refreshed the patches for the new version properly (please double
check) but finally the build fails with:

...
   debian/rules override_dh_auto_build-arch
make[1]: Entering directory '/build/freeimage-3.18.0+ds1'
/usr/bin/make CC="x86_64-linux-gnu-gcc" CXX="x86_64-linux-gnu-g++" CFLAGS="-g -O2 -fdebug-prefix-map=/build/freeimage-3.18.0+ds1=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fPIC" CXXFLAGS="-g -O2 -fdebug-prefix-map=/build/freeimage-3.18.0+ds1=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fPIC" LDFLAGS="-specs=/usr/share/dpkg/no-pie-link.specs -Wl,-z,relro -Wl,-z,now -Wl,--as-needed"
make[2]: Entering directory '/build/freeimage-3.18.0+ds1'
/usr/bin/make -f Makefile.gnu 
make[3]: Entering directory '/build/freeimage-3.18.0+ds1'
x86_64-linux-gnu-g++ -g -O2 -fdebug-prefix-map=/build/freeimage-3.18.0+ds1=. -specs=/usr/share/dpkg/no-pie-compile.specs -fstack-protector-strong -Wformat -Werror=format-security -Wall -pedantic -fPIC -fexceptions -fvisibility=hidden -Wno-ctor-dtor-privacy -D__ANSI__ Source/CacheFile.h Source/FreeImage.h Source/FreeImage/J2KHelper.h Source/FreeImage/PSDParser.h Source/FreeImageIO.h Source/FreeImageToolkit/Filters.h Source/FreeImageToolkit/Resize.h Source/MapIntrospector.h Source/Metadata/FIRational.h Source/Metadata/FreeImageTag.h Source/Plugin.h Source/Quantizers.h Source/ToneMapping.h Source/Utilities.h -I/usr/include/jxrlib -I/usr/include/openjpeg-2.3 -I/usr/include/libpng16 -I/usr/include/libraw -I/usr/include/x86_64-linux-gnu -I/usr/include/OpenEXR -Wdate-time -D_FORTIFY_SOURCE=2 -c Source/FreeImage/BitmapAccess.cpp -o Source/FreeImage/BitmapAccess.o
x86_64-linux-gnu-g++: fatal error: cannot specify -o with -c, -S or -E with multiple files
compilation terminated.
make[3]: *** [Makefile.gnu:66: Source/FreeImage/BitmapAccess.o] Error 1
...


That's pretty odd and exceedes the time slice I intended to spent
on this.  Any volunteer is welcome to fix this.

Kind regards

       Andreas.


[1] https://salsa.debian.org/science-team/freeimage

-- 
http://fam-tille.de



More information about the debian-science-maintainers mailing list