Bug#855929: mclibs: FTBFS: Test failures

Gilles Filippini pini at debian.org
Sun Mar 5 21:49:08 UTC 2017


Control; tags -1 + patch

On Thu, 23 Feb 2017 14:27:50 +0100 Lucas Nussbaum <lucas at debian.org> wrote:
> Source: mclibs
> Version: 20061220+dfsg3-3
> Severity: serious
> Tags: stretch sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20170221 qa-ftbfs
> Justification: FTBFS in stretch on amd64
> 
> Hi,
> 
> During a rebuild of all packages in stretch (in a stretch chroot, not a
> sid chroot), your package failed to build on amd64.
> 
> Relevant part (hopefully):
> > -L/<<BUILDDIR>>/mclibs-20061220+dfsg3/lib -Wl,-static -leurodec -lpacklib -lkernlib -Wl,-dy -lm -lnsl -lcrypt -ldl -lgfortran
> > gfortran -g -o eudtest -O3 -D_FORTIFY_SOURCE=2 -fno-range-check -fno-automatic -fno-second-underscore -fstack-protector --param=ssp-buffer-size=4 -fno-automatic -Wl,-z,relro   -L/<<BUILDDIR>>/mclibs-20061220+dfsg3/src/lib  main.o steerd.o steerf.o testd.o testf.o       `cernlib eurodec packlib`  \
> >  || rm -f eudtest
> > rm -f eurodec.dat
> > ln -s /<<BUILDDIR>>/mclibs-20061220+dfsg3/build/mclibs/eurodec/eurodec.dat eurodec.dat
> > cp /<<BUILDDIR>>/mclibs-20061220+dfsg3/src/mclibs/eurodec/eudtest/eutitle.data eutitle.dat
> > Testing eurodec
> >   ... using eudtest
> > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> > LOCB/LOCF: address 0x7f68e28cd740 exceeds the 32 bit address space
> > or is not in the data segments
> > This may result in program crash or incorrect results
> > Therefore we will stop here
> > !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> > Test result = 231
> > Makefile:482: recipe for target 'test' failed
> 
> The full build log is available from:
>    http://aws-logs.debian.net/2017/02/21/mclibs_20061220+dfsg3-3_testing.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!
> 
> About the archive rebuild: The rebuild was done on EC2 VM instances from
> Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
> failed build was retried once to eliminate random failures.

Patch proposal attached, tested on amd64 and i386 sbuild.

Thanks,

_g.
-------------- next part --------------
diff -Nru mclibs-20061220+dfsg3/debian/changelog mclibs-20061220+dfsg3/debian/changelog
--- mclibs-20061220+dfsg3/debian/changelog	2013-08-23 19:13:53.000000000 +0200
+++ mclibs-20061220+dfsg3/debian/changelog	2017-03-05 22:14:26.000000000 +0100
@@ -1,3 +1,11 @@
+mclibs (20061220+dfsg3-3.1) unstable; urgency=medium
+
+  * Non-maintainer upload
+  * patch 213-fix-test-suite-build.dpatch modified to build eudtest
+    with -no-pie (closes: #855929)
+
+ -- Gilles Filippini <pini at debian.org>  Sun, 05 Mar 2017 22:14:26 +0100
+
 mclibs (20061220+dfsg3-3) unstable; urgency=low
 
   * debian/control:
diff -Nru mclibs-20061220+dfsg3/debian/patches/213-fix-test-suite-build.dpatch mclibs-20061220+dfsg3/debian/patches/213-fix-test-suite-build.dpatch
--- mclibs-20061220+dfsg3/debian/patches/213-fix-test-suite-build.dpatch	2013-08-23 19:13:53.000000000 +0200
+++ mclibs-20061220+dfsg3/debian/patches/213-fix-test-suite-build.dpatch	2017-03-05 22:13:53.000000000 +0100
@@ -20,9 +20,11 @@
 diff -urNad mclibs-2006.dfsg.2~/src/mclibs/eurodec/eudtest/Imakefile mclibs-2006.dfsg.2/src/mclibs/eurodec/eudtest/Imakefile
 --- mclibs-2006.dfsg.2~/src/mclibs/eurodec/eudtest/Imakefile	1997-03-14 17:32:14.000000000 +0000
 +++ mclibs-2006.dfsg.2/src/mclibs/eurodec/eudtest/Imakefile	2008-01-04 18:57:55.000000000 +0000
-@@ -4,11 +4,10 @@
- 
+@@ -3,12 +3,12 @@
+ DefinePackageLibrary(NullParameter)
+  
  FORTRANSAVEOPTION = FortranSaveFlags
++FORTRANOPTIONS += -no-pie
  
 -CernlibFortranProgramTarget(eudtest,$(OBJS),$(PACKAGE_LIB),$(PACKAGE_LIB),packlib)
 +CernlibFortranProgramTarget(eudtest,$(OBJS),NullParameter,NullParameter,eurodec packlib)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 508 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20170305/d6e5350b/attachment.sig>


More information about the debian-science-maintainers mailing list