I'm trying to create a GNAP image with one extension, fbi. I added the
necessary portage information for fbi and it's dependencies (libexif and
jpeg) to the gnap snapshot and repackaged it as
gnap-portagesnapshot2.tar.bz2. When I try to build the extension libexif
compiles fine, but jpeg fails with errors. Can anyone help me?
One of the errors is: fbi.c:27:21: jpeglib.h: No such file or directory
In file included from fbi.c:45:
If I do a find on jpeglib.h I get:
gentoo specs # find / -name jpeglib.h
/var/tmp/catalyst/tmp/gnap/grp-x86-20050907/var/tmp/portage/fbi-1.31-r1/work/fbi-1.31/jpeg/jpeglib.h
/var/tmp/catalyst/tmp/gnap/grp-x86-20050910/var/tmp/portage/jpeg-6b-r5/work/jpeg-6b/jpeglib.h
/var/tmp/catalyst/tmp/gnap/grp-x86-20050912/var/tmp/portage/fbi-1.31-r1/work/fbi-1.31/jpeg/jpeglib.h
/usr/include/jpeglib.h
Why is gnap not finding the file?
The entire error file follows:
gentoo specs # cat gnap_make-20050912.err
>>> Regenerating /etc/ld.so.cache...
>>> Regenerating /etc/ld.so.cache...
gstrfuncs.c: In function `g_strsignal':
gstrfuncs.c:674: warning: implicit declaration of function `strsignal'
gstrfuncs.c:674: warning: return makes pointer from integer without a cast
libtool: link: warning: `-version-info/-version-number' is ignored for
convenience libraries
libtool: link: warning: `-release' is ignored for convenience libraries
testglib.c: In function `g_node_test':
testglib.c:86: warning: reading through null pointer (arg 5)
testglib.c:90: warning: reading through null pointer (arg 5)
testglib.c:98: warning: reading through null pointer (arg 5)
testglib.c:108: warning: reading through null pointer (arg 5)
testglib.c:109: warning: reading through null pointer (arg 5)
testglib.c:110: warning: reading through null pointer (arg 5)
testglib.c:111: warning: reading through null pointer (arg 5)
testglib.c:112: warning: reading through null pointer (arg 5)
testglib.c:113: warning: reading through null pointer (arg 5)
testglib.c:114: warning: reading through null pointer (arg 5)
testglib.c:115: warning: reading through null pointer (arg 5)
testglib.c:116: warning: reading through null pointer (arg 5)
testglib.c:117: warning: reading through null pointer (arg 5)
testglib.c:118: warning: reading through null pointer (arg 5)
testglib.c:123: warning: reading through null pointer (arg 5)
testglib.c:127: warning: reading through null pointer (arg 5)
testglib.c:182: warning: reading through null pointer (arg 5)
testglib.c:183: warning: reading through null pointer (arg 5)
testglib.c: In function `main':
testglib.c:359: warning: reading through null pointer (arg 5)
testglib.c:361: warning: reading through null pointer (arg 5)
testglib.c:363: warning: reading through null pointer (arg 5)
testglib.c:366: warning: reading through null pointer (arg 5)
testglib.c:912: warning: const qualifier ignored on asm
testglib.c:913: warning: const qualifier ignored on asm
testglib.c:915: warning: const qualifier ignored on asm
testglib.c:915: warning: const qualifier ignored on asm
libtool: link: warning: `-version-info/-version-number' is ignored for
convenience libraries
libtool: link: warning: `-release' is ignored for convenience libraries
libtool: link: warning: `-version-info/-version-number' is ignored for
convenience libraries
libtool: link: warning: `-release' is ignored for convenience libraries
In file included from testgthread.c:6:
../testglib.c: In function `g_node_test':
../testglib.c:86: warning: reading through null pointer (arg 5)
../testglib.c:90: warning: reading through null pointer (arg 5)
../testglib.c:98: warning: reading through null pointer (arg 5)
../testglib.c:108: warning: reading through null pointer (arg 5)
../testglib.c:109: warning: reading through null pointer (arg 5)
../testglib.c:110: warning: reading through null pointer (arg 5)
../testglib.c:111: warning: reading through null pointer (arg 5)
../testglib.c:112: warning: reading through null pointer (arg 5)
../testglib.c:113: warning: reading through null pointer (arg 5)
../testglib.c:114: warning: reading through null pointer (arg 5)
../testglib.c:115: warning: reading through null pointer (arg 5)
../testglib.c:116: warning: reading through null pointer (arg 5)
../testglib.c:117: warning: reading through null pointer (arg 5)
../testglib.c:118: warning: reading through null pointer (arg 5)
../testglib.c:123: warning: reading through null pointer (arg 5)
../testglib.c:127: warning: reading through null pointer (arg 5)
../testglib.c:182: warning: reading through null pointer (arg 5)
../testglib.c:183: warning: reading through null pointer (arg 5)
../testglib.c: In function `testglib_main':
../testglib.c:359: warning: reading through null pointer (arg 5)
../testglib.c:361: warning: reading through null pointer (arg 5)
../testglib.c:363: warning: reading through null pointer (arg 5)
../testglib.c:366: warning: reading through null pointer (arg 5)
../testglib.c:912: warning: const qualifier ignored on asm
../testglib.c:913: warning: const qualifier ignored on asm
../testglib.c:915: warning: const qualifier ignored on asm
../testglib.c:915: warning: const qualifier ignored on asm
hash-test.c:181: warning: `not_even_foreach' defined but not used
hash-test.c:206: warning: `remove_even_foreach' defined but not used
node-test.c: In function `g_node_test':
node-test.c:99: warning: reading through null pointer (arg 5)
node-test.c:103: warning: reading through null pointer (arg 5)
node-test.c:111: warning: reading through null pointer (arg 5)
node-test.c:121: warning: reading through null pointer (arg 5)
node-test.c:122: warning: reading through null pointer (arg 5)
node-test.c:123: warning: reading through null pointer (arg 5)
node-test.c:124: warning: reading through null pointer (arg 5)
node-test.c:125: warning: reading through null pointer (arg 5)
node-test.c:126: warning: reading through null pointer (arg 5)
node-test.c:127: warning: reading through null pointer (arg 5)
node-test.c:128: warning: reading through null pointer (arg 5)
node-test.c:129: warning: reading through null pointer (arg 5)
node-test.c:130: warning: reading through null pointer (arg 5)
node-test.c:131: warning: reading through null pointer (arg 5)
node-test.c:136: warning: reading through null pointer (arg 5)
node-test.c:140: warning: reading through null pointer (arg 5)
node-test.c:195: warning: reading through null pointer (arg 5)
node-test.c:196: warning: reading through null pointer (arg 5)
type-test.c: In function `main':
type-test.c:54: warning: const qualifier ignored on asm
type-test.c:55: warning: const qualifier ignored on asm
type-test.c:57: warning: const qualifier ignored on asm
type-test.c:57: warning: const qualifier ignored on asm
./
./usr/
./usr/bin/
./usr/bin/pkg-config
./usr/share/
./usr/share/aclocal/
./usr/share/aclocal/pkg.m4
./usr/share/man/
./usr/share/man/man1/
./usr/share/man/man1/pkg-config.1.gz
./usr/share/doc/
./usr/share/doc/pkgconfig-0.17.2-r1/
./usr/share/doc/pkgconfig-0.17.2-r1/AUTHORS.gz
./usr/share/doc/pkgconfig-0.17.2-r1/NEWS.gz
./usr/share/doc/pkgconfig-0.17.2-r1/ChangeLog.gz
./usr/share/doc/pkgconfig-0.17.2-r1/README.gz
>>> Regenerating /etc/ld.so.cache...
exif-data.c: In function `exif_data_load_data_content_recurse':
exif-data.c:188: warning: `return' with a value, in function returning void
exif-entry.c: In function `exif_entry_get_value':
exif-entry.c:157: warning: statement with no effect
exif-entry.c:158: warning: statement with no effect
exif-format.c: In function `exif_format_get_name':
exif-format.c:48: warning: statement with no effect
exif-format.c:49: warning: statement with no effect
exif-tag.c: In function `exif_tag_get_title':
exif-tag.c:591: warning: statement with no effect
exif-tag.c:592: warning: statement with no effect
exif-tag.c: In function `exif_tag_get_description':
exif-tag.c:606: warning: statement with no effect
exif-tag.c:607: warning: statement with no effect
libtool: install: warning: remember to run `libtool --finish /usr/lib'
./
./usr/
./usr/lib/
./usr/lib/pkgconfig/
./usr/lib/pkgconfig/libexif.pc
./usr/lib/libexif.la
./usr/lib/libexif.a
./usr/include/
./usr/include/libexif/
./usr/include/libexif/exif-byte-order.h
./usr/include/libexif/exif-content.h
./usr/include/libexif/exif-data.h
./usr/include/libexif/exif-entry.h
./usr/include/libexif/exif-format.h
./usr/include/libexif/exif-ifd.h
./usr/include/libexif/exif-loader.h
./usr/include/libexif/exif-result.h
./usr/include/libexif/exif-tag.h
./usr/include/libexif/exif-utils.h
./usr/share/
./usr/share/doc/
./usr/share/doc/libexif-0.5.12-r3/
./usr/share/doc/libexif-0.5.12-r3/ChangeLog.gz
./usr/share/doc/libexif-0.5.12-r3/README.gz
>>> Regenerating /etc/ld.so.cache...
checking for libdir name ... lib
checking for endian.h ... yes
checking for X11/X.h ... no
checking for pcd_open in pcd ... no
checking for jpeg_start_compress in jpeg ... no
checking for DGifOpenFileName in gif ... no
checking for png_read_info in png ... no
checking for TIFFOpen in tiff ... no
checking for exif_data_new_from_file in exif ... yes
checking for curl_easy_init in curl ... no
checking for lirc_init in lirc_client ... no
fbi.c:27:21: jpeglib.h: No such file or directory
In file included from fbi.c:45:
jpeg/transupp.h:89: error: syntax error before "boolean"
jpeg/transupp.h:89: warning: no semicolon at end of struct or union
jpeg/transupp.h:90: warning: type defaults to `int' in declaration of
`force_grayscale'
jpeg/transupp.h:90: warning: data definition has no type or storage class
jpeg/transupp.h:94: error: syntax error before '*' token
jpeg/transupp.h:94: warning: type defaults to `int' in declaration of
`workspace_coef_arrays'
jpeg/transupp.h:94: warning: data definition has no type or storage class
jpeg/transupp.h:95: error: syntax error before '}' token
jpeg/transupp.h:95: warning: type defaults to `int' in declaration of
`jpeg_transform_info'
jpeg/transupp.h:95: warning: data definition has no type or storage class
jpeg/transupp.h:101: error: syntax error before
"jtransform_request_workspace"
jpeg/transupp.h:104: error: syntax error before '*' token
jpeg/transupp.h:109: error: syntax error before
"jtransform_execute_transformation"
jpeg/transupp.h:130: error: syntax error before "jcopy_markers_setup"
jpeg/transupp.h:133: error: syntax error before "jcopy_markers_execute"
make: *** [fbi.o] Error 1
!!! ERROR: media-gfx/fbi-1.31-r1 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status
message.
--
[email protected] mailing list