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

Bug#834675: marked as done (pygccxml: FTBFS in testing (Assertion failed))



Your message dated Fri, 19 Aug 2016 22:27:33 +0000
with message-id <E1basGD-0007Pm-96@franck.debian.org>
and subject line Bug#834675: fixed in pygccxml 1.7.6-1
has caused the Debian Bug report #834675,
regarding pygccxml: FTBFS in testing (Assertion failed)
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.)


-- 
834675: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=834675
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: src:pygccxml
Version: 1.7.4-3
Severity: serious

Dear maintainer:

I tried to build this package with "dpkg-buildpackage -A"
(which is what the "Arch: all" autobuilder would do to build it)
but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh  build-indep --with python2,python3 --buildsystem=pybuild
   dh_testdir -i -O--buildsystem=pybuild
   dh_update_autotools_config -i -O--buildsystem=pybuild
   dh_auto_configure -i -O--buildsystem=pybuild
	pybuild --configure -i python{version} -p 2.7
I: pybuild base:184: python2.7 setup.py config 
running config
	pybuild --configure -i python{version} -p 3.5
I: pybuild base:184: python3.5 setup.py config 
running config
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'

[... snipped ...]

INFO Parsing source file "core_ns_join_2.hpp" ... 
INFO Parsing source file "core_ns_join_3.hpp" ... 
INFO Parsing source file "core_membership.hpp" ... 
INFO Parsing source file "core_class_hierarchy.hpp" ... 
/<<PKGBUILDDIR>>/unittests/data/core_class_hierarchy.hpp:30:44: warning: direct base 'core::class_hierarchy::base_t' is inaccessible due to ambiguity:
    class core::class_hierarchy::multi_derived_t -> class core::class_hierarchy::derived_private_t -> class core::class_hierarchy::base_t
    class core::class_hierarchy::multi_derived_t -> class core::class_hierarchy::base_t [-Winaccessible-base]
class multi_derived_t : derived_private_t, protected base_t, private other_base_t{
                                           ^~~~~~~~~~~~~~~~
1 warning generated.
INFO Parsing source file "core_types.hpp" ... 
castxml: /usr/lib/llvm-3.7/include/clang/AST/Decl.h:169: llvm::StringRef clang::NamedDecl::getName() const: Assertion `Name.isIdentifier() && "Name is not a simple identifier"' failed.
Aborted
Castxml configured to simulate compiler None
Traceback (most recent call last):
  File "./unittests/test_all.py", line 161, in <module>
    sys.exit(run_suite())
  File "./unittests/test_all.py", line 152, in run_suite
    result = unittest.TextTestRunner(verbosity=2).run(create_suite())
  File "./unittests/test_all.py", line 147, in create_suite
    main_suite.addTest(tester.create_suite())
  File "/<<PKGBUILDDIR>>/unittests/decl_printer_tester.py", line 68, in create_suite
    suite.addTest(unittest.makeSuite(tester_t))
  File "/usr/lib/python2.7/unittest/loader.py", line 312, in makeSuite
    return _makeLoader(prefix, sortUsing, suiteClass).loadTestsFromTestCase(testCaseClass)
  File "/usr/lib/python2.7/unittest/loader.py", line 56, in loadTestsFromTestCase
    loaded_suite = self.suiteClass(map(testCaseClass, testCaseNames))
  File "/<<PKGBUILDDIR>>/unittests/decl_printer_tester.py", line 41, in __init__
    compilation_mode=parser.COMPILATION_MODE.FILE_BY_FILE)
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pygccxml/parser/project_reader.py", line 249, in read_files
    return self.__parse_file_by_file(files)
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pygccxml/parser/project_reader.py", line 278, in __parse_file_by_file
    decls = reader.read_file(header)
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pygccxml/parser/source_reader.py", line 363, in read_file
    return self.read_cpp_source_file(source_file)
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pygccxml/parser/source_reader.py", line 382, in read_cpp_source_file
    xml_file = self.create_xml_file(ffname)
  File "/<<PKGBUILDDIR>>/.pybuild/pythonX.Y_2.7/build/pygccxml/parser/source_reader.py", line 333, in create_xml_file
    gccxml_msg)
RuntimeError: Error occured while running CASTXML: 
E: pybuild pybuild:274: test: plugin custom failed with: exit code=1: python2.7 ./unittests/test_all.py
dh_auto_test: pybuild --test -i python{version} -p 2.7 returned exit code 13
debian/rules:18: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:8: recipe for target 'build-indep' failed
make: *** [build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep gave error exit status 2
--------------------------------------------------------------------------------

Because this source package only generates "Arch: all" packages, this
is the same as a FTBFS bug in the usual sense and the fact that I was
using "dpkg-buildpackage -A" is quite irrelevant.

For this particular package, I've also checked that it fails to build
from source in the reproducible builds site:

https://tests.reproducible-builds.org/

Thanks.

--- End Message ---
--- Begin Message ---
Source: pygccxml
Source-Version: 1.7.6-1

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

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 834675@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Markus Koschany <apo@debian.org> (supplier of updated pygccxml 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@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 19 Aug 2016 21:55:14 +0200
Source: pygccxml
Binary: python-pygccxml python3-pygccxml python-pygccxml-doc
Architecture: source
Version: 1.7.6-1
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Markus Koschany <apo@debian.org>
Description:
 python-pygccxml - specialized XML reader reads the output from gccxml - python2 lib
 python-pygccxml-doc - specialized XML reader reads the output from gccxml - documentati
 python3-pygccxml - specialized XML reader reads the output from gccxml - python3 lib
Closes: 834675
Changes:
 pygccxml (1.7.6-1) unstable; urgency=medium
 .
   * QA upload.
   * Add get-orig-source target.
   * Imported Upstream version 1.7.6.
   * Disable the test suite until llvm toolchain is up-to-date and fixed again.
     (Closes: #834675)
Checksums-Sha1:
 12c85eb4d766a697d6cdc81270554820601538b8 2250 pygccxml_1.7.6-1.dsc
 3db1e51d871ce6344b7964f7b86910c30fa20898 3151165 pygccxml_1.7.6.orig.tar.gz
 e329a4da1dc597fea478a86c1863371f01854ebe 3892 pygccxml_1.7.6-1.debian.tar.xz
Checksums-Sha256:
 30b13f4d1392098b2ec64726e4dc5916136dc5e4d9b7effd3af86afcdd834247 2250 pygccxml_1.7.6-1.dsc
 09dae384b58b0d0aa22c5359c9448354bcb05d1f34c0223dbd68950eb00a0c32 3151165 pygccxml_1.7.6.orig.tar.gz
 504584ae2309e8759ce0c2ee8abd61d0896ee18026e86021b44b8686b240143b 3892 pygccxml_1.7.6-1.debian.tar.xz
Files:
 7a3eb711c6641284f35553688980f971 2250 python optional pygccxml_1.7.6-1.dsc
 11921be8d2eb9f532c979f33d50d06b2 3151165 python optional pygccxml_1.7.6.orig.tar.gz
 2ac8369e048e033509a0b873d1cf365b 3892 python optional pygccxml_1.7.6-1.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQJ8BAEBCgBmBQJXt2WcXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRBQ0YzRDA4OEVGMzJFREVGNkExQTgzNUZE
OUFEMTRCOTUxM0I1MUU0AAoJENmtFLlRO1HkeQgP/0N+LsrvuZmN7lFTzbdOnHl7
xVT0+qivxeeeJLren420PFg1fVazeRRlefURIMFF7uQ74yFPXgUJNIEvkDMdLm54
EyrsYCgrk7Nmknk688QBquvH3OpYAPg7w5NEq0jDlccI/H8lFWJN7YusiPcRD3JT
q2UsdUFgIPr8VbmAUGAKozWUepgdY54z7+pFKWBzVuBHLb2c779Bu2CdoskUhUqv
GCUBQfRB0WHLcwzoVkgTyWrz1hZFJiUhzQ/adHNlICCfBHfUVISBhMiH6i7ehIF6
y+7c9m3YJRCGx4cuZYnOWOrcARz9xR8skx4ZHM/zorIKh/cHTWLmShe0xYkHPGvA
tlyet1h17b/OfRgz2K4XkxAYWNFXKtvGrk8V+CNrdHRWgaw0v+EfMIDupuAVjP3e
tucf89F8ZtQZLFqr+g5K2GscIR/IKl++Hd9SP9zM6sl+gCaeNsSVmMrE/OVZuhzD
7F4w8qfzFlDE9BLGJ19/BzdDI2ynWIj9kF9xulQeruSJ8vtlglWrF0C4BrEQIbte
zGmwI355DZ1zhV9TZif7U5JDCB8nJRn0kGtfBD/mCgMAmpmohLI9YzGWpB72WoAH
52uH4YuWN5nTGyQ2th30FJR7trbnXPOtMUigwXyzkcRymWF4ZJMXIgptwl8xnOXV
GPaoU5GVPz2GRvGFwYR8
=KWjF
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: