* [Buildroot] [Bug 8456] Building host-pkgconf on Fedora 23 fails due to incorrect build dependencies
2015-11-10 13:36 [Buildroot] [Bug 8456] New: Building host-pkgconf on Fedora 23 fails due to incorrect build dependencies bugzilla at busybox.net
@ 2015-11-10 17:50 ` bugzilla at busybox.net
2015-11-11 10:27 ` bugzilla at busybox.net
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2015-11-10 17:50 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8456
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
CC| |yann.morin.1998 at free.fr
AssignedTo|unassigned at buildroot.uclibc |yann.morin.1998 at free.fr
|.org |
--- Comment #1 from Yann E. MORIN <yann.morin.1998@free.fr> 2015-11-10 17:50:04 UTC ---
Ian, All,
Thanks for the report.
We've already had this bug reported on the list, and a patch was
submitted with the same proposal as yours, i.e. make host-libcap
a dpeendency of host-coreutils, itself a dependency of host-pkgconf.
However, we believe this is the wrong solution.
We are aiming at getting rid of LD_LIBRARY_PATH instead, since we
are supposed to have proper RPATH in all our generated host
binaries, which should make LD_LIBRARY_PATH unnecessary.
Still, there are a few of our host binaries that still do not have
a proper RPATH set, and fixing those is not a trivial task.
So, the short-term action is to collect all our host binaries
that still lack a proper RPATH, see which ones need it: a host
binary that only has dependencies on the C library and similar
host libraries, like stdc++, does not require RPATH.
We need to investgate those, fix them when needed, and finally
get rid of LD_LIBRARY_PATH altogether. Any help in this endeavour
will be greatly appreciated! ;-)
Regards,
Yann E. MORIN.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread* [Buildroot] [Bug 8456] Building host-pkgconf on Fedora 23 fails due to incorrect build dependencies
2015-11-10 13:36 [Buildroot] [Bug 8456] New: Building host-pkgconf on Fedora 23 fails due to incorrect build dependencies bugzilla at busybox.net
2015-11-10 17:50 ` [Buildroot] [Bug 8456] " bugzilla at busybox.net
@ 2015-11-11 10:27 ` bugzilla at busybox.net
2015-11-11 15:26 ` bugzilla at busybox.net
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2015-11-11 10:27 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8456
--- Comment #2 from Dr I J Ormshaw <ian_ormshaw@waters.com> 2015-11-11 10:27:46 UTC ---
Yes I agree removing LD_LIBRARY_PATH is a much better solution. I had thought
of that as a possibility myself, but didn't suggest it because of the amount of
work involved. As I need to get my build working again quickly I will probably
do the coreutils fix as a stop gap. If I do do this, I will, of course, make a
patch available.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread* [Buildroot] [Bug 8456] Building host-pkgconf on Fedora 23 fails due to incorrect build dependencies
2015-11-10 13:36 [Buildroot] [Bug 8456] New: Building host-pkgconf on Fedora 23 fails due to incorrect build dependencies bugzilla at busybox.net
2015-11-10 17:50 ` [Buildroot] [Bug 8456] " bugzilla at busybox.net
2015-11-11 10:27 ` bugzilla at busybox.net
@ 2015-11-11 15:26 ` bugzilla at busybox.net
2015-11-12 22:44 ` bugzilla at busybox.net
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2015-11-11 15:26 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8456
--- Comment #3 from Dr I J Ormshaw <ian_ormshaw@waters.com> 2015-11-11 15:26:57 UTC ---
Created attachment 6221
--> https://bugs.busybox.net/attachment.cgi?id=6221
Add host coreutils and add some host build dependancies
I'm not claiming to have added all of the required dependencies. but
A) Buildroot now builds for me on Fedora 23
B) This makes things no worse
C) pkgconfig and anything dependent on it now has correct dependencies and uses
compatible ls and libcap
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread* [Buildroot] [Bug 8456] Building host-pkgconf on Fedora 23 fails due to incorrect build dependencies
2015-11-10 13:36 [Buildroot] [Bug 8456] New: Building host-pkgconf on Fedora 23 fails due to incorrect build dependencies bugzilla at busybox.net
` (2 preceding siblings ...)
2015-11-11 15:26 ` bugzilla at busybox.net
@ 2015-11-12 22:44 ` bugzilla at busybox.net
2015-11-18 12:30 ` bugzilla at busybox.net
2015-11-18 23:06 ` bugzilla at busybox.net
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2015-11-12 22:44 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8456
--- Comment #4 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2015-11-12 22:44:43 UTC ---
(In reply to comment #3)
> Created attachment 6221 [details]
> Add host coreutils and add some host build dependancies
>
> I'm not claiming to have added all of the required dependencies. but
>
> A) Buildroot now builds for me on Fedora 23
> B) This makes things no worse
> C) pkgconfig and anything dependent on it now has correct dependencies and uses
> compatible ls and libcap
As Yann said, we believe this is not the proper direction. Instead, removing
LD_LIBRARY_PATH should be done, so that for your system tools, we don't try to
use the Buildroot built libraries.
Can you test the patch at http://patchwork.ozlabs.org/patch/537657/ instead ?
Thanks!
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread* [Buildroot] [Bug 8456] Building host-pkgconf on Fedora 23 fails due to incorrect build dependencies
2015-11-10 13:36 [Buildroot] [Bug 8456] New: Building host-pkgconf on Fedora 23 fails due to incorrect build dependencies bugzilla at busybox.net
` (3 preceding siblings ...)
2015-11-12 22:44 ` bugzilla at busybox.net
@ 2015-11-18 12:30 ` bugzilla at busybox.net
2015-11-18 23:06 ` bugzilla at busybox.net
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2015-11-18 12:30 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8456
--- Comment #5 from Dr I J Ormshaw <ian_ormshaw@waters.com> 2015-11-18 12:30:24 UTC ---
I've build successfully with the patch from
http://patchwork.ozlabs.org/patch/537657/
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread* [Buildroot] [Bug 8456] Building host-pkgconf on Fedora 23 fails due to incorrect build dependencies
2015-11-10 13:36 [Buildroot] [Bug 8456] New: Building host-pkgconf on Fedora 23 fails due to incorrect build dependencies bugzilla at busybox.net
` (4 preceding siblings ...)
2015-11-18 12:30 ` bugzilla at busybox.net
@ 2015-11-18 23:06 ` bugzilla at busybox.net
5 siblings, 0 replies; 7+ messages in thread
From: bugzilla at busybox.net @ 2015-11-18 23:06 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=8456
Yann E. MORIN <yann.morin.1998@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
--- Comment #6 from Yann E. MORIN <yann.morin.1998@free.fr> 2015-11-18 23:06:08 UTC ---
Ian, All,
Fixed by this commit:
http://git.buildroot.net/buildroot/commit/?id=34d081674ab8f0ffad84e5a18d3c67855826262f
Thanks for the report!
Regards,
Yann E. MORIN.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread