Bug 7998

Summary: qt-x11-free (meta-qt3) has host contamination
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Ross Burton <ross.burton>
Component: graphicsAssignee: Alexander Kanavin <alex.kanavin>
Status: VERIFIED WORKSFORME QA Contact: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Severity: normal    
Priority: Medium+ CC: bogdanx.a.voiculescu, meta.mr.watcher, meta.watcher, richard.purdie
Version: 1.9   
Target Milestone: 1.9 M3   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: Regression (Used to work)
Verified: Documentation change: No (bug/feature does not impact docs)
Bug Depends on:    
Bug Blocks: 7983    

Description Ross Burton 2015-07-14 15:19:30 UTC
ERROR: QA Issue: qt-x11-free: The compile log indicates that host include and/or library paths were used.
         Please check the log '/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-fsl-arm-lsb/build/build/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/qt-x11-free/3.3.7-r6.1/temp/log.do_compile' for more information. [compile-host-path]

From https://autobuilder.yoctoproject.org/main/builders/nightly-fsl-arm-lsb/builds/392/steps/BuildImages_1/logs/stdio

At first glance you'd expect this to not be a BSP problem but it didn't happen for any other machine in the build run.
Comment 1 Otavio Salvador 2015-07-14 15:30:41 UTC
This is Qt3, isn't it?
Comment 2 Ross Burton 2015-07-14 15:34:25 UTC
Yes.
Comment 3 Otavio Salvador 2015-07-14 16:35:11 UTC
We don't have it covered in the BSP so it is likely broken by coincidence.
Comment 4 Ross Burton 2015-07-14 19:00:04 UTC
Can't replicate locally, doesn't replicate on the AB.
Comment 5 Ross Burton 2015-07-23 21:46:49 UTC
On the grounds that Qt3 is incredibly old I'm solving this by removing qt3 from the autobuilder runs.  Patches sent for the autobuilder.
Comment 6 Ross Burton 2015-09-23 11:37:47 UTC
Reassigning to Alex.  Without the full compile log which I foolishly failed to copy off the autobuilder this is going to be tricky to fix.

Can you install on your *host* the main build dependencies for Qt3 and do a build of qt-x11-free?  If you can't replicate we'll have to close this as worksforme until someone can replicate and get the compile log to see what paths it was using on the host.
Comment 7 Alexander Kanavin 2015-09-23 16:27:46 UTC
I've got this, will look into it in a bit.

WARNING: QA Issue: /home/ak/development/poky/build-qt3/tmp/work/i586-poky-linux/qt-x11-free/3.3.7-r6.1/packages-split/qt-x11-plugins-designer/usr/lib/qt3/plugins/designer/libwizards.so is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]

WARNING: QA Issue: /home/ak/development/poky/build-qt3/tmp/work/i586-poky-linux/qt-x11-free/3.3.7-r6.1/packages-split/qt-x11-plugins-imageformats/usr/lib/qt3/plugins/imageformats/libqjpeg.so is owned by uid 1000, which is the same as the user running bitbake. This may be due to host contamination [host-user-contaminated]
Comment 8 Ross Burton 2015-09-23 16:31:05 UTC
That's a different bit of host contamination and is a warning so doesn't break the build.  If you can't replicate the host-path warning then I propose we leave this until someone/something can replicate it.
Comment 9 Alexander Kanavin 2015-09-23 16:34:05 UTC
That's all I got. I made sure to install everything on the host that's listed in DEPENDS.
Comment 10 Bogdan Alexandru Voiculescu 2015-10-08 07:07:34 UTC
No reproducible on local build:
meta-yocto-bsp    = "master:ceeb52a2544045fe8432e36307a321f6e934de49"
meta-fsl-arm      = "master:42517ae797a94686a02ba16d9231ec12109348d7"
meta-qt3          = "master:5233565c80db869f6f539f37f26ea6662d9dc5f6"


Also not reproducible on public AB
https://autobuilder.yoctoproject.org/main/builders/nightly-fsl-arm/builds/510/steps/BuildImages_1/logs/stdio