[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#667156: Bug#667156: epcr: ftbfs with GCC-4.7



Hi again Gregory,

here you can find a simple patch for the problem described below:

   http://anonscm.debian.org/viewvc/debian-med/trunk/packages/ncbi-epcr/trunk/debian/patches/gcc-4.7.patch?revision=10524&view=markup

Feel free to take it over into your next release.

Kind regards

      Andreas.

On Wed, Apr 04, 2012 at 01:11:51PM +0900, Charles Plessy wrote:
> Dear Gregory,
> 
> Debian distributes epcr, and after a mass-rebuild against GCC 4.7, we
> noticed the following error:
> 
>   ./epcr/minilcs.hpp:308:9: error: 'memset' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
> 
> You can see below for more context, and more in particular the instructions
> under “Name lookup changes” in GCC's 4.7 porting page.
> 
>   http://gcc.gnu.org/gcc-4.7/porting_to.html
> 
> Do you think you can release an updated version of epcr ?
> 
> I am sending a copy of this message in our public bug tracker
> (667156@bugs.debian.org).  Please feel free to do the same in your answer. 
> The archive is available at the following URL.
> 
>   http://bugs.debian.org/667156
> 
> Have a nice day,
> 
> -- Charles Plessy, Debian Med packaging team, Tsurumi, Kanagawa, Japan.
> 
> Le Tue, Apr 03, 2012 at 11:08:41PM +0000, Matthias Klose a écrit :
> > Package: epcr
> > Version: 2.3.12-2
> > Severity: important
> > Tags: sid wheezy
> > User: debian-gcc@lists.debian.org
> > Usertags: ftbfs-gcc-4.7
> > 
> > The package fails to build in a test rebuild on at least amd64 with
> > gcc-4.7/g++-4.7, but succeeds to build with gcc-4.6/g++-4.6. The
> > severity of this report may be raised before the wheezy release.
> > 
> > ./epcr/minilcs.hpp:308:9: error: 'memset' was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
> > 
> > The full build log can be found at:
> > http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/epcr_2.3.12-2_unstable-gcc47.log
> > The last lines of the build log are at the end of this report.
> > 
> > Some hints on fixing these issues can be found at
> > http://gcc.gnu.org/gcc-4.7/porting_to.html
> > 
> > To build with GCC 4.7, either set CC=gcc-4.7 CXX=g++-4.7 explicitly,
> > or install the gcc, g++, gfortran, ... packages from experimental.
> > 
> > [...]
> > g++ -I. -g2 -DDEALLOCATE=0 -DVERSION=\"2.3.12\" -DVER_MAJOR=2 -DVER_MINOR=3 -DVER_BUILD=12 -DSTANDALONE=1 -c e-PCR_main.cpp -o e-PCR_main.o
> > make[3]: *** No rule to make target `libepcr.a', needed by `e-PCR'.  Stop.
> > make[3]: Leaving directory `/??PKGBUILDDIR??'
> > make[3]: Entering directory `/??PKGBUILDDIR??'
> > if test -n "" ; then \
> > 		test -L  || ln -s .  ; \
> > 	fi
> > g++ -I. -g2 -DDEALLOCATE=0 -DVERSION=\"2.3.12\" -DVER_MAJOR=2 -DVER_MINOR=3 -DVER_BUILD=12 -DSTANDALONE=1 -c famap_main.cpp -o famap_main.o
> > make[3]: *** No rule to make target `libepcr.a', needed by `famap'.  Stop.
> > make[3]: Leaving directory `/??PKGBUILDDIR??'
> > make[3]: Entering directory `/??PKGBUILDDIR??'
> > if test -n "" ; then \
> > 		test -L  || ln -s .  ; \
> > 	fi
> > g++ -I. -g2 -DDEALLOCATE=0 -DVERSION=\"2.3.12\" -DVER_MAJOR=2 -DVER_MINOR=3 -DVER_BUILD=12 -DSTANDALONE=1 -c fahash_main.cpp -o fahash_main.o
> > make[3]: *** No rule to make target `libepcr.a', needed by `fahash'.  Stop.
> > make[3]: Leaving directory `/??PKGBUILDDIR??'
> > make[3]: Entering directory `/??PKGBUILDDIR??'
> > if test -n "" ; then \
> > 		test -L  || ln -s .  ; \
> > 	fi
> > g++ -I. -g2 -DDEALLOCATE=0 -DVERSION=\"2.3.12\" -DVER_MAJOR=2 -DVER_MINOR=3 -DVER_BUILD=12 -DSTANDALONE=1 -c re-PCR_main.cpp -o re-PCR_main.o
> > make[3]: *** No rule to make target `libepcr.a', needed by `re-PCR'.  Stop.
> > make[3]: Leaving directory `/??PKGBUILDDIR??'
> > make[2]: *** [all] Error 2
> > make[1]: *** [override_dh_auto_build] Error 2
> > make[2]: Leaving directory `/??PKGBUILDDIR??'
> > make[1]: Leaving directory `/??PKGBUILDDIR??'
> > make: *** [build-arch] Error 2
> > dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
> > 
> > 
> > 
> 
> > _______________________________________________
> > Debian-med-packaging mailing list
> > Debian-med-packaging@lists.alioth.debian.org
> > http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging
> 
> 
> -- 
> Charles Plessy
> Debian Med packaging team,
> http://www.debian.org/devel/debian-med
> Tsurumi, Kanagawa, Japan
> 
> 
> 
> _______________________________________________
> Debian-med-packaging mailing list
> Debian-med-packaging@lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-packaging

-- 
http://fam-tille.de


Reply to: