Bug#976927: cimg: FTBFS on ppc64el (arch:all-only src pkg): g++: error: unrecognized argument in option ‘-mtune=generic’

Lucas Nussbaum lucas at debian.org
Wed Dec 9 08:56:24 GMT 2020


Source: cimg
Version: 2.8.4+dfsg-1
Severity: serious
Justification: FTBFS on ppc64el
Tags: bullseye sid ftbfs
Usertags: ftbfs-20201209 ftbfs-bullseye ftbfs-ppc64el

Hi,

During a rebuild of all packages in sid, your package failed to build
on ppc64el. At the same time, it did not fail on amd64.

I'm marking this bug as severity:serious since your package has only
Architecture:all binary packages, and should thus, in theory, build
everywhere. Failure to build on ppc64el might indicate a serious issue
in this package or in another package.

But feel free to downgrade or close if you believe that this is only a
build-time issue. (I would personnally prefer a severity:minor bug just to
track that the package can only be built on specific architectures.)

Relevant part (hopefully):
> make[3]: Entering directory '/<<PKGBUILDDIR>>/examples'
> 
> ** Compiling 'CImg_demo (2.8.4)' with 'gcc version 10.2.1 20201207 (Debian 10.2.1-1) '
> 
> g++ -o CImg_demo CImg_demo.cpp -I.. -Wall -Wextra -Wfatal-errors -Werror=unknown-pragmas -Werror=unused-label -Wshadow -Ofast -mtune=generic -Dcimg_use_vt100 -Dcimg_display=1   -Dcimg_use_xrandr  -Dcimg_use_tiff  -Dcimg_use_openexr -I/usr/include/OpenEXR -Dcimg_use_png  -Dcimg_use_jpeg  -Dcimg_use_zlib  -Dcimg_use_curl -Dcimg_use_opencv -I/usr/include/opencv4/opencv -I/usr/include/opencv4 -I/usr/include/opencv -Dcimg_use_magick -I/usr/include/GraphicsMagick -Dcimg_use_fftw3  -lm -lX11 -lpthread  -lXrandr -ltiff -ltiffxx -lIlmImf -lHalf -lpng -lz -ljpeg -lz -lcurl -lopencv_stitching -lopencv_aruco -lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_dnn_objdetect -lopencv_dnn_superres -lopencv_dpm -lopencv_highgui -lopencv_face -lopencv_freetype -lopencv_fuzzy -lopencv_hdf -lopencv_hfs -lopencv_img_hash -lopencv_line_descriptor -lopencv_quality -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_shape -lopencv_stereo -lopencv_structured_light -lopencv_phase_unwrapping -lopencv_superres -lopencv_optflow -lopencv_surface_matching -lopencv_tracking -lopencv_datasets -lopencv_text -lopencv_dnn -lopencv_plot -lopencv_ml -lopencv_videostab -lopencv_videoio -lopencv_viz -lopencv_ximgproc -lopencv_video -lopencv_xobjdetect -lopencv_objdetect -lopencv_calib3d -lopencv_imgcodecs -lopencv_features2d -lopencv_flann -lopencv_xphoto -lopencv_photo -lopencv_imgproc -lopencv_core -lGraphicsMagick++ -lGraphicsMagick -lfftw3 -lfftw3_threads
> g++: error: unrecognized argument in option ‘-mtune=generic’
> g++: note: valid arguments to ‘-mtune=’ are: 401 403 405 405fp 440 440fp 464 464fp 476 476fp 505 601 602 603 603e 604 604e 620 630 740 7400 7450 750 801 821 823 8540 8548 860 970 G3 G4 G5 a2 cell e300c2 e300c3 e500mc e500mc64 e5500 e6500 ec603e native power10 power3 power4 power5 power5+ power6 power6x power7 power8 power9 powerpc powerpc64 powerpc64le rs64 titan
> make[3]: *** [Makefile:311: CImg_demo] Error 1

The full build log is available from:
   http://qa-logs.debian.net/2020/12/09/cimg_2.8.4+dfsg-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with me
so that we can identify if something relevant changed in the meantime.

About the archive rebuild: The rebuild was done on a Power8 cluster part of the
Grid'5000 testbed. Hardware specs: https://www.grid5000.fr/w/Grenoble:Hardware#drac



More information about the debian-science-maintainers mailing list