FS#37182 - [fbv] build failure, cannot find libgif

Attached to Project: Community Packages
Opened by Jonathan Frazier (wide-eye) - Thursday, 03 October 2013, 22:12 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 04 October 2013, 09:24 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

this fails to rebuild against the current giflib.

giflib 5.0.4-2
fbv 1.0b-7

==> Making package: fbv 1.0b-7 (Thu Oct 3 18:07:50 EDT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found fbv-1.0b.tar.gz
-> Found giflib-5.0.patch
==> Validating source files with md5sums...
fbv-1.0b.tar.gz ... Passed
giflib-5.0.patch ... Passed
==> Extracting sources...
-> Extracting fbv-1.0b.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
checking for libungif presence... no
checking for libjpeg presence... yes
checking for libpng presence... yes
building with bmp support... yes
checking for DEFAULT_FRAMEBUFFER... /dev/fb0
installation dir: /usr/bin
manuals dir: /usr/share/man
patching file gif.c
gcc -O2 -Wall -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -c -o gif.o gif.c
gif.c: In function ‘fh_gif_id’:
gif.c:45:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
read(fd,id,4);
^
gcc -O2 -Wall -D_GNU_SOURCE -D_FORTIFY_SOURCE=2 -c -o png.o png.c
png.c: In function ‘fh_png_load’:
png.c:108:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
fbptr = buffer;
^
png.c:114:26: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
unsigned char *trp = rp;
^
png.c:131:10: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
fbptr = buffer;
^
png.c: In function ‘fh_png_id’:
png.c:41:9: warning: ignoring return value of ‘read’, declared with attribute warn_unused_result [-Wunused-result]
read(fd,id,4);
^
gcc -Wl,-O1,--sort-common,--as-needed,-z,relro -o fbv main.o jpeg.o gif.o png.o bmp.o fb_display.o transforms.o -lpng -ljpeg -lungif -lgif
/usr/bin/ld: cannot find -lungif
collect2: error: ld returned 1 exit status
make: *** [fbv] Error 1
==> ERROR: A failure occurred in build().
Aborting...

This task depends upon

Closed by  Sergej Pupykin (sergej)
Friday, 04 October 2013, 09:24 GMT
Reason for closing:  Fixed
Comment by Doug Newgard (Scimmia) - Friday, 04 October 2013, 03:10 GMT
Simple fix, just remove -lungif from the sed statement.

Changing the libungif dep to giflib would be a good idea, too.

Loading...