Public bug reported: I use Clang's scan-build to do static analysis on my Python3 C extensions during their Debian package build.
Now that Python 3.5rc1 has hit Wily, this is failing when building against Python 3.5. But it wasn't failing against 3.5b4, still isn't failing against 3.4.3. No changes were made in my C code in the mean time, so I'm pretty sure I'm not to blame :P Full build log is here: https://launchpadlibrarian.net/214403448/buildlog_ubuntu-wily- amd64.degu_0.14.0~alpha~bzr361~ubuntu15.10.1_BUILDING.txt.gz And here's the interesting excerpt: + DEGU_INSTRUMENT_BUILD=true scan-build --status-bugs -analyze-headers python3.5 setup.py build_ext -i scan-build: Using '/usr/lib/llvm-3.6/bin/clang' for static analysis running build_ext building 'degu._base' extension /usr/share/clang/scan-build-3.6/ccc-analyzer -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.5m -c degu/_base.c -o build/temp.linux-x86_64-3.5/degu/_base.o -std=gnu11 -Werror -pedantic-errors -Wsign-compare -Wsign-conversion -fsanitize=address -fsanitize=undefined -fsanitize=shift -fsanitize=integer-divide-by-zero -fsanitize=unreachable -fsanitize=vla-bound -fsanitize=null -fsanitize=return -fsanitize=signed-integer-overflow In file included from degu/_base.c:24: In file included from degu/_base.h:24: In file included from /usr/include/python3.5m/Python.h:53: /usr/include/python3.5m/pyatomic.h:35:5: error: _Atomic cannot be applied to incomplete type 'void' _Atomic void *_value; ProblemType: Bug DistroRelease: Ubuntu 15.10 Package: python3.5-dev 3.5.0~rc1-1 ProcVersionSignature: Ubuntu 4.1.0-3.3-generic 4.1.3 Uname: Linux 4.1.0-3-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 2.18-0ubuntu6 Architecture: amd64 CurrentDesktop: Unity Date: Thu Aug 13 13:33:19 2015 SourcePackage: python3.5 UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: python3.5 (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug wily -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1484666 Title: scan-build is unhappy with python3.5-dev (3.5.0~rc1-1): error: _Atomic cannot be applied to incomplete type 'void' To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python3.5/+bug/1484666/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
