Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 1393] New: neon config fails libxml/parser.h: libxml2 requires, but not dependent on, libiconv
@ 2010-03-22 17:28 bugzilla at busybox.net
  2010-04-02 13:46 ` [Buildroot] [Bug 1393] " bugzilla at busybox.net
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2010-03-22 17:28 UTC (permalink / raw)
  To: buildroot

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

           Summary: neon config fails libxml/parser.h: libxml2 requires, but
                    not dependent on, libiconv
           Product: buildroot
           Version: 2010.02
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
        AssignedTo: unassigned at buildroot.uclibc.org
        ReportedBy: mjhammel at graphics-muse.org
                CC: buildroot at uclibc.org
   Estimated Hours: 0.0


Running configure for neon:

configure:30827: checking libxml/parser.h usability
configure:30844:
/home/mjhammel/src/cei/ustar/src/../bld/buildroot-2010.02.xcc.bld/staging/usr/bin/powerpc-linux-gcc
-Os -pipe -Os  --sysroot
/home/mjhammel/src/cei/ustar/src/../bld/buildroot-2010.02.bld/staging// -c -Os
-pipe -Os  --sysroot
/home/mjhammel/src/cei/ustar/src/../bld/buildroot-2010.02.bld/staging// 
-D_LARGEFILE64_SOURCE -DNE_LFS -I/usr/include/libxml2 conftest.c >&5
In file included from /usr/include/libxml2/libxml/parser.h:801,
                 from conftest.c:131:
/usr/include/libxml2/libxml/encoding.h:28:19: error: iconv.h: No such file or
directory
In file included from /usr/include/libxml2/libxml/parser.h:801,
                 from conftest.c:131:
/usr/include/libxml2/libxml/encoding.h:136: error: expected
specifier-qualifier-list before 'iconv_t'

Checking encoding.h, iconv.h is included only if LIBXML_ICONV_ENABLED is set:

#ifdef LIBXML_ICONV_ENABLED
#include <iconv.h>
#endif

There are no buildroot options to set this so it must be on by default in the
libxml2 build which means that libxml2 should be dependent on libiconv, but it
currently is not.  

Test run: 2010-03-22
Buildroot version: buildroot-2010.02 on Fedora11


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

* [Buildroot] [Bug 1393] neon config fails libxml/parser.h: libxml2 requires, but not dependent on, libiconv
  2010-03-22 17:28 [Buildroot] [Bug 1393] New: neon config fails libxml/parser.h: libxml2 requires, but not dependent on, libiconv bugzilla at busybox.net
@ 2010-04-02 13:46 ` bugzilla at busybox.net
  2010-04-02 15:25 ` bugzilla at busybox.net
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2010-04-02 13:46 UTC (permalink / raw)
  To: buildroot

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


Peter Korsgaard <jacmet@uclibc.org> changed:

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




--- Comment #1 from Peter Korsgaard <jacmet@uclibc.org>  2010-04-02 13:46:46 UTC ---
The problem rather seems to be that neon somehow end up looking at your host
includes, instead of the ones in staging/usr/include.

I cannot reproduce it here, please provide more details about your setup (and
your .config)


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

* [Buildroot] [Bug 1393] neon config fails libxml/parser.h: libxml2 requires, but not dependent on, libiconv
  2010-03-22 17:28 [Buildroot] [Bug 1393] New: neon config fails libxml/parser.h: libxml2 requires, but not dependent on, libiconv bugzilla at busybox.net
  2010-04-02 13:46 ` [Buildroot] [Bug 1393] " bugzilla at busybox.net
@ 2010-04-02 15:25 ` bugzilla at busybox.net
  2010-04-09 14:54 ` bugzilla at busybox.net
  2010-07-19  7:04 ` bugzilla at busybox.net
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2010-04-02 15:25 UTC (permalink / raw)
  To: buildroot

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





--- Comment #2 from Michael J. Hammel <mjhammel@graphics-muse.org>  2010-04-02 15:25:16 UTC ---
Created an attachment (id=1465)
 --> (https://bugs.busybox.net/attachment.cgi?id=1465)
Buildroot config 

I build the cross compiler first, separately, using buildroot.  Then I build
the rootfs.  The xcc source and build trees are completely separate from the
rootfs source and build trees.  I have a metabuild (Makefile, patches, etc.)
that does all this for me.  The metabuild copies over the buildroot tarball to
the build tree, unpacks it, applies patches, copies in the config file (which
is a template that is patched by the metabuild so output goes to the correct
location), and then compiles the rootfs.  The patching of the config file is
done so that all developers can build the project the same way without hard
coded locations in the config file.

My fix to this problem was to enable libiconv in the config file, as shown in
the attachement.

If you'd like to see the metabuild Makefile and includes let me know and I'll
attach them separately.


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

* [Buildroot] [Bug 1393] neon config fails libxml/parser.h: libxml2 requires, but not dependent on, libiconv
  2010-03-22 17:28 [Buildroot] [Bug 1393] New: neon config fails libxml/parser.h: libxml2 requires, but not dependent on, libiconv bugzilla at busybox.net
  2010-04-02 13:46 ` [Buildroot] [Bug 1393] " bugzilla at busybox.net
  2010-04-02 15:25 ` bugzilla at busybox.net
@ 2010-04-09 14:54 ` bugzilla at busybox.net
  2010-07-19  7:04 ` bugzilla at busybox.net
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2010-04-09 14:54 UTC (permalink / raw)
  To: buildroot

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


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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |2010.05




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

* [Buildroot] [Bug 1393] neon config fails libxml/parser.h: libxml2 requires, but not dependent on, libiconv
  2010-03-22 17:28 [Buildroot] [Bug 1393] New: neon config fails libxml/parser.h: libxml2 requires, but not dependent on, libiconv bugzilla at busybox.net
                   ` (2 preceding siblings ...)
  2010-04-09 14:54 ` bugzilla at busybox.net
@ 2010-07-19  7:04 ` bugzilla at busybox.net
  3 siblings, 0 replies; 5+ messages in thread
From: bugzilla at busybox.net @ 2010-07-19  7:04 UTC (permalink / raw)
  To: buildroot

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

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

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

--- Comment #3 from Thomas Petazzoni <thomas.petazzoni@free-electrons.com>  ---
Even though I haven't reproduced the particular problem reported by this bug, I
think commit
http://git.buildroot.net/buildroot/commit/?id=4a2dabe9d53e6c361ecdeaba0431ef74a9ad297c
might fix the problem. Don't hesitate to reopen the bug if you can still
reproduce it with the latest Buildroot git.

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

end of thread, other threads:[~2010-07-19  7:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-22 17:28 [Buildroot] [Bug 1393] New: neon config fails libxml/parser.h: libxml2 requires, but not dependent on, libiconv bugzilla at busybox.net
2010-04-02 13:46 ` [Buildroot] [Bug 1393] " bugzilla at busybox.net
2010-04-02 15:25 ` bugzilla at busybox.net
2010-04-09 14:54 ` bugzilla at busybox.net
2010-07-19  7:04 ` 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