| Summary: | util-linux fails to build on Travis CI when python also selected | ||
|---|---|---|---|
| Product: | buildroot | Reporter: | Frank Vasquez <frankv> |
| Component: | Other | Assignee: | unassigned |
| Status: | RESOLVED WONTFIX | ||
| Severity: | normal | CC: | buildroot, r.jacob2002, yann.morin.1998 |
| Priority: | P5 | ||
| Version: | 2018.02.1 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
Frank Vasquez
2018-08-16 14:40:19 UTC
Frank,
As discussed on IRC, this is an environment problem on TravisCI.
I suggested you investigate what /opt/pyenv/shims is for, and similarly
for all the other stuff in PATH. You may have to sanitise the PATH
somehow before calling Buildroot.
Otherwise, there's not much we can do about it... :-/
> I tried adding python-dev
Which I explained on IRC was useless because your error is about building
util-linux for the target, so the host python devel files are useless.
Closing as not reproducible on a standard environment...
Hi, @Yann Morin: I think you confound Frank and me. I was on IRC and you told me to investigate more. I would keep this open. Maybe we can fix this in buildroot. Raphael Thanks, Raphael. Many Buildroot users like me rely on Travis CI. It sucks that Travis CI is still on Ubuntu 14.04 and I doubt that building inside a Docker image will fix the issue. Probably some form of PATH sanitization as Yann points out is what's required. Let me know if I can help in any way. Cheers, Frank (In reply to Frank Vasquez from comment #3) What would be the problem with using a docker image of the latest debian/ubuntu? What did you try to fix this problem? Did it work? Sadly I had no time for further debugging yet. Raphael I will try reconfiguring my Travis CI build with an Ubuntu 16.04 Docker image when I get a chance. Cheers, Frank I can successfully build util-linux with python also selected on Travis CI inside a Docker container. Cheers, Frank |