Richard Shaw wrote:
I'm troubleshooting why apiextractor tests segfault during
package
building. I have not been able to attribute it to any change in build
flags so I started looking at qt4 which appears to still be FTBFS for F30
rebuild.
There's a check in the spec file which fails:
+ grep '^#define QT_BUILD_KEY ' src/corelib/global/qconfig.h
#define QT_BUILD_KEY "x86_64 linux g++-9 full-config"
BUILDSTDERR: ++ grep '^#define QT_BUILD_KEY ' src/corelib/global/qconfig.h
BUILDSTDERR: ++ cut '-d ' -f5
QT_BUILD_KEY_COMPILER failure
+ QT_BUILD_KEY_COMPILER=g++-9
+ '[' g++-9 '!=' g++-4 ']'
+ echo 'QT_BUILD_KEY_COMPILER failure'
+ exit 1
It looks like after configuration that the "KEY" changed from g++4 to
g++9.
Is this check appropriate?
The check is legit'ish. In particular, afaik, the key should not have
changed, so that should be fixed in qt4
-- Rex