<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>85358</bug_id>
          
          <creation_ts>2005-03-15 08:27 0000</creation_ts>
          <short_desc>fbida fails to compile without libexif</short_desc>
          <delta_ts>2005-03-23 06:08:21 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>tjolle@gmail.com</reporter>
          <assigned_to>spock@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>tjolle@gmail.com</who>
            <bug_when>2005-03-15 08:27:37 0000</bug_when>
            <thetext>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!
&gt;&gt;&gt; emerge (1 of 1) media-gfx/fbida-2.03 to /
&gt;&gt;&gt; Downloading http://distfiles.gentoo.org/distfiles/fbida-2.03.tar.gz
--17:10:34--  http://distfiles.gentoo.org/distfiles/fbida-2.03.tar.gz
           =&gt; `/usr/portage/distfiles/fbida-2.03.tar.gz&apos;
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%[=============================================================&gt;] 205,955   
  199.12K/s
17:10:36 (198.81 KB/s) - `/usr/portage/distfiles/fbida-2.03.tar.gz&apos; saved
[205955/205955]

&gt;&gt;&gt; md5 src_uri ;-) fbida-2.03.tar.gz
&gt;&gt;&gt; Unpacking source...
&gt;&gt;&gt; Unpacking fbida-2.03.tar.gz to /var/tmp/portage/fbida-2.03/work
&gt;&gt;&gt; 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&apos; 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 &quot;ExifData&quot;
exiftran.c:22: warning: function declaration isn&apos;t a prototype
exiftran.c: In function `dump_exif&apos;:
exiftran.c:27: error: `ExifEntry&apos; 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&apos; undeclared (first use in this function)
exiftran.c:30: error: `EXIF_IFD_COUNT&apos; undeclared (first use in this function)
exiftran.c:31: error: `out&apos; undeclared (first use in this function)
exiftran.c:31: warning: implicit declaration of function `exif_ifd_get_name&apos;
exiftran.c:31: warning: format argument is not a pointer (arg 3)
exiftran.c:33: warning: implicit declaration of function `exif_tag_get_title&apos;
exiftran.c:33: warning: assignment makes pointer from integer without a cast
exiftran.c:36: warning: implicit declaration of function `exif_content_get_entry&apos;
exiftran.c:36: error: `ed&apos; undeclared (first use in this function)
exiftran.c:42: warning: implicit declaration of function `exif_entry_get_value&apos;
exiftran.c:42: warning: assignment makes pointer from integer without a cast
exiftran.c: In function `dump_file&apos;:
exiftran.c:53: error: `ExifData&apos; undeclared (first use in this function)
exiftran.c:53: error: `ed&apos; undeclared (first use in this function)
exiftran.c:55: warning: implicit declaration of function `exif_data_new_from_file&apos;
exiftran.c:65: warning: implicit declaration of function `exif_data_unref&apos;
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&apos;s Normal if you wouldn&apos;t expect the average Gentoo user
to be able to understand the error messages and find the appropriate solution,
it&apos;s Minor if you do since it didn&apos;t take much work to fix by hand. I&apos;m setting
it to Normal, it&apos;s hopefully and easy ebuild fix anyways.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>spock@gentoo.org</who>
            <bug_when>2005-03-23 06:08:21 0000</bug_when>
            <thetext>Fixed in CVS.

BTW, you don&apos;t need to explain in so much detail why you have chosen a particular &apos;severity&apos; value. Many devs don&apos;t care too much what&apos;s set in all these fields in bugzilla ;)</thetext>
          </long_desc>
      
    </bug>

</bugzilla>