Gentoo Archives: gentoo-embedded

From: Thierry Carrez <koon@g.o>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] GNAP fbi extension problem
Date: Mon, 12 Sep 2005 19:16:40
Message-Id: 4325D3B6.6000105@gentoo.org
In Reply to: [gentoo-embedded] GNAP fbi extension problem by Roger McClurg
1 Roger McClurg wrote:
2
3 > I'm trying to create a GNAP image with one extension, fbi. I added the
4 > necessary portage information for fbi and it's dependencies (libexif and
5 > jpeg) to the gnap snapshot and repackaged it as
6 > gnap-portagesnapshot2.tar.bz2. When I try to build the extension libexif
7 > compiles fine, but jpeg fails with errors. Can anyone help me?
8 >
9 > One of the errors is: fbi.c:27:21: jpeglib.h: No such file or directory
10 > In file included from fbi.c:45:
11 >
12 > If I do a find on jpeglib.h I get:
13 > gentoo specs # find / -name jpeglib.h
14 > /var/tmp/catalyst/tmp/gnap/grp-x86-20050907/var/tmp/portage/fbi-1.31-r1/work/fbi-1.31/jpeg/jpeglib.h
15 > /var/tmp/catalyst/tmp/gnap/grp-x86-20050910/var/tmp/portage/jpeg-6b-r5/work/jpeg-6b/jpeglib.h
16 > /var/tmp/catalyst/tmp/gnap/grp-x86-20050912/var/tmp/portage/fbi-1.31-r1/work/fbi-1.31/jpeg/jpeglib.h
17 > /usr/include/jpeglib.h
18 >
19 > Why is gnap not finding the file?
20
21 Good question. The GNAP process calls Catalyst's GRP process, which in
22 turn uses "emerge" to compile and package the thing. I suspect it's not
23 GNAP- or Catalyst-specific, but rather a problem with the ebuild in the
24 specific build environment (minimal uclibc system).
25
26 You can try to emerge it manually using :
27 # chroot /var/tmp/catalyst/tmp/gnap/grp-x86-20050912/ /bin/bash
28 # emerge fbi
29 # exit
30
31 and see if you can reproduce the error... If you do, the problem is in
32 the ebuild/uclibc-env compatibility...
33
34 --
35 Thierry Carrez (Koon)
36 --
37 gentoo-embedded@g.o mailing list