Your message dated Fri, 24 Jul 2020 09:55:43 +0200
with message-id <94f0cd36-eae5-4b2f-5b82-6dfc7466a...@debian.org>
and subject line Re: ftbfs with GCC-10 (iraf-mscred, iraf-rvsao, iraf-sptable)
has caused the Debian Bug report #957374,
regarding iraf-rvsao: ftbfs with GCC-10
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 ow...@bugs.debian.org
immediately.)
--
957374: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=957374
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:iraf-rvsao
Version: 2.8.3-1
Severity: normal
Tags: sid bullseye
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-10
Please keep this issue open in the bug tracker for the package it
was filed for. If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.
The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.
The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/iraf-rvsao_2.8.3-1_unstable_gcc10.log
The last lines of the build log are at the end of this report.
To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.
apt-get -t=experimental install g++
Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html
[...]
/usr/bin/ld: librv.a(vhead.o):./Util/vhead.x:115: multiple definition of
`emv_'; librv.a(t_xcsao.o):./Xcsao/t_xcsao.x:121: first defined here
/usr/bin/ld: librv.a(vhead.o):./Util/vhead.x:104: multiple definition of
`templ_'; librv.a(t_xcsao.o):./Xcsao/t_xcsao.x:110: first defined here
/usr/bin/ld: librv.a(vhead.o):./Util/vhead.x:98: multiple definition of
`errtet_'; librv.a(t_xcsao.o):./Xcsao/t_xcsao.x:104: first defined here
/usr/bin/ld: librv.a(vhead.o):./Util/vhead.x:92: multiple definition of
`answrq_'; librv.a(t_xcsao.o):./Xcsao/t_xcsao.x:98: first defined here
/usr/bin/ld: librv.a(vhead.o):./Util/vhead.x:85: multiple definition of
`answr_'; librv.a(t_xcsao.o):./Xcsao/t_xcsao.x:91: first defined here
/usr/bin/ld: librv.a(vhead.o):./Util/vhead.x:72: multiple definition of `qpl_';
librv.a(t_wlrange.o):./Util/t_wlrange.x:72: first defined here
/usr/bin/ld: librv.a(vhead.o):./Util/vhead.x:66: multiple definition of
`wvscl_'; librv.a(t_wlrange.o):./Util/t_wlrange.x:66: first defined here
/usr/bin/ld: librv.a(vhead.o):./Util/vhead.x:58: multiple definition of
`ptemp_'; librv.a(t_wlrange.o):./Util/t_wlrange.x:58: first defined here
/usr/bin/ld: librv.a(writetemp.o):./Util/writetemp.x:11: multiple definition of
`xercom_'; x_rvsao.o:./x_rvsao.x:5: first defined here
/usr/bin/ld: librv.a(writetemp.o):./Util/writetemp.x:5: multiple definition of
`mem_'; librv.a(t_bcvcorr.o):./Util/t_bcvcorr.x:5: first defined here
/usr/bin/ld: librv.a(replot.o):./Util/replot.x:5: multiple definition of
`mem_'; librv.a(t_bcvcorr.o):./Util/t_bcvcorr.x:5: first defined here
/usr/bin/ld: librv.a(icsubcon.o):./Util/icsubcon.x:21: multiple definition of
`contin_'; librv.a(xcfit.o):./Xcsao/xcfit.x:120: first defined here
/usr/bin/ld: librv.a(icsubcon.o):./Util/icsubcon.x:5: multiple definition of
`mem_'; librv.a(t_bcvcorr.o):./Util/t_bcvcorr.x:5: first defined here
/usr/bin/ld: librv.a(icsubcon.o):./Util/icsubcon.x:74: multiple definition of
`ptemp_'; librv.a(t_wlrange.o):./Util/t_wlrange.x:58: first defined here
/usr/bin/ld: librv.a(icsubcon.o):./Util/icsubcon.x:11: multiple definition of
`xercom_'; x_rvsao.o:./x_rvsao.x:5: first defined here
/usr/bin/ld: librv.a(icsubcon.o):./Util/icsubcon.x:48: multiple definition of
`users_'; librv.a(t_wlrange.o):./Util/t_wlrange.x:32: first defined here
/usr/bin/ld: librv.a(icsubcon.o):./Util/icsubcon.x:40: multiple definition of
`fixp_'; librv.a(t_wlrange.o):./Util/t_wlrange.x:24: first defined here
/usr/bin/ld: librv.a(icsubcon.o):./Util/icsubcon.x:134: multiple definition of
`ablins_'; librv.a(t_xcsao.o):./Xcsao/t_xcsao.x:156: first defined here
/usr/bin/ld: librv.a(icsubcon.o):./Util/icsubcon.x:126: multiple definition of
`combo_'; librv.a(t_xcsao.o):./Xcsao/t_xcsao.x:148: first defined here
/usr/bin/ld: librv.a(icsubcon.o):./Util/icsubcon.x:117: multiple definition of
`emlins_'; librv.a(t_xcsao.o):./Xcsao/t_xcsao.x:139: first defined here
/usr/bin/ld: librv.a(icsubcon.o):./Util/icsubcon.x:107: multiple definition of
`search_'; librv.a(t_xcsao.o):./Xcsao/t_xcsao.x:129: first defined here
/usr/bin/ld: librv.a(icsubcon.o):./Util/icsubcon.x:99: multiple definition of
`emv_'; librv.a(t_xcsao.o):./Xcsao/t_xcsao.x:121: first defined here
/usr/bin/ld: librv.a(icsubcon.o):./Util/icsubcon.x:88: multiple definition of
`qpl_'; librv.a(t_wlrange.o):./Util/t_wlrange.x:72: first defined here
/usr/bin/ld: librv.a(icsubcon.o):./Util/icsubcon.x:82: multiple definition of
`wvscl_'; librv.a(t_wlrange.o):./Util/t_wlrange.x:66: first defined here
/usr/bin/ld: librv.a(icsubcon.o):./Util/icsubcon.x:61: multiple definition of
`fitp_'; librv.a(t_wlrange.o):./Util/t_wlrange.x:45: first defined here
/usr/bin/ld: librv.a(contpars.o):./Util/contpars.x:21: multiple definition of
`contin_'; librv.a(xcfit.o):./Xcsao/xcfit.x:120: first defined here
/usr/bin/ld: librv.a(contpars.o):./Util/contpars.x:11: multiple definition of
`xercom_'; x_rvsao.o:./x_rvsao.x:5: first defined here
/usr/bin/ld: librv.a(contpars.o):./Util/contpars.x:5: multiple definition of
`mem_'; librv.a(t_bcvcorr.o):./Util/t_bcvcorr.x:5: first defined here
/usr/bin/ld: librv.a(contsum.o):./Util/contsum.x:21: multiple definition of
`contin_'; librv.a(xcfit.o):./Xcsao/xcfit.x:120: first defined here
/usr/bin/ld: librv.a(contsum.o):./Util/contsum.x:11: multiple definition of
`xercom_'; x_rvsao.o:./x_rvsao.x:5: first defined here
/usr/bin/ld: librv.a(contsum.o):./Util/contsum.x:5: multiple definition of
`mem_'; librv.a(t_bcvcorr.o):./Util/t_bcvcorr.x:5: first defined here
/usr/bin/ld: librv.a(apodize.o):./Util/apodize.x:32: multiple definition of
`users_'; librv.a(t_wlrange.o):./Util/t_wlrange.x:32: first defined here
/usr/bin/ld: librv.a(apodize.o):./Util/apodize.x:24: multiple definition of
`fixp_'; librv.a(t_wlrange.o):./Util/t_wlrange.x:24: first defined here
/usr/bin/ld: librv.a(apodize.o):./Util/apodize.x:118: multiple definition of
`ablins_'; librv.a(t_xcsao.o):./Xcsao/t_xcsao.x:156: first defined here
/usr/bin/ld: librv.a(apodize.o):./Util/apodize.x:110: multiple definition of
`combo_'; librv.a(t_xcsao.o):./Xcsao/t_xcsao.x:148: first defined here
/usr/bin/ld: librv.a(apodize.o):./Util/apodize.x:101: multiple definition of
`emlins_'; librv.a(t_xcsao.o):./Xcsao/t_xcsao.x:139: first defined here
/usr/bin/ld: librv.a(apodize.o):./Util/apodize.x:91: multiple definition of
`search_'; librv.a(t_xcsao.o):./Xcsao/t_xcsao.x:129: first defined here
/usr/bin/ld: librv.a(apodize.o):./Util/apodize.x:83: multiple definition of
`emv_'; librv.a(t_xcsao.o):./Xcsao/t_xcsao.x:121: first defined here
/usr/bin/ld: librv.a(apodize.o):./Util/apodize.x:72: multiple definition of
`qpl_'; librv.a(t_wlrange.o):./Util/t_wlrange.x:72: first defined here
/usr/bin/ld: librv.a(apodize.o):./Util/apodize.x:66: multiple definition of
`wvscl_'; librv.a(t_wlrange.o):./Util/t_wlrange.x:66: first defined here
/usr/bin/ld: librv.a(apodize.o):./Util/apodize.x:58: multiple definition of
`ptemp_'; librv.a(t_wlrange.o):./Util/t_wlrange.x:58: first defined here
/usr/bin/ld: librv.a(apodize.o):./Util/apodize.x:45: multiple definition of
`fitp_'; librv.a(t_wlrange.o):./Util/t_wlrange.x:45: first defined here
/usr/bin/ld: librv.a(apodize.o):./Util/apodize.x:5: multiple definition of
`mem_'; librv.a(t_bcvcorr.o):./Util/t_bcvcorr.x:5: first defined here
/usr/bin/ld: librv.a(arc_w2p.o):./Util/arc_w2p.x:13: multiple definition of
`mem_'; librv.a(t_bcvcorr.o):./Util/t_bcvcorr.x:5: first defined here
/usr/bin/ld: librv.a(rebin.o):./Util/rebin.x:5: multiple definition of `mem_';
librv.a(t_bcvcorr.o):./Util/t_bcvcorr.x:5: first defined here
/usr/bin/ld: librv.a(plotutil.o):./Util/plotutil.x:5: multiple definition of
`mem_'; librv.a(t_bcvcorr.o):./Util/t_bcvcorr.x:5: first defined here
/usr/bin/ld: librv.a(compbcv.o):./Util/compbcv.x:11: multiple definition of
`xercom_'; x_rvsao.o:./x_rvsao.x:5: first defined here
/usr/bin/ld: librv.a(compbcv.o):./Util/compbcv.x:5: multiple definition of
`mem_'; librv.a(t_bcvcorr.o):./Util/t_bcvcorr.x:5: first defined here
collect2: error: ld returned 1 exit status
move `librv.a' to `bin/librv.a'
delete file x_rvsao.o
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
create-stamp debian/debhelper-build-stamp
fakeroot debian/rules binary
dh binary
dh_testroot
dh_prep
debian/rules override_dh_auto_install
make[1]: Entering directory '/<<PKGBUILDDIR>>'
mkpkg -p rvsao install
envinit: cannot open `/<<PKGBUILDDIR>>/rvsaolib/zzsetenv.def'
Warning, hlib$mkpkg.inc line 5: macro `IRAFARCH' not found
Warning, mkpkg line 0: cannot open `rvsao$lib/mkpkg.inc'
move `xx_rvsao.e' to `bin/x_rvsao.e'
$move: file `xx_rvsao.e' not found
Warning, mkpkg line 13: error moving file xx_rvsao.e
make[1]: *** [debian/rules:19: override_dh_auto_install] Error 254
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:5: binary] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary subprocess returned exit
status 2
--- End Message ---
--- Begin Message ---
The FTBFS is caused by the specific build procedure of IRAF packages:
the original (SPP) source gets converted to Fortran 77, and then a IRAF
specific f2c is called to convert that to C, and finally the gcc
compiles this.
Fortran common blocks a problematic here, since they don't have an
"original" location, but are included everywhere, and they define (and
not only declare) global variables.
So, the solution here was to use the "-fcommon" flag in the IRAF
"f77.sh", which is done with iraf-dev_2.16.1+2018.11.01-6.
No action is required for iraf-sptable, iraf-mscred and iraf-rvsao,
they compile now without problem. Therefore I close these bugs,
Best
Ole
--- End Message ---