aspectc++: ftbfs with GCC-4.8

Bug #1229531 reported by Logan Rosen on 2013-09-24
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
aspectc++ (Debian)
Fix Released
Unknown
aspectc++ (Ubuntu)
High
Unassigned

Bug Description

Imported from Debian bug http://bugs.debian.org/701244:

Package: src:aspectc++
Version: 1:1.1+svn20120529-2
Severity: important
Tags: sid jessie
User: <email address hidden>
Usertags: ftbfs-gcc-4.8

The package fails to build in a test rebuild on at least amd64 with
gcc-4.8/g++-4.8, but succeeds to build with gcc-4.7/g++-4.7. The
severity of this report may be raised before the jessie release.

  cstdlib:179: error: invalid declaration near token `abs'

The full build log can be found at:
http://people.debian.org/~doko/logs-20130217/gcc48/aspectc++_1.1+svn20120529-2_unstable_gcc48.log
The last lines of the build log are at the end of this report.

To build with GCC 4.8, either set CC=gcc-4.8 CXX=g++-4.8 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t experimental install g++ g++-4.7 g++-4.8 libc6-dev

The test rebuild was done with eglibc-2.17 and GCC-4.8, so some issues
might be caused by the updated glibc.

[...]
             ^
lemon.c:2111:17: note: 'ps.firstrule' was declared here
   struct pstate ps;
                 ^
Generating ac++ config file...
Generating parser from cpp/PreExprParser.lem...
Generating parser from cpp/PreParser.lem...

Copying sources not to weave...
---
Weaving aspects into PrePrintVisitor.cc...
Weaving aspects into PreFileIncluder.cc...
Weaving PUMA for TARGET=linux-release
  Weaver = /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/AspectC++/bin/linux-release/ac++ -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/CCExprResolveCC.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/CCExprResolveH.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/CExprResolveCC.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/CExprResolveH.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/SyntaxState.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/SyntaxBuilder.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/LookAhead.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/CBuilderExtension.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/CLookAhead.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/CSemBinding.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/CCBuilderExtension.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/CCLookAhead.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/CCSemBinding.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/WinIfExists.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/WinImportHandler.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/WinMacros.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/WinAsm.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/WinDeclSpecs.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/WinMemberExplSpec.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/WinTypeKeywords.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/WinFriend.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/WinKeywords.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/ExtAC.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/ExtACBuilderH.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/ExtACBuilderCC.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/ExtACSyntaxH.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/ExtACSyntaxCC.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/ExtACTree.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/ExtACKeywords.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/ExtGnu.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/ExtGnuCTree.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/ExtGnuCInfos.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/ExtGnuCSemantic.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/ExtGnuCSemExpr.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/ExtGnuCSemDeclSpecs.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/PragmaOnceUnitState.ah -a /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects/Puma/PragmaOnce.ah -DNDEBUG -I /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/extern -I /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/inc -I /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/aspects -I /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step1/src --config /build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/puma.cfg --gen_size_type __SIZE_TYPE__ -k
---
Weaving aspects into PreprocessorParser.cc...

Weaving aspects into UnitManager.cc...
Weaving aspects into CScanner.cc...
Weaving aspects into CLexer.cc...
Weaving aspects into CCLexer.cc...
Weaving aspects into CCBuilder.cc...
Weaving aspects into CCNameLookup.cc...
Weaving aspects into CCSemExpr.cc...
/usr/include/c++/4.8/cstdlib:179: error: invalid declaration near token `abs'
/usr/include/c++/4.8/cstdlib:179: error: invalid declaration near token `abs'
/usr/include/c++/4.8/cstdlib:179: error: invalid declaration near token `abs'
/usr/include/c++/4.8/cstdlib:179: error: invalid declaration near token `abs'
/usr/include/c++/4.8/cstdlib:179: error: invalid declaration near token `abs'
/usr/include/c++/4.8/cstdlib:179: error: invalid declaration near token `abs'
/usr/include/c++/4.8/cstdlib:179: error: invalid declaration near token `abs'
/usr/include/c++/4.8/cstdlib:179: error: invalid declaration near token `abs'
/usr/include/c++/4.8/cstdlib:179: error: invalid declaration near token `abs'
/usr/include/c++/4.8/cstdlib:179: error: invalid declaration near token `abs'
make[3]: *** [/build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step2/src/PreFileIncluder.cc] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [/build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step2/src/PrePrintVisitor.cc] Error 1
make[3]: *** [/build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step2/src/UnitManager.cc] Error 1
make[3]: *** [/build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step2/src/CScanner.cc] Error 1
make[3]: *** [/build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step2/src/PreprocessorParser.cc] Error 1
make[3]: *** [/build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step2/src/CLexer.cc] Error 1
make[3]: *** [/build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step2/src/CCBuilder.cc] Error 1
make[3]: *** [/build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step2/src/CCLexer.cc] Error 1
make[3]: *** [/build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step2/src/CCNameLookup.cc] Error 1
make[3]: *** [/build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy/gen-release/step2/src/CCSemExpr.cc] Error 1
make[2]: *** [step2] Error 2
make[1]: *** [src] Error 2
make[1]: Leaving directory `/build/aspectc++-ZoFJcB/aspectc++-1.1+svn20120529/Puma.copy'
make: *** [build-arch-stamp] Error 2
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2

Logan Rosen (logan) on 2013-09-24
Changed in aspectc++ (Ubuntu):
status: New → Triaged
importance: Undecided → High
tags: added: ftbfs
Changed in aspectc++ (Debian):
importance: Undecided → Unknown
Changed in aspectc++ (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.