https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-shells/powerline-2.7-r2 installs less files with clang stricter. Discovered on: amd64 (internal ref: clang-stricter_tinderbox) NOTE: To reproduce this issue: 1) Install the package with CC=clang - CXX=clang++ 2) Put the list of the installed files into a file ( qlist -e PACKAGE:SLOT | sort | uniq > /tmp/qlist1 ) 3) Install the package with CC=clang - CXX=clang++ - CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types 4) Put the list of the installed files into a file ( qlist -e PACKAGE:SLOT | sort | uniq > /tmp/qlist2 ) 5) See the diff between the two files ( diff -ru /tmp/qlist_1 /tmp/qlist_2 ) On this machine: - the installed files with clang are 1824 - the installed files with clang stricter are 1827 This type of report comes from a check that is a bit outside of the tinderbox, that's the reason because build.log was not provided (however in cases like these the build.log doesn't help much) but if you need further help to diagnose this issue feel free to ask. In any case I'm providing a diff.
DIFF: --- /dev/fd/63 2022-11-26 06:26:58.063817431 +0100 +++ /dev/fd/62 2022-11-26 06:26:58.063817431 +0100 @@ -3,17 +3,14 @@ /usr/bin/powerline-daemon /usr/bin/powerline-lint /usr/bin/powerline-render -/usr/lib/python-exec/python3.10/powerline /usr/lib/python-exec/python3.10/powerline-config /usr/lib/python-exec/python3.10/powerline-daemon /usr/lib/python-exec/python3.10/powerline-lint /usr/lib/python-exec/python3.10/powerline-render -/usr/lib/python-exec/python3.8/powerline /usr/lib/python-exec/python3.8/powerline-config /usr/lib/python-exec/python3.8/powerline-daemon /usr/lib/python-exec/python3.8/powerline-lint /usr/lib/python-exec/python3.8/powerline-render -/usr/lib/python-exec/python3.9/powerline /usr/lib/python-exec/python3.9/powerline-config /usr/lib/python-exec/python3.9/powerline-daemon /usr/lib/python-exec/python3.9/powerline-lint
I really don't know why, but this is a 'viceversa' case. Clang-stricter installs more files than simple clang, dunno why.
I can't reproduce but there's three version of /usr/bin/powerline, a built .c (skipped if compiler test fails), a shell script (requires socat or else is skipped), and a python version. Not sure what could cause it to skip the python version too. Note this also always call 'cc', CC env is ignored. clang-common[stricter] should have no impact unless cc -> clang, but if passed CFLAGS directly it could have some impact. I seem to be getting the C version fine with normal gcc, unless I pass some CFLAGS to make it fail then it gives me the shell script given I have socat.