Summary: | wayland-scanner.pc.in: wayland_scanner variable does not prepend ${pc_sysrootdir}, potentially breaking cross-compilation | ||
---|---|---|---|
Product: | Wayland | Reporter: | Joe Konno <joe.konno> |
Component: | wayland | Assignee: | Wayland bug list <wayland-bugs> |
Status: | CLOSED INVALID | QA Contact: | |
Severity: | normal | ||
Priority: | medium | ||
Version: | 1.2.0 | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Joe Konno
2016-09-15 21:29:36 UTC
Patch posted to mailing list: * Message-Id: 1473978132-3965-1-git-send-email-joe.konno@linux.intel.com Thanks for the feedback, Pekka. As stated on the mailing list, I'll reply once I convince myself this is the right (or wrong) approach. Arnaud's feedback was really good, thanks so much: """ I believe your patch is not right, as pq says the sysroot normally contains the code compiled for the target, which might not be compatible with the host. I think the proper way to do this is to compile wayland for the host separately, and use ${CHOST}-pkg-config instead of pkg-config to get the wayland-scanner path. In practice you would call x86_64-linux-gnu-pkg-config --variable=wayland_scanner. The x86_64-linux-gnu-pkg-config utility will look for pkgconfig files in the host sysroot, instead of the target sysroot, allowing this use case to work. Unfortunately not many packages do this correctly... """ I'll go ahead and close this bug as invalid. Thanks again for the reviews and feedback! |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.