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

Bug#667250: marked as done (libofa: ftbfs with GCC-4.7)



Your message dated Tue, 17 Apr 2012 06:18:23 +0000
with message-id <E1SK1k7-0005Q0-Mq@franck.debian.org>
and subject line Bug#667250: fixed in libofa 0.9.3-5
has caused the Debian Bug report #667250,
regarding libofa: ftbfs with GCC-4.7
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 owner@bugs.debian.org
immediately.)


-- 
667250: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667250
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libofa
Version: 0.9.3-4
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.

uselame.cpp:54:22: error: 'fork' was not declared in this scope

The full build log can be found at:
http://people.debian.org/~lucas/logs/2012/03/29-clang-gcc47/unstable-gcc47/libofa_0.9.3-4_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.

[...]
rm -fr .libs/libofa.lax/libaflib.a
mkdir .libs/libofa.lax/libaflib.a
(cd .libs/libofa.lax/libaflib.a && ar x /«PKGBUILDDIR»/lib/AFLIB/.libs/libaflib.a)
ar cru .libs/libofa.a  fftlibw3_op.o fft_op.o frametracker_op.o mainprint.o signal_op.o trackdata_op.o trackframe_op.o tracklist_op.o .libs/libofa.lax/libaflib.a/aflibConverter.o 
ranlib .libs/libofa.a
rm -fr .libs/libofa.lax
creating libofa.la
(cd .libs && rm -f libofa.la && ln -s ../libofa.la libofa.la)
make[4]: Leaving directory `/«PKGBUILDDIR»/lib'
make[3]: Leaving directory `/«PKGBUILDDIR»/lib'
Making all in examples
make[3]: Entering directory `/«PKGBUILDDIR»/examples'
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -Wall -g -c -o example.o example.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -Wall -g -c -o protocol.o protocol.cpp
protocol.cpp: In function 'bool parse_xml(const string&, TrackInformation*, std::string&)':
protocol.cpp:173:56: warning: format '%d' expects argument of type 'int', but argument 3 has type 'XML_Size {aka long unsigned int}' [-Wformat]
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../include  -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall -Wall -g -c -o uselame.o uselame.cpp
uselame.cpp: In function 'AudioData* loadDataUsingLAME(char*)':
uselame.cpp:24:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
uselame.cpp:54:22: error: 'fork' was not declared in this scope
uselame.cpp:55:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
uselame.cpp:56:18: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
uselame.cpp:58:34: error: 'execv' was not declared in this scope
uselame.cpp:68:16: error: 'unlink' was not declared in this scope
make[3]: *** [uselame.o] Error 1
make[3]: Leaving directory `/«PKGBUILDDIR»/examples'
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make: *** [debian/stamp-makefile-build] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2



--- End Message ---
--- Begin Message ---
Source: libofa
Source-Version: 0.9.3-5

We believe that the bug you reported is fixed in the latest version of
libofa, which is due to be installed in the Debian FTP archive:

libofa0-dev_0.9.3-5_amd64.deb
  to main/libo/libofa/libofa0-dev_0.9.3-5_amd64.deb
libofa0_0.9.3-5_amd64.deb
  to main/libo/libofa/libofa0_0.9.3-5_amd64.deb
libofa_0.9.3-5.debian.tar.gz
  to main/libo/libofa/libofa_0.9.3-5.debian.tar.gz
libofa_0.9.3-5.dsc
  to main/libo/libofa/libofa_0.9.3-5.dsc



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 667250@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated libofa package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Tue, 17 Apr 2012 08:02:42 +0200
Source: libofa
Binary: libofa0-dev libofa0
Architecture: source amd64
Version: 0.9.3-5
Distribution: unstable
Urgency: low
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description: 
 libofa0    - Library for acoustic fingerprinting
 libofa0-dev - Library for acoustic fingerprinting - development files
Closes: 667250
Changes: 
 libofa (0.9.3-5) unstable; urgency=low
 .
   * QA upload.
   * Fix build failure with GCC 4.7. Closes: #667250.
Checksums-Sha1: 
 2d274db24b4b4e93ca96a3d7176f98f31826813a 1238 libofa_0.9.3-5.dsc
 72589976550d98ceaa05613d42805ad3a41ad168 18736 libofa_0.9.3-5.debian.tar.gz
 5ddda68f30843f2a1f3df8e60f7add1fe26d99bb 71478 libofa0-dev_0.9.3-5_amd64.deb
 18380f64c2409990694e5c1f2496f71cbb426e36 60274 libofa0_0.9.3-5_amd64.deb
Checksums-Sha256: 
 3d8ab00a4e609e742302caa48635de5576dae08f6de6af915bb7774a5df8650f 1238 libofa_0.9.3-5.dsc
 d62769a4febb2e86f15aeb62a3b12242e99dc9a5ae070652fd115536c2f7d3e5 18736 libofa_0.9.3-5.debian.tar.gz
 5f3956b00363c906045b98a60b6a88b497f1cb24d8e94b871fe38b2e7fe697c5 71478 libofa0-dev_0.9.3-5_amd64.deb
 8c36e145b2ae09ba093fcdf1d66d87760053680df02be41f8e7bea395b28482f 60274 libofa0_0.9.3-5_amd64.deb
Files: 
 13bbea7d0a0a432fb8e00c7a12bd0678 1238 libs optional libofa_0.9.3-5.dsc
 a08a272a1f231aaee01d45cef75ad850 18736 libs optional libofa_0.9.3-5.debian.tar.gz
 df5872697ec524ba6b09b073bf4890a9 71478 libdevel optional libofa0-dev_0.9.3-5_amd64.deb
 42691a771b61bce4e549562e179b0822 60274 libs optional libofa0_0.9.3-5_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk+NCFEACgkQStlRaw+TLJwj4ACfVO1NreaqXm8Gyk2bXm3LGma+
8T0An2JBS0rFR/u0jGv/6tkVUaCB/1s3
=3rTz
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: