Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 4592] New: libXfont and libXft building failed, cross-compilation error
@ 2011-12-10 15:45 bugzilla at busybox.net
  2011-12-11 21:53 ` [Buildroot] [Bug 4592] " bugzilla at busybox.net
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2011-12-10 15:45 UTC (permalink / raw)
  To: buildroot

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

           Summary: libXfont and libXft building failed, cross-compilation
                    error
           Product: buildroot
           Version: 2011.11
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: marioabajo at gmail.com
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Hi :)
 I was  getting this type of errors when building an arm images with Xorg:


  CC     xftswap.lo
  CC     xftxlfd.lo
  CCLD   libXft.la
/usr/lib/libfreetype.so: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[3]: *** [libXft.la] Error 1

I was able to correct the problem adding this line to the package definition
file xlib_libXfont.mk:
XLIB_LIBXFONT_CONF_ENV = FREETYPE_LIBS=$(STAGING_DIR)/usr/lib

and also to xlib_libXft.mk:
XLIB_LIBXFT_CONF_ENV = FREETYPE_LIBS=$(STAGING_DIR)/usr/lib


Thanks a lot for this great piece of software.

-- 
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] 10+ messages in thread

* [Buildroot] [Bug 4592] libXfont and libXft building failed, cross-compilation error
  2011-12-10 15:45 [Buildroot] [Bug 4592] New: libXfont and libXft building failed, cross-compilation error bugzilla at busybox.net
@ 2011-12-11 21:53 ` bugzilla at busybox.net
  2011-12-12  9:17 ` bugzilla at busybox.net
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2011-12-11 21:53 UTC (permalink / raw)
  To: buildroot

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

Peter Korsgaard <jacmet@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED

--- Comment #1 from Peter Korsgaard <jacmet@uclibc.org> 2011-12-11 21:53:05 UTC ---
Sorry, I cannot reproduce it here. Please provide some more details:

- What is your exact .config?
- Do you have freetype development headers/libs on your host?
- libXft uses pkg-config to find freetype, and freetype depends on
host-pkg-config, so that should be fine. Could you please attach your
output/build/xlib_libXft-2.1.14/config.log file?

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] 10+ messages in thread

* [Buildroot] [Bug 4592] libXfont and libXft building failed, cross-compilation error
  2011-12-10 15:45 [Buildroot] [Bug 4592] New: libXfont and libXft building failed, cross-compilation error bugzilla at busybox.net
  2011-12-11 21:53 ` [Buildroot] [Bug 4592] " bugzilla at busybox.net
@ 2011-12-12  9:17 ` bugzilla at busybox.net
  2011-12-12  9:17 ` bugzilla at busybox.net
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2011-12-12  9:17 UTC (permalink / raw)
  To: buildroot

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

--- Comment #2 from Mario <marioabajo@gmail.com> 2011-12-12 09:17:01 UTC ---
Created attachment 3878
  --> https://bugs.busybox.net/attachment.cgi?id=3878
.config file of the buildroot

-- 
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] 10+ messages in thread

* [Buildroot] [Bug 4592] libXfont and libXft building failed, cross-compilation error
  2011-12-10 15:45 [Buildroot] [Bug 4592] New: libXfont and libXft building failed, cross-compilation error bugzilla at busybox.net
  2011-12-11 21:53 ` [Buildroot] [Bug 4592] " bugzilla at busybox.net
  2011-12-12  9:17 ` bugzilla at busybox.net
@ 2011-12-12  9:17 ` bugzilla at busybox.net
  2011-12-12  9:17 ` bugzilla at busybox.net
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2011-12-12  9:17 UTC (permalink / raw)
  To: buildroot

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

--- Comment #3 from Mario <marioabajo@gmail.com> 2011-12-12 09:17:36 UTC ---
Created attachment 3884
  --> https://bugs.busybox.net/attachment.cgi?id=3884
config.log of the xlib_libXfont package

-- 
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] 10+ messages in thread

* [Buildroot] [Bug 4592] libXfont and libXft building failed, cross-compilation error
  2011-12-10 15:45 [Buildroot] [Bug 4592] New: libXfont and libXft building failed, cross-compilation error bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2011-12-12  9:17 ` bugzilla at busybox.net
@ 2011-12-12  9:17 ` bugzilla at busybox.net
  2011-12-12  9:18 ` bugzilla at busybox.net
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2011-12-12  9:17 UTC (permalink / raw)
  To: buildroot

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

--- Comment #4 from Mario <marioabajo@gmail.com> 2011-12-12 09:17:56 UTC ---
Created attachment 3890
  --> https://bugs.busybox.net/attachment.cgi?id=3890
config.log of the xlib_libXft package

-- 
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] 10+ messages in thread

* [Buildroot] [Bug 4592] libXfont and libXft building failed, cross-compilation error
  2011-12-10 15:45 [Buildroot] [Bug 4592] New: libXfont and libXft building failed, cross-compilation error bugzilla at busybox.net
                   ` (3 preceding siblings ...)
  2011-12-12  9:17 ` bugzilla at busybox.net
@ 2011-12-12  9:18 ` bugzilla at busybox.net
  2011-12-12  9:19 ` bugzilla at busybox.net
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2011-12-12  9:18 UTC (permalink / raw)
  To: buildroot

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

--- Comment #5 from Mario <marioabajo@gmail.com> 2011-12-12 09:18:21 UTC ---
Sorry for the lack of details in the first mail. I'm attaching the .config
file. For building i'm using a work station with debian squeeze and i have the
development files of libfreetype installed:

turin at cronos:~$ dpkg -l libfreetype6-dev
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                         Version                      Description
+++-============================-============================-========================================================================
ii  libfreetype6-dev             2.4.4-1~bpo60+1              FreeType 2 font
engine, development files

I'm also attaching the config.log files of libXft and libXfont packages.
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] 10+ messages in thread

* [Buildroot] [Bug 4592] libXfont and libXft building failed, cross-compilation error
  2011-12-10 15:45 [Buildroot] [Bug 4592] New: libXfont and libXft building failed, cross-compilation error bugzilla at busybox.net
                   ` (4 preceding siblings ...)
  2011-12-12  9:18 ` bugzilla at busybox.net
@ 2011-12-12  9:19 ` bugzilla at busybox.net
  2011-12-12  9:31 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2011-12-12  9:19 UTC (permalink / raw)
  To: buildroot

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

--- Comment #6 from Mario <marioabajo@gmail.com> 2011-12-12 09:19:10 UTC ---
Hello,
I was getting similar errors with other packages and i start investigating in
other direction when i found the LD_LIBRARY_PATH pointing at /usr/lib .
Pointing that env variable to
/home/turin/proyectos/mini2440/buildroot/buildroot-2011.11/output/host/usr/lib
made the building process without errors. My computer is still compilling, so
when it finish y will try to restart the building with a clean LD_LIBRARY_PATH
variable to see if this was the problem.
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] 10+ messages in thread

* [Buildroot] [Bug 4592] libXfont and libXft building failed, cross-compilation error
  2011-12-10 15:45 [Buildroot] [Bug 4592] New: libXfont and libXft building failed, cross-compilation error bugzilla at busybox.net
                   ` (5 preceding siblings ...)
  2011-12-12  9:19 ` bugzilla at busybox.net
@ 2011-12-12  9:31 ` bugzilla at busybox.net
  2011-12-12 12:16 ` bugzilla at busybox.net
  2012-01-31 19:57 ` bugzilla at busybox.net
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2011-12-12  9:31 UTC (permalink / raw)
  To: buildroot

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

--- Comment #7 from Peter Korsgaard <jacmet@uclibc.org> 2011-12-12 09:31:31 UTC ---
(In reply to comment #6)
> I was getting similar errors with other packages and i start investigating in
> other direction when i found the LD_LIBRARY_PATH pointing at /usr/lib .
> Pointing that env variable to
> /home/turin/proyectos/mini2440/buildroot/buildroot-2011.11/output/host/usr/lib
> made the building process without errors. My computer is still compilling, so
> when it finish y will try to restart the building with a clean LD_LIBRARY_PATH
> variable to see if this was the problem.

LD_LIBRARY_PATH can indeed screw up stuff. Normally it shouldn't be needed for
a location like /usr/lib, so I suggest you delete rather than pointing to your
buildroot dir (we already use rpath, so it shouldn't be needed for buildroot
either).

-- 
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] 10+ messages in thread

* [Buildroot] [Bug 4592] libXfont and libXft building failed, cross-compilation error
  2011-12-10 15:45 [Buildroot] [Bug 4592] New: libXfont and libXft building failed, cross-compilation error bugzilla at busybox.net
                   ` (6 preceding siblings ...)
  2011-12-12  9:31 ` bugzilla at busybox.net
@ 2011-12-12 12:16 ` bugzilla at busybox.net
  2012-01-31 19:57 ` bugzilla at busybox.net
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2011-12-12 12:16 UTC (permalink / raw)
  To: buildroot

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

--- Comment #8 from Mario <marioabajo@gmail.com> 2011-12-12 12:16:28 UTC ---
Hi,
Ok, setting LD_LIBRARY_PATH to none solves the problems. I,m sorry for the
inconveniences. Maybe a note in the FAQ about this would be fine.
Thanks for everything :)

-- 
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] 10+ messages in thread

* [Buildroot] [Bug 4592] libXfont and libXft building failed, cross-compilation error
  2011-12-10 15:45 [Buildroot] [Bug 4592] New: libXfont and libXft building failed, cross-compilation error bugzilla at busybox.net
                   ` (7 preceding siblings ...)
  2011-12-12 12:16 ` bugzilla at busybox.net
@ 2012-01-31 19:57 ` bugzilla at busybox.net
  8 siblings, 0 replies; 10+ messages in thread
From: bugzilla at busybox.net @ 2012-01-31 19:57 UTC (permalink / raw)
  To: buildroot

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

Thomas Petazzoni <thomas.petazzoni@free-electrons.com> changed:

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

--- Comment #9 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 2012-01-31 19:57:10 UTC ---
User has said that the problem was solved, and was on his side. Closing the
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] 10+ messages in thread

end of thread, other threads:[~2012-01-31 19:57 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-10 15:45 [Buildroot] [Bug 4592] New: libXfont and libXft building failed, cross-compilation error bugzilla at busybox.net
2011-12-11 21:53 ` [Buildroot] [Bug 4592] " bugzilla at busybox.net
2011-12-12  9:17 ` bugzilla at busybox.net
2011-12-12  9:17 ` bugzilla at busybox.net
2011-12-12  9:17 ` bugzilla at busybox.net
2011-12-12  9:18 ` bugzilla at busybox.net
2011-12-12  9:19 ` bugzilla at busybox.net
2011-12-12  9:31 ` bugzilla at busybox.net
2011-12-12 12:16 ` bugzilla at busybox.net
2012-01-31 19:57 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox