All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 11236] New: util-linux fails to build on Travis CI when python also selected
@ 2018-08-16 14:40 bugzilla at busybox.net
  2018-08-16 15:12 ` [Buildroot] [Bug 11236] " bugzilla at busybox.net
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2018-08-16 14:40 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11236

            Bug ID: 11236
           Summary: util-linux fails to build on Travis CI when python
                    also selected
           Product: buildroot
           Version: 2018.02.1
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned at buildroot.uclibc.org
          Reporter: frankv at helium.com
                CC: buildroot at uclibc.org
  Target Milestone: ---

Here is a link to the build output.  Notice that Python.h cannot be located.

https://gist.github.com/fvasquez/1d4e94b37bd3388a3e6051d03d25fbd2

The failure only occurs when building on Travis CI.  The same defconfig builds
just fine on my Ubuntu 16.04 laptop.  I tried adding python-dev to apt packages
in .travis.yml to no avail.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [Bug 11236] util-linux fails to build on Travis CI when python also selected
  2018-08-16 14:40 [Buildroot] [Bug 11236] New: util-linux fails to build on Travis CI when python also selected bugzilla at busybox.net
@ 2018-08-16 15:12 ` bugzilla at busybox.net
  2018-08-16 18:17 ` bugzilla at busybox.net
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2018-08-16 15:12 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11236

Yann E. MORIN <yann.morin.1998@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yann.morin.1998 at free.fr
         Resolution|---                         |WORKSFORME
             Status|NEW                         |RESOLVED

--- Comment #1 from Yann E. MORIN <yann.morin.1998@free.fr> ---
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...

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [Bug 11236] util-linux fails to build on Travis CI when python also selected
  2018-08-16 14:40 [Buildroot] [Bug 11236] New: util-linux fails to build on Travis CI when python also selected bugzilla at busybox.net
  2018-08-16 15:12 ` [Buildroot] [Bug 11236] " bugzilla at busybox.net
@ 2018-08-16 18:17 ` bugzilla at busybox.net
  2018-08-18  0:24 ` bugzilla at busybox.net
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2018-08-16 18:17 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11236

Raphael Jacob <r.jacob2002@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|WORKSFORME                  |---
             Status|RESOLVED                    |REOPENED

--- Comment #2 from Raphael Jacob <r.jacob2002@gmail.com> ---
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [Bug 11236] util-linux fails to build on Travis CI when python also selected
  2018-08-16 14:40 [Buildroot] [Bug 11236] New: util-linux fails to build on Travis CI when python also selected bugzilla at busybox.net
  2018-08-16 15:12 ` [Buildroot] [Bug 11236] " bugzilla at busybox.net
  2018-08-16 18:17 ` bugzilla at busybox.net
@ 2018-08-18  0:24 ` bugzilla at busybox.net
  2018-08-18  7:23 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2018-08-18  0:24 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11236

--- Comment #3 from Frank Vasquez <frankv@helium.com> ---
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [Bug 11236] util-linux fails to build on Travis CI when python also selected
  2018-08-16 14:40 [Buildroot] [Bug 11236] New: util-linux fails to build on Travis CI when python also selected bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2018-08-18  0:24 ` bugzilla at busybox.net
@ 2018-08-18  7:23 ` bugzilla at busybox.net
  2018-08-20 15:26 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2018-08-18  7:23 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11236

--- Comment #4 from Raphael Jacob <r.jacob2002@gmail.com> ---
(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

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [Bug 11236] util-linux fails to build on Travis CI when python also selected
  2018-08-16 14:40 [Buildroot] [Bug 11236] New: util-linux fails to build on Travis CI when python also selected bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2018-08-18  7:23 ` bugzilla at busybox.net
@ 2018-08-20 15:26 ` bugzilla at busybox.net
  2018-08-28 10:52 ` bugzilla at busybox.net
  2018-08-28 10:53 ` bugzilla at busybox.net
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2018-08-20 15:26 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11236

--- Comment #5 from Frank Vasquez <frankv@helium.com> ---
I will try reconfiguring my Travis CI build with an Ubuntu 16.04 Docker image
when I get a chance.

Cheers,
Frank

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [Bug 11236] util-linux fails to build on Travis CI when python also selected
  2018-08-16 14:40 [Buildroot] [Bug 11236] New: util-linux fails to build on Travis CI when python also selected bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2018-08-20 15:26 ` bugzilla at busybox.net
@ 2018-08-28 10:52 ` bugzilla at busybox.net
  2018-08-28 10:53 ` bugzilla at busybox.net
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2018-08-28 10:52 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11236

--- Comment #6 from Frank Vasquez <frankv@helium.com> ---
I can successfully build util-linux with python also selected on Travis CI
inside a Docker container.

Cheers,
Frank

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* [Buildroot] [Bug 11236] util-linux fails to build on Travis CI when python also selected
  2018-08-16 14:40 [Buildroot] [Bug 11236] New: util-linux fails to build on Travis CI when python also selected bugzilla at busybox.net
                   ` (5 preceding siblings ...)
  2018-08-28 10:52 ` bugzilla at busybox.net
@ 2018-08-28 10:53 ` bugzilla at busybox.net
  6 siblings, 0 replies; 8+ messages in thread
From: bugzilla at busybox.net @ 2018-08-28 10:53 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11236

Frank Vasquez <frankv@helium.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|---                         |WONTFIX

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2018-08-28 10:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-08-16 14:40 [Buildroot] [Bug 11236] New: util-linux fails to build on Travis CI when python also selected bugzilla at busybox.net
2018-08-16 15:12 ` [Buildroot] [Bug 11236] " bugzilla at busybox.net
2018-08-16 18:17 ` bugzilla at busybox.net
2018-08-18  0:24 ` bugzilla at busybox.net
2018-08-18  7:23 ` bugzilla at busybox.net
2018-08-20 15:26 ` bugzilla at busybox.net
2018-08-28 10:52 ` bugzilla at busybox.net
2018-08-28 10:53 ` bugzilla at busybox.net

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.