* [Buildroot] [Bug 5750] New: buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2
@ 2012-12-04 23:55 bugzilla at busybox.net
2012-12-05 7:59 ` [Buildroot] [Bug 5750] " bugzilla at busybox.net
` (14 more replies)
0 siblings, 15 replies; 20+ messages in thread
From: bugzilla at busybox.net @ 2012-12-04 23:55 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5750
Summary: buildroot-2012.11 while building X11 for ARM, errors
on xlib_libX11-1.4.2
Product: buildroot
Version: unspecified
Platform: Other
OS/Version: Linux
Status: NEW
Severity: major
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: rdghx at 163.com
CC: buildroot at uclibc.org
Estimated Hours: 0.0
Created attachment 4670
--> https://bugs.busybox.net/attachment.cgi?id=4670
config file
CC Sync.lo
CC Synchro.lo
CC Text16.lo
CC Text.lo
CC TextExt16.lo
CC TextExt.lo
CC TextToStr.lo
CC TrCoords.lo
CC UndefCurs.lo
CC UngrabBut.lo
CC UngrabKbd.lo
CC UngrabKey.lo
CC UngrabPtr.lo
CC UngrabSvr.lo
CC UninsCmap.lo
CC UnldFont.lo
CC UnmapSubs.lo
CC UnmapWin.lo
CC VisUtil.lo
CC WarpPtr.lo
CC Window.lo
CC WinEvent.lo
CC Withdraw.lo
CC WMGeom.lo
CC WMProps.lo
CC WrBitF.lo
CC xcb_disp.lo
CC xcb_io.lo
CC XlibAsync.lo
CC XlibInt.lo
CC Xrm.lo
XlibInt.c: In function '_XPrintDefaultError':
XlibInt.c:1433:5: warning: format not a string literal, argument types not
checked
XlibInt.c:1453:2: warning: format not a string literal, argument types not
checked
XlibInt.c:1485:6: warning: format not a string literal, argument types not
checked
XlibInt.c:1513:2: warning: format not a string literal, argument types not
checked
XlibInt.c:1519:5: warning: format not a string literal, argument types not
checked
XlibInt.c:1523:5: warning: format not a string literal, argument types not
checked
CC x11_xcb.lo
CCLD libX11.la
libtool: link: warning: library
`/usr/work/buildroot/buildroot-2012.11/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libxcb.la'
was moved.
/bin/grep:
/usr/work/buildroot/buildroot-2012.11/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/work/buildroot/buildroot-2012.11/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/work/buildroot/buildroot-2012.11/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/work/buildroot/buildroot-2012.11/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/work/buildroot/buildroot-2012.11/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/work/buildroot/buildroot-2012.11/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/work/buildroot/buildroot-2012.11/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libXau.la:
No such file or directory
/bin/sed: can't read
/usr/work/buildroot/buildroot-2012.11/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/work/buildroot/buildroot-2012.11/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/work/buildroot/buildroot-2012.11/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/work/buildroot/buildroot-2012.11/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/work/buildroot/buildroot-2012.11/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/work/buildroot/buildroot-2012.11/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/work/buildroot/buildroot-2012.11/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libXau.la:
No such file or directory
libtool: link:
`/usr/work/buildroot/buildroot-2012.11/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/work/buildroot/buildroot-2012.11/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/work/buildroot/buildroot-2012.11/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/work/buildroot/buildroot-2012.11/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/work/buildroot/buildroot-2012.11/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/work/buildroot/buildroot-2012.11/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/work/buildroot/buildroot-2012.11/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libXau.la'
is not a valid libtool archive
make[4]: *** [libX11.la] Error 1
make[4]: Leaving directory
`/usr/work/buildroot/buildroot-2012.11/output/build/xlib_libX11-1.4.2/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/usr/work/buildroot/buildroot-2012.11/output/build/xlib_libX11-1.4.2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/usr/work/buildroot/buildroot-2012.11/output/build/xlib_libX11-1.4.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/usr/work/buildroot/buildroot-2012.11/output/build/xlib_libX11-1.4.2'
make: ***
[/usr/work/buildroot/buildroot-2012.11/output/build/xlib_libX11-1.4.2/.stamp_built]
Error 2
--
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] 20+ messages in thread
* [Buildroot] [Bug 5750] buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2
2012-12-04 23:55 [Buildroot] [Bug 5750] New: buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2 bugzilla at busybox.net
@ 2012-12-05 7:59 ` bugzilla at busybox.net
2012-12-05 17:20 ` Arnout Vandecappelle
2013-05-26 10:24 ` [Buildroot] [Bug 5750] Doing a Buildroot build from /usr doesn't work bugzilla at busybox.net
` (13 subsequent siblings)
14 siblings, 1 reply; 20+ messages in thread
From: bugzilla at busybox.net @ 2012-12-05 7:59 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5750
--- Comment #1 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2012-12-05 07:59:54 UTC ---
For some complicated reason, using Buildroot in a directory stored under /usr
doesn't work. We will work on fixing that, but in the mean time, please build
from /home/something, /opt or anything else, but not from a subdirectory of
/usr.
--
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] 20+ messages in thread
* [Buildroot] [Bug 5750] buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2
2012-12-05 7:59 ` [Buildroot] [Bug 5750] " bugzilla at busybox.net
@ 2012-12-05 17:20 ` Arnout Vandecappelle
2012-12-05 21:19 ` Peter Korsgaard
0 siblings, 1 reply; 20+ messages in thread
From: Arnout Vandecappelle @ 2012-12-05 17:20 UTC (permalink / raw)
To: buildroot
On 05/12/12 08:59, bugzilla at busybox.net wrote:
> https://bugs.busybox.net/show_bug.cgi?id=5750
>
> --- Comment #1 from Thomas Petazzoni<thomas.petazzoni@free-electrons.com> 2012-12-05 07:59:54 UTC ---
> For some complicated reason, using Buildroot in a directory stored under /usr
> doesn't work. We will work on fixing that, but in the mean time, please build
> from /home/something, /opt or anything else, but not from a subdirectory of
> /usr.
We should at least have a check for that...
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Buildroot] [Bug 5750] buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2
2012-12-05 17:20 ` Arnout Vandecappelle
@ 2012-12-05 21:19 ` Peter Korsgaard
2012-12-05 21:28 ` Thomas Petazzoni
0 siblings, 1 reply; 20+ messages in thread
From: Peter Korsgaard @ 2012-12-05 21:19 UTC (permalink / raw)
To: buildroot
>>>>> "Arnout" == Arnout Vandecappelle <arnout@mind.be> writes:
Hi,
>> For some complicated reason, using Buildroot in a directory stored
>> under /usr doesn't work. We will work on fixing that, but in the
>> mean time, please build from /home/something, /opt or anything else,
>> but not from a subdirectory of /usr.
Arnout> We should at least have a check for that...
Indeed. I'm looking into adding one.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Buildroot] [Bug 5750] buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2
2012-12-05 21:19 ` Peter Korsgaard
@ 2012-12-05 21:28 ` Thomas Petazzoni
2012-12-05 22:40 ` Peter Korsgaard
0 siblings, 1 reply; 20+ messages in thread
From: Thomas Petazzoni @ 2012-12-05 21:28 UTC (permalink / raw)
To: buildroot
Dear Peter Korsgaard,
On Wed, 05 Dec 2012 13:19:52 -0800, Peter Korsgaard wrote:
> >> For some complicated reason, using Buildroot in a directory stored
> >> under /usr doesn't work. We will work on fixing that, but in the
> >> mean time, please build from /home/something, /opt or anything
> >> else, but not from a subdirectory of /usr.
>
> Arnout> We should at least have a check for that...
>
> Indeed. I'm looking into adding one.
Well, I think we should rather fix the problem. I have a fix that works
for most cases, except for the stupid libglib2 package that generates
incorrect .la files...
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Buildroot] [Bug 5750] buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2
2012-12-05 21:28 ` Thomas Petazzoni
@ 2012-12-05 22:40 ` Peter Korsgaard
0 siblings, 0 replies; 20+ messages in thread
From: Peter Korsgaard @ 2012-12-05 22:40 UTC (permalink / raw)
To: buildroot
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni@free-electrons.com> writes:
Arnout> We should at least have a check for that...
>>
>> Indeed. I'm looking into adding one.
Thomas> Well, I think we should rather fix the problem. I have a fix
Thomas> that works for most cases, except for the stupid libglib2
Thomas> package that generates incorrect .la files...
Ahh, even better.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 20+ messages in thread
* [Buildroot] [Bug 5750] Doing a Buildroot build from /usr doesn't work
2012-12-04 23:55 [Buildroot] [Bug 5750] New: buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2 bugzilla at busybox.net
2012-12-05 7:59 ` [Buildroot] [Bug 5750] " bugzilla at busybox.net
@ 2013-05-26 10:24 ` bugzilla at busybox.net
2013-05-26 11:03 ` bugzilla at busybox.net
` (12 subsequent siblings)
14 siblings, 0 replies; 20+ messages in thread
From: bugzilla at busybox.net @ 2013-05-26 10:24 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5750
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at buildroot.uclibc |thomas.petazzoni at free-elect
|.org |rons.com
Summary|buildroot-2012.11 while |Doing a Buildroot build
|building X11 for ARM, |from /usr doesn't work
|errors on |
|xlib_libX11-1.4.2 |
--
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] 20+ messages in thread
* [Buildroot] [Bug 5750] Doing a Buildroot build from /usr doesn't work
2012-12-04 23:55 [Buildroot] [Bug 5750] New: buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2 bugzilla at busybox.net
2012-12-05 7:59 ` [Buildroot] [Bug 5750] " bugzilla at busybox.net
2013-05-26 10:24 ` [Buildroot] [Bug 5750] Doing a Buildroot build from /usr doesn't work bugzilla at busybox.net
@ 2013-05-26 11:03 ` bugzilla at busybox.net
2013-05-26 14:24 ` bugzilla at busybox.net
` (11 subsequent siblings)
14 siblings, 0 replies; 20+ messages in thread
From: bugzilla at busybox.net @ 2013-05-26 11:03 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5750
--- Comment #2 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2013-05-26 11:01:51 UTC ---
*** Bug 5222 has been marked as a duplicate of this bug. ***
--
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] 20+ messages in thread
* [Buildroot] [Bug 5750] Doing a Buildroot build from /usr doesn't work
2012-12-04 23:55 [Buildroot] [Bug 5750] New: buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2 bugzilla at busybox.net
` (2 preceding siblings ...)
2013-05-26 11:03 ` bugzilla at busybox.net
@ 2013-05-26 14:24 ` bugzilla at busybox.net
2014-02-13 13:10 ` bugzilla at busybox.net
` (10 subsequent siblings)
14 siblings, 0 replies; 20+ messages in thread
From: bugzilla at busybox.net @ 2013-05-26 14:24 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5750
--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2013-05-26 14:23:16 UTC ---
*** Bug 5228 has been marked as a duplicate of this bug. ***
--
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] 20+ messages in thread
* [Buildroot] [Bug 5750] Doing a Buildroot build from /usr doesn't work
2012-12-04 23:55 [Buildroot] [Bug 5750] New: buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2 bugzilla at busybox.net
` (3 preceding siblings ...)
2013-05-26 14:24 ` bugzilla at busybox.net
@ 2014-02-13 13:10 ` bugzilla at busybox.net
2014-05-13 15:56 ` bugzilla at busybox.net
` (9 subsequent siblings)
14 siblings, 0 replies; 20+ messages in thread
From: bugzilla at busybox.net @ 2014-02-13 13:10 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5750
--- Comment #4 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2014-02-13 13:10:24 UTC ---
*** Bug 6470 has been marked as a duplicate of this bug. ***
--
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] 20+ messages in thread
* [Buildroot] [Bug 5750] Doing a Buildroot build from /usr doesn't work
2012-12-04 23:55 [Buildroot] [Bug 5750] New: buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2 bugzilla at busybox.net
` (4 preceding siblings ...)
2014-02-13 13:10 ` bugzilla at busybox.net
@ 2014-05-13 15:56 ` bugzilla at busybox.net
2014-05-14 7:57 ` bugzilla at busybox.net
` (8 subsequent siblings)
14 siblings, 0 replies; 20+ messages in thread
From: bugzilla at busybox.net @ 2014-05-13 15:56 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5750
Antoine Pierlot-Garcin <antoine.pierlot-garcin@scle.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |antoine.pierlot-garcin at scle
| |.fr
--- Comment #5 from Antoine Pierlot-Garcin <antoine.pierlot-garcin@scle.fr> 2014-05-13 15:56:57 UTC ---
*** Bug 7082 has been marked as a duplicate of this bug. ***
--
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] 20+ messages in thread
* [Buildroot] [Bug 5750] Doing a Buildroot build from /usr doesn't work
2012-12-04 23:55 [Buildroot] [Bug 5750] New: buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2 bugzilla at busybox.net
` (5 preceding siblings ...)
2014-05-13 15:56 ` bugzilla at busybox.net
@ 2014-05-14 7:57 ` bugzilla at busybox.net
2014-05-15 17:31 ` bugzilla at busybox.net
` (7 subsequent siblings)
14 siblings, 0 replies; 20+ messages in thread
From: bugzilla at busybox.net @ 2014-05-14 7:57 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5750
Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|thomas.petazzoni at free-elect |patrickdepinguin+buildroot@
|rons.com |gmail.com
Target Milestone|--- |2014.08
--- Comment #6 from Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com> 2014-05-14 07:57:38 UTC ---
During the 2014.02 stabilization cycle, I started looking into this bug.
See some info here:
http://lists.busybox.net/pipermail/buildroot/2014-February/089291.html
After that I didn't continue further, yet, but my plan is to take this up again
and hopefully close the bug by 2014.08.
--
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] 20+ messages in thread
* [Buildroot] [Bug 5750] Doing a Buildroot build from /usr doesn't work
2012-12-04 23:55 [Buildroot] [Bug 5750] New: buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2 bugzilla at busybox.net
` (6 preceding siblings ...)
2014-05-14 7:57 ` bugzilla at busybox.net
@ 2014-05-15 17:31 ` bugzilla at busybox.net
2014-05-15 19:18 ` bugzilla at busybox.net
` (6 subsequent siblings)
14 siblings, 0 replies; 20+ messages in thread
From: bugzilla at busybox.net @ 2014-05-15 17:31 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5750
--- Comment #7 from Ben Stoltz <benstoltz@gmail.com> 2014-05-15 17:31:12 UTC ---
This fixes the problem for me.
Ben Stoltz <benstoltz@gmail.com>
diff --git a/package/pkg-autotools.mk b/package/pkg-autotools.mk
index a66ecd4..74c90dd 100644
--- a/package/pkg-autotools.mk
+++ b/package/pkg-autotools.mk
@@ -249,8 +249,12 @@ ifndef $(2)_INSTALL_STAGING_CMDS
define $(2)_INSTALL_STAGING_CMDS
$$(TARGET_MAKE_ENV) $$($$(PKG)_MAKE_ENV) $$($$(PKG)_MAKE)
$$($$(PKG)_INSTALL_STAGING_OPT) -C $$($$(PKG)_SRCDIR)
for i in $$$$(find $(STAGING_DIR)/usr/lib* -name "*.la"); do \
- cp -f $$$$i $$$$i~; \
- $$(SED) "s:\(['= ]\)/usr:\\1$(STAGING_DIR)/usr:g" $$$$i; \
+ cp -n $$$$i $$$$i~; \
+ $$(SED) "s,$(BASE_DIR), at BASE_DIR@,g" \
+ -e "s:\(['= ]\)/usr:\\1 at STAGING_DIR@/usr:g" \
+ -e "s, at STAGING_DIR@,$(STAGING_DIR),g" \
+ -e "s, at BASE_DIR@,$(BASE_DIR),g" \
+ $$$$i; \
done
endef
endif
diff --git a/package/pkg-generic.mk b/package/pkg-generic.mk
index 1b99c2a..af3675a 100644
--- a/package/pkg-generic.mk
+++ b/package/pkg-generic.mk
@@ -195,9 +195,12 @@ $(BUILD_DIR)/%/.stamp_staging_installed:
$(foreach hook,$($(PKG)_POST_INSTALL_STAGING_HOOKS),$(call $(hook))$(sep))
$(Q)if test -n "$($(PKG)_CONFIG_SCRIPTS)" ; then \
$(call MESSAGE,"Fixing package configuration files") ;\
- $(SED) "s,^\(exec_\)\?prefix=.*,\1prefix=$(STAGING_DIR)/usr,g" \
- -e "s,-I/usr/,-I$(STAGING_DIR)/usr/,g" \
- -e "s,-L/usr/,-L$(STAGING_DIR)/usr/,g" \
+ $(SED) 's,$(BASE_DIR), at BASE_DIR@,g' \
+ -e "s,^\(exec_\)\?prefix=.*,\1prefix=@STAGING_DIR@/usr,g" \
+ -e "s,-I/usr/,-I at STAGING_DIR@/usr/,g" \
+ -e "s,-L/usr/,-L at STAGING_DIR@/usr/,g" \
+ -e 's, at STAGING_DIR@,$(STAGING_DIR),g' \
+ -e 's, at BASE_DIR@,$(BASE_DIR),g' \
$(addprefix $(STAGING_DIR)/usr/bin/,$($(PKG)_CONFIG_SCRIPTS))
;\
fi
$(Q)touch $@
diff --git a/package/pkgconf/pkgconf.mk b/package/pkgconf/pkgconf.mk
index f3f6526..536c967 100644
--- a/package/pkgconf/pkgconf.mk
+++ b/package/pkgconf/pkgconf.mk
@@ -19,8 +19,10 @@ endef
define HOST_PKGCONF_INSTALL_WRAPPER
$(INSTALL) -m 0755 -D package/pkgconf/pkg-config.in \
$(HOST_DIR)/usr/bin/pkg-config
- $(SED)
's, at PKG_CONFIG_LIBDIR@,$(STAGING_DIR)/usr/lib/pkgconfig:$(STAGING_DIR)/usr/share/pkgconfig,'
\
- -e 's, at STAGING_DIR@,$(STAGING_DIR),' \
+ $(SED) 's,$(BASE_DIR), at BASE_DIR@,g' \
+ -e
's, at PKG_CONFIG_LIBDIR@, at STAGING_DIR@/usr/lib/pkgconfig:@STAGING_DIR@/usr/share/pkgconfig,'
\
+ -e 's, at STAGING_DIR@,$(STAGING_DIR),g' \
+ -e 's, at BASE_DIR@,$(BASE_DIR),g' \
$(HOST_DIR)/usr/bin/pkg-config
endef
--
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 related [flat|nested] 20+ messages in thread
* [Buildroot] [Bug 5750] Doing a Buildroot build from /usr doesn't work
2012-12-04 23:55 [Buildroot] [Bug 5750] New: buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2 bugzilla at busybox.net
` (7 preceding siblings ...)
2014-05-15 17:31 ` bugzilla at busybox.net
@ 2014-05-15 19:18 ` bugzilla at busybox.net
2014-05-15 20:05 ` bugzilla at busybox.net
` (5 subsequent siblings)
14 siblings, 0 replies; 20+ messages in thread
From: bugzilla at busybox.net @ 2014-05-15 19:18 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5750
--- Comment #8 from Thomas De Schampheleire <patrickdepinguin@gmail.com> 2014-05-15 19:18:48 UTC ---
(In reply to comment #7)
> This fixes the problem for me.
Thanks, I will definitely test this out!
--
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] 20+ messages in thread
* [Buildroot] [Bug 5750] Doing a Buildroot build from /usr doesn't work
2012-12-04 23:55 [Buildroot] [Bug 5750] New: buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2 bugzilla at busybox.net
` (8 preceding siblings ...)
2014-05-15 19:18 ` bugzilla at busybox.net
@ 2014-05-15 20:05 ` bugzilla at busybox.net
2014-06-14 19:43 ` bugzilla at busybox.net
` (4 subsequent siblings)
14 siblings, 0 replies; 20+ messages in thread
From: bugzilla at busybox.net @ 2014-05-15 20:05 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5750
--- Comment #9 from Ben Stoltz <benstoltz@gmail.com> 2014-05-15 20:05:53 UTC ---
Created attachment 5384
--> https://bugs.busybox.net/attachment.cgi?id=5384
Patch file
Cut and paste errors at end of line on previous submission.
--
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] 20+ messages in thread
* [Buildroot] [Bug 5750] Doing a Buildroot build from /usr doesn't work
2012-12-04 23:55 [Buildroot] [Bug 5750] New: buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2 bugzilla at busybox.net
` (9 preceding siblings ...)
2014-05-15 20:05 ` bugzilla at busybox.net
@ 2014-06-14 19:43 ` bugzilla at busybox.net
2014-06-14 19:43 ` bugzilla at busybox.net
` (3 subsequent siblings)
14 siblings, 0 replies; 20+ messages in thread
From: bugzilla at busybox.net @ 2014-06-14 19:43 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5750
--- Comment #10 from Thomas De Schampheleire <patrickdepinguin@gmail.com> 2014-06-14 19:43:00 UTC ---
(In reply to comment #8)
> (In reply to comment #7)
> > This fixes the problem for me.
>
> Thanks, I will definitely test this out!
It seems that the result is similar to the patch I was using until now
(attached). It works fine too, but if you grep in output/staging you will find
still occurrences of /usr/path/to/buildroot/.../sysroot/usr/path/to/buildroot,
caused by pkgconfig, as mentioned in
http://lists.busybox.net/pipermail/buildroot/2014-February/089866.html.
While this seems to do no harm, I intend to track down this issue further.
--
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] 20+ messages in thread
* [Buildroot] [Bug 5750] Doing a Buildroot build from /usr doesn't work
2012-12-04 23:55 [Buildroot] [Bug 5750] New: buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2 bugzilla at busybox.net
` (10 preceding siblings ...)
2014-06-14 19:43 ` bugzilla at busybox.net
@ 2014-06-14 19:43 ` bugzilla at busybox.net
2014-06-20 19:14 ` bugzilla at busybox.net
` (2 subsequent siblings)
14 siblings, 0 replies; 20+ messages in thread
From: bugzilla at busybox.net @ 2014-06-14 19:43 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5750
--- Comment #11 from Thomas De Schampheleire <patrickdepinguin@gmail.com> 2014-06-14 19:43:43 UTC ---
Created attachment 5450
--> https://bugs.busybox.net/attachment.cgi?id=5450
alternative patch
--
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] 20+ messages in thread
* [Buildroot] [Bug 5750] Doing a Buildroot build from /usr doesn't work
2012-12-04 23:55 [Buildroot] [Bug 5750] New: buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2 bugzilla at busybox.net
` (11 preceding siblings ...)
2014-06-14 19:43 ` bugzilla at busybox.net
@ 2014-06-20 19:14 ` bugzilla at busybox.net
2014-06-29 13:03 ` bugzilla at busybox.net
2014-06-29 13:19 ` bugzilla at busybox.net
14 siblings, 0 replies; 20+ messages in thread
From: bugzilla at busybox.net @ 2014-06-20 19:14 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5750
--- Comment #12 from Thomas De Schampheleire <patrickdepinguin@gmail.com> 2014-06-20 19:14:07 UTC ---
Patches fixing this issue submitted at:
http://patchwork.ozlabs.org/patch/362322/
http://patchwork.ozlabs.org/patch/362324/
http://patchwork.ozlabs.org/patch/362323/
--
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] 20+ messages in thread
* [Buildroot] [Bug 5750] Doing a Buildroot build from /usr doesn't work
2012-12-04 23:55 [Buildroot] [Bug 5750] New: buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2 bugzilla at busybox.net
` (12 preceding siblings ...)
2014-06-20 19:14 ` bugzilla at busybox.net
@ 2014-06-29 13:03 ` bugzilla at busybox.net
2014-06-29 13:19 ` bugzilla at busybox.net
14 siblings, 0 replies; 20+ messages in thread
From: bugzilla at busybox.net @ 2014-06-29 13:03 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5750
Thomas De Schampheleire <patrickdepinguin@gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #13 from Thomas De Schampheleire <patrickdepinguin@gmail.com> 2014-06-29 13:03:02 UTC ---
Slightly modified patches now accepted, so marking bug as fixed.
See commits:
http://git.buildroot.org/buildroot/commit/?id=7701fc53d19be7cab8bddba72046a39e8421fd9e
http://git.buildroot.org/buildroot/commit/?id=9580c178e55b90c456096bb553f0cd0e26eff6a1
http://git.buildroot.org/buildroot/commit/?id=17eaa5d3ab1982a89c82e603484edbed8f712e16
Hooray for closing this very old bug!
--
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] 20+ messages in thread
* [Buildroot] [Bug 5750] Doing a Buildroot build from /usr doesn't work
2012-12-04 23:55 [Buildroot] [Bug 5750] New: buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2 bugzilla at busybox.net
` (13 preceding siblings ...)
2014-06-29 13:03 ` bugzilla at busybox.net
@ 2014-06-29 13:19 ` bugzilla at busybox.net
14 siblings, 0 replies; 20+ messages in thread
From: bugzilla at busybox.net @ 2014-06-29 13:19 UTC (permalink / raw)
To: buildroot
https://bugs.busybox.net/show_bug.cgi?id=5750
--- Comment #14 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2014-06-29 13:19:56 UTC ---
(In reply to comment #13)
> Hooray for closing this very old bug!
Yes, thanks a _lot_ for working on this problem!
--
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] 20+ messages in thread
end of thread, other threads:[~2014-06-29 13:19 UTC | newest]
Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-04 23:55 [Buildroot] [Bug 5750] New: buildroot-2012.11 while building X11 for ARM, errors on xlib_libX11-1.4.2 bugzilla at busybox.net
2012-12-05 7:59 ` [Buildroot] [Bug 5750] " bugzilla at busybox.net
2012-12-05 17:20 ` Arnout Vandecappelle
2012-12-05 21:19 ` Peter Korsgaard
2012-12-05 21:28 ` Thomas Petazzoni
2012-12-05 22:40 ` Peter Korsgaard
2013-05-26 10:24 ` [Buildroot] [Bug 5750] Doing a Buildroot build from /usr doesn't work bugzilla at busybox.net
2013-05-26 11:03 ` bugzilla at busybox.net
2013-05-26 14:24 ` bugzilla at busybox.net
2014-02-13 13:10 ` bugzilla at busybox.net
2014-05-13 15:56 ` bugzilla at busybox.net
2014-05-14 7:57 ` bugzilla at busybox.net
2014-05-15 17:31 ` bugzilla at busybox.net
2014-05-15 19:18 ` bugzilla at busybox.net
2014-05-15 20:05 ` bugzilla at busybox.net
2014-06-14 19:43 ` bugzilla at busybox.net
2014-06-14 19:43 ` bugzilla at busybox.net
2014-06-20 19:14 ` bugzilla at busybox.net
2014-06-29 13:03 ` bugzilla at busybox.net
2014-06-29 13:19 ` 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.