All of lore.kernel.org
 help / color / mirror / Atom feed
* QA issue [configure-unsafe] when compiling vlc
@ 2019-06-06  4:42 Ori Pessach
  0 siblings, 0 replies; only message in thread
From: Ori Pessach @ 2019-06-06  4:42 UTC (permalink / raw)
  To: yocto

[-- Attachment #1: Type: text/plain, Size: 2310 bytes --]

Hi,

I'm trying to compile vlc 3.0.6 as part of my image from the recipe found
here:

https://layers.openembedded.org/layerindex/recipe/4796/

When bitbake configures the source, I get the following error:

ERROR: vlc-3.0.6-r0 do_configure: QA Issue: This autoconf log indicates
errors, it looked at host include and/or library paths while determining
system capabilities.
Rerun configure task after fixing this. [configure-unsafe]
ERROR: vlc-3.0.6-r0 do_configure: Fatal QA errors found, failing task.
ERROR: vlc-3.0.6-r0 do_configure:
ERROR: vlc-3.0.6-r0 do_configure: Function failed: do_qa_configure
ERROR: Logfile of failure stored in:
/home/ori/projects/poky/build/tmp/work/core2-64-poky-linux/vlc/3.0.6-r0/temp/log.do_configure.14767
ERROR: Task
(/home/ori/projects/poky/meta-openembedded/meta-multimedia/recipes-multimedia/vlc/vlc_3.0.6.bb:do_configure)
failed with exit code '1'

I looked in the log, and the problem happens when checking for the
existence of live555 - the configure script outputs this:

configure:32517: x86_64-poky-linux-g++  -m64 -march=core2 -mtune=core2
-msse3 -mfpmath=sse -fstack-protector-strong  -D_FORTIFY_SOURCE=2 -Wformat
-Wformat-security -Werror=format-security
--sysroot=/home/ori/projects/poky/build/tmp/work/core2-64-poky-linux/vlc/3.0.6-r0/recipe-sysroot
-E  -I/usr/include/liveMedia -I/usr/include/groupsock
-I/usr/include/BasicUsageEnvironment -I/usr/include/UsageEnvironment
conftest.cpp
cc1plus: warning: include location "/usr/include/liveMedia" is unsafe for
cross-compilation [-Wpoison-system-directories]
cc1plus: warning: include location "/usr/include/groupsock" is unsafe for
cross-compilation [-Wpoison-system-directories]
cc1plus: warning: include location "/usr/include/BasicUsageEnvironment" is
unsafe for cross-compilation [-Wpoison-system-directories]
cc1plus: warning: include location "/usr/include/UsageEnvironment" is
unsafe for cross-compilation [-Wpoison-system-directories]

I verified that the include directories are in /usr/include/ under the
sysroot specified above, and I, say, move /usr/include/liveMedia out of the
way, compilation fails when the compiler doesn't find the headers, so it
doesn't seem like it's even looking under sysroot.

Any idea how I can fix this?

Thanks,

Ori

[-- Attachment #2: Type: text/html, Size: 2724 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-06-06  4:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-06  4:42 QA issue [configure-unsafe] when compiling vlc Ori Pessach

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.