Hello all. I've got a question about handling of python with embedded `
characters. We are using bitbake and OE to build target images. However, we
have a bitbake recipe that updates a Makefile CFLAGS by adding a pkg-config
directive, that looks like this in the recipe.
export CFLAGS+=" -DLIB_LOGLEVEL=1 -DUSE_DLT `pkg-config --cflags dlt
ssw-imageio persistence_client_library` -DUSE_PDB -I${QPEDIR}/usr/include/"
The issue seems to be that Jenkins causes something to execute the
pkg-config directive prior to bitbake handling it. This doesn't happen if
we run the same bitbake build from the command line on the same machine.
So, the resulting CFLAGS output when executed using Jenkins looks like the
following when it fails.
-DLIB_LOGLEVEL=1 -DUSE_DLT -DUSE_PDB -I${QPEDIR}/usr/include/
I currently use sed to modify the recipe file to replace the pkg-config
command with it's expected output, but this is suboptimal.
Does anyone know why this would happen when run in the Jenkins environment,
and how I can avoid it? I can't tell which interpreter is actually
executing the pkg-config command, but it's happening prior to being in the
bitbake environment because it evaluates to an empty string. And whichever
process is responsible doesn't throw an error either, so Jenkins doesn't
complain, the build runs until that package fails to build.
Latest Jenkins is running on RHEL 6.5 with all the latest patches if that
matters.
-Pete
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.