W: cgroups are not available on the host, not using them. I: pbuilder: network access will be disabled during build I: Current time: Tue Dec 3 00:07:21 +14 2024 I: pbuilder-time-stamp: 1733134041 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/experimental-reproducible-base.tgz] I: copying local configuration W: --override-config is not set; not updating apt.conf Read the manpage for details. I: mounting /proc filesystem I: mounting /sys filesystem I: creating /{dev,run}/shm I: mounting /dev/pts filesystem I: redirecting /dev/ptmx to /dev/pts/ptmx I: policy-rc.d already exists I: Copying source file I: copying [pygccxml_2.6.0-1.dsc] I: copying [./pygccxml_2.6.0.orig.tar.gz] I: copying [./pygccxml_2.6.0-1.debian.tar.xz] I: Extracting source gpgv: Signature made Mon Dec 2 00:57:57 2024 gpgv: using RSA key 07CA87DDC4C2B06240B6B1745041F1891F44E090 gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify inline signature for ./pygccxml_2.6.0-1.dsc: no acceptable signature found dpkg-source: info: extracting pygccxml in pygccxml-2.6.0 dpkg-source: info: unpacking pygccxml_2.6.0.orig.tar.gz dpkg-source: info: unpacking pygccxml_2.6.0-1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying no-release_utils I: using fakeroot in build. I: Installing the build-deps I: user script /srv/workspace/pbuilder/2634513/tmp/hooks/D01_modify_environment starting debug: Running on infom01-amd64. I: Changing host+domainname to test build reproducibility I: Adding a custom variable just for the fun of it... I: Changing /bin/sh to bash '/bin/sh' -> '/bin/bash' lrwxrwxrwx 1 root root 9 Dec 2 10:07 /bin/sh -> /bin/bash I: Setting pbuilder2's login shell to /bin/bash I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other I: user script /srv/workspace/pbuilder/2634513/tmp/hooks/D01_modify_environment finished I: user script /srv/workspace/pbuilder/2634513/tmp/hooks/D02_print_environment starting I: set BASH=/bin/sh BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath BASH_ALIASES=() BASH_ARGC=() BASH_ARGV=() BASH_CMDS=() BASH_LINENO=([0]="12" [1]="0") BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") BASH_VERSINFO=([0]="5" [1]="2" [2]="32" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") BASH_VERSION='5.2.32(1)-release' BUILDDIR=/build/reproducible-path BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' BUILDUSERNAME=pbuilder2 BUILD_ARCH=amd64 DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' DIRSTACK=() DISTRIBUTION=experimental EUID=0 FUNCNAME=([0]="Echo" [1]="main") GROUPS=() HOME=/root HOSTNAME=i-capture-the-hostname HOSTTYPE=x86_64 HOST_ARCH=amd64 IFS=' ' LANG=C LANGUAGE=et_EE:et LC_ALL=C MACHTYPE=x86_64-pc-linux-gnu MAIL=/var/mail/root OPTERR=1 OPTIND=1 OSTYPE=linux-gnu PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path PBCURRENTCOMMANDLINEOPERATION=build PBUILDER_OPERATION=build PBUILDER_PKGDATADIR=/usr/share/pbuilder PBUILDER_PKGLIBDIR=/usr/lib/pbuilder PBUILDER_SYSCONFDIR=/etc PIPESTATUS=([0]="0") POSIXLY_CORRECT=y PPID=2634513 PS4='+ ' PWD=/ SHELL=/bin/bash SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix SHLVL=3 SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.hEJzwCNS/pbuilderrc_Ld2v --distribution experimental --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/experimental-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.hEJzwCNS/b2 --logfile b2/build.log pygccxml_2.6.0-1.dsc' SUDO_GID=109 SUDO_UID=104 SUDO_USER=jenkins TERM=unknown TZ=/usr/share/zoneinfo/Etc/GMT-14 UID=0 USER=root _='I: set' I: uname -a Linux i-capture-the-hostname 6.1.0-28-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.119-1 (2024-11-22) x86_64 GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin I: user script /srv/workspace/pbuilder/2634513/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy Version: 0.invalid.0 Architecture: amd64 Maintainer: Debian Pbuilder Team Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder This package was created automatically by pbuilder to satisfy the build-dependencies of the package being currently built. Depends: castxml, debhelper-compat (= 13), dh-python, pybuild-plugin-pyproject, python3-all, python3-coverage, python3-pycodestyle, python3-pytest, python3-sphinx, python3-setuptools, python3-sphinx-rtd-theme, python3-wheel, unzip dpkg-deb: building package 'pbuilder-satisfydepends-dummy' in '/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'. Selecting previously unselected package pbuilder-satisfydepends-dummy. (Reading database ... 19969 files and directories currently installed.) Preparing to unpack .../pbuilder-satisfydepends-dummy.deb ... Unpacking pbuilder-satisfydepends-dummy (0.invalid.0) ... dpkg: pbuilder-satisfydepends-dummy: dependency problems, but configuring anyway as you requested: pbuilder-satisfydepends-dummy depends on castxml; however: Package castxml is not installed. pbuilder-satisfydepends-dummy depends on debhelper-compat (= 13); however: Package debhelper-compat is not installed. pbuilder-satisfydepends-dummy depends on dh-python; however: Package dh-python is not installed. pbuilder-satisfydepends-dummy depends on pybuild-plugin-pyproject; however: Package pybuild-plugin-pyproject is not installed. pbuilder-satisfydepends-dummy depends on python3-all; however: Package python3-all is not installed. pbuilder-satisfydepends-dummy depends on python3-coverage; however: Package python3-coverage is not installed. pbuilder-satisfydepends-dummy depends on python3-pycodestyle; however: Package python3-pycodestyle is not installed. pbuilder-satisfydepends-dummy depends on python3-pytest; however: Package python3-pytest is not installed. pbuilder-satisfydepends-dummy depends on python3-sphinx; however: Package python3-sphinx is not installed. pbuilder-satisfydepends-dummy depends on python3-setuptools; however: Package python3-setuptools is not installed. pbuilder-satisfydepends-dummy depends on python3-sphinx-rtd-theme; however: Package python3-sphinx-rtd-theme is not installed. pbuilder-satisfydepends-dummy depends on python3-wheel; however: Package python3-wheel is not installed. pbuilder-satisfydepends-dummy depends on unzip; however: Package unzip is not installed. Setting up pbuilder-satisfydepends-dummy (0.invalid.0) ... Reading package lists... Building dependency tree... Reading state information... Initializing package states... Writing extended state information... Building tag database... pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) pbuilder-satisfydepends-dummy is already installed at the requested version (0.invalid.0) The following NEW packages will be installed: autoconf{a} automake{a} autopoint{a} autotools-dev{a} bsdextrautils{a} ca-certificates{a} castxml{a} debhelper{a} dh-autoreconf{a} dh-python{a} dh-strip-nondeterminism{a} docutils-common{a} dwz{a} file{a} fonts-font-awesome{a} fonts-lato{a} gettext{a} gettext-base{a} groff-base{a} intltool-debian{a} libarchive-zip-perl{a} libclang-cpp18{a} libcom-err2{a} libdebhelper-perl{a} libedit2{a} libelf1t64{a} libexpat1{a} libfile-stripnondeterminism-perl{a} libgssapi-krb5-2{a} libicu72{a} libjs-jquery{a} libjs-sphinxdoc{a} libjs-underscore{a} libjson-perl{a} libk5crypto3{a} libkeyutils1{a} libkrb5-3{a} libkrb5support0{a} libllvm18{a} libmagic-mgc{a} libmagic1t64{a} libnsl2{a} libpipeline1{a} libpython3-stdlib{a} libpython3.12-minimal{a} libpython3.12-stdlib{a} libpython3.13-minimal{a} libpython3.13-stdlib{a} libreadline8t64{a} libtirpc-common{a} libtirpc3t64{a} libtool{a} libuchardet0{a} libxml2{a} libz3-4{a} m4{a} man-db{a} media-types{a} netbase{a} openssl{a} po-debconf{a} pybuild-plugin-pyproject{a} python-babel-localedata{a} python3{a} python3-alabaster{a} python3-all{a} python3-autocommand{a} python3-babel{a} python3-build{a} python3-certifi{a} python3-chardet{a} python3-charset-normalizer{a} python3-coverage{a} python3-defusedxml{a} python3-docutils{a} python3-idna{a} python3-imagesize{a} python3-inflect{a} python3-iniconfig{a} python3-installer{a} python3-jaraco.context{a} python3-jaraco.functools{a} python3-jaraco.text{a} python3-jinja2{a} python3-markupsafe{a} python3-minimal{a} python3-more-itertools{a} python3-packaging{a} python3-pkg-resources{a} python3-pluggy{a} python3-pycodestyle{a} python3-pygments{a} python3-pyproject-hooks{a} python3-pytest{a} python3-requests{a} python3-roman{a} python3-setuptools{a} python3-snowballstemmer{a} python3-sphinx{a} python3-sphinx-rtd-theme{a} python3-sphinxcontrib.jquery{a} python3-toml{a} python3-typeguard{a} python3-typing-extensions{a} python3-urllib3{a} python3-wheel{a} python3-zipp{a} python3.12{a} python3.12-minimal{a} python3.13{a} python3.13-minimal{a} readline-common{a} sensible-utils{a} sgml-base{a} sphinx-common{a} sphinx-rtd-theme-common{a} tzdata{a} unzip{a} xml-core{a} The following packages are RECOMMENDED but will NOT be installed: curl javascript-common krb5-locales libarchive-cpio-perl libjson-xs-perl libltdl-dev libmail-sendmail-perl libpaper-utils lynx python3-pil wget 0 packages upgraded, 119 newly installed, 0 to remove and 0 not upgraded. Need to get 97.5 MB of archives. After unpacking 436 MB will be used. Writing extended state information... Get: 1 http://deb.debian.org/debian unstable/main amd64 fonts-lato all 2.015-1 [2780 kB] Get: 2 http://deb.debian.org/debian unstable/main amd64 libpython3.12-minimal amd64 3.12.7-3 [815 kB] Get: 3 http://deb.debian.org/debian unstable/main amd64 libexpat1 amd64 2.6.4-1 [106 kB] Get: 4 http://deb.debian.org/debian unstable/main amd64 python3.12-minimal amd64 3.12.7-3 [2162 kB] Get: 5 http://deb.debian.org/debian unstable/main amd64 python3-minimal amd64 3.12.7-1 [26.8 kB] Get: 6 http://deb.debian.org/debian unstable/main amd64 media-types all 10.1.0 [26.9 kB] Get: 7 http://deb.debian.org/debian unstable/main amd64 netbase all 6.4 [12.8 kB] Get: 8 http://deb.debian.org/debian unstable/main amd64 tzdata all 2024b-3 [255 kB] Get: 9 http://deb.debian.org/debian unstable/main amd64 libkrb5support0 amd64 1.21.3-3 [32.5 kB] Get: 10 http://deb.debian.org/debian unstable/main amd64 libcom-err2 amd64 1.47.2~rc1-1 [23.6 kB] Get: 11 http://deb.debian.org/debian unstable/main amd64 libk5crypto3 amd64 1.21.3-3 [79.9 kB] Get: 12 http://deb.debian.org/debian unstable/main amd64 libkeyutils1 amd64 1.6.3-4 [9092 B] Get: 13 http://deb.debian.org/debian unstable/main amd64 libkrb5-3 amd64 1.21.3-3 [324 kB] Get: 14 http://deb.debian.org/debian unstable/main amd64 libgssapi-krb5-2 amd64 1.21.3-3 [136 kB] Get: 15 http://deb.debian.org/debian unstable/main amd64 libtirpc-common all 1.3.4+ds-1.3 [10.9 kB] Get: 16 http://deb.debian.org/debian unstable/main amd64 libtirpc3t64 amd64 1.3.4+ds-1.3+b1 [83.1 kB] Get: 17 http://deb.debian.org/debian unstable/main amd64 libnsl2 amd64 1.3.0-3+b3 [40.6 kB] Get: 18 http://deb.debian.org/debian unstable/main amd64 readline-common all 8.2-5 [69.3 kB] Get: 19 http://deb.debian.org/debian unstable/main amd64 libreadline8t64 amd64 8.2-5 [169 kB] Get: 20 http://deb.debian.org/debian unstable/main amd64 libpython3.12-stdlib amd64 3.12.7-3 [1966 kB] Get: 21 http://deb.debian.org/debian unstable/main amd64 python3.12 amd64 3.12.7-3 [671 kB] Get: 22 http://deb.debian.org/debian unstable/main amd64 libpython3-stdlib amd64 3.12.7-1 [9712 B] Get: 23 http://deb.debian.org/debian unstable/main amd64 python3 amd64 3.12.7-1 [27.8 kB] Get: 24 http://deb.debian.org/debian unstable/main amd64 libpython3.13-minimal amd64 3.13.0-2 [856 kB] Get: 25 http://deb.debian.org/debian unstable/main amd64 python3.13-minimal amd64 3.13.0-2 [2038 kB] Get: 26 http://deb.debian.org/debian unstable/main amd64 sgml-base all 1.31 [15.4 kB] Get: 27 http://deb.debian.org/debian unstable/main amd64 sensible-utils all 0.0.24 [24.8 kB] Get: 28 http://deb.debian.org/debian unstable/main amd64 openssl amd64 3.3.2-2 [1382 kB] Get: 29 http://deb.debian.org/debian unstable/main amd64 ca-certificates all 20240203 [158 kB] Get: 30 http://deb.debian.org/debian unstable/main amd64 libmagic-mgc amd64 1:5.45-3+b1 [314 kB] Get: 31 http://deb.debian.org/debian unstable/main amd64 libmagic1t64 amd64 1:5.45-3+b1 [108 kB] Get: 32 http://deb.debian.org/debian unstable/main amd64 file amd64 1:5.45-3+b1 [43.3 kB] Get: 33 http://deb.debian.org/debian unstable/main amd64 gettext-base amd64 0.22.5-2 [200 kB] Get: 34 http://deb.debian.org/debian unstable/main amd64 libuchardet0 amd64 0.0.8-1+b2 [68.9 kB] Get: 35 http://deb.debian.org/debian unstable/main amd64 groff-base amd64 1.23.0-5 [1181 kB] Get: 36 http://deb.debian.org/debian unstable/main amd64 bsdextrautils amd64 2.40.2-11 [91.5 kB] Get: 37 http://deb.debian.org/debian unstable/main amd64 libpipeline1 amd64 1.5.8-1 [42.0 kB] Get: 38 http://deb.debian.org/debian unstable/main amd64 man-db amd64 2.13.0-1 [1420 kB] Get: 39 http://deb.debian.org/debian unstable/main amd64 m4 amd64 1.4.19-4 [287 kB] Get: 40 http://deb.debian.org/debian unstable/main amd64 autoconf all 2.72-3 [493 kB] Get: 41 http://deb.debian.org/debian unstable/main amd64 autotools-dev all 20220109.1 [51.6 kB] Get: 42 http://deb.debian.org/debian unstable/main amd64 automake all 1:1.16.5-1.3 [823 kB] Get: 43 http://deb.debian.org/debian unstable/main amd64 autopoint all 0.22.5-2 [723 kB] Get: 44 http://deb.debian.org/debian unstable/main amd64 libedit2 amd64 3.1-20240808-1 [93.9 kB] Get: 45 http://deb.debian.org/debian unstable/main amd64 libicu72 amd64 72.1-5+b1 [9423 kB] Get: 46 http://deb.debian.org/debian unstable/main amd64 libxml2 amd64 2.12.7+dfsg+really2.9.14-0.2+b1 [699 kB] Get: 47 http://deb.debian.org/debian unstable/main amd64 libz3-4 amd64 4.13.3-1 [8560 kB] Get: 48 http://deb.debian.org/debian unstable/main amd64 libllvm18 amd64 1:18.1.8-12 [25.0 MB] Get: 49 http://deb.debian.org/debian unstable/main amd64 libclang-cpp18 amd64 1:18.1.8-12 [12.5 MB] Get: 50 http://deb.debian.org/debian unstable/main amd64 castxml amd64 0.6.10-1 [799 kB] Get: 51 http://deb.debian.org/debian unstable/main amd64 libdebhelper-perl all 13.20 [89.7 kB] Get: 52 http://deb.debian.org/debian unstable/main amd64 libtool all 2.4.7-8 [517 kB] Get: 53 http://deb.debian.org/debian unstable/main amd64 dh-autoreconf all 20 [17.1 kB] Get: 54 http://deb.debian.org/debian unstable/main amd64 libarchive-zip-perl all 1.68-1 [104 kB] Get: 55 http://deb.debian.org/debian unstable/main amd64 libfile-stripnondeterminism-perl all 1.14.0-1 [19.5 kB] Get: 56 http://deb.debian.org/debian unstable/main amd64 dh-strip-nondeterminism all 1.14.0-1 [8448 B] Get: 57 http://deb.debian.org/debian unstable/main amd64 libelf1t64 amd64 0.192-4 [189 kB] Get: 58 http://deb.debian.org/debian unstable/main amd64 dwz amd64 0.15-1+b1 [110 kB] Get: 59 http://deb.debian.org/debian unstable/main amd64 gettext amd64 0.22.5-2 [1601 kB] Get: 60 http://deb.debian.org/debian unstable/main amd64 intltool-debian all 0.35.0+20060710.6 [22.9 kB] Get: 61 http://deb.debian.org/debian unstable/main amd64 po-debconf all 1.0.21+nmu1 [248 kB] Get: 62 http://deb.debian.org/debian unstable/main amd64 debhelper all 13.20 [915 kB] Get: 63 http://deb.debian.org/debian unstable/main amd64 python3-autocommand all 2.2.2-3 [13.6 kB] Get: 64 http://deb.debian.org/debian unstable/main amd64 python3-more-itertools all 10.5.0-1 [63.8 kB] Get: 65 http://deb.debian.org/debian unstable/main amd64 python3-typing-extensions all 4.12.2-2 [73.0 kB] Get: 66 http://deb.debian.org/debian unstable/main amd64 python3-typeguard all 4.4.1-1 [37.0 kB] Get: 67 http://deb.debian.org/debian unstable/main amd64 python3-inflect all 7.3.1-2 [32.4 kB] Get: 68 http://deb.debian.org/debian unstable/main amd64 python3-jaraco.context all 6.0.0-1 [7984 B] Get: 69 http://deb.debian.org/debian unstable/main amd64 python3-jaraco.functools all 4.1.0-1 [12.0 kB] Get: 70 http://deb.debian.org/debian unstable/main amd64 python3-pkg-resources all 75.2.0-1 [213 kB] Get: 71 http://deb.debian.org/debian unstable/main amd64 python3-jaraco.text all 4.0.0-1 [11.4 kB] Get: 72 http://deb.debian.org/debian unstable/main amd64 python3-zipp all 3.21.0-1 [10.6 kB] Get: 73 http://deb.debian.org/debian unstable/main amd64 python3-setuptools all 75.2.0-1 [731 kB] Get: 74 http://deb.debian.org/debian unstable/main amd64 dh-python all 6.20241024 [109 kB] Get: 75 http://deb.debian.org/debian unstable/main amd64 xml-core all 0.19 [20.1 kB] Get: 76 http://deb.debian.org/debian unstable/main amd64 docutils-common all 0.21.2+dfsg-2 [128 kB] Get: 77 http://deb.debian.org/debian unstable/main amd64 fonts-font-awesome all 5.0.10+really4.7.0~dfsg-4.1 [517 kB] Get: 78 http://deb.debian.org/debian unstable/main amd64 libjs-jquery all 3.6.1+dfsg+~3.5.14-1 [326 kB] Get: 79 http://deb.debian.org/debian unstable/main amd64 libjs-underscore all 1.13.4~dfsg+~1.11.4-3 [116 kB] Get: 80 http://deb.debian.org/debian unstable/main amd64 libjs-sphinxdoc all 7.4.7-4 [158 kB] Get: 81 http://deb.debian.org/debian unstable/main amd64 libjson-perl all 4.10000-1 [87.5 kB] Get: 82 http://deb.debian.org/debian unstable/main amd64 libpython3.13-stdlib amd64 3.13.0-2 [1992 kB] Get: 83 http://deb.debian.org/debian unstable/main amd64 python3-packaging all 24.2-1 [55.3 kB] Get: 84 http://deb.debian.org/debian unstable/main amd64 python3-pyproject-hooks all 1.2.0-1 [11.7 kB] Get: 85 http://deb.debian.org/debian unstable/main amd64 python3-toml all 0.10.2-1 [16.2 kB] Get: 86 http://deb.debian.org/debian unstable/main amd64 python3-wheel all 0.45.1-1 [56.7 kB] Get: 87 http://deb.debian.org/debian unstable/main amd64 python3-build all 1.2.2-1 [36.0 kB] Get: 88 http://deb.debian.org/debian unstable/main amd64 python3-installer all 0.7.0+dfsg1-3 [18.6 kB] Get: 89 http://deb.debian.org/debian unstable/main amd64 pybuild-plugin-pyproject all 6.20241024 [11.4 kB] Get: 90 http://deb.debian.org/debian unstable/main amd64 python-babel-localedata all 2.16.0-1 [5696 kB] Get: 91 http://deb.debian.org/debian unstable/main amd64 python3-alabaster all 0.7.16-0.1 [27.9 kB] Get: 92 http://deb.debian.org/debian unstable/main amd64 python3.13 amd64 3.13.0-2 [730 kB] Get: 93 http://deb.debian.org/debian unstable/main amd64 python3-all amd64 3.12.7-1 [1052 B] Get: 94 http://deb.debian.org/debian unstable/main amd64 python3-babel all 2.16.0-1 [114 kB] Get: 95 http://deb.debian.org/debian unstable/main amd64 python3-certifi all 2024.8.30+dfsg-1 [9576 B] Get: 96 http://deb.debian.org/debian unstable/main amd64 python3-chardet all 5.2.0+dfsg-1 [107 kB] Get: 97 http://deb.debian.org/debian unstable/main amd64 python3-charset-normalizer amd64 3.4.0-1+b1 [140 kB] Get: 98 http://deb.debian.org/debian unstable/main amd64 python3-coverage amd64 7.6.0+dfsg1-2+b1 [177 kB] Get: 99 http://deb.debian.org/debian unstable/main amd64 python3-defusedxml all 0.7.1-2 [43.3 kB] Get: 100 http://deb.debian.org/debian unstable/main amd64 python3-roman all 4.2-1 [10.4 kB] Get: 101 http://deb.debian.org/debian unstable/main amd64 python3-docutils all 0.21.2+dfsg-2 [403 kB] Get: 102 http://deb.debian.org/debian unstable/main amd64 python3-idna all 3.8-2 [41.6 kB] Get: 103 http://deb.debian.org/debian unstable/main amd64 python3-imagesize all 1.4.1-1 [6688 B] Get: 104 http://deb.debian.org/debian unstable/main amd64 python3-iniconfig all 1.1.1-2 [6396 B] Get: 105 http://deb.debian.org/debian unstable/main amd64 python3-markupsafe amd64 2.1.5-1+b2 [13.9 kB] Get: 106 http://deb.debian.org/debian unstable/main amd64 python3-jinja2 all 3.1.3-1 [119 kB] Get: 107 http://deb.debian.org/debian unstable/main amd64 python3-pluggy all 1.5.0-1 [26.9 kB] Get: 108 http://deb.debian.org/debian unstable/main amd64 python3-pycodestyle all 2.12.1-1 [39.7 kB] Get: 109 http://deb.debian.org/debian unstable/main amd64 python3-pygments all 2.18.0+dfsg-1 [836 kB] Get: 110 http://deb.debian.org/debian unstable/main amd64 python3-pytest all 8.3.3-1 [249 kB] Get: 111 http://deb.debian.org/debian unstable/main amd64 python3-urllib3 all 2.2.3-3 [112 kB] Get: 112 http://deb.debian.org/debian unstable/main amd64 python3-requests all 2.32.3+dfsg-1 [71.9 kB] Get: 113 http://deb.debian.org/debian unstable/main amd64 python3-snowballstemmer all 2.2.0-4 [58.0 kB] Get: 114 http://deb.debian.org/debian unstable/main amd64 sphinx-common all 7.4.7-4 [731 kB] Get: 115 http://deb.debian.org/debian unstable/main amd64 python3-sphinx all 7.4.7-4 [588 kB] Get: 116 http://deb.debian.org/debian unstable/main amd64 sphinx-rtd-theme-common all 3.0.2+dfsg-1 [1023 kB] Get: 117 http://deb.debian.org/debian unstable/main amd64 python3-sphinxcontrib.jquery all 4.1-5 [7348 B] Get: 118 http://deb.debian.org/debian unstable/main amd64 python3-sphinx-rtd-theme all 3.0.2+dfsg-1 [29.5 kB] Get: 119 http://deb.debian.org/debian unstable/main amd64 unzip amd64 6.0-28 [166 kB] Fetched 97.5 MB in 1s (118 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package fonts-lato. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19969 files and directories currently installed.) Preparing to unpack .../fonts-lato_2.015-1_all.deb ... Unpacking fonts-lato (2.015-1) ... Selecting previously unselected package libpython3.12-minimal:amd64. Preparing to unpack .../libpython3.12-minimal_3.12.7-3_amd64.deb ... Unpacking libpython3.12-minimal:amd64 (3.12.7-3) ... Selecting previously unselected package libexpat1:amd64. Preparing to unpack .../libexpat1_2.6.4-1_amd64.deb ... Unpacking libexpat1:amd64 (2.6.4-1) ... Selecting previously unselected package python3.12-minimal. Preparing to unpack .../python3.12-minimal_3.12.7-3_amd64.deb ... Unpacking python3.12-minimal (3.12.7-3) ... Setting up libpython3.12-minimal:amd64 (3.12.7-3) ... Setting up libexpat1:amd64 (2.6.4-1) ... Setting up python3.12-minimal (3.12.7-3) ... Selecting previously unselected package python3-minimal. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 20315 files and directories currently installed.) Preparing to unpack .../00-python3-minimal_3.12.7-1_amd64.deb ... Unpacking python3-minimal (3.12.7-1) ... Selecting previously unselected package media-types. Preparing to unpack .../01-media-types_10.1.0_all.deb ... Unpacking media-types (10.1.0) ... Selecting previously unselected package netbase. Preparing to unpack .../02-netbase_6.4_all.deb ... Unpacking netbase (6.4) ... Selecting previously unselected package tzdata. Preparing to unpack .../03-tzdata_2024b-3_all.deb ... Unpacking tzdata (2024b-3) ... Selecting previously unselected package libkrb5support0:amd64. Preparing to unpack .../04-libkrb5support0_1.21.3-3_amd64.deb ... Unpacking libkrb5support0:amd64 (1.21.3-3) ... Selecting previously unselected package libcom-err2:amd64. Preparing to unpack .../05-libcom-err2_1.47.2~rc1-1_amd64.deb ... Unpacking libcom-err2:amd64 (1.47.2~rc1-1) ... Selecting previously unselected package libk5crypto3:amd64. Preparing to unpack .../06-libk5crypto3_1.21.3-3_amd64.deb ... Unpacking libk5crypto3:amd64 (1.21.3-3) ... Selecting previously unselected package libkeyutils1:amd64. Preparing to unpack .../07-libkeyutils1_1.6.3-4_amd64.deb ... Unpacking libkeyutils1:amd64 (1.6.3-4) ... Selecting previously unselected package libkrb5-3:amd64. Preparing to unpack .../08-libkrb5-3_1.21.3-3_amd64.deb ... Unpacking libkrb5-3:amd64 (1.21.3-3) ... Selecting previously unselected package libgssapi-krb5-2:amd64. Preparing to unpack .../09-libgssapi-krb5-2_1.21.3-3_amd64.deb ... Unpacking libgssapi-krb5-2:amd64 (1.21.3-3) ... Selecting previously unselected package libtirpc-common. Preparing to unpack .../10-libtirpc-common_1.3.4+ds-1.3_all.deb ... Unpacking libtirpc-common (1.3.4+ds-1.3) ... Selecting previously unselected package libtirpc3t64:amd64. Preparing to unpack .../11-libtirpc3t64_1.3.4+ds-1.3+b1_amd64.deb ... Adding 'diversion of /lib/x86_64-linux-gnu/libtirpc.so.3 to /lib/x86_64-linux-gnu/libtirpc.so.3.usr-is-merged by libtirpc3t64' Adding 'diversion of /lib/x86_64-linux-gnu/libtirpc.so.3.0.0 to /lib/x86_64-linux-gnu/libtirpc.so.3.0.0.usr-is-merged by libtirpc3t64' Unpacking libtirpc3t64:amd64 (1.3.4+ds-1.3+b1) ... Selecting previously unselected package libnsl2:amd64. Preparing to unpack .../12-libnsl2_1.3.0-3+b3_amd64.deb ... Unpacking libnsl2:amd64 (1.3.0-3+b3) ... Selecting previously unselected package readline-common. Preparing to unpack .../13-readline-common_8.2-5_all.deb ... Unpacking readline-common (8.2-5) ... Selecting previously unselected package libreadline8t64:amd64. Preparing to unpack .../14-libreadline8t64_8.2-5_amd64.deb ... Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8 to /lib/x86_64-linux-gnu/libhistory.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libhistory.so.8.2 to /lib/x86_64-linux-gnu/libhistory.so.8.2.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8 to /lib/x86_64-linux-gnu/libreadline.so.8.usr-is-merged by libreadline8t64' Adding 'diversion of /lib/x86_64-linux-gnu/libreadline.so.8.2 to /lib/x86_64-linux-gnu/libreadline.so.8.2.usr-is-merged by libreadline8t64' Unpacking libreadline8t64:amd64 (8.2-5) ... Selecting previously unselected package libpython3.12-stdlib:amd64. Preparing to unpack .../15-libpython3.12-stdlib_3.12.7-3_amd64.deb ... Unpacking libpython3.12-stdlib:amd64 (3.12.7-3) ... Selecting previously unselected package python3.12. Preparing to unpack .../16-python3.12_3.12.7-3_amd64.deb ... Unpacking python3.12 (3.12.7-3) ... Selecting previously unselected package libpython3-stdlib:amd64. Preparing to unpack .../17-libpython3-stdlib_3.12.7-1_amd64.deb ... Unpacking libpython3-stdlib:amd64 (3.12.7-1) ... Setting up python3-minimal (3.12.7-1) ... Selecting previously unselected package python3. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 21376 files and directories currently installed.) Preparing to unpack .../00-python3_3.12.7-1_amd64.deb ... Unpacking python3 (3.12.7-1) ... Selecting previously unselected package libpython3.13-minimal:amd64. Preparing to unpack .../01-libpython3.13-minimal_3.13.0-2_amd64.deb ... Unpacking libpython3.13-minimal:amd64 (3.13.0-2) ... Selecting previously unselected package python3.13-minimal. Preparing to unpack .../02-python3.13-minimal_3.13.0-2_amd64.deb ... Unpacking python3.13-minimal (3.13.0-2) ... Selecting previously unselected package sgml-base. Preparing to unpack .../03-sgml-base_1.31_all.deb ... Unpacking sgml-base (1.31) ... Selecting previously unselected package sensible-utils. Preparing to unpack .../04-sensible-utils_0.0.24_all.deb ... Unpacking sensible-utils (0.0.24) ... Selecting previously unselected package openssl. Preparing to unpack .../05-openssl_3.3.2-2_amd64.deb ... Unpacking openssl (3.3.2-2) ... Selecting previously unselected package ca-certificates. Preparing to unpack .../06-ca-certificates_20240203_all.deb ... Unpacking ca-certificates (20240203) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../07-libmagic-mgc_1%3a5.45-3+b1_amd64.deb ... Unpacking libmagic-mgc (1:5.45-3+b1) ... Selecting previously unselected package libmagic1t64:amd64. Preparing to unpack .../08-libmagic1t64_1%3a5.45-3+b1_amd64.deb ... Unpacking libmagic1t64:amd64 (1:5.45-3+b1) ... Selecting previously unselected package file. Preparing to unpack .../09-file_1%3a5.45-3+b1_amd64.deb ... Unpacking file (1:5.45-3+b1) ... Selecting previously unselected package gettext-base. Preparing to unpack .../10-gettext-base_0.22.5-2_amd64.deb ... Unpacking gettext-base (0.22.5-2) ... Selecting previously unselected package libuchardet0:amd64. Preparing to unpack .../11-libuchardet0_0.0.8-1+b2_amd64.deb ... Unpacking libuchardet0:amd64 (0.0.8-1+b2) ... Selecting previously unselected package groff-base. Preparing to unpack .../12-groff-base_1.23.0-5_amd64.deb ... Unpacking groff-base (1.23.0-5) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../13-bsdextrautils_2.40.2-11_amd64.deb ... Unpacking bsdextrautils (2.40.2-11) ... Selecting previously unselected package libpipeline1:amd64. Preparing to unpack .../14-libpipeline1_1.5.8-1_amd64.deb ... Unpacking libpipeline1:amd64 (1.5.8-1) ... Selecting previously unselected package man-db. Preparing to unpack .../15-man-db_2.13.0-1_amd64.deb ... Unpacking man-db (2.13.0-1) ... Selecting previously unselected package m4. Preparing to unpack .../16-m4_1.4.19-4_amd64.deb ... Unpacking m4 (1.4.19-4) ... Selecting previously unselected package autoconf. Preparing to unpack .../17-autoconf_2.72-3_all.deb ... Unpacking autoconf (2.72-3) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../18-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../19-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../20-autopoint_0.22.5-2_all.deb ... Unpacking autopoint (0.22.5-2) ... Selecting previously unselected package libedit2:amd64. Preparing to unpack .../21-libedit2_3.1-20240808-1_amd64.deb ... Unpacking libedit2:amd64 (3.1-20240808-1) ... Selecting previously unselected package libicu72:amd64. Preparing to unpack .../22-libicu72_72.1-5+b1_amd64.deb ... Unpacking libicu72:amd64 (72.1-5+b1) ... Selecting previously unselected package libxml2:amd64. Preparing to unpack .../23-libxml2_2.12.7+dfsg+really2.9.14-0.2+b1_amd64.deb ... Unpacking libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Selecting previously unselected package libz3-4:amd64. Preparing to unpack .../24-libz3-4_4.13.3-1_amd64.deb ... Unpacking libz3-4:amd64 (4.13.3-1) ... Selecting previously unselected package libllvm18:amd64. Preparing to unpack .../25-libllvm18_1%3a18.1.8-12_amd64.deb ... Unpacking libllvm18:amd64 (1:18.1.8-12) ... Selecting previously unselected package libclang-cpp18. Preparing to unpack .../26-libclang-cpp18_1%3a18.1.8-12_amd64.deb ... Unpacking libclang-cpp18 (1:18.1.8-12) ... Selecting previously unselected package castxml. Preparing to unpack .../27-castxml_0.6.10-1_amd64.deb ... Unpacking castxml (0.6.10-1) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../28-libdebhelper-perl_13.20_all.deb ... Unpacking libdebhelper-perl (13.20) ... Selecting previously unselected package libtool. Preparing to unpack .../29-libtool_2.4.7-8_all.deb ... Unpacking libtool (2.4.7-8) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../30-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../31-libarchive-zip-perl_1.68-1_all.deb ... Unpacking libarchive-zip-perl (1.68-1) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../32-libfile-stripnondeterminism-perl_1.14.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.14.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../33-dh-strip-nondeterminism_1.14.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.14.0-1) ... Selecting previously unselected package libelf1t64:amd64. Preparing to unpack .../34-libelf1t64_0.192-4_amd64.deb ... Unpacking libelf1t64:amd64 (0.192-4) ... Selecting previously unselected package dwz. Preparing to unpack .../35-dwz_0.15-1+b1_amd64.deb ... Unpacking dwz (0.15-1+b1) ... Selecting previously unselected package gettext. Preparing to unpack .../36-gettext_0.22.5-2_amd64.deb ... Unpacking gettext (0.22.5-2) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../37-intltool-debian_0.35.0+20060710.6_all.deb ... Unpacking intltool-debian (0.35.0+20060710.6) ... Selecting previously unselected package po-debconf. Preparing to unpack .../38-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../39-debhelper_13.20_all.deb ... Unpacking debhelper (13.20) ... Selecting previously unselected package python3-autocommand. Preparing to unpack .../40-python3-autocommand_2.2.2-3_all.deb ... Unpacking python3-autocommand (2.2.2-3) ... Selecting previously unselected package python3-more-itertools. Preparing to unpack .../41-python3-more-itertools_10.5.0-1_all.deb ... Unpacking python3-more-itertools (10.5.0-1) ... Selecting previously unselected package python3-typing-extensions. Preparing to unpack .../42-python3-typing-extensions_4.12.2-2_all.deb ... Unpacking python3-typing-extensions (4.12.2-2) ... Selecting previously unselected package python3-typeguard. Preparing to unpack .../43-python3-typeguard_4.4.1-1_all.deb ... Unpacking python3-typeguard (4.4.1-1) ... Selecting previously unselected package python3-inflect. Preparing to unpack .../44-python3-inflect_7.3.1-2_all.deb ... Unpacking python3-inflect (7.3.1-2) ... Selecting previously unselected package python3-jaraco.context. Preparing to unpack .../45-python3-jaraco.context_6.0.0-1_all.deb ... Unpacking python3-jaraco.context (6.0.0-1) ... Selecting previously unselected package python3-jaraco.functools. Preparing to unpack .../46-python3-jaraco.functools_4.1.0-1_all.deb ... Unpacking python3-jaraco.functools (4.1.0-1) ... Selecting previously unselected package python3-pkg-resources. Preparing to unpack .../47-python3-pkg-resources_75.2.0-1_all.deb ... Unpacking python3-pkg-resources (75.2.0-1) ... Selecting previously unselected package python3-jaraco.text. Preparing to unpack .../48-python3-jaraco.text_4.0.0-1_all.deb ... Unpacking python3-jaraco.text (4.0.0-1) ... Selecting previously unselected package python3-zipp. Preparing to unpack .../49-python3-zipp_3.21.0-1_all.deb ... Unpacking python3-zipp (3.21.0-1) ... Selecting previously unselected package python3-setuptools. Preparing to unpack .../50-python3-setuptools_75.2.0-1_all.deb ... Unpacking python3-setuptools (75.2.0-1) ... Selecting previously unselected package dh-python. Preparing to unpack .../51-dh-python_6.20241024_all.deb ... Unpacking dh-python (6.20241024) ... Selecting previously unselected package xml-core. Preparing to unpack .../52-xml-core_0.19_all.deb ... Unpacking xml-core (0.19) ... Selecting previously unselected package docutils-common. Preparing to unpack .../53-docutils-common_0.21.2+dfsg-2_all.deb ... Unpacking docutils-common (0.21.2+dfsg-2) ... Selecting previously unselected package fonts-font-awesome. Preparing to unpack .../54-fonts-font-awesome_5.0.10+really4.7.0~dfsg-4.1_all.deb ... Unpacking fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... Selecting previously unselected package libjs-jquery. Preparing to unpack .../55-libjs-jquery_3.6.1+dfsg+~3.5.14-1_all.deb ... Unpacking libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Selecting previously unselected package libjs-underscore. Preparing to unpack .../56-libjs-underscore_1.13.4~dfsg+~1.11.4-3_all.deb ... Unpacking libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... Selecting previously unselected package libjs-sphinxdoc. Preparing to unpack .../57-libjs-sphinxdoc_7.4.7-4_all.deb ... Unpacking libjs-sphinxdoc (7.4.7-4) ... Selecting previously unselected package libjson-perl. Preparing to unpack .../58-libjson-perl_4.10000-1_all.deb ... Unpacking libjson-perl (4.10000-1) ... Selecting previously unselected package libpython3.13-stdlib:amd64. Preparing to unpack .../59-libpython3.13-stdlib_3.13.0-2_amd64.deb ... Unpacking libpython3.13-stdlib:amd64 (3.13.0-2) ... Selecting previously unselected package python3-packaging. Preparing to unpack .../60-python3-packaging_24.2-1_all.deb ... Unpacking python3-packaging (24.2-1) ... Selecting previously unselected package python3-pyproject-hooks. Preparing to unpack .../61-python3-pyproject-hooks_1.2.0-1_all.deb ... Unpacking python3-pyproject-hooks (1.2.0-1) ... Selecting previously unselected package python3-toml. Preparing to unpack .../62-python3-toml_0.10.2-1_all.deb ... Unpacking python3-toml (0.10.2-1) ... Selecting previously unselected package python3-wheel. Preparing to unpack .../63-python3-wheel_0.45.1-1_all.deb ... Unpacking python3-wheel (0.45.1-1) ... Selecting previously unselected package python3-build. Preparing to unpack .../64-python3-build_1.2.2-1_all.deb ... Unpacking python3-build (1.2.2-1) ... Selecting previously unselected package python3-installer. Preparing to unpack .../65-python3-installer_0.7.0+dfsg1-3_all.deb ... Unpacking python3-installer (0.7.0+dfsg1-3) ... Selecting previously unselected package pybuild-plugin-pyproject. Preparing to unpack .../66-pybuild-plugin-pyproject_6.20241024_all.deb ... Unpacking pybuild-plugin-pyproject (6.20241024) ... Selecting previously unselected package python-babel-localedata. Preparing to unpack .../67-python-babel-localedata_2.16.0-1_all.deb ... Unpacking python-babel-localedata (2.16.0-1) ... Selecting previously unselected package python3-alabaster. Preparing to unpack .../68-python3-alabaster_0.7.16-0.1_all.deb ... Unpacking python3-alabaster (0.7.16-0.1) ... Selecting previously unselected package python3.13. Preparing to unpack .../69-python3.13_3.13.0-2_amd64.deb ... Unpacking python3.13 (3.13.0-2) ... Selecting previously unselected package python3-all. Preparing to unpack .../70-python3-all_3.12.7-1_amd64.deb ... Unpacking python3-all (3.12.7-1) ... Selecting previously unselected package python3-babel. Preparing to unpack .../71-python3-babel_2.16.0-1_all.deb ... Unpacking python3-babel (2.16.0-1) ... Selecting previously unselected package python3-certifi. Preparing to unpack .../72-python3-certifi_2024.8.30+dfsg-1_all.deb ... Unpacking python3-certifi (2024.8.30+dfsg-1) ... Selecting previously unselected package python3-chardet. Preparing to unpack .../73-python3-chardet_5.2.0+dfsg-1_all.deb ... Unpacking python3-chardet (5.2.0+dfsg-1) ... Selecting previously unselected package python3-charset-normalizer. Preparing to unpack .../74-python3-charset-normalizer_3.4.0-1+b1_amd64.deb ... Unpacking python3-charset-normalizer (3.4.0-1+b1) ... Selecting previously unselected package python3-coverage. Preparing to unpack .../75-python3-coverage_7.6.0+dfsg1-2+b1_amd64.deb ... Unpacking python3-coverage (7.6.0+dfsg1-2+b1) ... Selecting previously unselected package python3-defusedxml. Preparing to unpack .../76-python3-defusedxml_0.7.1-2_all.deb ... Unpacking python3-defusedxml (0.7.1-2) ... Selecting previously unselected package python3-roman. Preparing to unpack .../77-python3-roman_4.2-1_all.deb ... Unpacking python3-roman (4.2-1) ... Selecting previously unselected package python3-docutils. Preparing to unpack .../78-python3-docutils_0.21.2+dfsg-2_all.deb ... Unpacking python3-docutils (0.21.2+dfsg-2) ... Selecting previously unselected package python3-idna. Preparing to unpack .../79-python3-idna_3.8-2_all.deb ... Unpacking python3-idna (3.8-2) ... Selecting previously unselected package python3-imagesize. Preparing to unpack .../80-python3-imagesize_1.4.1-1_all.deb ... Unpacking python3-imagesize (1.4.1-1) ... Selecting previously unselected package python3-iniconfig. Preparing to unpack .../81-python3-iniconfig_1.1.1-2_all.deb ... Unpacking python3-iniconfig (1.1.1-2) ... Selecting previously unselected package python3-markupsafe. Preparing to unpack .../82-python3-markupsafe_2.1.5-1+b2_amd64.deb ... Unpacking python3-markupsafe (2.1.5-1+b2) ... Selecting previously unselected package python3-jinja2. Preparing to unpack .../83-python3-jinja2_3.1.3-1_all.deb ... Unpacking python3-jinja2 (3.1.3-1) ... Selecting previously unselected package python3-pluggy. Preparing to unpack .../84-python3-pluggy_1.5.0-1_all.deb ... Unpacking python3-pluggy (1.5.0-1) ... Selecting previously unselected package python3-pycodestyle. Preparing to unpack .../85-python3-pycodestyle_2.12.1-1_all.deb ... Unpacking python3-pycodestyle (2.12.1-1) ... Selecting previously unselected package python3-pygments. Preparing to unpack .../86-python3-pygments_2.18.0+dfsg-1_all.deb ... Unpacking python3-pygments (2.18.0+dfsg-1) ... Selecting previously unselected package python3-pytest. Preparing to unpack .../87-python3-pytest_8.3.3-1_all.deb ... Unpacking python3-pytest (8.3.3-1) ... Selecting previously unselected package python3-urllib3. Preparing to unpack .../88-python3-urllib3_2.2.3-3_all.deb ... Unpacking python3-urllib3 (2.2.3-3) ... Selecting previously unselected package python3-requests. Preparing to unpack .../89-python3-requests_2.32.3+dfsg-1_all.deb ... Unpacking python3-requests (2.32.3+dfsg-1) ... Selecting previously unselected package python3-snowballstemmer. Preparing to unpack .../90-python3-snowballstemmer_2.2.0-4_all.deb ... Unpacking python3-snowballstemmer (2.2.0-4) ... Selecting previously unselected package sphinx-common. Preparing to unpack .../91-sphinx-common_7.4.7-4_all.deb ... Unpacking sphinx-common (7.4.7-4) ... Selecting previously unselected package python3-sphinx. Preparing to unpack .../92-python3-sphinx_7.4.7-4_all.deb ... Unpacking python3-sphinx (7.4.7-4) ... Selecting previously unselected package sphinx-rtd-theme-common. Preparing to unpack .../93-sphinx-rtd-theme-common_3.0.2+dfsg-1_all.deb ... Unpacking sphinx-rtd-theme-common (3.0.2+dfsg-1) ... Selecting previously unselected package python3-sphinxcontrib.jquery. Preparing to unpack .../94-python3-sphinxcontrib.jquery_4.1-5_all.deb ... Unpacking python3-sphinxcontrib.jquery (4.1-5) ... Selecting previously unselected package python3-sphinx-rtd-theme. Preparing to unpack .../95-python3-sphinx-rtd-theme_3.0.2+dfsg-1_all.deb ... Unpacking python3-sphinx-rtd-theme (3.0.2+dfsg-1) ... Selecting previously unselected package unzip. Preparing to unpack .../96-unzip_6.0-28_amd64.deb ... Unpacking unzip (6.0-28) ... Setting up media-types (10.1.0) ... Setting up libpipeline1:amd64 (1.5.8-1) ... Setting up libkeyutils1:amd64 (1.6.3-4) ... Setting up fonts-lato (2.015-1) ... Setting up libicu72:amd64 (72.1-5+b1) ... Setting up bsdextrautils (2.40.2-11) ... Setting up libmagic-mgc (1:5.45-3+b1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libtirpc-common (1.3.4+ds-1.3) ... Setting up unzip (6.0-28) ... Setting up libdebhelper-perl (13.20) ... Setting up libedit2:amd64 (3.1-20240808-1) ... Setting up libmagic1t64:amd64 (1:5.45-3+b1) ... Setting up gettext-base (0.22.5-2) ... Setting up m4 (1.4.19-4) ... Setting up libcom-err2:amd64 (1.47.2~rc1-1) ... Setting up file (1:5.45-3+b1) ... Setting up libelf1t64:amd64 (0.192-4) ... Setting up python-babel-localedata (2.16.0-1) ... Setting up libkrb5support0:amd64 (1.21.3-3) ... Setting up tzdata (2024b-3) ... Current default time zone: 'Etc/UTC' Local time is now: Mon Dec 2 10:08:03 UTC 2024. Universal Time is now: Mon Dec 2 10:08:03 UTC 2024. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libpython3.13-minimal:amd64 (3.13.0-2) ... Setting up autotools-dev (20220109.1) ... Setting up libz3-4:amd64 (4.13.3-1) ... Setting up autopoint (0.22.5-2) ... Setting up libk5crypto3:amd64 (1.21.3-3) ... Setting up autoconf (2.72-3) ... Setting up dwz (0.15-1+b1) ... Setting up sensible-utils (0.0.24) ... Setting up libuchardet0:amd64 (0.0.8-1+b2) ... Setting up libjson-perl (4.10000-1) ... Setting up python3.13-minimal (3.13.0-2) ... Setting up netbase (6.4) ... Setting up sgml-base (1.31) ... Setting up libkrb5-3:amd64 (1.21.3-3) ... Setting up libjs-jquery (3.6.1+dfsg+~3.5.14-1) ... Setting up openssl (3.3.2-2) ... Setting up readline-common (8.2-5) ... Setting up libxml2:amd64 (2.12.7+dfsg+really2.9.14-0.2+b1) ... Setting up fonts-font-awesome (5.0.10+really4.7.0~dfsg-4.1) ... Setting up sphinx-rtd-theme-common (3.0.2+dfsg-1) ... Setting up libjs-underscore (1.13.4~dfsg+~1.11.4-3) ... Setting up libllvm18:amd64 (1:18.1.8-12) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libfile-stripnondeterminism-perl (1.14.0-1) ... Setting up gettext (0.22.5-2) ... Setting up libtool (2.4.7-8) ... Setting up intltool-debian (0.35.0+20060710.6) ... Setting up dh-autoreconf (20) ... Setting up ca-certificates (20240203) ... Updating certificates in /etc/ssl/certs... 146 added, 0 removed; done. Setting up libgssapi-krb5-2:amd64 (1.21.3-3) ... Setting up libjs-sphinxdoc (7.4.7-4) ... Setting up libreadline8t64:amd64 (8.2-5) ... Setting up dh-strip-nondeterminism (1.14.0-1) ... Setting up groff-base (1.23.0-5) ... Setting up xml-core (0.19) ... Setting up libclang-cpp18 (1:18.1.8-12) ... Setting up libpython3.13-stdlib:amd64 (3.13.0-2) ... Setting up libtirpc3t64:amd64 (1.3.4+ds-1.3+b1) ... Setting up python3.13 (3.13.0-2) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up man-db (2.13.0-1) ... Not building database; man-db/auto-update is not 'true'. Setting up sphinx-common (7.4.7-4) ... Setting up castxml (0.6.10-1) ... Setting up libnsl2:amd64 (1.3.0-3+b3) ... Setting up libpython3.12-stdlib:amd64 (3.12.7-3) ... Setting up python3.12 (3.12.7-3) ... Setting up debhelper (13.20) ... Setting up libpython3-stdlib:amd64 (3.12.7-1) ... Setting up python3 (3.12.7-1) ... Setting up python3-zipp (3.21.0-1) ... Setting up python3-autocommand (2.2.2-3) ... Setting up python3-markupsafe (2.1.5-1+b2) ... Setting up python3-wheel (0.45.1-1) ... Setting up python3-roman (4.2-1) ... Setting up python3-pycodestyle (2.12.1-1) ... Setting up python3-jinja2 (3.1.3-1) ... Setting up python3-packaging (24.2-1) ... Setting up python3-pyproject-hooks (1.2.0-1) ... Setting up python3-certifi (2024.8.30+dfsg-1) ... Setting up python3-snowballstemmer (2.2.0-4) ... Setting up python3-idna (3.8-2) ... Setting up python3-typing-extensions (4.12.2-2) ... Setting up python3-toml (0.10.2-1) ... Setting up python3-installer (0.7.0+dfsg1-3) ... Setting up python3-urllib3 (2.2.3-3) ... Setting up python3-pluggy (1.5.0-1) ... Setting up python3-build (1.2.2-1) ... Setting up python3-imagesize (1.4.1-1) ... Setting up python3-more-itertools (10.5.0-1) ... Setting up python3-iniconfig (1.1.1-2) ... Setting up python3-jaraco.functools (4.1.0-1) ... Setting up python3-jaraco.context (6.0.0-1) ... Setting up python3-defusedxml (0.7.1-2) ... Setting up python3-charset-normalizer (3.4.0-1+b1) ... Setting up python3-pytest (8.3.3-1) ... Setting up python3-alabaster (0.7.16-0.1) ... Setting up python3-typeguard (4.4.1-1) ... Setting up python3-all (3.12.7-1) ... Setting up python3-coverage (7.6.0+dfsg1-2+b1) ... Setting up python3-inflect (7.3.1-2) ... Setting up python3-jaraco.text (4.0.0-1) ... Setting up python3-pkg-resources (75.2.0-1) ... Setting up python3-setuptools (75.2.0-1) ... Setting up python3-babel (2.16.0-1) ... update-alternatives: using /usr/bin/pybabel-python3 to provide /usr/bin/pybabel (pybabel) in auto mode Setting up python3-pygments (2.18.0+dfsg-1) ... Setting up python3-chardet (5.2.0+dfsg-1) ... Setting up python3-requests (2.32.3+dfsg-1) ... Setting up dh-python (6.20241024) ... Setting up pybuild-plugin-pyproject (6.20241024) ... Processing triggers for libc-bin (2.40-4) ... Processing triggers for sgml-base (1.31) ... Setting up docutils-common (0.21.2+dfsg-2) ... Processing triggers for sgml-base (1.31) ... Setting up python3-docutils (0.21.2+dfsg-2) ... Setting up python3-sphinx (7.4.7-4) ... Setting up python3-sphinxcontrib.jquery (4.1-5) ... Setting up python3-sphinx-rtd-theme (3.0.2+dfsg-1) ... Processing triggers for ca-certificates (20240203) ... Updating certificates in /etc/ssl/certs... 0 added, 0 removed; done. Running hooks in /etc/ca-certificates/update.d... done. Reading package lists... Building dependency tree... Reading state information... Reading extended state information... Initializing package states... Writing extended state information... Building tag database... -> Finished parsing the build-deps Reading package lists... Building dependency tree... Reading state information... fakeroot is already the newest version (1.36-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package I: user script /srv/workspace/pbuilder/2634513/tmp/hooks/A99_set_merged_usr starting Not re-configuring usrmerge for experimental I: user script /srv/workspace/pbuilder/2634513/tmp/hooks/A99_set_merged_usr finished hostname: Name or service not known I: Running cd /build/reproducible-path/pygccxml-2.6.0/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../pygccxml_2.6.0-1_source.changes dpkg-buildpackage: info: source package pygccxml dpkg-buildpackage: info: source version 2.6.0-1 dpkg-buildpackage: info: source distribution experimental dpkg-buildpackage: info: source changed by A. Maitland Bottoms dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean --with python3 --buildsystem=pybuild debian/rules override_dh_auto_clean make[1]: Entering directory '/build/reproducible-path/pygccxml-2.6.0' dh_auto_clean pybuild --clean -i python{version} -p "3.13 3.12" rm -rf .pybuild/ find . -name \*.pyc -exec rm {} \; rm -rf docs/_build rm -rf docs/apidocs rm -rf src/pygccxml.egg-info make[1]: Leaving directory '/build/reproducible-path/pygccxml-2.6.0' dh_autoreconf_clean -O--buildsystem=pybuild dh_clean -O--buildsystem=pybuild rm -f debian/debhelper-build-stamp rm -rf debian/.debhelper/ rm -f -- debian/python3-pygccxml.substvars debian/python-pygccxml-doc.substvars debian/files rm -fr -- debian/python3-pygccxml/ debian/tmp/ debian/python-pygccxml-doc/ find . \( \( \ \( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \ \( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \ -o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \ -o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \ -o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \ \) -exec rm -f {} + \) -o \ \( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \) debian/rules build dh build --with python3 --buildsystem=pybuild dh_update_autotools_config -O--buildsystem=pybuild dh_autoreconf -O--buildsystem=pybuild dh_auto_configure -O--buildsystem=pybuild pybuild --configure -i python{version} -p "3.13 3.12" debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/pygccxml-2.6.0' dh_auto_build pybuild --build -i python{version} -p "3.13 3.12" I: pybuild plugin_pyproject:129: Building wheel for python3.13 with "build" module I: pybuild base:311: python3.13 -m build --skip-dependency-check --no-isolation --wheel --outdir /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml * Building wheel... running bdist_wheel running build running build_py creating build/lib/pygccxml copying src/pygccxml/__init__.py -> build/lib/pygccxml creating build/lib/pygccxml/declarations copying src/pygccxml/declarations/scopedef.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/decl_factory.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/cpptypes.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/declaration_utils.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/type_traits.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/dependencies.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/location.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/mdecl_wrapper.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/traits_impl_details.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/declaration.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/pattern_parser.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/algorithms_cache.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/variable.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/has_operator_matcher.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/templates.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/function_traits.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/decl_printer.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/declarations_matchers.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/runtime_errors.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/container_traits.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/decl_visitor.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/matchers.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/type_traits_classes.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/byte_info.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/comment.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/elaborated_info.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/pointer_traits.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/algorithm.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/calldef_members.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/__init__.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/xml_generators.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/calldef_types.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/typedef.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/class_declaration.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/call_invocation.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/calldef.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/free_calldef.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/enumeration.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/type_visitor.py -> build/lib/pygccxml/declarations copying src/pygccxml/declarations/namespace.py -> build/lib/pygccxml/declarations creating build/lib/pygccxml/utils copying src/pygccxml/utils/utils.py -> build/lib/pygccxml/utils copying src/pygccxml/utils/__init__.py -> build/lib/pygccxml/utils copying src/pygccxml/utils/xml_generators.py -> build/lib/pygccxml/utils creating build/lib/pygccxml/parser copying src/pygccxml/parser/config.py -> build/lib/pygccxml/parser copying src/pygccxml/parser/linker.py -> build/lib/pygccxml/parser copying src/pygccxml/parser/declarations_cache.py -> build/lib/pygccxml/parser copying src/pygccxml/parser/scanner.py -> build/lib/pygccxml/parser copying src/pygccxml/parser/etree_scanner.py -> build/lib/pygccxml/parser copying src/pygccxml/parser/directory_cache.py -> build/lib/pygccxml/parser copying src/pygccxml/parser/declarations_joiner.py -> build/lib/pygccxml/parser copying src/pygccxml/parser/__init__.py -> build/lib/pygccxml/parser copying src/pygccxml/parser/source_reader.py -> build/lib/pygccxml/parser copying src/pygccxml/parser/patcher.py -> build/lib/pygccxml/parser copying src/pygccxml/parser/project_reader.py -> build/lib/pygccxml/parser running egg_info creating src/pygccxml.egg-info writing src/pygccxml.egg-info/PKG-INFO writing dependency_links to src/pygccxml.egg-info/dependency_links.txt writing requirements to src/pygccxml.egg-info/requires.txt writing top-level names to src/pygccxml.egg-info/top_level.txt writing manifest file 'src/pygccxml.egg-info/SOURCES.txt' reading manifest file 'src/pygccxml.egg-info/SOURCES.txt' adding license file 'LICENSE.rst' adding license file 'NOTICE' writing manifest file 'src/pygccxml.egg-info/SOURCES.txt' installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/pygccxml creating build/bdist.linux-x86_64/wheel/pygccxml/declarations copying build/lib/pygccxml/declarations/scopedef.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/decl_factory.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/cpptypes.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/declaration_utils.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/type_traits.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/dependencies.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/location.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/mdecl_wrapper.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/traits_impl_details.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/declaration.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/pattern_parser.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/algorithms_cache.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/variable.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/has_operator_matcher.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/templates.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/function_traits.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/decl_printer.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/declarations_matchers.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/runtime_errors.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/container_traits.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/decl_visitor.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/matchers.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/type_traits_classes.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/byte_info.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/comment.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/elaborated_info.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/pointer_traits.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/algorithm.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/calldef_members.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/__init__.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/xml_generators.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/calldef_types.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/typedef.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/class_declaration.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/call_invocation.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/calldef.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/free_calldef.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/enumeration.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/type_visitor.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/namespace.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations creating build/bdist.linux-x86_64/wheel/pygccxml/utils copying build/lib/pygccxml/utils/utils.py -> build/bdist.linux-x86_64/wheel/./pygccxml/utils copying build/lib/pygccxml/utils/__init__.py -> build/bdist.linux-x86_64/wheel/./pygccxml/utils copying build/lib/pygccxml/utils/xml_generators.py -> build/bdist.linux-x86_64/wheel/./pygccxml/utils creating build/bdist.linux-x86_64/wheel/pygccxml/parser copying build/lib/pygccxml/parser/config.py -> build/bdist.linux-x86_64/wheel/./pygccxml/parser copying build/lib/pygccxml/parser/linker.py -> build/bdist.linux-x86_64/wheel/./pygccxml/parser copying build/lib/pygccxml/parser/declarations_cache.py -> build/bdist.linux-x86_64/wheel/./pygccxml/parser copying build/lib/pygccxml/parser/scanner.py -> build/bdist.linux-x86_64/wheel/./pygccxml/parser copying build/lib/pygccxml/parser/etree_scanner.py -> build/bdist.linux-x86_64/wheel/./pygccxml/parser copying build/lib/pygccxml/parser/directory_cache.py -> build/bdist.linux-x86_64/wheel/./pygccxml/parser copying build/lib/pygccxml/parser/declarations_joiner.py -> build/bdist.linux-x86_64/wheel/./pygccxml/parser copying build/lib/pygccxml/parser/__init__.py -> build/bdist.linux-x86_64/wheel/./pygccxml/parser copying build/lib/pygccxml/parser/source_reader.py -> build/bdist.linux-x86_64/wheel/./pygccxml/parser copying build/lib/pygccxml/parser/patcher.py -> build/bdist.linux-x86_64/wheel/./pygccxml/parser copying build/lib/pygccxml/parser/project_reader.py -> build/bdist.linux-x86_64/wheel/./pygccxml/parser copying build/lib/pygccxml/__init__.py -> build/bdist.linux-x86_64/wheel/./pygccxml running install_egg_info Copying src/pygccxml.egg-info to build/bdist.linux-x86_64/wheel/./pygccxml-2.6.0.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/pygccxml-2.6.0.dist-info/WHEEL creating '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/.tmp-d1s6bgoy/pygccxml-2.6.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'pygccxml/__init__.py' adding 'pygccxml/declarations/__init__.py' adding 'pygccxml/declarations/algorithm.py' adding 'pygccxml/declarations/algorithms_cache.py' adding 'pygccxml/declarations/byte_info.py' adding 'pygccxml/declarations/call_invocation.py' adding 'pygccxml/declarations/calldef.py' adding 'pygccxml/declarations/calldef_members.py' adding 'pygccxml/declarations/calldef_types.py' adding 'pygccxml/declarations/class_declaration.py' adding 'pygccxml/declarations/comment.py' adding 'pygccxml/declarations/container_traits.py' adding 'pygccxml/declarations/cpptypes.py' adding 'pygccxml/declarations/decl_factory.py' adding 'pygccxml/declarations/decl_printer.py' adding 'pygccxml/declarations/decl_visitor.py' adding 'pygccxml/declarations/declaration.py' adding 'pygccxml/declarations/declaration_utils.py' adding 'pygccxml/declarations/declarations_matchers.py' adding 'pygccxml/declarations/dependencies.py' adding 'pygccxml/declarations/elaborated_info.py' adding 'pygccxml/declarations/enumeration.py' adding 'pygccxml/declarations/free_calldef.py' adding 'pygccxml/declarations/function_traits.py' adding 'pygccxml/declarations/has_operator_matcher.py' adding 'pygccxml/declarations/location.py' adding 'pygccxml/declarations/matchers.py' adding 'pygccxml/declarations/mdecl_wrapper.py' adding 'pygccxml/declarations/namespace.py' adding 'pygccxml/declarations/pattern_parser.py' adding 'pygccxml/declarations/pointer_traits.py' adding 'pygccxml/declarations/runtime_errors.py' adding 'pygccxml/declarations/scopedef.py' adding 'pygccxml/declarations/templates.py' adding 'pygccxml/declarations/traits_impl_details.py' adding 'pygccxml/declarations/type_traits.py' adding 'pygccxml/declarations/type_traits_classes.py' adding 'pygccxml/declarations/type_visitor.py' adding 'pygccxml/declarations/typedef.py' adding 'pygccxml/declarations/variable.py' adding 'pygccxml/declarations/xml_generators.py' adding 'pygccxml/parser/__init__.py' adding 'pygccxml/parser/config.py' adding 'pygccxml/parser/declarations_cache.py' adding 'pygccxml/parser/declarations_joiner.py' adding 'pygccxml/parser/directory_cache.py' adding 'pygccxml/parser/etree_scanner.py' adding 'pygccxml/parser/linker.py' adding 'pygccxml/parser/patcher.py' adding 'pygccxml/parser/project_reader.py' adding 'pygccxml/parser/scanner.py' adding 'pygccxml/parser/source_reader.py' adding 'pygccxml/utils/__init__.py' adding 'pygccxml/utils/utils.py' adding 'pygccxml/utils/xml_generators.py' adding 'pygccxml-2.6.0.dist-info/LICENSE.rst' adding 'pygccxml-2.6.0.dist-info/METADATA' adding 'pygccxml-2.6.0.dist-info/NOTICE' adding 'pygccxml-2.6.0.dist-info/WHEEL' adding 'pygccxml-2.6.0.dist-info/top_level.txt' adding 'pygccxml-2.6.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built pygccxml-2.6.0-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.13 with "installer" module I: pybuild plugin_pyproject:129: Building wheel for python3.12 with "build" module I: pybuild base:311: python3.12 -m build --skip-dependency-check --no-isolation --wheel --outdir /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml * Building wheel... running bdist_wheel running build running build_py running egg_info writing src/pygccxml.egg-info/PKG-INFO writing dependency_links to src/pygccxml.egg-info/dependency_links.txt writing requirements to src/pygccxml.egg-info/requires.txt writing top-level names to src/pygccxml.egg-info/top_level.txt reading manifest file 'src/pygccxml.egg-info/SOURCES.txt' adding license file 'LICENSE.rst' adding license file 'NOTICE' writing manifest file 'src/pygccxml.egg-info/SOURCES.txt' installing to build/bdist.linux-x86_64/wheel running install running install_lib creating build/bdist.linux-x86_64/wheel creating build/bdist.linux-x86_64/wheel/pygccxml creating build/bdist.linux-x86_64/wheel/pygccxml/declarations copying build/lib/pygccxml/declarations/scopedef.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/decl_factory.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/cpptypes.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/declaration_utils.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/type_traits.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/dependencies.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/location.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/mdecl_wrapper.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/traits_impl_details.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/declaration.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/pattern_parser.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/algorithms_cache.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/variable.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/has_operator_matcher.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/templates.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/function_traits.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/decl_printer.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/declarations_matchers.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/runtime_errors.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/container_traits.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/decl_visitor.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/matchers.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/type_traits_classes.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/byte_info.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/comment.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/elaborated_info.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/pointer_traits.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/algorithm.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/calldef_members.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/__init__.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/xml_generators.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/calldef_types.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/typedef.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/class_declaration.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/call_invocation.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/calldef.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/free_calldef.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/enumeration.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/type_visitor.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations copying build/lib/pygccxml/declarations/namespace.py -> build/bdist.linux-x86_64/wheel/./pygccxml/declarations creating build/bdist.linux-x86_64/wheel/pygccxml/utils copying build/lib/pygccxml/utils/utils.py -> build/bdist.linux-x86_64/wheel/./pygccxml/utils copying build/lib/pygccxml/utils/__init__.py -> build/bdist.linux-x86_64/wheel/./pygccxml/utils copying build/lib/pygccxml/utils/xml_generators.py -> build/bdist.linux-x86_64/wheel/./pygccxml/utils creating build/bdist.linux-x86_64/wheel/pygccxml/parser copying build/lib/pygccxml/parser/config.py -> build/bdist.linux-x86_64/wheel/./pygccxml/parser copying build/lib/pygccxml/parser/linker.py -> build/bdist.linux-x86_64/wheel/./pygccxml/parser copying build/lib/pygccxml/parser/declarations_cache.py -> build/bdist.linux-x86_64/wheel/./pygccxml/parser copying build/lib/pygccxml/parser/scanner.py -> build/bdist.linux-x86_64/wheel/./pygccxml/parser copying build/lib/pygccxml/parser/etree_scanner.py -> build/bdist.linux-x86_64/wheel/./pygccxml/parser copying build/lib/pygccxml/parser/directory_cache.py -> build/bdist.linux-x86_64/wheel/./pygccxml/parser copying build/lib/pygccxml/parser/declarations_joiner.py -> build/bdist.linux-x86_64/wheel/./pygccxml/parser copying build/lib/pygccxml/parser/__init__.py -> build/bdist.linux-x86_64/wheel/./pygccxml/parser copying build/lib/pygccxml/parser/source_reader.py -> build/bdist.linux-x86_64/wheel/./pygccxml/parser copying build/lib/pygccxml/parser/patcher.py -> build/bdist.linux-x86_64/wheel/./pygccxml/parser copying build/lib/pygccxml/parser/project_reader.py -> build/bdist.linux-x86_64/wheel/./pygccxml/parser copying build/lib/pygccxml/__init__.py -> build/bdist.linux-x86_64/wheel/./pygccxml running install_egg_info Copying src/pygccxml.egg-info to build/bdist.linux-x86_64/wheel/./pygccxml-2.6.0.egg-info running install_scripts creating build/bdist.linux-x86_64/wheel/pygccxml-2.6.0.dist-info/WHEEL creating '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/.tmp-c7502641/pygccxml-2.6.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it adding 'pygccxml/__init__.py' adding 'pygccxml/declarations/__init__.py' adding 'pygccxml/declarations/algorithm.py' adding 'pygccxml/declarations/algorithms_cache.py' adding 'pygccxml/declarations/byte_info.py' adding 'pygccxml/declarations/call_invocation.py' adding 'pygccxml/declarations/calldef.py' adding 'pygccxml/declarations/calldef_members.py' adding 'pygccxml/declarations/calldef_types.py' adding 'pygccxml/declarations/class_declaration.py' adding 'pygccxml/declarations/comment.py' adding 'pygccxml/declarations/container_traits.py' adding 'pygccxml/declarations/cpptypes.py' adding 'pygccxml/declarations/decl_factory.py' adding 'pygccxml/declarations/decl_printer.py' adding 'pygccxml/declarations/decl_visitor.py' adding 'pygccxml/declarations/declaration.py' adding 'pygccxml/declarations/declaration_utils.py' adding 'pygccxml/declarations/declarations_matchers.py' adding 'pygccxml/declarations/dependencies.py' adding 'pygccxml/declarations/elaborated_info.py' adding 'pygccxml/declarations/enumeration.py' adding 'pygccxml/declarations/free_calldef.py' adding 'pygccxml/declarations/function_traits.py' adding 'pygccxml/declarations/has_operator_matcher.py' adding 'pygccxml/declarations/location.py' adding 'pygccxml/declarations/matchers.py' adding 'pygccxml/declarations/mdecl_wrapper.py' adding 'pygccxml/declarations/namespace.py' adding 'pygccxml/declarations/pattern_parser.py' adding 'pygccxml/declarations/pointer_traits.py' adding 'pygccxml/declarations/runtime_errors.py' adding 'pygccxml/declarations/scopedef.py' adding 'pygccxml/declarations/templates.py' adding 'pygccxml/declarations/traits_impl_details.py' adding 'pygccxml/declarations/type_traits.py' adding 'pygccxml/declarations/type_traits_classes.py' adding 'pygccxml/declarations/type_visitor.py' adding 'pygccxml/declarations/typedef.py' adding 'pygccxml/declarations/variable.py' adding 'pygccxml/declarations/xml_generators.py' adding 'pygccxml/parser/__init__.py' adding 'pygccxml/parser/config.py' adding 'pygccxml/parser/declarations_cache.py' adding 'pygccxml/parser/declarations_joiner.py' adding 'pygccxml/parser/directory_cache.py' adding 'pygccxml/parser/etree_scanner.py' adding 'pygccxml/parser/linker.py' adding 'pygccxml/parser/patcher.py' adding 'pygccxml/parser/project_reader.py' adding 'pygccxml/parser/scanner.py' adding 'pygccxml/parser/source_reader.py' adding 'pygccxml/utils/__init__.py' adding 'pygccxml/utils/utils.py' adding 'pygccxml/utils/xml_generators.py' adding 'pygccxml-2.6.0.dist-info/LICENSE.rst' adding 'pygccxml-2.6.0.dist-info/METADATA' adding 'pygccxml-2.6.0.dist-info/NOTICE' adding 'pygccxml-2.6.0.dist-info/WHEEL' adding 'pygccxml-2.6.0.dist-info/top_level.txt' adding 'pygccxml-2.6.0.dist-info/RECORD' removing build/bdist.linux-x86_64/wheel Successfully built pygccxml-2.6.0-py3-none-any.whl I: pybuild plugin_pyproject:144: Unpacking wheel built for python3.12 with "installer" module /usr/bin/make html make[2]: Entering directory '/build/reproducible-path/pygccxml-2.6.0' sphinx-build -b html -d docs/_build/doctrees docs docs/_build/html Running Sphinx v7.4.7 WARNING: Calling get_html_theme_path is deprecated. If you are calling it to define html_theme_path, you are safe to remove that code. loading translations [en]... done making output directory... done Converting `source_suffix = '.rst'` to `source_suffix = {'.rst': 'restructuredtext'}`. building [mo]: targets for 0 po files that are out of date writing output... building [html]: targets for 31 source files that are out of date updating environment: [new config] 33 added, 0 changed, 0 removed reading sources... [ 3%] apidocs/conf reading sources... [ 6%] apidocs/modules reading sources... [ 9%] design reading sources... [ 12%] documentation reading sources... [ 15%] examples reading sources... [ 18%] examples/artificial/example reading sources... [ 21%] examples/caching/example reading sources... [ 24%] examples/compound/example reading sources... [ 27%] examples/elaborated/example reading sources... [ 30%] examples/equality/example reading sources... [ 33%] examples/function-pointer/example reading sources... [ 36%] examples/functions/example reading sources... [ 39%] examples/nested-types/example reading sources... [ 42%] examples/parsing-string/example reading sources... [ 45%] examples/parsing/example reading sources... [ 48%] examples/print-example/example reading sources... [ 52%] examples/print-example/example.hpp reading sources... [ 55%] examples/print-example/example.hpp.xml reading sources... [ 58%] examples/print-example/example.py reading sources... [ 61%] examples/print-example/output.txt reading sources... [ 64%] examples/searching/example reading sources... [ 67%] examples/searching1/example reading sources... [ 70%] examples/templates/example reading sources... [ 73%] examples/variables/example reading sources... [ 76%] faq reading sources... [ 79%] history reading sources... [ 82%] index reading sources... [ 85%] install reading sources... [ 88%] links reading sources... [ 91%] query_interface reading sources... [ 94%] releasing reading sources... [ 97%] upgrade_issues reading sources... [100%] users WARNING: autodoc: failed to import module 'conf'; the following exception was raised: No module named 'conf' looking for now-outdated files... none found pickling environment... done checking consistency... done preparing documents... done copying assets... copying static files... done copying extra files... done copying assets: done writing output... [ 3%] apidocs/conf writing output... [ 6%] apidocs/modules writing output... [ 9%] design writing output... [ 12%] documentation writing output... [ 15%] examples writing output... [ 18%] examples/artificial/example writing output... [ 21%] examples/caching/example writing output... [ 24%] examples/compound/example writing output... [ 27%] examples/elaborated/example writing output... [ 30%] examples/equality/example writing output... [ 33%] examples/function-pointer/example writing output... [ 36%] examples/functions/example writing output... [ 39%] examples/nested-types/example writing output... [ 42%] examples/parsing-string/example writing output... [ 45%] examples/parsing/example writing output... [ 48%] examples/print-example/example writing output... [ 52%] examples/print-example/example.hpp writing output... [ 55%] examples/print-example/example.hpp.xml writing output... [ 58%] examples/print-example/example.py writing output... [ 61%] examples/print-example/output.txt writing output... [ 64%] examples/searching/example writing output... [ 67%] examples/searching1/example writing output... [ 70%] examples/templates/example writing output... [ 73%] examples/variables/example writing output... [ 76%] faq writing output... [ 79%] history writing output... [ 82%] index writing output... [ 85%] install writing output... [ 88%] links writing output... [ 91%] query_interface writing output... [ 94%] releasing writing output... [ 97%] upgrade_issues writing output... [100%] users generating indices... genindex done writing additional pages... search done dumping search index in English (code: en)... done dumping object inventory... done build succeeded, 2 warnings. The HTML pages are in docs/_build/html. Build finished. The HTML pages are in docs/_build/html. make[2]: Leaving directory '/build/reproducible-path/pygccxml-2.6.0' make[1]: Leaving directory '/build/reproducible-path/pygccxml-2.6.0' rm -f debian/python-pygccxml-doc.debhelper.log debian/python3-pygccxml.debhelper.log debian/rules override_dh_auto_test make[1]: Entering directory '/build/reproducible-path/pygccxml-2.6.0' # Known test failures dh_auto_test pybuild --test --test-pytest -i python{version} -p "3.13 3.12" I: pybuild base:311: cd /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build; python3.13 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.13.0, pytest-8.3.3, pluggy-1.5.0 rootdir: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build configfile: pyproject.toml plugins: typeguard-4.4.1 collected 285 items tests/test_algorithms_cache.py .. [ 0%] tests/test_argument_without_name.py . [ 1%] tests/test_array_argument.py . [ 1%] tests/test_array_bug.py ....... [ 3%] tests/test_attributes.py .. [ 4%] tests/test_better_templates_matcher.py . [ 4%] tests/test_bit_fields.py . [ 5%] tests/test_cache_enums.py . [ 5%] tests/test_cached_source_file.py F [ 5%] tests/test_call_invocation.py ...... [ 8%] tests/test_calldef_matcher.py E [ 8%] tests/test_calling_convention.py . [ 8%] tests/test_castxml_wrong_epic.py . [ 9%] tests/test_ccflags.py . [ 9%] tests/test_comments.py . [ 9%] tests/test_complex_types.py . [ 10%] tests/test_config.py . [ 10%] tests/test_const_volatile_arg.py . [ 10%] tests/test_copy_constructor.py . [ 11%] tests/test_copy_constructor2.py . [ 11%] tests/test_core.py EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [ 30%] EEEEEEEEEEEEEEEE [ 35%] tests/test_cpp_standards.py F [ 36%] tests/test_create_decl_string.py . [ 36%] tests/test_decl_printer.py EE [ 37%] tests/test_decl_string.py EEE [ 38%] tests/test_declaration_files.py F [ 38%] tests/test_declaration_matcher.py ... [ 39%] tests/test_declarations.py EE..EEEEEEEEEEEE [ 45%] tests/test_declarations_cache.py ... [ 46%] tests/test_declarations_comparison.py FF.F [ 47%] tests/test_dependencies.py EEEE [ 49%] tests/test_deprecation.py . [ 49%] tests/test_directory_cache.py .... [ 50%] tests/test_elaborated_types.py . [ 51%] tests/test_example.py . [ 51%] tests/test_file_cache.py FF [ 52%] tests/test_filters_tester.py EEEEE [ 54%] tests/test_find_container_traits.py FFF... [ 56%] tests/test_find_noncopyable_vars.py . [ 56%] tests/test_free_operators.py . [ 56%] tests/test_function_pointer.py . [ 57%] tests/test_function_traits.py . [ 57%] tests/test_gccxml10184.py . [ 57%] tests/test_gccxml10185.py . [ 58%] tests/test_has_binary_operator_traits.py .... [ 59%] tests/test_hash.py ... [ 60%] tests/test_hierarchy_traveling.py .. [ 61%] tests/test_inline_specifier.py . [ 61%] tests/test_map_gcc5.py . [ 62%] tests/test_namespace_matcher.py ... [ 63%] tests/test_non_copyable_classes.py . [ 63%] tests/test_non_copyable_recursive.py FF [ 64%] tests/test_null_comparison.py F [ 64%] tests/test_order.py . [ 64%] tests/test_overrides.py E [ 65%] tests/test_parser_raise.py . [ 65%] tests/test_patcher.py ....... [ 68%] tests/test_pattern_parser.py F.. [ 69%] tests/test_plain_c.py . [ 69%] tests/test_project_reader_correctness.py F. [ 70%] tests/test_remove_template_defaults.py FFFFFFFFFFFFF [ 74%] tests/test_smart_pointer.py .... [ 76%] tests/test_source_reader.py E [ 76%] tests/test_start_with_declarations.py ... [ 77%] tests/test_string_traits.py .. [ 78%] tests/test_templates.py ..... [ 80%] tests/test_text_reader.py . [ 80%] tests/test_type_as_exception_bug.py E [ 80%] tests/test_type_traits.py ................................ [ 91%] tests/test_typedefs.py .. [ 92%] tests/test_unnamed_classes.py ... [ 93%] tests/test_unnamed_enums_bug.py ... [ 94%] tests/test_utils.py .. [ 95%] tests/test_va_list_tag_removal.py .. [ 96%] tests/test_variable_matcher.py .F [ 96%] tests/test_vector_traits.py ....F [ 98%] tests/test_warn_missing_include_dirs.py . [ 98%] tests/test_xml_generators.py .. [ 99%] tests/test_xmlfile_reader.py F [100%] ==================================== ERRORS ==================================== ____________________ ERROR at setup of test_calldef_matcher ____________________ @pytest.fixture def decls(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE config = autoconfig.cxx_parsers_cfg.config.clone() > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_calldef_matcher.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpaokdtb99.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpaokdtb99.h:1: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_top_parent[global_ns_fixture_all_at_once1] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp1e5953c9.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp1e5953c9.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_top_parent[global_ns_fixture_all_at_once2] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpv20zbyve.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpv20zbyve.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_top_parent[global_ns_fixture_file_by_file1] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_top_parent[global_ns_fixture_file_by_file2] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______ ERROR at setup of test_nss_join[global_ns_fixture_all_at_once1] ________ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp74n6zkeg.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp74n6zkeg.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______ ERROR at setup of test_nss_join[global_ns_fixture_all_at_once2] ________ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpmt0ia_ko.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpmt0ia_ko.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______ ERROR at setup of test_nss_join[global_ns_fixture_file_by_file1] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______ ERROR at setup of test_nss_join[global_ns_fixture_file_by_file2] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_membership[global_ns_fixture_all_at_once1] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp8q38zed2.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp8q38zed2.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_membership[global_ns_fixture_all_at_once2] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp6z3l84to.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp6z3l84to.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_membership[global_ns_fixture_file_by_file1] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_membership[global_ns_fixture_file_by_file2] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_namespace[global_ns_fixture_all_at_once1] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp9q0ut9kr.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp9q0ut9kr.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_namespace[global_ns_fixture_all_at_once2] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp7g_au428.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp7g_au428.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_namespace[global_ns_fixture_file_by_file1] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_namespace[global_ns_fixture_file_by_file2] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_functions[global_ns_fixture_all_at_once1] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpt_mfo_h0.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpt_mfo_h0.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_functions[global_ns_fixture_all_at_once2] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpi4679184.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpi4679184.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_functions[global_ns_fixture_file_by_file1] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_functions[global_ns_fixture_file_by_file2] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_variable[global_ns_fixture_all_at_once1] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp8k3zbw7h.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp8k3zbw7h.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_variable[global_ns_fixture_all_at_once2] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpe8pe5pwz.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpe8pe5pwz.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_variable[global_ns_fixture_file_by_file1] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_variable[global_ns_fixture_file_by_file2] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ____ ERROR at setup of test_class_hierarchy[global_ns_fixture_all_at_once1] ____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpgiu9gv5v.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpgiu9gv5v.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ____ ERROR at setup of test_class_hierarchy[global_ns_fixture_all_at_once2] ____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpytdc4kbr.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpytdc4kbr.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ___ ERROR at setup of test_class_hierarchy[global_ns_fixture_file_by_file1] ____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ___ ERROR at setup of test_class_hierarchy[global_ns_fixture_file_by_file2] ____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_class_join[global_ns_fixture_all_at_once1] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpe346gszm.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpe346gszm.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_class_join[global_ns_fixture_all_at_once2] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpxlj3qqy_.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpxlj3qqy_.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_class_join[global_ns_fixture_file_by_file1] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_class_join[global_ns_fixture_file_by_file2] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ___ ERROR at setup of test_fundamental_types[global_ns_fixture_all_at_once1] ___ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpgjjagvp9.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpgjjagvp9.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ___ ERROR at setup of test_fundamental_types[global_ns_fixture_all_at_once2] ___ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpym6whai4.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpym6whai4.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. __ ERROR at setup of test_fundamental_types[global_ns_fixture_file_by_file1] ___ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. __ ERROR at setup of test_fundamental_types[global_ns_fixture_file_by_file2] ___ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ____ ERROR at setup of test_compound_types[global_ns_fixture_all_at_once1] _____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpcp2nw5gr.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpcp2nw5gr.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ____ ERROR at setup of test_compound_types[global_ns_fixture_all_at_once2] _____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmps9nu3jfx.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmps9nu3jfx.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ____ ERROR at setup of test_compound_types[global_ns_fixture_file_by_file1] ____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ____ ERROR at setup of test_compound_types[global_ns_fixture_file_by_file2] ____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. __ ERROR at setup of test_free_function_type[global_ns_fixture_all_at_once1] ___ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpdqc86d5h.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpdqc86d5h.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. __ ERROR at setup of test_free_function_type[global_ns_fixture_all_at_once2] ___ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp6mvyrajf.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp6mvyrajf.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. __ ERROR at setup of test_free_function_type[global_ns_fixture_file_by_file1] __ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. __ ERROR at setup of test_free_function_type[global_ns_fixture_file_by_file2] __ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_member_function_type[global_ns_fixture_all_at_once1] __ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpyb113kl3.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpyb113kl3.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_member_variable_type[global_ns_fixture_all_at_once1] __ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpldisg6yj.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpldisg6yj.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_member_variable_type[global_ns_fixture_all_at_once2] __ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpmjrzf2b2.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpmjrzf2b2.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_member_variable_type[global_ns_fixture_file_by_file1] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_member_variable_type[global_ns_fixture_file_by_file2] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_overloading[global_ns_fixture_all_at_once1] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmps5k666fi.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmps5k666fi.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_overloading[global_ns_fixture_all_at_once2] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpnqtl5_xe.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpnqtl5_xe.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _____ ERROR at setup of test_overloading[global_ns_fixture_file_by_file1] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _____ ERROR at setup of test_overloading[global_ns_fixture_file_by_file2] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ___ ERROR at setup of test_abstract_classes[global_ns_fixture_all_at_once1] ____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpt21e_1rv.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpt21e_1rv.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ___ ERROR at setup of test_abstract_classes[global_ns_fixture_all_at_once2] ____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmplbu5kmkz.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmplbu5kmkz.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ___ ERROR at setup of test_abstract_classes[global_ns_fixture_file_by_file1] ___ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ___ ERROR at setup of test_abstract_classes[global_ns_fixture_file_by_file2] ___ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______ ERROR at setup of test_byte_size[global_ns_fixture_all_at_once1] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp8w9a4ikc.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp8w9a4ikc.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______ ERROR at setup of test_byte_size[global_ns_fixture_all_at_once2] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpvt0aqh7a.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpvt0aqh7a.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_byte_size[global_ns_fixture_file_by_file1] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_byte_size[global_ns_fixture_file_by_file2] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_byte_align[global_ns_fixture_all_at_once1] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpgmu4_bdi.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpgmu4_bdi.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_byte_align[global_ns_fixture_all_at_once2] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp81jqef2j.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp81jqef2j.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_byte_align[global_ns_fixture_file_by_file1] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_byte_align[global_ns_fixture_file_by_file2] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_byte_offset[global_ns_fixture_all_at_once1] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp09eqnpxu.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp09eqnpxu.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_byte_offset[global_ns_fixture_all_at_once2] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpwwooqgke.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpwwooqgke.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _____ ERROR at setup of test_byte_offset[global_ns_fixture_file_by_file1] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _____ ERROR at setup of test_byte_offset[global_ns_fixture_file_by_file2] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ________________________ ERROR at setup of test_printer ________________________ @pytest.fixture def decls(): COMPILATION_MODE = parser.COMPILATION_MODE.FILE_BY_FILE config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_decl_printer.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ________________________ ERROR at setup of test__str__ _________________________ @pytest.fixture def decls(): COMPILATION_MODE = parser.COMPILATION_MODE.FILE_BY_FILE config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_decl_printer.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ____________________ ERROR at setup of test_member_function ____________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE INIT_OPTIMIZER = True config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_decl_string.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpxt327si7.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpxt327si7.h:1: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _____________________ ERROR at setup of test_free_function _____________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE INIT_OPTIMIZER = True config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_decl_string.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpwh52pdji.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpwh52pdji.h:1: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _________________ ERROR at setup of test_all_mem_and_free_funs _________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE INIT_OPTIMIZER = True config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_decl_string.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpvh1xlq53.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpvh1xlq53.h:1: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _____ ERROR at setup of test_enumeration_t[global_ns_fixture_all_at_once] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:24: in global_ns_fixture_all_at_once decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp2xgqxcur.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp2xgqxcur.h:3: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _____ ERROR at setup of test_enumeration_t[global_ns_fixture_file_by_file] _____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:33: in global_ns_fixture_file_by_file decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______ ERROR at setup of test_variables[global_ns_fixture_all_at_once] ________ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:24: in global_ns_fixture_all_at_once decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpnoh7scyy.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpnoh7scyy.h:3: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______ ERROR at setup of test_variables[global_ns_fixture_file_by_file] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:33: in global_ns_fixture_file_by_file decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_calldef_free_functions[global_ns_fixture_all_at_once] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:24: in global_ns_fixture_all_at_once decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp5pw3gr2v.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp5pw3gr2v.h:3: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_calldef_free_functions[global_ns_fixture_file_by_file] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:33: in global_ns_fixture_file_by_file decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_calldef_member_functions[global_ns_fixture_all_at_once] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:24: in global_ns_fixture_all_at_once decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp15_01gge.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp15_01gge.h:3: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_calldef_member_functions[global_ns_fixture_file_by_file] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:33: in global_ns_fixture_file_by_file decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_constructors_destructors[global_ns_fixture_all_at_once] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:24: in global_ns_fixture_all_at_once decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpn9l3x31r.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpn9l3x31r.h:3: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_constructors_destructors[global_ns_fixture_file_by_file] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:33: in global_ns_fixture_file_by_file decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ____ ERROR at setup of test_operator_symbol[global_ns_fixture_all_at_once] _____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:24: in global_ns_fixture_all_at_once decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpk91xs6ps.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpk91xs6ps.h:3: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ____ ERROR at setup of test_operator_symbol[global_ns_fixture_file_by_file] ____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:33: in global_ns_fixture_file_by_file decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ________ ERROR at setup of test_ellipsis[global_ns_fixture_all_at_once] ________ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:24: in global_ns_fixture_all_at_once decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp08t4zz2j.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp08t4zz2j.h:3: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______ ERROR at setup of test_ellipsis[global_ns_fixture_file_by_file] ________ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:33: in global_ns_fixture_file_by_file decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______________________ ERROR at setup of test_variable ________________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE INIT_OPTIMIZER = True config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_dependencies.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpd73qmb8o.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpd73qmb8o.h:1: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/include_all.hpp:9: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_cache.hpp:9: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) In file included from /tmp/tmpd73qmb8o.h:1: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/include_all.hpp:22: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 2 errors generated. _________________________ ERROR at setup of test_class _________________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE INIT_OPTIMIZER = True config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_dependencies.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpnb5ks0s1.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpnb5ks0s1.h:1: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/include_all.hpp:9: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_cache.hpp:9: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) In file included from /tmp/tmpnb5ks0s1.h:1: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/include_all.hpp:22: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 2 errors generated. _______________________ ERROR at setup of test_calldefs ________________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE INIT_OPTIMIZER = True config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_dependencies.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp0co13gy0.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp0co13gy0.h:1: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/include_all.hpp:9: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_cache.hpp:9: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) In file included from /tmp/tmp0co13gy0.h:1: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/include_all.hpp:22: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 2 errors generated. _______________________ ERROR at setup of test_coverage ________________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE INIT_OPTIMIZER = True config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_dependencies.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpkxonrnl1.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpkxonrnl1.h:1: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/include_all.hpp:9: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_cache.hpp:9: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) In file included from /tmp/tmpkxonrnl1.h:1: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/include_all.hpp:22: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 2 errors generated. _________________________ ERROR at setup of test_regex _________________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE config = autoconfig.cxx_parsers_cfg.config.clone() > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_filters_tester.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmplf47uvnu.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmplf47uvnu.h:1: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______________________ ERROR at setup of test_access_type ______________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE config = autoconfig.cxx_parsers_cfg.config.clone() > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_filters_tester.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmprop8njdd.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmprop8njdd.h:1: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______________________ ERROR at setup of test_or_matcher _______________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE config = autoconfig.cxx_parsers_cfg.config.clone() > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_filters_tester.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpr9cglut_.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpr9cglut_.h:1: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______________________ ERROR at setup of test_and_matcher ______________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE config = autoconfig.cxx_parsers_cfg.config.clone() > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_filters_tester.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp9xyg7o6p.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp9xyg7o6p.h:1: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______________________ ERROR at setup of test_not_matcher ______________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE config = autoconfig.cxx_parsers_cfg.config.clone() > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_filters_tester.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmphzkh5u3v.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmphzkh5u3v.h:1: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______________________ ERROR at setup of test_overrides _______________________ @pytest.fixture def global_ns_fixture(): config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 config.cflags = "-std=c++11" > decls = parser.parse(["test_overrides.hpp"], config) tests/test_overrides.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:335: in __parse_file_by_file self._relink_declarated_types(leaved_classes, types) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = leaved_classes = {(('/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/test_overrides.hpp', 8), ...cator_traits>')): , ...} declarated_types = [, , , ...] def _relink_declarated_types(self, leaved_classes, declarated_types): mangled_leaved_classes = {} for leaved_class in leaved_classes.values(): mangled_leaved_classes[ self._create_name_key(leaved_class)] = leaved_class for decl_wrapper_type in declarated_types: # it is possible, that cache contains reference to dropped class # We need to clear it decl_wrapper_type.cache.reset() if isinstance( decl_wrapper_type.declaration, pygccxml.declarations.class_t): key = self._create_key(decl_wrapper_type.declaration) if key in leaved_classes: decl_wrapper_type.declaration = leaved_classes[key] else: name = decl_wrapper_type.declaration._name if name == "": # Happens with gcc5, castxml + std=c++11 # See issue #45 continue if name.startswith("__vmi_class_type_info_pseudo"): continue if name == "rebind, void *> >": continue msg = [] msg.append( "Unable to find out actual class definition: '%s'." % decl_wrapper_type.declaration._name) msg.append(( "Class definition has been changed from one " + "compilation to an other.")) msg.append(( "Why did it happen to me? Here is a short list " + "of reasons: ")) msg.append(( " 1. There are different preprocessor " + "definitions applied on same file during compilation")) msg.append(" 2. Bug in pygccxml.") > raise Exception(os.linesep.join(msg)) E Exception: Unable to find out actual class definition: 'type'. E Class definition has been changed from one compilation to an other. E Why did it happen to me? Here is a short list of reasons: E 1. There are different preprocessor definitions applied on same file during compilation E 2. Bug in pygccxml. pygccxml/parser/project_reader.py:566: Exception ________________ ERROR at setup of test_compound_argument_type _________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE config = autoconfig.cxx_parsers_cfg.config.clone() > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_source_reader.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpg3za63nz.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpg3za63nz.h:1: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ___________________ ERROR at setup of test_type_as_exception ___________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE config = autoconfig.cxx_parsers_cfg.config.clone() > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_type_as_exception_bug.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmps4cxi5sn.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmps4cxi5sn.h:1: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/type_as_exception_bug.h:12:26: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 12 | virtual void buggy() throw( ExpressionError& ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/type_as_exception_bug.h:12:26: note: use 'noexcept(false)' instead 12 | virtual void buggy() throw( ExpressionError& ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. =================================== FAILURES =================================== ___________________________ test_cached_source_file ____________________________ def test_cached_source_file(): config = autoconfig.cxx_parsers_cfg.config.clone() fconfig = parser.file_configuration_t( data=TEST_FILES[0], content_type=parser.CONTENT_TYPE.CACHED_SOURCE_FILE) try: prj_reader = parser.project_reader_t(config) > prj_reader.read_files( [fconfig], compilation_mode=parser.COMPILATION_MODE.FILE_BY_FILE) tests/test_cached_source_file.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:307: in __parse_file_by_file reader.create_xml_file(header, prj_file.cached_source_file) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = 'core_types.hpp', destination = 'core_types.hpp.xml' def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ----------------------------- Captured stderr call ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______________________________ test_cpp_standards ______________________________ def test_cpp_standards(): """ Test different compilation standards by setting cflags. """ config = autoconfig.cxx_parsers_cfg.config.clone() > parser.parse(["cpp_standards.hpp"], config) tests/test_cpp_standards.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:335: in __parse_file_by_file self._relink_declarated_types(leaved_classes, types) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = leaved_classes = {(('/usr/include/c++/14/bits/alloc_traits.h', 57), ('::', 'std', '__allocator_traits_base')): >')): , ...} declarated_types = [, , , ...] def _relink_declarated_types(self, leaved_classes, declarated_types): mangled_leaved_classes = {} for leaved_class in leaved_classes.values(): mangled_leaved_classes[ self._create_name_key(leaved_class)] = leaved_class for decl_wrapper_type in declarated_types: # it is possible, that cache contains reference to dropped class # We need to clear it decl_wrapper_type.cache.reset() if isinstance( decl_wrapper_type.declaration, pygccxml.declarations.class_t): key = self._create_key(decl_wrapper_type.declaration) if key in leaved_classes: decl_wrapper_type.declaration = leaved_classes[key] else: name = decl_wrapper_type.declaration._name if name == "": # Happens with gcc5, castxml + std=c++11 # See issue #45 continue if name.startswith("__vmi_class_type_info_pseudo"): continue if name == "rebind, void *> >": continue msg = [] msg.append( "Unable to find out actual class definition: '%s'." % decl_wrapper_type.declaration._name) msg.append(( "Class definition has been changed from one " + "compilation to an other.")) msg.append(( "Why did it happen to me? Here is a short list " + "of reasons: ")) msg.append(( " 1. There are different preprocessor " + "definitions applied on same file during compilation")) msg.append(" 2. Bug in pygccxml.") > raise Exception(os.linesep.join(msg)) E Exception: Unable to find out actual class definition: 'type'. E Class definition has been changed from one compilation to an other. E Why did it happen to me? Here is a short list of reasons: E 1. There are different preprocessor definitions applied on same file during compilation E 2. Bug in pygccxml. pygccxml/parser/project_reader.py:566: Exception ____________________________ test_declaration_files ____________________________ def test_declaration_files(): config = autoconfig.cxx_parsers_cfg.config.clone() prj_reader = parser.project_reader_t(config) > decls = prj_reader.read_files( TEST_FILES, compilation_mode=parser.COMPILATION_MODE.ALL_AT_ONCE) tests/test_declaration_files.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpfd64v_xj.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ----------------------------- Captured stderr call ----------------------------- In file included from /tmp/tmpfd64v_xj.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. __________________ test_comparison_declaration_by_declaration __________________ def test_comparison_declaration_by_declaration(): config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > parsed = parser.parse(TEST_FILES, config) tests/test_declarations_comparison.py:21: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_comparison.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ----------------------------- Captured stderr call ----------------------------- In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_comparison.hpp:14: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _________________________ test_comparison_from_reverse _________________________ def test_comparison_from_reverse(): config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > parsed = parser.parse(TEST_FILES, config) tests/test_declarations_comparison.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_comparison.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ----------------------------- Captured stderr call ----------------------------- In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_comparison.hpp:14: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. __________________ test_same_declarations_different_intances ___________________ def test_same_declarations_different_intances(): config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > parsed = parser.parse(TEST_FILES, config) tests/test_declarations_comparison.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_comparison.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ----------------------------- Captured stderr call ----------------------------- In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/declarations_comparison.hpp:14: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______________________________ test_update_cache _______________________________ def test_update_cache(): reset_cache() config = autoconfig.cxx_parsers_cfg.config.clone() # Save the content of the header file for later with open(TEST_FILE, "r") as old_header: content = old_header.read() > declarations = parser.parse([TEST_FILE], config) tests/test_file_cache.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_cache.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ----------------------------- Captured stderr call ----------------------------- In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_cache.hpp:9: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _____________________________ test_cache_from_file _____________________________ def test_cache_from_file(): reset_cache() config = autoconfig.cxx_parsers_cfg.config.clone() > declarations = parser.parse([TEST_FILE], config) tests/test_file_cache.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_cache.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ----------------------------- Captured stderr call ----------------------------- In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_cache.hpp:9: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______________________________ test_find_traits _______________________________ global_ns = def test_find_traits(global_ns): > __cmp_traits( global_ns, "v_int", declarations.vector_traits, "vector< int >" ) tests/test_find_container_traits.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ global_ns = typedef = expected = partial_name = 'vector< int >', key_type = None def __cmp_traits(global_ns, typedef, expected, partial_name, key_type=None): if isinstance(typedef, str): typedef = global_ns.typedef(typedef) traits = declarations.find_container_traits(typedef) assert traits is not None assert traits == expected cls = declarations.remove_declarated(typedef) assert declarations.find_container_traits(cls) == expected > assert cls.partial_name == partial_name E AssertionError: assert 'vector' == 'vector< int >' E E - vector< int > E ? - - E + vector tests/test_find_container_traits.py:34: AssertionError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmplvfjd5di.h:2: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/indexing_suites2.hpp:54:5: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result] 54 | vec.at(index); | ^~~~~~ ~~~~~ 1 warning generated. ________________________________ test_multimap _________________________________ global_ns = def test_multimap(global_ns): m = global_ns.class_(lambda decl: decl.name.startswith("multimap")) declarations.find_container_traits(m) > assert m.partial_name == "multimap< int, int >" E AssertionError: assert 'multimap' == 'multimap< int, int >' E E - multimap< int, int > E ? - - E + multimap tests/test_find_container_traits.py:132: AssertionError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpa79ssrvg.h:2: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/indexing_suites2.hpp:54:5: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result] 54 | vec.at(index); | ^~~~~~ ~~~~~ 1 warning generated. _________________________ test_recursive_partial_name __________________________ global_ns = def test_recursive_partial_name(global_ns): f1 = global_ns.free_function("f1") t1 = declarations.class_traits.get_declaration(f1.arguments[0].decl_type) > assert "type< std::set< std::vector< int > > >" == t1.partial_name E AssertionError: assert 'type< std::s...or< int > > >' == 'type< std::s...ector> >' E E - type< std::set> > E + type< std::set< std::vector< int > > > E ? + + + + tests/test_find_container_traits.py:138: AssertionError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpaaay6h12.h:2: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/indexing_suites2.hpp:54:5: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result] 54 | vec.at(index); | ^~~~~~ ~~~~~ 1 warning generated. _____________________ test_infinite_recursion_base_classes _____________________ def test_infinite_recursion_base_classes(): """ Test find_noncopyable_vars See #71 find_noncopyable_vars was throwing: RuntimeError: maximum recursion depth exceeded while calling a Python object """ config = autoconfig.cxx_parsers_cfg.config.clone() > decls = parser.parse(TEST_FILES, config) tests/test_non_copyable_recursive.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:335: in __parse_file_by_file self._relink_declarated_types(leaved_classes, types) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = leaved_classes = {(('/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/test_non_copyable_recursi...:', 'Test2', 'FileStreamDataStream')): , ...} declarated_types = [, , , ...] def _relink_declarated_types(self, leaved_classes, declarated_types): mangled_leaved_classes = {} for leaved_class in leaved_classes.values(): mangled_leaved_classes[ self._create_name_key(leaved_class)] = leaved_class for decl_wrapper_type in declarated_types: # it is possible, that cache contains reference to dropped class # We need to clear it decl_wrapper_type.cache.reset() if isinstance( decl_wrapper_type.declaration, pygccxml.declarations.class_t): key = self._create_key(decl_wrapper_type.declaration) if key in leaved_classes: decl_wrapper_type.declaration = leaved_classes[key] else: name = decl_wrapper_type.declaration._name if name == "": # Happens with gcc5, castxml + std=c++11 # See issue #45 continue if name.startswith("__vmi_class_type_info_pseudo"): continue if name == "rebind, void *> >": continue msg = [] msg.append( "Unable to find out actual class definition: '%s'." % decl_wrapper_type.declaration._name) msg.append(( "Class definition has been changed from one " + "compilation to an other.")) msg.append(( "Why did it happen to me? Here is a short list " + "of reasons: ")) msg.append(( " 1. There are different preprocessor " + "definitions applied on same file during compilation")) msg.append(" 2. Bug in pygccxml.") > raise Exception(os.linesep.join(msg)) E Exception: Unable to find out actual class definition: 'type'. E Class definition has been changed from one compilation to an other. E Why did it happen to me? Here is a short list of reasons: E 1. There are different preprocessor definitions applied on same file during compilation E 2. Bug in pygccxml. pygccxml/parser/project_reader.py:566: Exception _______________________ test_infinite_recursion_sstream ________________________ def test_infinite_recursion_sstream(): """ Test find_noncopyable_vars See #71 find_noncopyable_vars was throwing: RuntimeError: maximum recursion depth exceeded while calling a Python object """ config = autoconfig.cxx_parsers_cfg.config.clone() > decls = parser.parse(TEST_FILES, config) tests/test_non_copyable_recursive.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:335: in __parse_file_by_file self._relink_declarated_types(leaved_classes, types) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = leaved_classes = {(('/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/test_non_copyable_recursi...:', 'Test2', 'FileStreamDataStream')): , ...} declarated_types = [, , , ...] def _relink_declarated_types(self, leaved_classes, declarated_types): mangled_leaved_classes = {} for leaved_class in leaved_classes.values(): mangled_leaved_classes[ self._create_name_key(leaved_class)] = leaved_class for decl_wrapper_type in declarated_types: # it is possible, that cache contains reference to dropped class # We need to clear it decl_wrapper_type.cache.reset() if isinstance( decl_wrapper_type.declaration, pygccxml.declarations.class_t): key = self._create_key(decl_wrapper_type.declaration) if key in leaved_classes: decl_wrapper_type.declaration = leaved_classes[key] else: name = decl_wrapper_type.declaration._name if name == "": # Happens with gcc5, castxml + std=c++11 # See issue #45 continue if name.startswith("__vmi_class_type_info_pseudo"): continue if name == "rebind, void *> >": continue msg = [] msg.append( "Unable to find out actual class definition: '%s'." % decl_wrapper_type.declaration._name) msg.append(( "Class definition has been changed from one " + "compilation to an other.")) msg.append(( "Why did it happen to me? Here is a short list " + "of reasons: ")) msg.append(( " 1. There are different preprocessor " + "definitions applied on same file during compilation")) msg.append(" 2. Bug in pygccxml.") > raise Exception(os.linesep.join(msg)) E Exception: Unable to find out actual class definition: 'type'. E Class definition has been changed from one compilation to an other. E Why did it happen to me? Here is a short list of reasons: E 1. There are different preprocessor definitions applied on same file during compilation E 2. Bug in pygccxml. pygccxml/parser/project_reader.py:566: Exception ________________________ test_argument_null_comparison _________________________ def test_argument_null_comparison(): """ Test for None comparisons with default arguments """ config = autoconfig.cxx_parsers_cfg.config.clone() > decls = parser.parse(TEST_FILES, config) tests/test_null_comparison.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:335: in __parse_file_by_file self._relink_declarated_types(leaved_classes, types) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = leaved_classes = {(('/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/null_comparison.hpp', 5),...r_traits>')): , ...} declarated_types = [, , , ...] def _relink_declarated_types(self, leaved_classes, declarated_types): mangled_leaved_classes = {} for leaved_class in leaved_classes.values(): mangled_leaved_classes[ self._create_name_key(leaved_class)] = leaved_class for decl_wrapper_type in declarated_types: # it is possible, that cache contains reference to dropped class # We need to clear it decl_wrapper_type.cache.reset() if isinstance( decl_wrapper_type.declaration, pygccxml.declarations.class_t): key = self._create_key(decl_wrapper_type.declaration) if key in leaved_classes: decl_wrapper_type.declaration = leaved_classes[key] else: name = decl_wrapper_type.declaration._name if name == "": # Happens with gcc5, castxml + std=c++11 # See issue #45 continue if name.startswith("__vmi_class_type_info_pseudo"): continue if name == "rebind, void *> >": continue msg = [] msg.append( "Unable to find out actual class definition: '%s'." % decl_wrapper_type.declaration._name) msg.append(( "Class definition has been changed from one " + "compilation to an other.")) msg.append(( "Why did it happen to me? Here is a short list " + "of reasons: ")) msg.append(( " 1. There are different preprocessor " + "definitions applied on same file during compilation")) msg.append(" 2. Bug in pygccxml.") > raise Exception(os.linesep.join(msg)) E Exception: Unable to find out actual class definition: 'type'. E Class definition has been changed from one compilation to an other. E Why did it happen to me? Here is a short list of reasons: E 1. There are different preprocessor definitions applied on same file during compilation E 2. Bug in pygccxml. pygccxml/parser/project_reader.py:566: Exception ________________________ test_template_split_std_vector ________________________ global_ns = def test_template_split_std_vector(global_ns): """ Demonstrate error in pattern parser, see #60 """ config = autoconfig.cxx_parsers_cfg.config.clone() config.cflags = "-std=c++11" > decls = parser.parse(TEST_FILES, config) tests/test_pattern_parser.py:38: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:335: in __parse_file_by_file self._relink_declarated_types(leaved_classes, types) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = leaved_classes = {(('/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/test_pattern_parser.hpp',...const int &), std::vector>')): , ...} declarated_types = [, , , ...] def _relink_declarated_types(self, leaved_classes, declarated_types): mangled_leaved_classes = {} for leaved_class in leaved_classes.values(): mangled_leaved_classes[ self._create_name_key(leaved_class)] = leaved_class for decl_wrapper_type in declarated_types: # it is possible, that cache contains reference to dropped class # We need to clear it decl_wrapper_type.cache.reset() if isinstance( decl_wrapper_type.declaration, pygccxml.declarations.class_t): key = self._create_key(decl_wrapper_type.declaration) if key in leaved_classes: decl_wrapper_type.declaration = leaved_classes[key] else: name = decl_wrapper_type.declaration._name if name == "": # Happens with gcc5, castxml + std=c++11 # See issue #45 continue if name.startswith("__vmi_class_type_info_pseudo"): continue if name == "rebind, void *> >": continue msg = [] msg.append( "Unable to find out actual class definition: '%s'." % decl_wrapper_type.declaration._name) msg.append(( "Class definition has been changed from one " + "compilation to an other.")) msg.append(( "Why did it happen to me? Here is a short list " + "of reasons: ")) msg.append(( " 1. There are different preprocessor " + "definitions applied on same file during compilation")) msg.append(" 2. Bug in pygccxml.") > raise Exception(os.linesep.join(msg)) E Exception: Unable to find out actual class definition: 'type'. E Class definition has been changed from one compilation to an other. E Why did it happen to me? Here is a short list of reasons: E 1. There are different preprocessor definitions applied on same file during compilation E 2. Bug in pygccxml. pygccxml/parser/project_reader.py:566: Exception _______________________________ test_correctness _______________________________ def test_correctness(): for src in TEST_FILES1: > __test_correctness_impl(src) tests/test_project_reader_correctness.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_project_reader_correctness.py:43: in __test_correctness_impl prj_decls = prj_reader.read_files( pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ----------------------------- Captured stderr call ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _________________________________ test_vector __________________________________ global_ns = def test_vector(global_ns): v_int = global_ns.typedef('v_int') v_traits = declarations.vector_traits > assert 'vector< int >' == v_traits.remove_defaults(v_int) E AssertionError: assert 'vector< int >' == 'vector' E E - vector E + vector< int > E ? + + tests/test_remove_template_defaults.py:33: AssertionError __________________________________ test_list ___________________________________ global_ns = def test_list(global_ns): l_int = global_ns.typedef('l_int') l_traits = declarations.list_traits > assert 'list< int >' == l_traits.remove_defaults(l_int) E AssertionError: assert 'list< int >' == 'list' E E - list E + list< int > E ? + + tests/test_remove_template_defaults.py:45: AssertionError __________________________________ test_deque __________________________________ global_ns = def test_deque(global_ns): d_v_int = global_ns.typedef('d_v_int') d_v_traits = declarations.deque_traits > assert 'deque< std::vector< int > >' == \ d_v_traits.remove_defaults(d_v_int) E AssertionError: assert 'deque< std::vector< int > >' == 'deque>' E E - deque> E + deque< std::vector< int > > E ? + + + + tests/test_remove_template_defaults.py:53: AssertionError __________________________________ test_queue __________________________________ global_ns = def test_queue(global_ns): q_int = global_ns.typedef('q_int') q_traits = declarations.queue_traits > assert 'queue< int >' == q_traits.remove_defaults(q_int) E AssertionError: assert 'queue< int >' == 'queue' E E - queue E + queue< int > E ? + + tests/test_remove_template_defaults.py:63: AssertionError _____________________________ test_priority_queue ______________________________ global_ns = def test_priority_queue(global_ns): pq_int = global_ns.typedef('pq_int') pq_traits = declarations.priority_queue_traits > assert 'priority_queue< int >' == pq_traits.remove_defaults(pq_int) E AssertionError: assert 'priority_queue< int >' == 'priority_queue' E E - priority_queue E + priority_queue< int > E ? + + tests/test_remove_template_defaults.py:71: AssertionError ___________________________________ test_set ___________________________________ global_ns = def test_set(global_ns): s_v_int = global_ns.typedef('s_v_int') > assert 'set< std::vector< int > >' == \ declarations.set_traits.remove_defaults(s_v_int) E AssertionError: assert 'set< std::vector< int > >' == 'set>' E E - set> E + set< std::vector< int > > E ? + + + + tests/test_remove_template_defaults.py:79: AssertionError ________________________________ test_multiset _________________________________ global_ns = def test_multiset(global_ns): ms_v_int = global_ns.typedef('ms_v_int') ms_v_traits = declarations.multiset_traits > assert 'multiset< std::vector< int > >' == \ ms_v_traits.remove_defaults(ms_v_int) E AssertionError: assert 'multiset< st...ctor< int > >' == 'multiset>' E E - multiset> E + multiset< std::vector< int > > E ? + + + + tests/test_remove_template_defaults.py:89: AssertionError ___________________________________ test_map ___________________________________ global_ns = def test_map(global_ns): m_i2d = global_ns.typedef('m_i2d') > assert 'map< int, double >' == \ declarations.map_traits.remove_defaults(m_i2d) E AssertionError: assert 'map< int, double >' == 'map' E E - map E + map< int, double > E ? + + tests/test_remove_template_defaults.py:98: AssertionError ________________________________ test_multimap _________________________________ global_ns = def test_multimap(global_ns): mm_i2d = global_ns.typedef('mm_i2d') mm_traits = declarations.multimap_traits > assert 'multimap< int, double >' == mm_traits.remove_defaults(mm_i2d) E AssertionError: assert 'multimap< int, double >' == 'multimap' E E - multimap E + multimap< int, double > E ? + + tests/test_remove_template_defaults.py:111: AssertionError ________________________________ test_hash_set _________________________________ global_ns = def test_hash_set(global_ns): hs_v_int = global_ns.typedef('hs_v_int') hs_traits = declarations.unordered_set_traits name = 'unordered_set' > assert (name + '< std::vector< int > >') == \ hs_traits.remove_defaults(hs_v_int), \ hs_traits.remove_defaults(hs_v_int) E AssertionError: unordered_set> E assert 'unordered_se...ctor< int > >' == 'unordered_se...:vector>' E E - unordered_set> E + unordered_set< std::vector< int > > E ? + + + + tests/test_remove_template_defaults.py:125: AssertionError ______________________________ test_hash_multiset ______________________________ global_ns = def test_hash_multiset(global_ns): mhs_v_int = global_ns.typedef('mhs_v_int') mhs_traits = declarations.unordered_multiset_traits name = 'unordered_multiset' > assert (name + '< std::vector< int > >') == \ mhs_traits.remove_defaults(mhs_v_int) E AssertionError: assert 'unordered_mu...ctor< int > >' == 'unordered_mu...:vector>' E E - unordered_multiset> E + unordered_multiset< std::vector< int > > E ? + + + + tests/test_remove_template_defaults.py:137: AssertionError ________________________________ test_hash_map _________________________________ global_ns = def test_hash_map(global_ns): hm_i2d = global_ns.typedef('hm_i2d') hm_traits = declarations.unordered_map_traits name = 'unordered_map' > assert (name + '< int, double >') == \ hm_traits.remove_defaults(hm_i2d) E AssertionError: assert 'unordered_map< int, double >' == 'unordered_map' E E - unordered_map E + unordered_map< int, double > E ? + + tests/test_remove_template_defaults.py:148: AssertionError ______________________________ test_hash_multimap ______________________________ global_ns = def test_hash_multimap(global_ns): hmm_i2d = global_ns.typedef('hmm_i2d') hmm_traits = declarations.unordered_multimap_traits name = 'unordered_multimap' > assert (name + '< int, double >') == \ hmm_traits.remove_defaults(hmm_i2d) E AssertionError: assert 'unordered_mu...int, double >' == 'unordered_mu...' E E - unordered_multimap E + unordered_multimap< int, double > E ? + + tests/test_remove_template_defaults.py:159: AssertionError _______________________________ test_no_defaults _______________________________ def test_no_defaults(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE config = autoconfig.cxx_parsers_cfg.config.clone() decls = parser.parse(TEST_FILES2, config, COMPILATION_MODE) global_ns = declarations.get_global_namespace(decls) global_ns.decls(lambda decl: 'vector<' in decl.name) global_ns.decl('vector< _0_ >') global_ns.class_('vector< std::vector< int > >') > global_ns.class_('vector< std::string >') tests/test_variable_matcher.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/declarations/scopedef.py:546: in class_ self._find_single( pygccxml/declarations/scopedef.py:464: in _find_single found = matcher.get_single(decl_matcher, decls, False) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ decl_matcher = decls = [, , , ...] recursive = False @staticmethod def get_single(decl_matcher, decls, recursive=True): """ Returns a reference to declaration, that match `decl_matcher` defined criteria. If a unique declaration could not be found, an appropriate exception will be raised. :param decl_matcher: Python callable object, that takes one argument - reference to a declaration :param decls: the search scope, :class:declaration_t object or :class:declaration_t objects list t :param recursive: boolean, if True, the method will run `decl_matcher` on the internal declarations too """ answer = matcher.find(decl_matcher, decls, recursive) if len(answer) == 1: return answer[0] elif not answer: > raise runtime_errors.declaration_not_found_t(decl_matcher) E pygccxml.declarations.runtime_errors.declaration_not_found_t: Unable to find declaration. Matcher: [(decl type==class_t) and (name==vector< std::string >)] pygccxml/declarations/scopedef.py:90: declaration_not_found_t ______________________________ test_element_type _______________________________ global_ns = def test_element_type(global_ns): do_nothing = global_ns.free_function('do_nothing') print(do_nothing) v = declarations.remove_reference( declarations.remove_declarated( do_nothing.arguments[0].decl_type)) print(v, type(v)) > declarations.vector_traits.element_type(v) tests/test_vector_traits.py:90: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/declarations/container_traits.py:490: in element_type return self.__find_xxx_type( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = type_ = xxx_index = 0, xxx_typedef = 'value_type' cache_property_name = 'container_element_type' def __find_xxx_type( self, type_, xxx_index, xxx_typedef, cache_property_name): cls_declaration = self.class_declaration(type_) result = getattr(cls_declaration.cache, cache_property_name) if not result: if isinstance(cls_declaration, class_declaration.class_t): xxx_type = cls_declaration.typedef( xxx_typedef, recursive=False).decl_type result = type_traits.remove_declarated(xxx_type) else: xxx_type_str = templates.args(cls_declaration.name)[xxx_index] result = traits_impl_details.impl_details.find_value_type( cls_declaration.top_parent, xxx_type_str) if None is result: > raise RuntimeError( "Unable to find out %s '%s' key\\value type." % (self.name(), cls_declaration.decl_string)) E RuntimeError: Unable to find out vector '::std::vector>' key\value type. pygccxml/declarations/container_traits.py:482: RuntimeError ----------------------------- Captured stdout call ----------------------------- void do_nothing(std::vector> & arg0) [free function] std::vector> ______________________________ test_read_xml_file ______________________________ def test_read_xml_file(): config = autoconfig.cxx_parsers_cfg.config.clone() src_reader = parser.source_reader_t(config) > src_decls = src_reader.read_file(TEST_FILE) tests/test_xmlfile_reader.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ----------------------------- Captured stderr call ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. =========================== short test summary info ============================ FAILED tests/test_cached_source_file.py::test_cached_source_file - RuntimeErr... FAILED tests/test_cpp_standards.py::test_cpp_standards - Exception: Unable to... FAILED tests/test_declaration_files.py::test_declaration_files - RuntimeError... FAILED tests/test_declarations_comparison.py::test_comparison_declaration_by_declaration FAILED tests/test_declarations_comparison.py::test_comparison_from_reverse - ... FAILED tests/test_declarations_comparison.py::test_same_declarations_different_intances FAILED tests/test_file_cache.py::test_update_cache - RuntimeError: Error occu... FAILED tests/test_file_cache.py::test_cache_from_file - RuntimeError: Error o... FAILED tests/test_find_container_traits.py::test_find_traits - AssertionError... FAILED tests/test_find_container_traits.py::test_multimap - AssertionError: a... FAILED tests/test_find_container_traits.py::test_recursive_partial_name - Ass... FAILED tests/test_non_copyable_recursive.py::test_infinite_recursion_base_classes FAILED tests/test_non_copyable_recursive.py::test_infinite_recursion_sstream FAILED tests/test_null_comparison.py::test_argument_null_comparison - Excepti... FAILED tests/test_pattern_parser.py::test_template_split_std_vector - Excepti... FAILED tests/test_project_reader_correctness.py::test_correctness - RuntimeEr... FAILED tests/test_remove_template_defaults.py::test_vector - AssertionError: ... FAILED tests/test_remove_template_defaults.py::test_list - AssertionError: as... FAILED tests/test_remove_template_defaults.py::test_deque - AssertionError: a... FAILED tests/test_remove_template_defaults.py::test_queue - AssertionError: a... FAILED tests/test_remove_template_defaults.py::test_priority_queue - Assertio... FAILED tests/test_remove_template_defaults.py::test_set - AssertionError: ass... FAILED tests/test_remove_template_defaults.py::test_multiset - AssertionError... FAILED tests/test_remove_template_defaults.py::test_map - AssertionError: ass... FAILED tests/test_remove_template_defaults.py::test_multimap - AssertionError... FAILED tests/test_remove_template_defaults.py::test_hash_set - AssertionError... FAILED tests/test_remove_template_defaults.py::test_hash_multiset - Assertion... FAILED tests/test_remove_template_defaults.py::test_hash_map - AssertionError... FAILED tests/test_remove_template_defaults.py::test_hash_multimap - Assertion... FAILED tests/test_variable_matcher.py::test_no_defaults - pygccxml.declaratio... FAILED tests/test_vector_traits.py::test_element_type - RuntimeError: Unable ... FAILED tests/test_xmlfile_reader.py::test_read_xml_file - RuntimeError: Error... ERROR tests/test_calldef_matcher.py::test_calldef_matcher - RuntimeError: Err... ERROR tests/test_core.py::test_top_parent[global_ns_fixture_all_at_once1] - R... ERROR tests/test_core.py::test_top_parent[global_ns_fixture_all_at_once2] - R... ERROR tests/test_core.py::test_top_parent[global_ns_fixture_file_by_file1] - ... ERROR tests/test_core.py::test_top_parent[global_ns_fixture_file_by_file2] - ... ERROR tests/test_core.py::test_nss_join[global_ns_fixture_all_at_once1] - Run... ERROR tests/test_core.py::test_nss_join[global_ns_fixture_all_at_once2] - Run... ERROR tests/test_core.py::test_nss_join[global_ns_fixture_file_by_file1] - Ru... ERROR tests/test_core.py::test_nss_join[global_ns_fixture_file_by_file2] - Ru... ERROR tests/test_core.py::test_membership[global_ns_fixture_all_at_once1] - R... ERROR tests/test_core.py::test_membership[global_ns_fixture_all_at_once2] - R... ERROR tests/test_core.py::test_membership[global_ns_fixture_file_by_file1] - ... ERROR tests/test_core.py::test_membership[global_ns_fixture_file_by_file2] - ... ERROR tests/test_core.py::test_mangled_name_namespace[global_ns_fixture_all_at_once1] ERROR tests/test_core.py::test_mangled_name_namespace[global_ns_fixture_all_at_once2] ERROR tests/test_core.py::test_mangled_name_namespace[global_ns_fixture_file_by_file1] ERROR tests/test_core.py::test_mangled_name_namespace[global_ns_fixture_file_by_file2] ERROR tests/test_core.py::test_mangled_name_functions[global_ns_fixture_all_at_once1] ERROR tests/test_core.py::test_mangled_name_functions[global_ns_fixture_all_at_once2] ERROR tests/test_core.py::test_mangled_name_functions[global_ns_fixture_file_by_file1] ERROR tests/test_core.py::test_mangled_name_functions[global_ns_fixture_file_by_file2] ERROR tests/test_core.py::test_mangled_name_variable[global_ns_fixture_all_at_once1] ERROR tests/test_core.py::test_mangled_name_variable[global_ns_fixture_all_at_once2] ERROR tests/test_core.py::test_mangled_name_variable[global_ns_fixture_file_by_file1] ERROR tests/test_core.py::test_mangled_name_variable[global_ns_fixture_file_by_file2] ERROR tests/test_core.py::test_class_hierarchy[global_ns_fixture_all_at_once1] ERROR tests/test_core.py::test_class_hierarchy[global_ns_fixture_all_at_once2] ERROR tests/test_core.py::test_class_hierarchy[global_ns_fixture_file_by_file1] ERROR tests/test_core.py::test_class_hierarchy[global_ns_fixture_file_by_file2] ERROR tests/test_core.py::test_class_join[global_ns_fixture_all_at_once1] - R... ERROR tests/test_core.py::test_class_join[global_ns_fixture_all_at_once2] - R... ERROR tests/test_core.py::test_class_join[global_ns_fixture_file_by_file1] - ... ERROR tests/test_core.py::test_class_join[global_ns_fixture_file_by_file2] - ... ERROR tests/test_core.py::test_fundamental_types[global_ns_fixture_all_at_once1] ERROR tests/test_core.py::test_fundamental_types[global_ns_fixture_all_at_once2] ERROR tests/test_core.py::test_fundamental_types[global_ns_fixture_file_by_file1] ERROR tests/test_core.py::test_fundamental_types[global_ns_fixture_file_by_file2] ERROR tests/test_core.py::test_compound_types[global_ns_fixture_all_at_once1] ERROR tests/test_core.py::test_compound_types[global_ns_fixture_all_at_once2] ERROR tests/test_core.py::test_compound_types[global_ns_fixture_file_by_file1] ERROR tests/test_core.py::test_compound_types[global_ns_fixture_file_by_file2] ERROR tests/test_core.py::test_free_function_type[global_ns_fixture_all_at_once1] ERROR tests/test_core.py::test_free_function_type[global_ns_fixture_all_at_once2] ERROR tests/test_core.py::test_free_function_type[global_ns_fixture_file_by_file1] ERROR tests/test_core.py::test_free_function_type[global_ns_fixture_file_by_file2] ERROR tests/test_core.py::test_member_function_type[global_ns_fixture_all_at_once1] ERROR tests/test_core.py::test_member_variable_type[global_ns_fixture_all_at_once1] ERROR tests/test_core.py::test_member_variable_type[global_ns_fixture_all_at_once2] ERROR tests/test_core.py::test_member_variable_type[global_ns_fixture_file_by_file1] ERROR tests/test_core.py::test_member_variable_type[global_ns_fixture_file_by_file2] ERROR tests/test_core.py::test_overloading[global_ns_fixture_all_at_once1] - ... ERROR tests/test_core.py::test_overloading[global_ns_fixture_all_at_once2] - ... ERROR tests/test_core.py::test_overloading[global_ns_fixture_file_by_file1] ERROR tests/test_core.py::test_overloading[global_ns_fixture_file_by_file2] ERROR tests/test_core.py::test_abstract_classes[global_ns_fixture_all_at_once1] ERROR tests/test_core.py::test_abstract_classes[global_ns_fixture_all_at_once2] ERROR tests/test_core.py::test_abstract_classes[global_ns_fixture_file_by_file1] ERROR tests/test_core.py::test_abstract_classes[global_ns_fixture_file_by_file2] ERROR tests/test_core.py::test_byte_size[global_ns_fixture_all_at_once1] - Ru... ERROR tests/test_core.py::test_byte_size[global_ns_fixture_all_at_once2] - Ru... ERROR tests/test_core.py::test_byte_size[global_ns_fixture_file_by_file1] - R... ERROR tests/test_core.py::test_byte_size[global_ns_fixture_file_by_file2] - R... ERROR tests/test_core.py::test_byte_align[global_ns_fixture_all_at_once1] - R... ERROR tests/test_core.py::test_byte_align[global_ns_fixture_all_at_once2] - R... ERROR tests/test_core.py::test_byte_align[global_ns_fixture_file_by_file1] - ... ERROR tests/test_core.py::test_byte_align[global_ns_fixture_file_by_file2] - ... ERROR tests/test_core.py::test_byte_offset[global_ns_fixture_all_at_once1] - ... ERROR tests/test_core.py::test_byte_offset[global_ns_fixture_all_at_once2] - ... ERROR tests/test_core.py::test_byte_offset[global_ns_fixture_file_by_file1] ERROR tests/test_core.py::test_byte_offset[global_ns_fixture_file_by_file2] ERROR tests/test_decl_printer.py::test_printer - RuntimeError: Error occurred... ERROR tests/test_decl_printer.py::test__str__ - RuntimeError: Error occurred ... ERROR tests/test_decl_string.py::test_member_function - RuntimeError: Error o... ERROR tests/test_decl_string.py::test_free_function - RuntimeError: Error occ... ERROR tests/test_decl_string.py::test_all_mem_and_free_funs - RuntimeError: E... ERROR tests/test_declarations.py::test_enumeration_t[global_ns_fixture_all_at_once] ERROR tests/test_declarations.py::test_enumeration_t[global_ns_fixture_file_by_file] ERROR tests/test_declarations.py::test_variables[global_ns_fixture_all_at_once] ERROR tests/test_declarations.py::test_variables[global_ns_fixture_file_by_file] ERROR tests/test_declarations.py::test_calldef_free_functions[global_ns_fixture_all_at_once] ERROR tests/test_declarations.py::test_calldef_free_functions[global_ns_fixture_file_by_file] ERROR tests/test_declarations.py::test_calldef_member_functions[global_ns_fixture_all_at_once] ERROR tests/test_declarations.py::test_calldef_member_functions[global_ns_fixture_file_by_file] ERROR tests/test_declarations.py::test_constructors_destructors[global_ns_fixture_all_at_once] ERROR tests/test_declarations.py::test_constructors_destructors[global_ns_fixture_file_by_file] ERROR tests/test_declarations.py::test_operator_symbol[global_ns_fixture_all_at_once] ERROR tests/test_declarations.py::test_operator_symbol[global_ns_fixture_file_by_file] ERROR tests/test_declarations.py::test_ellipsis[global_ns_fixture_all_at_once] ERROR tests/test_declarations.py::test_ellipsis[global_ns_fixture_file_by_file] ERROR tests/test_dependencies.py::test_variable - RuntimeError: Error occurre... ERROR tests/test_dependencies.py::test_class - RuntimeError: Error occurred w... ERROR tests/test_dependencies.py::test_calldefs - RuntimeError: Error occurre... ERROR tests/test_dependencies.py::test_coverage - RuntimeError: Error occurre... ERROR tests/test_filters_tester.py::test_regex - RuntimeError: Error occurred... ERROR tests/test_filters_tester.py::test_access_type - RuntimeError: Error oc... ERROR tests/test_filters_tester.py::test_or_matcher - RuntimeError: Error occ... ERROR tests/test_filters_tester.py::test_and_matcher - RuntimeError: Error oc... ERROR tests/test_filters_tester.py::test_not_matcher - RuntimeError: Error oc... ERROR tests/test_overrides.py::test_overrides - Exception: Unable to find out... ERROR tests/test_source_reader.py::test_compound_argument_type - RuntimeError... ERROR tests/test_type_as_exception_bug.py::test_type_as_exception - RuntimeEr... ============ 32 failed, 152 passed, 101 errors in 139.73s (0:02:19) ============ E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.13_pygccxml/build; python3.13 -m pytest tests I: pybuild base:311: cd /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build; python3.12 -m pytest tests ============================= test session starts ============================== platform linux -- Python 3.12.7, pytest-8.3.3, pluggy-1.5.0 rootdir: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build configfile: pyproject.toml plugins: typeguard-4.4.1 collected 285 items tests/test_algorithms_cache.py .. [ 0%] tests/test_argument_without_name.py . [ 1%] tests/test_array_argument.py . [ 1%] tests/test_array_bug.py ....... [ 3%] tests/test_attributes.py .. [ 4%] tests/test_better_templates_matcher.py . [ 4%] tests/test_bit_fields.py . [ 5%] tests/test_cache_enums.py . [ 5%] tests/test_cached_source_file.py F [ 5%] tests/test_call_invocation.py ...... [ 8%] tests/test_calldef_matcher.py E [ 8%] tests/test_calling_convention.py . [ 8%] tests/test_castxml_wrong_epic.py . [ 9%] tests/test_ccflags.py . [ 9%] tests/test_comments.py . [ 9%] tests/test_complex_types.py . [ 10%] tests/test_config.py . [ 10%] tests/test_const_volatile_arg.py . [ 10%] tests/test_copy_constructor.py . [ 11%] tests/test_copy_constructor2.py . [ 11%] tests/test_core.py EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE [ 30%] EEEEEEEEEEEEEEEE [ 35%] tests/test_cpp_standards.py F [ 36%] tests/test_create_decl_string.py . [ 36%] tests/test_decl_printer.py EE [ 37%] tests/test_decl_string.py EEE [ 38%] tests/test_declaration_files.py F [ 38%] tests/test_declaration_matcher.py ... [ 39%] tests/test_declarations.py EE..EEEEEEEEEEEE [ 45%] tests/test_declarations_cache.py ... [ 46%] tests/test_declarations_comparison.py FF.F [ 47%] tests/test_dependencies.py EEEE [ 49%] tests/test_deprecation.py . [ 49%] tests/test_directory_cache.py .... [ 50%] tests/test_elaborated_types.py . [ 51%] tests/test_example.py . [ 51%] tests/test_file_cache.py FF [ 52%] tests/test_filters_tester.py EEEEE [ 54%] tests/test_find_container_traits.py FFF... [ 56%] tests/test_find_noncopyable_vars.py . [ 56%] tests/test_free_operators.py . [ 56%] tests/test_function_pointer.py . [ 57%] tests/test_function_traits.py . [ 57%] tests/test_gccxml10184.py . [ 57%] tests/test_gccxml10185.py . [ 58%] tests/test_has_binary_operator_traits.py .... [ 59%] tests/test_hash.py ... [ 60%] tests/test_hierarchy_traveling.py .. [ 61%] tests/test_inline_specifier.py . [ 61%] tests/test_map_gcc5.py . [ 62%] tests/test_namespace_matcher.py ... [ 63%] tests/test_non_copyable_classes.py . [ 63%] tests/test_non_copyable_recursive.py FF [ 64%] tests/test_null_comparison.py F [ 64%] tests/test_order.py . [ 64%] tests/test_overrides.py E [ 65%] tests/test_parser_raise.py . [ 65%] tests/test_patcher.py ....... [ 68%] tests/test_pattern_parser.py F.. [ 69%] tests/test_plain_c.py . [ 69%] tests/test_project_reader_correctness.py F. [ 70%] tests/test_remove_template_defaults.py FFFFFFFFFFFFF [ 74%] tests/test_smart_pointer.py .... [ 76%] tests/test_source_reader.py E [ 76%] tests/test_start_with_declarations.py ... [ 77%] tests/test_string_traits.py .. [ 78%] tests/test_templates.py ..... [ 80%] tests/test_text_reader.py . [ 80%] tests/test_type_as_exception_bug.py E [ 80%] tests/test_type_traits.py ................................ [ 91%] tests/test_typedefs.py .. [ 92%] tests/test_unnamed_classes.py ... [ 93%] tests/test_unnamed_enums_bug.py ... [ 94%] tests/test_utils.py .. [ 95%] tests/test_va_list_tag_removal.py .. [ 96%] tests/test_variable_matcher.py .F [ 96%] tests/test_vector_traits.py ....F [ 98%] tests/test_warn_missing_include_dirs.py . [ 98%] tests/test_xml_generators.py .. [ 99%] tests/test_xmlfile_reader.py F [100%] ==================================== ERRORS ==================================== ____________________ ERROR at setup of test_calldef_matcher ____________________ @pytest.fixture def decls(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE config = autoconfig.cxx_parsers_cfg.config.clone() > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_calldef_matcher.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpjgxits3c.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpjgxits3c.h:1: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_top_parent[global_ns_fixture_all_at_once1] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpe9norip5.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpe9norip5.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_top_parent[global_ns_fixture_all_at_once2] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpnxmx8ad4.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpnxmx8ad4.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_top_parent[global_ns_fixture_file_by_file1] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_top_parent[global_ns_fixture_file_by_file2] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______ ERROR at setup of test_nss_join[global_ns_fixture_all_at_once1] ________ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpon42prco.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpon42prco.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______ ERROR at setup of test_nss_join[global_ns_fixture_all_at_once2] ________ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpowrjwhee.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpowrjwhee.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______ ERROR at setup of test_nss_join[global_ns_fixture_file_by_file1] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______ ERROR at setup of test_nss_join[global_ns_fixture_file_by_file2] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_membership[global_ns_fixture_all_at_once1] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp1uswol64.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp1uswol64.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_membership[global_ns_fixture_all_at_once2] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpx1qxexlc.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpx1qxexlc.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_membership[global_ns_fixture_file_by_file1] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_membership[global_ns_fixture_file_by_file2] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_namespace[global_ns_fixture_all_at_once1] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp73w7rsyd.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp73w7rsyd.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_namespace[global_ns_fixture_all_at_once2] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp_x87r66p.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp_x87r66p.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_namespace[global_ns_fixture_file_by_file1] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_namespace[global_ns_fixture_file_by_file2] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_functions[global_ns_fixture_all_at_once1] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp_jjb6dm4.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp_jjb6dm4.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_functions[global_ns_fixture_all_at_once2] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpnhykj80i.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpnhykj80i.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_functions[global_ns_fixture_file_by_file1] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_functions[global_ns_fixture_file_by_file2] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_variable[global_ns_fixture_all_at_once1] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpi0651k42.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpi0651k42.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_variable[global_ns_fixture_all_at_once2] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmplu_5dxgi.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmplu_5dxgi.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_variable[global_ns_fixture_file_by_file1] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_mangled_name_variable[global_ns_fixture_file_by_file2] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ____ ERROR at setup of test_class_hierarchy[global_ns_fixture_all_at_once1] ____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpg7e9hi1c.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpg7e9hi1c.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ____ ERROR at setup of test_class_hierarchy[global_ns_fixture_all_at_once2] ____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp_49pzxx5.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp_49pzxx5.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ___ ERROR at setup of test_class_hierarchy[global_ns_fixture_file_by_file1] ____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ___ ERROR at setup of test_class_hierarchy[global_ns_fixture_file_by_file2] ____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_class_join[global_ns_fixture_all_at_once1] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpeggmyrq9.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpeggmyrq9.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_class_join[global_ns_fixture_all_at_once2] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpxjtxcoju.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpxjtxcoju.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_class_join[global_ns_fixture_file_by_file1] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_class_join[global_ns_fixture_file_by_file2] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ___ ERROR at setup of test_fundamental_types[global_ns_fixture_all_at_once1] ___ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpck06age6.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpck06age6.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ___ ERROR at setup of test_fundamental_types[global_ns_fixture_all_at_once2] ___ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpb3m4vwy9.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpb3m4vwy9.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. __ ERROR at setup of test_fundamental_types[global_ns_fixture_file_by_file1] ___ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. __ ERROR at setup of test_fundamental_types[global_ns_fixture_file_by_file2] ___ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ____ ERROR at setup of test_compound_types[global_ns_fixture_all_at_once1] _____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp1meeuk6y.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp1meeuk6y.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ____ ERROR at setup of test_compound_types[global_ns_fixture_all_at_once2] _____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpdjuceim5.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpdjuceim5.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ____ ERROR at setup of test_compound_types[global_ns_fixture_file_by_file1] ____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ____ ERROR at setup of test_compound_types[global_ns_fixture_file_by_file2] ____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. __ ERROR at setup of test_free_function_type[global_ns_fixture_all_at_once1] ___ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp5inzmorl.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp5inzmorl.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. __ ERROR at setup of test_free_function_type[global_ns_fixture_all_at_once2] ___ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp7kmsrxl1.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp7kmsrxl1.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. __ ERROR at setup of test_free_function_type[global_ns_fixture_file_by_file1] __ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. __ ERROR at setup of test_free_function_type[global_ns_fixture_file_by_file2] __ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_member_function_type[global_ns_fixture_all_at_once1] __ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpk_e8w9x3.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpk_e8w9x3.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_member_variable_type[global_ns_fixture_all_at_once1] __ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpbtcma_32.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpbtcma_32.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_member_variable_type[global_ns_fixture_all_at_once2] __ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpgee0h0e5.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpgee0h0e5.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_member_variable_type[global_ns_fixture_file_by_file1] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_member_variable_type[global_ns_fixture_file_by_file2] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_overloading[global_ns_fixture_all_at_once1] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpcs4ctmf0.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpcs4ctmf0.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_overloading[global_ns_fixture_all_at_once2] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmptvie_dzp.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmptvie_dzp.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _____ ERROR at setup of test_overloading[global_ns_fixture_file_by_file1] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _____ ERROR at setup of test_overloading[global_ns_fixture_file_by_file2] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ___ ERROR at setup of test_abstract_classes[global_ns_fixture_all_at_once1] ____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp11nqhech.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp11nqhech.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ___ ERROR at setup of test_abstract_classes[global_ns_fixture_all_at_once2] ____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpyt4f4isb.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpyt4f4isb.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ___ ERROR at setup of test_abstract_classes[global_ns_fixture_file_by_file1] ___ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ___ ERROR at setup of test_abstract_classes[global_ns_fixture_file_by_file2] ___ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______ ERROR at setup of test_byte_size[global_ns_fixture_all_at_once1] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpkggfrh7e.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpkggfrh7e.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______ ERROR at setup of test_byte_size[global_ns_fixture_all_at_once2] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmptkru167r.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmptkru167r.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_byte_size[global_ns_fixture_file_by_file1] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_byte_size[global_ns_fixture_file_by_file2] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_byte_align[global_ns_fixture_all_at_once1] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpcfie5uaq.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpcfie5uaq.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_byte_align[global_ns_fixture_all_at_once2] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpu9sr91bp.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpu9sr91bp.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_byte_align[global_ns_fixture_file_by_file1] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_byte_align[global_ns_fixture_file_by_file2] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_byte_offset[global_ns_fixture_all_at_once1] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:43: in global_ns_fixture_all_at_once1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpdz4u517d.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpdz4u517d.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______ ERROR at setup of test_byte_offset[global_ns_fixture_all_at_once2] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:55: in global_ns_fixture_all_at_once2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp_dwgqgtx.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp_dwgqgtx.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _____ ERROR at setup of test_byte_offset[global_ns_fixture_file_by_file1] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:67: in global_ns_fixture_file_by_file1 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _____ ERROR at setup of test_byte_offset[global_ns_fixture_file_by_file2] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_core.py:88: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_core.py:79: in global_ns_fixture_file_by_file2 decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ________________________ ERROR at setup of test_printer ________________________ @pytest.fixture def decls(): COMPILATION_MODE = parser.COMPILATION_MODE.FILE_BY_FILE config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_decl_printer.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ________________________ ERROR at setup of test__str__ _________________________ @pytest.fixture def decls(): COMPILATION_MODE = parser.COMPILATION_MODE.FILE_BY_FILE config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_decl_printer.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ____________________ ERROR at setup of test_member_function ____________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE INIT_OPTIMIZER = True config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_decl_string.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpnjx3itxc.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpnjx3itxc.h:1: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _____________________ ERROR at setup of test_free_function _____________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE INIT_OPTIMIZER = True config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_decl_string.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp3x_o7t7f.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp3x_o7t7f.h:1: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _________________ ERROR at setup of test_all_mem_and_free_funs _________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE INIT_OPTIMIZER = True config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_decl_string.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpmlqkwifh.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpmlqkwifh.h:1: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _____ ERROR at setup of test_enumeration_t[global_ns_fixture_all_at_once] ______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:24: in global_ns_fixture_all_at_once decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp1216yeuz.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp1216yeuz.h:3: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _____ ERROR at setup of test_enumeration_t[global_ns_fixture_file_by_file] _____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:33: in global_ns_fixture_file_by_file decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______ ERROR at setup of test_variables[global_ns_fixture_all_at_once] ________ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:24: in global_ns_fixture_all_at_once decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpyrhad9cw.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpyrhad9cw.h:3: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______ ERROR at setup of test_variables[global_ns_fixture_file_by_file] _______ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:33: in global_ns_fixture_file_by_file decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_calldef_free_functions[global_ns_fixture_all_at_once] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:24: in global_ns_fixture_all_at_once decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpx4idawhg.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpx4idawhg.h:3: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_calldef_free_functions[global_ns_fixture_file_by_file] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:33: in global_ns_fixture_file_by_file decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_calldef_member_functions[global_ns_fixture_all_at_once] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:24: in global_ns_fixture_all_at_once decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpr0whsdig.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpr0whsdig.h:3: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_calldef_member_functions[global_ns_fixture_file_by_file] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:33: in global_ns_fixture_file_by_file decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_constructors_destructors[global_ns_fixture_all_at_once] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:24: in global_ns_fixture_all_at_once decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp39kpcvn6.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp39kpcvn6.h:3: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _ ERROR at setup of test_constructors_destructors[global_ns_fixture_file_by_file] _ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:33: in global_ns_fixture_file_by_file decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ____ ERROR at setup of test_operator_symbol[global_ns_fixture_all_at_once] _____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:24: in global_ns_fixture_all_at_once decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpaph44ltc.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpaph44ltc.h:3: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ____ ERROR at setup of test_operator_symbol[global_ns_fixture_file_by_file] ____ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:33: in global_ns_fixture_file_by_file decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ________ ERROR at setup of test_ellipsis[global_ns_fixture_all_at_once] ________ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:24: in global_ns_fixture_all_at_once decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpron3x4r4.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpron3x4r4.h:3: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______ ERROR at setup of test_ellipsis[global_ns_fixture_file_by_file] ________ request = > @pytest.fixture def global_ns(request): > return request.getfixturevalue(request.param) tests/test_declarations.py:40: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python3/dist-packages/_pytest/fixtures.py:532: in getfixturevalue fixturedef = self._get_active_fixturedef(argname) /usr/lib/python3/dist-packages/_pytest/fixtures.py:617: in _get_active_fixturedef fixturedef.execute(request=subrequest) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1091: in execute result = ihook.pytest_fixture_setup(fixturedef=self, request=request) /usr/lib/python3/dist-packages/pluggy/_hooks.py:513: in __call__ return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult) /usr/lib/python3/dist-packages/pluggy/_manager.py:120: in _hookexec return self._inner_hookexec(hook_name, methods, kwargs, firstresult) /usr/lib/python3/dist-packages/_pytest/setuponly.py:36: in pytest_fixture_setup return (yield) /usr/lib/python3/dist-packages/_pytest/fixtures.py:1140: in pytest_fixture_setup result = call_fixture_func(fixturefunc, request, kwargs) /usr/lib/python3/dist-packages/_pytest/fixtures.py:898: in call_fixture_func fixture_result = fixturefunc(**kwargs) tests/test_declarations.py:33: in global_ns_fixture_file_by_file decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______________________ ERROR at setup of test_variable ________________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE INIT_OPTIMIZER = True config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_dependencies.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpcn857_sh.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpcn857_sh.h:1: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/include_all.hpp:9: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_cache.hpp:9: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) In file included from /tmp/tmpcn857_sh.h:1: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/include_all.hpp:22: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 2 errors generated. _________________________ ERROR at setup of test_class _________________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE INIT_OPTIMIZER = True config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_dependencies.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp_egrt5hx.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp_egrt5hx.h:1: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/include_all.hpp:9: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_cache.hpp:9: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) In file included from /tmp/tmp_egrt5hx.h:1: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/include_all.hpp:22: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 2 errors generated. _______________________ ERROR at setup of test_calldefs ________________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE INIT_OPTIMIZER = True config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_dependencies.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmptuulva7n.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmptuulva7n.h:1: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/include_all.hpp:9: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_cache.hpp:9: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) In file included from /tmp/tmptuulva7n.h:1: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/include_all.hpp:22: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 2 errors generated. _______________________ ERROR at setup of test_coverage ________________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE INIT_OPTIMIZER = True config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_dependencies.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmprrb3kqj0.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmprrb3kqj0.h:1: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/include_all.hpp:9: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_cache.hpp:9: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) In file included from /tmp/tmprrb3kqj0.h:1: In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/include_all.hpp:22: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 2 errors generated. _________________________ ERROR at setup of test_regex _________________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE config = autoconfig.cxx_parsers_cfg.config.clone() > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_filters_tester.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpz1pcyc91.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpz1pcyc91.h:1: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______________________ ERROR at setup of test_access_type ______________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE config = autoconfig.cxx_parsers_cfg.config.clone() > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_filters_tester.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpbnyqwxk5.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpbnyqwxk5.h:1: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______________________ ERROR at setup of test_or_matcher _______________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE config = autoconfig.cxx_parsers_cfg.config.clone() > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_filters_tester.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpus5zjmck.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpus5zjmck.h:1: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______________________ ERROR at setup of test_and_matcher ______________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE config = autoconfig.cxx_parsers_cfg.config.clone() > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_filters_tester.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpoqz16z5a.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpoqz16z5a.h:1: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______________________ ERROR at setup of test_not_matcher ______________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE config = autoconfig.cxx_parsers_cfg.config.clone() > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_filters_tester.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpjm_p5cgs.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpjm_p5cgs.h:1: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______________________ ERROR at setup of test_overrides _______________________ @pytest.fixture def global_ns_fixture(): config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 config.cflags = "-std=c++11" > decls = parser.parse(["test_overrides.hpp"], config) tests/test_overrides.py:19: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:335: in __parse_file_by_file self._relink_declarated_types(leaved_classes, types) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = leaved_classes = {(('/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/test_overrides.hpp', 8), ...cator_traits>')): , ...} declarated_types = [, , , ...] def _relink_declarated_types(self, leaved_classes, declarated_types): mangled_leaved_classes = {} for leaved_class in leaved_classes.values(): mangled_leaved_classes[ self._create_name_key(leaved_class)] = leaved_class for decl_wrapper_type in declarated_types: # it is possible, that cache contains reference to dropped class # We need to clear it decl_wrapper_type.cache.reset() if isinstance( decl_wrapper_type.declaration, pygccxml.declarations.class_t): key = self._create_key(decl_wrapper_type.declaration) if key in leaved_classes: decl_wrapper_type.declaration = leaved_classes[key] else: name = decl_wrapper_type.declaration._name if name == "": # Happens with gcc5, castxml + std=c++11 # See issue #45 continue if name.startswith("__vmi_class_type_info_pseudo"): continue if name == "rebind, void *> >": continue msg = [] msg.append( "Unable to find out actual class definition: '%s'." % decl_wrapper_type.declaration._name) msg.append(( "Class definition has been changed from one " + "compilation to an other.")) msg.append(( "Why did it happen to me? Here is a short list " + "of reasons: ")) msg.append(( " 1. There are different preprocessor " + "definitions applied on same file during compilation")) msg.append(" 2. Bug in pygccxml.") > raise Exception(os.linesep.join(msg)) E Exception: Unable to find out actual class definition: 'type'. E Class definition has been changed from one compilation to an other. E Why did it happen to me? Here is a short list of reasons: E 1. There are different preprocessor definitions applied on same file during compilation E 2. Bug in pygccxml. pygccxml/parser/project_reader.py:566: Exception ________________ ERROR at setup of test_compound_argument_type _________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE config = autoconfig.cxx_parsers_cfg.config.clone() > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_source_reader.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpc0datfbs.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpc0datfbs.h:1: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_calldef.hpp:25:27: note: use 'noexcept(false)' instead 25 | void calldef_with_throw() throw( some_exception_t, other_exception_t ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ___________________ ERROR at setup of test_type_as_exception ___________________ @pytest.fixture def global_ns(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE config = autoconfig.cxx_parsers_cfg.config.clone() > decls = parser.parse(TEST_FILES, config, COMPILATION_MODE) tests/test_type_as_exception_bug.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmp74xp81yy.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp74xp81yy.h:1: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/type_as_exception_bug.h:12:26: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 12 | virtual void buggy() throw( ExpressionError& ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/type_as_exception_bug.h:12:26: note: use 'noexcept(false)' instead 12 | virtual void buggy() throw( ExpressionError& ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. =================================== FAILURES =================================== ___________________________ test_cached_source_file ____________________________ def test_cached_source_file(): config = autoconfig.cxx_parsers_cfg.config.clone() fconfig = parser.file_configuration_t( data=TEST_FILES[0], content_type=parser.CONTENT_TYPE.CACHED_SOURCE_FILE) try: prj_reader = parser.project_reader_t(config) > prj_reader.read_files( [fconfig], compilation_mode=parser.COMPILATION_MODE.FILE_BY_FILE) tests/test_cached_source_file.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:307: in __parse_file_by_file reader.create_xml_file(header, prj_file.cached_source_file) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = 'core_types.hpp', destination = 'core_types.hpp.xml' def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ----------------------------- Captured stderr call ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______________________________ test_cpp_standards ______________________________ def test_cpp_standards(): """ Test different compilation standards by setting cflags. """ config = autoconfig.cxx_parsers_cfg.config.clone() > parser.parse(["cpp_standards.hpp"], config) tests/test_cpp_standards.py:23: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:335: in __parse_file_by_file self._relink_declarated_types(leaved_classes, types) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = leaved_classes = {(('/usr/include/c++/14/bits/alloc_traits.h', 57), ('::', 'std', '__allocator_traits_base')): >')): , ...} declarated_types = [, , , ...] def _relink_declarated_types(self, leaved_classes, declarated_types): mangled_leaved_classes = {} for leaved_class in leaved_classes.values(): mangled_leaved_classes[ self._create_name_key(leaved_class)] = leaved_class for decl_wrapper_type in declarated_types: # it is possible, that cache contains reference to dropped class # We need to clear it decl_wrapper_type.cache.reset() if isinstance( decl_wrapper_type.declaration, pygccxml.declarations.class_t): key = self._create_key(decl_wrapper_type.declaration) if key in leaved_classes: decl_wrapper_type.declaration = leaved_classes[key] else: name = decl_wrapper_type.declaration._name if name == "": # Happens with gcc5, castxml + std=c++11 # See issue #45 continue if name.startswith("__vmi_class_type_info_pseudo"): continue if name == "rebind, void *> >": continue msg = [] msg.append( "Unable to find out actual class definition: '%s'." % decl_wrapper_type.declaration._name) msg.append(( "Class definition has been changed from one " + "compilation to an other.")) msg.append(( "Why did it happen to me? Here is a short list " + "of reasons: ")) msg.append(( " 1. There are different preprocessor " + "definitions applied on same file during compilation")) msg.append(" 2. Bug in pygccxml.") > raise Exception(os.linesep.join(msg)) E Exception: Unable to find out actual class definition: 'type'. E Class definition has been changed from one compilation to an other. E Why did it happen to me? Here is a short list of reasons: E 1. There are different preprocessor definitions applied on same file during compilation E 2. Bug in pygccxml. pygccxml/parser/project_reader.py:566: Exception ____________________________ test_declaration_files ____________________________ def test_declaration_files(): config = autoconfig.cxx_parsers_cfg.config.clone() prj_reader = parser.project_reader_t(config) > decls = prj_reader.read_files( TEST_FILES, compilation_mode=parser.COMPILATION_MODE.ALL_AT_ONCE) tests/test_declaration_files.py:34: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/project_reader.py:255: in read_files return self.__parse_all_at_once(files) pygccxml/parser/project_reader.py:356: in __parse_all_at_once return self.read_string(''.join(header_content)) pygccxml/parser/project_reader.py:369: in read_string decls = reader.read_string(content) pygccxml/parser/source_reader.py:377: in read_string decls = self.read_file(header_file) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/tmp/tmpszvcpmhr.h', destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ----------------------------- Captured stderr call ----------------------------- In file included from /tmp/tmpszvcpmhr.h:6: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. __________________ test_comparison_declaration_by_declaration __________________ def test_comparison_declaration_by_declaration(): config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > parsed = parser.parse(TEST_FILES, config) tests/test_declarations_comparison.py:21: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_comparison.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ----------------------------- Captured stderr call ----------------------------- In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_comparison.hpp:14: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _________________________ test_comparison_from_reverse _________________________ def test_comparison_from_reverse(): config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > parsed = parser.parse(TEST_FILES, config) tests/test_declarations_comparison.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_comparison.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ----------------------------- Captured stderr call ----------------------------- In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_comparison.hpp:14: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. __________________ test_same_declarations_different_intances ___________________ def test_same_declarations_different_intances(): config = autoconfig.cxx_parsers_cfg.config.clone() config.castxml_epic_version = 1 > parsed = parser.parse(TEST_FILES, config) tests/test_declarations_comparison.py:71: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_comparison.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ----------------------------- Captured stderr call ----------------------------- In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/declarations_comparison.hpp:14: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. ______________________________ test_update_cache _______________________________ def test_update_cache(): reset_cache() config = autoconfig.cxx_parsers_cfg.config.clone() # Save the content of the header file for later with open(TEST_FILE, "r") as old_header: content = old_header.read() > declarations = parser.parse([TEST_FILE], config) tests/test_file_cache.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_cache.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ----------------------------- Captured stderr call ----------------------------- In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_cache.hpp:9: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _____________________________ test_cache_from_file _____________________________ def test_cache_from_file(): reset_cache() config = autoconfig.cxx_parsers_cfg.config.clone() > declarations = parser.parse([TEST_FILE], config) tests/test_file_cache.py:60: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_cache.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ----------------------------- Captured stderr call ----------------------------- In file included from /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_cache.hpp:9: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _______________________________ test_find_traits _______________________________ global_ns = def test_find_traits(global_ns): > __cmp_traits( global_ns, "v_int", declarations.vector_traits, "vector< int >" ) tests/test_find_container_traits.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ global_ns = typedef = expected = partial_name = 'vector< int >', key_type = None def __cmp_traits(global_ns, typedef, expected, partial_name, key_type=None): if isinstance(typedef, str): typedef = global_ns.typedef(typedef) traits = declarations.find_container_traits(typedef) assert traits is not None assert traits == expected cls = declarations.remove_declarated(typedef) assert declarations.find_container_traits(cls) == expected > assert cls.partial_name == partial_name E AssertionError: assert 'vector' == 'vector< int >' E E - vector< int > E ? - - E + vector tests/test_find_container_traits.py:34: AssertionError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmp78zx3ka7.h:2: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/indexing_suites2.hpp:54:5: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result] 54 | vec.at(index); | ^~~~~~ ~~~~~ 1 warning generated. ________________________________ test_multimap _________________________________ global_ns = def test_multimap(global_ns): m = global_ns.class_(lambda decl: decl.name.startswith("multimap")) declarations.find_container_traits(m) > assert m.partial_name == "multimap< int, int >" E AssertionError: assert 'multimap' == 'multimap< int, int >' E E - multimap< int, int > E ? - - E + multimap tests/test_find_container_traits.py:132: AssertionError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmphh4gngtr.h:2: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/indexing_suites2.hpp:54:5: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result] 54 | vec.at(index); | ^~~~~~ ~~~~~ 1 warning generated. _________________________ test_recursive_partial_name __________________________ global_ns = def test_recursive_partial_name(global_ns): f1 = global_ns.free_function("f1") t1 = declarations.class_traits.get_declaration(f1.arguments[0].decl_type) > assert "type< std::set< std::vector< int > > >" == t1.partial_name E AssertionError: assert 'type< std::s...or< int > > >' == 'type< std::s...ector> >' E E - type< std::set> > E + type< std::set< std::vector< int > > > E ? + + + + tests/test_find_container_traits.py:138: AssertionError ---------------------------- Captured stderr setup ----------------------------- In file included from /tmp/tmpd3jyvypg.h:2: /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/indexing_suites2.hpp:54:5: warning: ignoring return value of function declared with 'nodiscard' attribute [-Wunused-result] 54 | vec.at(index); | ^~~~~~ ~~~~~ 1 warning generated. _____________________ test_infinite_recursion_base_classes _____________________ def test_infinite_recursion_base_classes(): """ Test find_noncopyable_vars See #71 find_noncopyable_vars was throwing: RuntimeError: maximum recursion depth exceeded while calling a Python object """ config = autoconfig.cxx_parsers_cfg.config.clone() > decls = parser.parse(TEST_FILES, config) tests/test_non_copyable_recursive.py:25: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:335: in __parse_file_by_file self._relink_declarated_types(leaved_classes, types) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = leaved_classes = {(('/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/test_non_copyable_recursi...:', 'Test2', 'FileStreamDataStream')): , ...} declarated_types = [, , , ...] def _relink_declarated_types(self, leaved_classes, declarated_types): mangled_leaved_classes = {} for leaved_class in leaved_classes.values(): mangled_leaved_classes[ self._create_name_key(leaved_class)] = leaved_class for decl_wrapper_type in declarated_types: # it is possible, that cache contains reference to dropped class # We need to clear it decl_wrapper_type.cache.reset() if isinstance( decl_wrapper_type.declaration, pygccxml.declarations.class_t): key = self._create_key(decl_wrapper_type.declaration) if key in leaved_classes: decl_wrapper_type.declaration = leaved_classes[key] else: name = decl_wrapper_type.declaration._name if name == "": # Happens with gcc5, castxml + std=c++11 # See issue #45 continue if name.startswith("__vmi_class_type_info_pseudo"): continue if name == "rebind, void *> >": continue msg = [] msg.append( "Unable to find out actual class definition: '%s'." % decl_wrapper_type.declaration._name) msg.append(( "Class definition has been changed from one " + "compilation to an other.")) msg.append(( "Why did it happen to me? Here is a short list " + "of reasons: ")) msg.append(( " 1. There are different preprocessor " + "definitions applied on same file during compilation")) msg.append(" 2. Bug in pygccxml.") > raise Exception(os.linesep.join(msg)) E Exception: Unable to find out actual class definition: 'type'. E Class definition has been changed from one compilation to an other. E Why did it happen to me? Here is a short list of reasons: E 1. There are different preprocessor definitions applied on same file during compilation E 2. Bug in pygccxml. pygccxml/parser/project_reader.py:566: Exception _______________________ test_infinite_recursion_sstream ________________________ def test_infinite_recursion_sstream(): """ Test find_noncopyable_vars See #71 find_noncopyable_vars was throwing: RuntimeError: maximum recursion depth exceeded while calling a Python object """ config = autoconfig.cxx_parsers_cfg.config.clone() > decls = parser.parse(TEST_FILES, config) tests/test_non_copyable_recursive.py:52: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:335: in __parse_file_by_file self._relink_declarated_types(leaved_classes, types) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = leaved_classes = {(('/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/test_non_copyable_recursi...:', 'Test2', 'FileStreamDataStream')): , ...} declarated_types = [, , , ...] def _relink_declarated_types(self, leaved_classes, declarated_types): mangled_leaved_classes = {} for leaved_class in leaved_classes.values(): mangled_leaved_classes[ self._create_name_key(leaved_class)] = leaved_class for decl_wrapper_type in declarated_types: # it is possible, that cache contains reference to dropped class # We need to clear it decl_wrapper_type.cache.reset() if isinstance( decl_wrapper_type.declaration, pygccxml.declarations.class_t): key = self._create_key(decl_wrapper_type.declaration) if key in leaved_classes: decl_wrapper_type.declaration = leaved_classes[key] else: name = decl_wrapper_type.declaration._name if name == "": # Happens with gcc5, castxml + std=c++11 # See issue #45 continue if name.startswith("__vmi_class_type_info_pseudo"): continue if name == "rebind, void *> >": continue msg = [] msg.append( "Unable to find out actual class definition: '%s'." % decl_wrapper_type.declaration._name) msg.append(( "Class definition has been changed from one " + "compilation to an other.")) msg.append(( "Why did it happen to me? Here is a short list " + "of reasons: ")) msg.append(( " 1. There are different preprocessor " + "definitions applied on same file during compilation")) msg.append(" 2. Bug in pygccxml.") > raise Exception(os.linesep.join(msg)) E Exception: Unable to find out actual class definition: 'type'. E Class definition has been changed from one compilation to an other. E Why did it happen to me? Here is a short list of reasons: E 1. There are different preprocessor definitions applied on same file during compilation E 2. Bug in pygccxml. pygccxml/parser/project_reader.py:566: Exception ________________________ test_argument_null_comparison _________________________ def test_argument_null_comparison(): """ Test for None comparisons with default arguments """ config = autoconfig.cxx_parsers_cfg.config.clone() > decls = parser.parse(TEST_FILES, config) tests/test_null_comparison.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:335: in __parse_file_by_file self._relink_declarated_types(leaved_classes, types) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = leaved_classes = {(('/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/null_comparison.hpp', 5),...r_traits>')): , ...} declarated_types = [, , , ...] def _relink_declarated_types(self, leaved_classes, declarated_types): mangled_leaved_classes = {} for leaved_class in leaved_classes.values(): mangled_leaved_classes[ self._create_name_key(leaved_class)] = leaved_class for decl_wrapper_type in declarated_types: # it is possible, that cache contains reference to dropped class # We need to clear it decl_wrapper_type.cache.reset() if isinstance( decl_wrapper_type.declaration, pygccxml.declarations.class_t): key = self._create_key(decl_wrapper_type.declaration) if key in leaved_classes: decl_wrapper_type.declaration = leaved_classes[key] else: name = decl_wrapper_type.declaration._name if name == "": # Happens with gcc5, castxml + std=c++11 # See issue #45 continue if name.startswith("__vmi_class_type_info_pseudo"): continue if name == "rebind, void *> >": continue msg = [] msg.append( "Unable to find out actual class definition: '%s'." % decl_wrapper_type.declaration._name) msg.append(( "Class definition has been changed from one " + "compilation to an other.")) msg.append(( "Why did it happen to me? Here is a short list " + "of reasons: ")) msg.append(( " 1. There are different preprocessor " + "definitions applied on same file during compilation")) msg.append(" 2. Bug in pygccxml.") > raise Exception(os.linesep.join(msg)) E Exception: Unable to find out actual class definition: 'type'. E Class definition has been changed from one compilation to an other. E Why did it happen to me? Here is a short list of reasons: E 1. There are different preprocessor definitions applied on same file during compilation E 2. Bug in pygccxml. pygccxml/parser/project_reader.py:566: Exception ________________________ test_template_split_std_vector ________________________ global_ns = def test_template_split_std_vector(global_ns): """ Demonstrate error in pattern parser, see #60 """ config = autoconfig.cxx_parsers_cfg.config.clone() config.cflags = "-std=c++11" > decls = parser.parse(TEST_FILES, config) tests/test_pattern_parser.py:38: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/__init__.py:51: in parse declarations = parser.read_files(files, compilation_mode) pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:335: in __parse_file_by_file self._relink_declarated_types(leaved_classes, types) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = leaved_classes = {(('/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/test_pattern_parser.hpp',...const int &), std::vector>')): , ...} declarated_types = [, , , ...] def _relink_declarated_types(self, leaved_classes, declarated_types): mangled_leaved_classes = {} for leaved_class in leaved_classes.values(): mangled_leaved_classes[ self._create_name_key(leaved_class)] = leaved_class for decl_wrapper_type in declarated_types: # it is possible, that cache contains reference to dropped class # We need to clear it decl_wrapper_type.cache.reset() if isinstance( decl_wrapper_type.declaration, pygccxml.declarations.class_t): key = self._create_key(decl_wrapper_type.declaration) if key in leaved_classes: decl_wrapper_type.declaration = leaved_classes[key] else: name = decl_wrapper_type.declaration._name if name == "": # Happens with gcc5, castxml + std=c++11 # See issue #45 continue if name.startswith("__vmi_class_type_info_pseudo"): continue if name == "rebind, void *> >": continue msg = [] msg.append( "Unable to find out actual class definition: '%s'." % decl_wrapper_type.declaration._name) msg.append(( "Class definition has been changed from one " + "compilation to an other.")) msg.append(( "Why did it happen to me? Here is a short list " + "of reasons: ")) msg.append(( " 1. There are different preprocessor " + "definitions applied on same file during compilation")) msg.append(" 2. Bug in pygccxml.") > raise Exception(os.linesep.join(msg)) E Exception: Unable to find out actual class definition: 'type'. E Class definition has been changed from one compilation to an other. E Why did it happen to me? Here is a short list of reasons: E 1. There are different preprocessor definitions applied on same file during compilation E 2. Bug in pygccxml. pygccxml/parser/project_reader.py:566: Exception _______________________________ test_correctness _______________________________ def test_correctness(): for src in TEST_FILES1: > __test_correctness_impl(src) tests/test_project_reader_correctness.py:37: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_project_reader_correctness.py:43: in __test_correctness_impl prj_decls = prj_reader.read_files( pygccxml/parser/project_reader.py:264: in read_files return self.__parse_file_by_file(files) pygccxml/parser/project_reader.py:292: in __parse_file_by_file decls = reader.read_file(header) pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ----------------------------- Captured stderr call ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. _________________________________ test_vector __________________________________ global_ns = def test_vector(global_ns): v_int = global_ns.typedef('v_int') v_traits = declarations.vector_traits > assert 'vector< int >' == v_traits.remove_defaults(v_int) E AssertionError: assert 'vector< int >' == 'vector' E E - vector E + vector< int > E ? + + tests/test_remove_template_defaults.py:33: AssertionError __________________________________ test_list ___________________________________ global_ns = def test_list(global_ns): l_int = global_ns.typedef('l_int') l_traits = declarations.list_traits > assert 'list< int >' == l_traits.remove_defaults(l_int) E AssertionError: assert 'list< int >' == 'list' E E - list E + list< int > E ? + + tests/test_remove_template_defaults.py:45: AssertionError __________________________________ test_deque __________________________________ global_ns = def test_deque(global_ns): d_v_int = global_ns.typedef('d_v_int') d_v_traits = declarations.deque_traits > assert 'deque< std::vector< int > >' == \ d_v_traits.remove_defaults(d_v_int) E AssertionError: assert 'deque< std::vector< int > >' == 'deque>' E E - deque> E + deque< std::vector< int > > E ? + + + + tests/test_remove_template_defaults.py:53: AssertionError __________________________________ test_queue __________________________________ global_ns = def test_queue(global_ns): q_int = global_ns.typedef('q_int') q_traits = declarations.queue_traits > assert 'queue< int >' == q_traits.remove_defaults(q_int) E AssertionError: assert 'queue< int >' == 'queue' E E - queue E + queue< int > E ? + + tests/test_remove_template_defaults.py:63: AssertionError _____________________________ test_priority_queue ______________________________ global_ns = def test_priority_queue(global_ns): pq_int = global_ns.typedef('pq_int') pq_traits = declarations.priority_queue_traits > assert 'priority_queue< int >' == pq_traits.remove_defaults(pq_int) E AssertionError: assert 'priority_queue< int >' == 'priority_queue' E E - priority_queue E + priority_queue< int > E ? + + tests/test_remove_template_defaults.py:71: AssertionError ___________________________________ test_set ___________________________________ global_ns = def test_set(global_ns): s_v_int = global_ns.typedef('s_v_int') > assert 'set< std::vector< int > >' == \ declarations.set_traits.remove_defaults(s_v_int) E AssertionError: assert 'set< std::vector< int > >' == 'set>' E E - set> E + set< std::vector< int > > E ? + + + + tests/test_remove_template_defaults.py:79: AssertionError ________________________________ test_multiset _________________________________ global_ns = def test_multiset(global_ns): ms_v_int = global_ns.typedef('ms_v_int') ms_v_traits = declarations.multiset_traits > assert 'multiset< std::vector< int > >' == \ ms_v_traits.remove_defaults(ms_v_int) E AssertionError: assert 'multiset< st...ctor< int > >' == 'multiset>' E E - multiset> E + multiset< std::vector< int > > E ? + + + + tests/test_remove_template_defaults.py:89: AssertionError ___________________________________ test_map ___________________________________ global_ns = def test_map(global_ns): m_i2d = global_ns.typedef('m_i2d') > assert 'map< int, double >' == \ declarations.map_traits.remove_defaults(m_i2d) E AssertionError: assert 'map< int, double >' == 'map' E E - map E + map< int, double > E ? + + tests/test_remove_template_defaults.py:98: AssertionError ________________________________ test_multimap _________________________________ global_ns = def test_multimap(global_ns): mm_i2d = global_ns.typedef('mm_i2d') mm_traits = declarations.multimap_traits > assert 'multimap< int, double >' == mm_traits.remove_defaults(mm_i2d) E AssertionError: assert 'multimap< int, double >' == 'multimap' E E - multimap E + multimap< int, double > E ? + + tests/test_remove_template_defaults.py:111: AssertionError ________________________________ test_hash_set _________________________________ global_ns = def test_hash_set(global_ns): hs_v_int = global_ns.typedef('hs_v_int') hs_traits = declarations.unordered_set_traits name = 'unordered_set' > assert (name + '< std::vector< int > >') == \ hs_traits.remove_defaults(hs_v_int), \ hs_traits.remove_defaults(hs_v_int) E AssertionError: unordered_set> E assert 'unordered_se...ctor< int > >' == 'unordered_se...:vector>' E E - unordered_set> E + unordered_set< std::vector< int > > E ? + + + + tests/test_remove_template_defaults.py:125: AssertionError ______________________________ test_hash_multiset ______________________________ global_ns = def test_hash_multiset(global_ns): mhs_v_int = global_ns.typedef('mhs_v_int') mhs_traits = declarations.unordered_multiset_traits name = 'unordered_multiset' > assert (name + '< std::vector< int > >') == \ mhs_traits.remove_defaults(mhs_v_int) E AssertionError: assert 'unordered_mu...ctor< int > >' == 'unordered_mu...:vector>' E E - unordered_multiset> E + unordered_multiset< std::vector< int > > E ? + + + + tests/test_remove_template_defaults.py:137: AssertionError ________________________________ test_hash_map _________________________________ global_ns = def test_hash_map(global_ns): hm_i2d = global_ns.typedef('hm_i2d') hm_traits = declarations.unordered_map_traits name = 'unordered_map' > assert (name + '< int, double >') == \ hm_traits.remove_defaults(hm_i2d) E AssertionError: assert 'unordered_map< int, double >' == 'unordered_map' E E - unordered_map E + unordered_map< int, double > E ? + + tests/test_remove_template_defaults.py:148: AssertionError ______________________________ test_hash_multimap ______________________________ global_ns = def test_hash_multimap(global_ns): hmm_i2d = global_ns.typedef('hmm_i2d') hmm_traits = declarations.unordered_multimap_traits name = 'unordered_multimap' > assert (name + '< int, double >') == \ hmm_traits.remove_defaults(hmm_i2d) E AssertionError: assert 'unordered_mu...int, double >' == 'unordered_mu...' E E - unordered_multimap E + unordered_multimap< int, double > E ? + + tests/test_remove_template_defaults.py:159: AssertionError _______________________________ test_no_defaults _______________________________ def test_no_defaults(): COMPILATION_MODE = parser.COMPILATION_MODE.ALL_AT_ONCE config = autoconfig.cxx_parsers_cfg.config.clone() decls = parser.parse(TEST_FILES2, config, COMPILATION_MODE) global_ns = declarations.get_global_namespace(decls) global_ns.decls(lambda decl: 'vector<' in decl.name) global_ns.decl('vector< _0_ >') global_ns.class_('vector< std::vector< int > >') > global_ns.class_('vector< std::string >') tests/test_variable_matcher.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/declarations/scopedef.py:546: in class_ self._find_single( pygccxml/declarations/scopedef.py:464: in _find_single found = matcher.get_single(decl_matcher, decls, False) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ decl_matcher = decls = [, , , ...] recursive = False @staticmethod def get_single(decl_matcher, decls, recursive=True): """ Returns a reference to declaration, that match `decl_matcher` defined criteria. If a unique declaration could not be found, an appropriate exception will be raised. :param decl_matcher: Python callable object, that takes one argument - reference to a declaration :param decls: the search scope, :class:declaration_t object or :class:declaration_t objects list t :param recursive: boolean, if True, the method will run `decl_matcher` on the internal declarations too """ answer = matcher.find(decl_matcher, decls, recursive) if len(answer) == 1: return answer[0] elif not answer: > raise runtime_errors.declaration_not_found_t(decl_matcher) E pygccxml.declarations.runtime_errors.declaration_not_found_t: Unable to find declaration. Matcher: [(decl type==class_t) and (name==vector< std::string >)] pygccxml/declarations/scopedef.py:90: declaration_not_found_t ______________________________ test_element_type _______________________________ global_ns = def test_element_type(global_ns): do_nothing = global_ns.free_function('do_nothing') print(do_nothing) v = declarations.remove_reference( declarations.remove_declarated( do_nothing.arguments[0].decl_type)) print(v, type(v)) > declarations.vector_traits.element_type(v) tests/test_vector_traits.py:90: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/declarations/container_traits.py:490: in element_type return self.__find_xxx_type( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = type_ = xxx_index = 0, xxx_typedef = 'value_type' cache_property_name = 'container_element_type' def __find_xxx_type( self, type_, xxx_index, xxx_typedef, cache_property_name): cls_declaration = self.class_declaration(type_) result = getattr(cls_declaration.cache, cache_property_name) if not result: if isinstance(cls_declaration, class_declaration.class_t): xxx_type = cls_declaration.typedef( xxx_typedef, recursive=False).decl_type result = type_traits.remove_declarated(xxx_type) else: xxx_type_str = templates.args(cls_declaration.name)[xxx_index] result = traits_impl_details.impl_details.find_value_type( cls_declaration.top_parent, xxx_type_str) if None is result: > raise RuntimeError( "Unable to find out %s '%s' key\\value type." % (self.name(), cls_declaration.decl_string)) E RuntimeError: Unable to find out vector '::std::vector>' key\value type. pygccxml/declarations/container_traits.py:482: RuntimeError ----------------------------- Captured stdout call ----------------------------- void do_nothing(std::vector> & arg0) [free function] std::vector> ______________________________ test_read_xml_file ______________________________ def test_read_xml_file(): config = autoconfig.cxx_parsers_cfg.config.clone() src_reader = parser.source_reader_t(config) > src_decls = src_reader.read_file(TEST_FILE) tests/test_xmlfile_reader.py:20: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pygccxml/parser/source_reader.py:303: in read_file return self.read_cpp_source_file(source_file) pygccxml/parser/source_reader.py:322: in read_cpp_source_file xml_file = self.create_xml_file(ffname) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = source_file = '/build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp' destination = None def create_xml_file(self, source_file, destination=None): """ This method will generate a xml file using an external tool. The method will return the file path of the generated xml file. :param source_file: path to the source file that should be parsed. :type source_file: str :param destination: if given, will be used as target file path for the xml generator. :type destination: str :rtype: path to xml file. """ xml_file = destination # If file specified, remove it to start else create new file name if xml_file: utils.remove_file_no_raise(xml_file, self.__config) else: xml_file = utils.create_temp_file_name(suffix='.xml') ffname = source_file if not os.path.isabs(ffname): ffname = self.__file_full_name(source_file) command_line = self.__create_command_line(ffname, xml_file) process = subprocess.Popen( args=command_line, shell=True, stdout=subprocess.PIPE) try: results = [] while process.poll() is None: line = process.stdout.readline() if line.strip(): results.append(line.rstrip()) for line in process.stdout.readlines(): if line.strip(): results.append(line.rstrip()) exit_status = process.returncode msg = os.linesep.join([str(s) for s in results]) if self.__config.ignore_gccxml_output: if not os.path.isfile(xml_file): raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + ": %s status:%s" % (msg, exit_status)) else: if msg or exit_status or not \ os.path.isfile(xml_file): if not os.path.isfile(xml_file): > raise RuntimeError( "Error occurred while running " + self.__config.xml_generator.upper() + " xml file does not exist") E RuntimeError: Error occurred while running CASTXML xml file does not exist pygccxml/parser/source_reader.py:263: RuntimeError ----------------------------- Captured stderr call ----------------------------- /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: error: ISO C++17 does not allow dynamic exception specifications [-Wdynamic-exception-spec] 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build/tests/data/core_types.hpp:57:38: note: use 'noexcept(false)' instead 57 | int some_function( double hi) const throw( exception ){ | ^~~~~~~~~~~~~~~~~~ | noexcept(false) 1 error generated. =========================== short test summary info ============================ FAILED tests/test_cached_source_file.py::test_cached_source_file - RuntimeErr... FAILED tests/test_cpp_standards.py::test_cpp_standards - Exception: Unable to... FAILED tests/test_declaration_files.py::test_declaration_files - RuntimeError... FAILED tests/test_declarations_comparison.py::test_comparison_declaration_by_declaration FAILED tests/test_declarations_comparison.py::test_comparison_from_reverse - ... FAILED tests/test_declarations_comparison.py::test_same_declarations_different_intances FAILED tests/test_file_cache.py::test_update_cache - RuntimeError: Error occu... FAILED tests/test_file_cache.py::test_cache_from_file - RuntimeError: Error o... FAILED tests/test_find_container_traits.py::test_find_traits - AssertionError... FAILED tests/test_find_container_traits.py::test_multimap - AssertionError: a... FAILED tests/test_find_container_traits.py::test_recursive_partial_name - Ass... FAILED tests/test_non_copyable_recursive.py::test_infinite_recursion_base_classes FAILED tests/test_non_copyable_recursive.py::test_infinite_recursion_sstream FAILED tests/test_null_comparison.py::test_argument_null_comparison - Excepti... FAILED tests/test_pattern_parser.py::test_template_split_std_vector - Excepti... FAILED tests/test_project_reader_correctness.py::test_correctness - RuntimeEr... FAILED tests/test_remove_template_defaults.py::test_vector - AssertionError: ... FAILED tests/test_remove_template_defaults.py::test_list - AssertionError: as... FAILED tests/test_remove_template_defaults.py::test_deque - AssertionError: a... FAILED tests/test_remove_template_defaults.py::test_queue - AssertionError: a... FAILED tests/test_remove_template_defaults.py::test_priority_queue - Assertio... FAILED tests/test_remove_template_defaults.py::test_set - AssertionError: ass... FAILED tests/test_remove_template_defaults.py::test_multiset - AssertionError... FAILED tests/test_remove_template_defaults.py::test_map - AssertionError: ass... FAILED tests/test_remove_template_defaults.py::test_multimap - AssertionError... FAILED tests/test_remove_template_defaults.py::test_hash_set - AssertionError... FAILED tests/test_remove_template_defaults.py::test_hash_multiset - Assertion... FAILED tests/test_remove_template_defaults.py::test_hash_map - AssertionError... FAILED tests/test_remove_template_defaults.py::test_hash_multimap - Assertion... FAILED tests/test_variable_matcher.py::test_no_defaults - pygccxml.declaratio... FAILED tests/test_vector_traits.py::test_element_type - RuntimeError: Unable ... FAILED tests/test_xmlfile_reader.py::test_read_xml_file - RuntimeError: Error... ERROR tests/test_calldef_matcher.py::test_calldef_matcher - RuntimeError: Err... ERROR tests/test_core.py::test_top_parent[global_ns_fixture_all_at_once1] - R... ERROR tests/test_core.py::test_top_parent[global_ns_fixture_all_at_once2] - R... ERROR tests/test_core.py::test_top_parent[global_ns_fixture_file_by_file1] - ... ERROR tests/test_core.py::test_top_parent[global_ns_fixture_file_by_file2] - ... ERROR tests/test_core.py::test_nss_join[global_ns_fixture_all_at_once1] - Run... ERROR tests/test_core.py::test_nss_join[global_ns_fixture_all_at_once2] - Run... ERROR tests/test_core.py::test_nss_join[global_ns_fixture_file_by_file1] - Ru... ERROR tests/test_core.py::test_nss_join[global_ns_fixture_file_by_file2] - Ru... ERROR tests/test_core.py::test_membership[global_ns_fixture_all_at_once1] - R... ERROR tests/test_core.py::test_membership[global_ns_fixture_all_at_once2] - R... ERROR tests/test_core.py::test_membership[global_ns_fixture_file_by_file1] - ... ERROR tests/test_core.py::test_membership[global_ns_fixture_file_by_file2] - ... ERROR tests/test_core.py::test_mangled_name_namespace[global_ns_fixture_all_at_once1] ERROR tests/test_core.py::test_mangled_name_namespace[global_ns_fixture_all_at_once2] ERROR tests/test_core.py::test_mangled_name_namespace[global_ns_fixture_file_by_file1] ERROR tests/test_core.py::test_mangled_name_namespace[global_ns_fixture_file_by_file2] ERROR tests/test_core.py::test_mangled_name_functions[global_ns_fixture_all_at_once1] ERROR tests/test_core.py::test_mangled_name_functions[global_ns_fixture_all_at_once2] ERROR tests/test_core.py::test_mangled_name_functions[global_ns_fixture_file_by_file1] ERROR tests/test_core.py::test_mangled_name_functions[global_ns_fixture_file_by_file2] ERROR tests/test_core.py::test_mangled_name_variable[global_ns_fixture_all_at_once1] ERROR tests/test_core.py::test_mangled_name_variable[global_ns_fixture_all_at_once2] ERROR tests/test_core.py::test_mangled_name_variable[global_ns_fixture_file_by_file1] ERROR tests/test_core.py::test_mangled_name_variable[global_ns_fixture_file_by_file2] ERROR tests/test_core.py::test_class_hierarchy[global_ns_fixture_all_at_once1] ERROR tests/test_core.py::test_class_hierarchy[global_ns_fixture_all_at_once2] ERROR tests/test_core.py::test_class_hierarchy[global_ns_fixture_file_by_file1] ERROR tests/test_core.py::test_class_hierarchy[global_ns_fixture_file_by_file2] ERROR tests/test_core.py::test_class_join[global_ns_fixture_all_at_once1] - R... ERROR tests/test_core.py::test_class_join[global_ns_fixture_all_at_once2] - R... ERROR tests/test_core.py::test_class_join[global_ns_fixture_file_by_file1] - ... ERROR tests/test_core.py::test_class_join[global_ns_fixture_file_by_file2] - ... ERROR tests/test_core.py::test_fundamental_types[global_ns_fixture_all_at_once1] ERROR tests/test_core.py::test_fundamental_types[global_ns_fixture_all_at_once2] ERROR tests/test_core.py::test_fundamental_types[global_ns_fixture_file_by_file1] ERROR tests/test_core.py::test_fundamental_types[global_ns_fixture_file_by_file2] ERROR tests/test_core.py::test_compound_types[global_ns_fixture_all_at_once1] ERROR tests/test_core.py::test_compound_types[global_ns_fixture_all_at_once2] ERROR tests/test_core.py::test_compound_types[global_ns_fixture_file_by_file1] ERROR tests/test_core.py::test_compound_types[global_ns_fixture_file_by_file2] ERROR tests/test_core.py::test_free_function_type[global_ns_fixture_all_at_once1] ERROR tests/test_core.py::test_free_function_type[global_ns_fixture_all_at_once2] ERROR tests/test_core.py::test_free_function_type[global_ns_fixture_file_by_file1] ERROR tests/test_core.py::test_free_function_type[global_ns_fixture_file_by_file2] ERROR tests/test_core.py::test_member_function_type[global_ns_fixture_all_at_once1] ERROR tests/test_core.py::test_member_variable_type[global_ns_fixture_all_at_once1] ERROR tests/test_core.py::test_member_variable_type[global_ns_fixture_all_at_once2] ERROR tests/test_core.py::test_member_variable_type[global_ns_fixture_file_by_file1] ERROR tests/test_core.py::test_member_variable_type[global_ns_fixture_file_by_file2] ERROR tests/test_core.py::test_overloading[global_ns_fixture_all_at_once1] - ... ERROR tests/test_core.py::test_overloading[global_ns_fixture_all_at_once2] - ... ERROR tests/test_core.py::test_overloading[global_ns_fixture_file_by_file1] ERROR tests/test_core.py::test_overloading[global_ns_fixture_file_by_file2] ERROR tests/test_core.py::test_abstract_classes[global_ns_fixture_all_at_once1] ERROR tests/test_core.py::test_abstract_classes[global_ns_fixture_all_at_once2] ERROR tests/test_core.py::test_abstract_classes[global_ns_fixture_file_by_file1] ERROR tests/test_core.py::test_abstract_classes[global_ns_fixture_file_by_file2] ERROR tests/test_core.py::test_byte_size[global_ns_fixture_all_at_once1] - Ru... ERROR tests/test_core.py::test_byte_size[global_ns_fixture_all_at_once2] - Ru... ERROR tests/test_core.py::test_byte_size[global_ns_fixture_file_by_file1] - R... ERROR tests/test_core.py::test_byte_size[global_ns_fixture_file_by_file2] - R... ERROR tests/test_core.py::test_byte_align[global_ns_fixture_all_at_once1] - R... ERROR tests/test_core.py::test_byte_align[global_ns_fixture_all_at_once2] - R... ERROR tests/test_core.py::test_byte_align[global_ns_fixture_file_by_file1] - ... ERROR tests/test_core.py::test_byte_align[global_ns_fixture_file_by_file2] - ... ERROR tests/test_core.py::test_byte_offset[global_ns_fixture_all_at_once1] - ... ERROR tests/test_core.py::test_byte_offset[global_ns_fixture_all_at_once2] - ... ERROR tests/test_core.py::test_byte_offset[global_ns_fixture_file_by_file1] ERROR tests/test_core.py::test_byte_offset[global_ns_fixture_file_by_file2] ERROR tests/test_decl_printer.py::test_printer - RuntimeError: Error occurred... ERROR tests/test_decl_printer.py::test__str__ - RuntimeError: Error occurred ... ERROR tests/test_decl_string.py::test_member_function - RuntimeError: Error o... ERROR tests/test_decl_string.py::test_free_function - RuntimeError: Error occ... ERROR tests/test_decl_string.py::test_all_mem_and_free_funs - RuntimeError: E... ERROR tests/test_declarations.py::test_enumeration_t[global_ns_fixture_all_at_once] ERROR tests/test_declarations.py::test_enumeration_t[global_ns_fixture_file_by_file] ERROR tests/test_declarations.py::test_variables[global_ns_fixture_all_at_once] ERROR tests/test_declarations.py::test_variables[global_ns_fixture_file_by_file] ERROR tests/test_declarations.py::test_calldef_free_functions[global_ns_fixture_all_at_once] ERROR tests/test_declarations.py::test_calldef_free_functions[global_ns_fixture_file_by_file] ERROR tests/test_declarations.py::test_calldef_member_functions[global_ns_fixture_all_at_once] ERROR tests/test_declarations.py::test_calldef_member_functions[global_ns_fixture_file_by_file] ERROR tests/test_declarations.py::test_constructors_destructors[global_ns_fixture_all_at_once] ERROR tests/test_declarations.py::test_constructors_destructors[global_ns_fixture_file_by_file] ERROR tests/test_declarations.py::test_operator_symbol[global_ns_fixture_all_at_once] ERROR tests/test_declarations.py::test_operator_symbol[global_ns_fixture_file_by_file] ERROR tests/test_declarations.py::test_ellipsis[global_ns_fixture_all_at_once] ERROR tests/test_declarations.py::test_ellipsis[global_ns_fixture_file_by_file] ERROR tests/test_dependencies.py::test_variable - RuntimeError: Error occurre... ERROR tests/test_dependencies.py::test_class - RuntimeError: Error occurred w... ERROR tests/test_dependencies.py::test_calldefs - RuntimeError: Error occurre... ERROR tests/test_dependencies.py::test_coverage - RuntimeError: Error occurre... ERROR tests/test_filters_tester.py::test_regex - RuntimeError: Error occurred... ERROR tests/test_filters_tester.py::test_access_type - RuntimeError: Error oc... ERROR tests/test_filters_tester.py::test_or_matcher - RuntimeError: Error occ... ERROR tests/test_filters_tester.py::test_and_matcher - RuntimeError: Error oc... ERROR tests/test_filters_tester.py::test_not_matcher - RuntimeError: Error oc... ERROR tests/test_overrides.py::test_overrides - Exception: Unable to find out... ERROR tests/test_source_reader.py::test_compound_argument_type - RuntimeError... ERROR tests/test_type_as_exception_bug.py::test_type_as_exception - RuntimeEr... ============ 32 failed, 152 passed, 101 errors in 151.41s (0:02:31) ============ E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd /build/reproducible-path/pygccxml-2.6.0/.pybuild/cpython3_3.12_pygccxml/build; python3.12 -m pytest tests rm -fr -- /tmp/dh-xdg-rundir-8tgPyje5 dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.13 3.12" returned exit code 13 make[1]: [debian/rules:18: override_dh_auto_test] Error 25 (ignored) make[1]: Leaving directory '/build/reproducible-path/pygccxml-2.6.0' create-stamp debian/debhelper-build-stamp fakeroot debian/rules binary dh binary --with python3 --buildsystem=pybuild dh_testroot -O--buildsystem=pybuild dh_prep -O--buildsystem=pybuild rm -f -- debian/python3-pygccxml.substvars debian/python-pygccxml-doc.substvars rm -fr -- debian/.debhelper/generated/python3-pygccxml/ debian/python3-pygccxml/ debian/tmp/ debian/.debhelper/generated/python-pygccxml-doc/ debian/python-pygccxml-doc/ dh_auto_install -O--buildsystem=pybuild install -m0755 -d /build/reproducible-path/pygccxml-2.6.0/debian/tmp pybuild --install -i python{version} -p "3.13 3.12" --dest-dir /build/reproducible-path/pygccxml-2.6.0/debian/tmp I: pybuild plugin_pyproject:178: Copying package built for python3.13 to destdir I: pybuild plugin_pyproject:178: Copying package built for python3.12 to destdir debian/rules override_dh_installdocs make[1]: Entering directory '/build/reproducible-path/pygccxml-2.6.0' dh_installdocs dh_installdocs: warning: Cannot auto-detect main package for python-pygccxml-doc. If the default is wrong, please use --doc-main-package install -m0755 -d debian/python3-pygccxml/usr/share/doc/python3-pygccxml install -p -m0644 debian/copyright debian/python3-pygccxml/usr/share/doc/python3-pygccxml/copyright install -m0755 -d debian/python-pygccxml-doc/usr/share/doc/python-pygccxml-doc install -m0755 -d debian/python-pygccxml-doc/usr/share/doc/python-pygccxml-doc cd './docs/_build/doctrees/..' && find 'doctrees' \( -type f -or -type l \) -and ! -empty -print0 | LC_ALL=C sort -z | xargs -0 -I {} cp --reflink=auto --parents -dp {} /build/reproducible-path/pygccxml-2.6.0/debian/python-pygccxml-doc/usr/share/doc/python-pygccxml-doc cd './docs/_build/html/..' && find 'html' \( -type f -or -type l \) -and ! -empty -print0 | LC_ALL=C sort -z | xargs -0 -I {} cp --reflink=auto --parents -dp {} /build/reproducible-path/pygccxml-2.6.0/debian/python-pygccxml-doc/usr/share/doc/python-pygccxml-doc chown -R 0:0 debian/python-pygccxml-doc/usr/share/doc chmod -R u\+rw,go=rX debian/python-pygccxml-doc/usr/share/doc install -p -m0644 debian/copyright debian/python-pygccxml-doc/usr/share/doc/python-pygccxml-doc/copyright install -m0755 -d debian/python-pygccxml-doc/usr/share/doc-base/ install -p -m0644 debian/python-pygccxml-doc.doc-base debian/python-pygccxml-doc/usr/share/doc-base/python-pygccxml-doc.pygccxml-apidocs rm -rf ./debian/python-pygccxml-doc/usr/share/doc/python-pygccxml-doc/doctrees rm -rf ./debian/python-pygccxml-doc/usr/share/doc/python-pygccxml-doc/html/_static/fonts make[1]: Leaving directory '/build/reproducible-path/pygccxml-2.6.0' rm -f debian/python-pygccxml-doc.debhelper.log debian/python3-pygccxml.debhelper.log debian/rules override_dh_installchangelogs make[1]: Entering directory '/build/reproducible-path/pygccxml-2.6.0' dh_installchangelogs -A docs/history.rst install -m0755 -d debian/python3-pygccxml/usr/share/doc/python3-pygccxml install -p -m0644 debian/.debhelper/generated/python3-pygccxml/dh_installchangelogs.dch.trimmed debian/python3-pygccxml/usr/share/doc/python3-pygccxml/changelog.Debian install -p -m0644 docs/history.rst debian/python3-pygccxml/usr/share/doc/python3-pygccxml/changelog install -m0755 -d debian/python-pygccxml-doc/usr/share/doc/python-pygccxml-doc install -p -m0644 debian/.debhelper/generated/python-pygccxml-doc/dh_installchangelogs.dch.trimmed debian/python-pygccxml-doc/usr/share/doc/python-pygccxml-doc/changelog.Debian install -p -m0644 docs/history.rst debian/python-pygccxml-doc/usr/share/doc/python-pygccxml-doc/changelog make[1]: Leaving directory '/build/reproducible-path/pygccxml-2.6.0' dh_python3 -O--buildsystem=pybuild D: dh_python3 dh_python3:180: version: 6.20241024 D: dh_python3 dh_python3:181: argv: ['/usr/bin/dh_python3', '-O--buildsystem=pybuild'] D: dh_python3 dh_python3:182: options: Namespace(guess_deps=True, skip_private=False, verbose=True, arch=None, package=None, no_package=None, remaining_packages=False, compile_all=False, vrange=None, regexpr=None, accept_upstream_versions=False, depends=None, depends_section=None, recommends=None, recommends_section=None, suggests=None, suggests_section=None, requires=None, shebang=None, ignore_shebangs=False, clean_dbg_pkg=True, no_ext_rename=False, no_shebang_rewrite=False, private_dir=None, O=['--buildsystem=pybuild']) D: dh_python3 dh_python3:183: supported Python versions: 3.12,3.13 (default=3.12) D: dh_python3 debhelper:166: skipping package python-pygccxml-doc (missing ${python3:Depends} in Depends/Recommends) D: dh_python3 debhelper:174: source=pygccxml, binary packages=['python3-pygccxml'] D: dh_python3 dh_python3:205: processing package python3-pygccxml... D: dh_python3 fs:50: moving files from debian/python3-pygccxml/usr/lib/python3.12/dist-packages to debian/python3-pygccxml/usr/lib/python3/dist-packages/ D: dh_python3 fs:50: moving files from debian/python3-pygccxml/usr/lib/python3.13/dist-packages to debian/python3-pygccxml/usr/lib/python3/dist-packages/ D: dh_python3 fs:249: removing dist-packages/.pytest_cache D: dh_python3 fs:179: Writing INSTALLER in debian/python3-pygccxml/usr/lib/python3/dist-packages/pygccxml-2.6.0.dist-info D: dh_python3 fs:190: Deleting RECORD in debian/python3-pygccxml/usr/lib/python3/dist-packages/pygccxml-2.6.0.dist-info D: dh_python3 fs:338: package python3-pygccxml details = {'requires.txt': set(), 'egg-info': set(), 'dist-info': {'debian/python3-pygccxml/usr/lib/python3/dist-packages/pygccxml-2.6.0.dist-info/METADATA'}, 'nsp.txt': set(), 'shebangs': set(), 'public_vers': {Version('3')}, 'private_dirs': {}, 'compile': True, 'ext_vers': set(), 'ext_no_version': set()} D: dh_python3 depends:103: generating dependencies for package python3-pygccxml D: dh_python3 pydist:175: trying to find dependency for importlib-metadata>=4.6; python_version < "3.10" (python=None) D: dh_python3 pydist:209: dependency: module seems to be installed D: dh_python3 pydist:284: dependency: included in build-deps D: dh_python3 depends:253: D={'python3-importlib-metadata | python3-supported-min (>= 3.10)', 'python3:any'}; R=[]; S=[]; E=[], B=[]; RT=[] dh_installsystemduser -O--buildsystem=pybuild dh_lintian -O--buildsystem=pybuild install -m0755 -d debian/python-pygccxml-doc/usr/share/lintian/overrides install -p -m0644 debian/python-pygccxml-doc.lintian-overrides debian/python-pygccxml-doc/usr/share/lintian/overrides/python-pygccxml-doc dh_perl -O--buildsystem=pybuild dh_link -O--buildsystem=pybuild install -m0755 -d debian/python-pygccxml-doc/usr/share/doc/python3-pygccxml rm -f debian/python-pygccxml-doc/usr/share/doc/python3-pygccxml/html ln -s ../python-pygccxml-doc/html debian/python-pygccxml-doc/usr/share/doc/python3-pygccxml/html install -m0755 -d debian/python-pygccxml-doc/usr/share/doc/python-pygccxml rm -f debian/python-pygccxml-doc/usr/share/doc/python-pygccxml/html ln -s ../python-pygccxml-doc/html debian/python-pygccxml-doc/usr/share/doc/python-pygccxml/html dh_strip_nondeterminism -O--buildsystem=pybuild Using 1733094570 as canonical time Normalizing debian/python-pygccxml-doc/usr/share/doc/python-pygccxml-doc/html/_static/minus.png using File::StripNondeterminism::handlers::png Normalizing debian/python-pygccxml-doc/usr/share/doc/python-pygccxml-doc/html/_static/file.png using File::StripNondeterminism::handlers::png Normalizing debian/python-pygccxml-doc/usr/share/doc/python-pygccxml-doc/html/_static/plus.png using File::StripNondeterminism::handlers::png dh_compress -O--buildsystem=pybuild cd debian/python3-pygccxml cd debian/python-pygccxml-doc chmod a-x usr/share/doc/python3-pygccxml/changelog usr/share/doc/python3-pygccxml/changelog.Debian gzip -9nf usr/share/doc/python3-pygccxml/changelog usr/share/doc/python3-pygccxml/changelog.Debian chmod a-x usr/share/doc/python-pygccxml-doc/changelog usr/share/doc/python-pygccxml-doc/changelog.Debian cd '/build/reproducible-path/pygccxml-2.6.0' gzip -9nf usr/share/doc/python-pygccxml-doc/changelog usr/share/doc/python-pygccxml-doc/changelog.Debian cd '/build/reproducible-path/pygccxml-2.6.0' dh_fixperms -O--buildsystem=pybuild find debian/python3-pygccxml -true -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0 find debian/python-pygccxml-doc -true -print0 2>/dev/null | xargs -0r chown --no-dereference 0:0 find debian/python3-pygccxml ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s find debian/python-pygccxml-doc ! -type l -a -true -a -true -print0 2>/dev/null | xargs -0r chmod go=rX,u+rw,a-s find debian/python3-pygccxml/usr/share/doc -type f -a -true -a ! -regex 'debian/python3-pygccxml/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644 find debian/python3-pygccxml/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755 find debian/python-pygccxml-doc/usr/share/doc -type f -a -true -a ! -regex 'debian/python-pygccxml-doc/usr/share/doc/[^/]*/examples/.*' -print0 2>/dev/null | xargs -0r chmod 0644 find debian/python3-pygccxml -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644 find debian/python3-pygccxml/usr/lib -type f -name '*.ali' -a -true -a -true -print0 2>/dev/null | xargs -0r chmod uga-w find debian/python-pygccxml-doc/usr/share/doc -type d -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0755 find debian/python-pygccxml-doc/usr/share/lintian/overrides -type f -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644 find debian/python-pygccxml-doc -type f \( -name '*.so.*' -o -name '*.so' -o -name '*.la' -o -name '*.a' -o -name '*.js' -o -name '*.css' -o -name '*.scss' -o -name '*.sass' -o -name '*.jpeg' -o -name '*.jpg' -o -name '*.png' -o -name '*.gif' -o -name '*.cmxs' -o -name '*.node' \) -a -true -a -true -print0 2>/dev/null | xargs -0r chmod 0644 dh_missing -O--buildsystem=pybuild dh_installdeb -O--buildsystem=pybuild install -m0755 -d debian/python3-pygccxml/DEBIAN printf '#!/bin/sh\nset -e\n' > debian/python3-pygccxml/DEBIAN/postinst cat debian/python3-pygccxml.postinst.debhelper >> debian/python3-pygccxml/DEBIAN/postinst chmod 0755 -- debian/python3-pygccxml/DEBIAN/postinst chown 0:0 -- debian/python3-pygccxml/DEBIAN/postinst printf '#!/bin/sh\nset -e\n' > debian/python3-pygccxml/DEBIAN/prerm cat debian/python3-pygccxml.prerm.debhelper >> debian/python3-pygccxml/DEBIAN/prerm chmod 0755 -- debian/python3-pygccxml/DEBIAN/prerm chown 0:0 -- debian/python3-pygccxml/DEBIAN/prerm install -m0755 -d debian/python-pygccxml-doc/DEBIAN dh_gencontrol -O--buildsystem=pybuild install -m0755 -d debian/python-pygccxml-doc/DEBIAN echo misc:Depends= >> debian/python-pygccxml-doc.substvars echo misc:Pre-Depends= >> debian/python-pygccxml-doc.substvars dpkg-gencontrol -ppython-pygccxml-doc -ldebian/changelog -Tdebian/python-pygccxml-doc.substvars -cdebian/control -Pdebian/python-pygccxml-doc install -m0755 -d debian/python3-pygccxml/DEBIAN echo misc:Depends= >> debian/python3-pygccxml.substvars echo misc:Pre-Depends= >> debian/python3-pygccxml.substvars dpkg-gencontrol -ppython3-pygccxml -ldebian/changelog -Tdebian/python3-pygccxml.substvars -cdebian/control -Pdebian/python3-pygccxml chmod 0644 -- debian/python3-pygccxml/DEBIAN/control chown 0:0 -- debian/python3-pygccxml/DEBIAN/control chmod 0644 -- debian/python-pygccxml-doc/DEBIAN/control chown 0:0 -- debian/python-pygccxml-doc/DEBIAN/control dh_md5sums -O--buildsystem=pybuild install -m0755 -d debian/python3-pygccxml/DEBIAN install -m0755 -d debian/python-pygccxml-doc/DEBIAN cd debian/python3-pygccxml >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums cd debian/python-pygccxml-doc >/dev/null && xargs -r0 md5sum | perl -pe 'if (s@^\\@@) { s/\\\\/\\/g; }' > DEBIAN/md5sums chmod 0644 -- debian/python3-pygccxml/DEBIAN/md5sums chown 0:0 -- debian/python3-pygccxml/DEBIAN/md5sums chmod 0644 -- debian/python-pygccxml-doc/DEBIAN/md5sums chown 0:0 -- debian/python-pygccxml-doc/DEBIAN/md5sums dh_builddeb -O--buildsystem=pybuild dpkg-deb --build debian/python-pygccxml-doc .. dpkg-deb --build debian/python3-pygccxml .. dpkg-deb: building package 'python-pygccxml-doc' in '../python-pygccxml-doc_2.6.0-1_all.deb'. dpkg-deb: building package 'python3-pygccxml' in '../python3-pygccxml_2.6.0-1_all.deb'. dpkg-genbuildinfo --build=binary -O../pygccxml_2.6.0-1_amd64.buildinfo dpkg-genchanges --build=binary -O../pygccxml_2.6.0-1_amd64.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: including full source code in upload I: copying local configuration I: user script /srv/workspace/pbuilder/2634513/tmp/hooks/B01_cleanup starting I: user script /srv/workspace/pbuilder/2634513/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env I: removing directory /srv/workspace/pbuilder/2634513 and its subdirectories I: Current time: Tue Dec 3 00:13:27 +14 2024 I: pbuilder-time-stamp: 1733134407