Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85358 - fbida fails to compile without libexif
Summary: fbida fails to compile without libexif
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Michal Januszewski (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-15 08:27 UTC by Tobias Bengtsson
Modified: 2005-03-23 06:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Bengtsson 2005-03-15 08:27:37 UTC
When I tried to emerge fbida, the compile failed while looking for the libexif headers. A quick emerge of libexif follwed by a new emerge of fbida resolved the issue.

Reproducible: Always
Steps to Reproduce:
1. emerge fbida without libexif installed
Actual Results:  
lateralus root # emerge fbida
Calculating dependencies ...done!
>>> emerge (1 of 1) media-gfx/fbida-2.03 to /
>>> Downloading http://distfiles.gentoo.org/distfiles/fbida-2.03.tar.gz
--17:10:34--  http://distfiles.gentoo.org/distfiles/fbida-2.03.tar.gz
           => `/usr/portage/distfiles/fbida-2.03.tar.gz'
Resolving distfiles.gentoo.org... 216.165.129.135, 156.56.247.195, 140.211.166.134
Connecting to distfiles.gentoo.org[216.165.129.135]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 205,955 [application/x-gzip]

100%[=============================================================>] 205,955   
  199.12K/s
17:10:36 (198.81 KB/s) - `/usr/portage/distfiles/fbida-2.03.tar.gz' saved
[205955/205955]

>>> md5 src_uri ;-) fbida-2.03.tar.gz
>>> Unpacking source...
>>> Unpacking fbida-2.03.tar.gz to /var/tmp/portage/fbida-2.03/work
>>> Source unpacked.
checking for libdir name ... lib
checking for X11 app-defaults prefix ... /etc/X11
checking for endian.h ... yes
checking for linux/fb.h ... yes
checking for libexif/exif-log.h ... no
checking for fopencookie ... yes
checking for strcasestr ... yes
checking for pcd_open in pcd ... no
checking for DGifOpenFileName in ungif ... yes
checking for png_read_info in png ... yes
checking for TIFFOpen in tiff ... yes
checking for Magick-config ... no
checking for sane_init in sane ... no
checking for curl_easy_init in curl ... no
checking for lirc_init in lirc_client ... no
checking for XmStringGenerate in Xm ... yes

Make.config written, edit if needed

make: `Make.config' is up to date.
  CC      exiftran.o
  CC      genthumbnail.o
exiftran.c:12:31: libexif/exif-data.h: No such file or directory
exiftran.c:21: error: parse error before "ExifData"
exiftran.c:22: warning: function declaration isn't a prototype
exiftran.c: In function `dump_exif':
exiftran.c:27: error: `ExifEntry' undeclared (first use in this function)
exiftran.c:27: error: (Each undeclared identifier is reported only once
exiftran.c:27: error: for each function it appears in.)
exiftran.c:27: error: `ee' undeclared (first use in this function)
exiftran.c:30: error: `EXIF_IFD_COUNT' undeclared (first use in this function)
exiftran.c:31: error: `out' undeclared (first use in this function)
exiftran.c:31: warning: implicit declaration of function `exif_ifd_get_name'
exiftran.c:31: warning: format argument is not a pointer (arg 3)
exiftran.c:33: warning: implicit declaration of function `exif_tag_get_title'
exiftran.c:33: warning: assignment makes pointer from integer without a cast
exiftran.c:36: warning: implicit declaration of function `exif_content_get_entry'
exiftran.c:36: error: `ed' undeclared (first use in this function)
exiftran.c:42: warning: implicit declaration of function `exif_entry_get_value'
exiftran.c:42: warning: assignment makes pointer from integer without a cast
exiftran.c: In function `dump_file':
exiftran.c:53: error: `ExifData' undeclared (first use in this function)
exiftran.c:53: error: `ed' undeclared (first use in this function)
exiftran.c:55: warning: implicit declaration of function `exif_data_new_from_file'
exiftran.c:65: warning: implicit declaration of function `exif_data_unref'
make: *** [exiftran.o] Error 1 
make: *** Waiting for unfinished jobs....
make: *** Waiting for unfinished jobs....

!!! ERROR: media-gfx/fbida-2.03 failed.
!!! Function src_compile, Line 49, Exitcode 2
!!! (no error message)

Expected Results:  
The ebuild should probably have checked for libexif, and then proceeded to
install it if missing.

About the severity; it's Normal if you wouldn't expect the average Gentoo user
to be able to understand the error messages and find the appropriate solution,
it's Minor if you do since it didn't take much work to fix by hand. I'm setting
it to Normal, it's hopefully and easy ebuild fix anyways.
Comment 1 Michal Januszewski (RETIRED) gentoo-dev 2005-03-23 06:08:21 UTC
Fixed in CVS.

BTW, you don't need to explain in so much detail why you have chosen a particular 'severity' value. Many devs don't care too much what's set in all these fields in bugzilla ;)