Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283337 - media-libs/libgphoto2-2.4.7 doesn't compile: "yes/lib: No such file or directory"
Summary: media-libs/libgphoto2-2.4.7 doesn't compile: "yes/lib: No such file or direct...
Status: RESOLVED DUPLICATE of bug 283282
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-31 14:47 UTC by Stephan Friedrichs
Modified: 2009-08-31 21:02 UTC (History)
1 user (show)

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


Attachments
paludis --info libgphoto2 (libgphoto2,15.00 KB, text/plain)
2009-08-31 14:51 UTC, Stephan Friedrichs
Details
build log (1251731661-install-media-libs_libgphoto2-2.4.7:0::gentoo.out,81.82 KB, text/plain)
2009-08-31 15:23 UTC, Stephan Friedrichs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Friedrichs 2009-08-31 14:47:15 UTC
media-libs/libgphoto2-2.4.7 doesn't compile on ~amd64. It fails with the following output:

/bin/sh ../libtool --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -march=nocona -O2 -pipe -Wall -Wmissing-declarations -Wmissing-prototypes 
-march=nocona -O2 -pipe -Wall -Wmissing-declarations -Wmissing-prototypes -no-undefined -export-symbols ./libgphoto2.sym -version-info 6:0:4
 -Wl,-O1 -o libgphoto2.la -rpath /usr/lib64 libgphoto2_la-gphoto2-abilities-list.lo libgphoto2_la-ahd_bayer.lo libgphoto2_la-bayer.lo libgph
oto2_la-gphoto2-camera.lo libgphoto2_la-gphoto2-context.lo libgphoto2_la-exif.lo libgphoto2_la-gphoto2-file.lo libgphoto2_la-gphoto2-filesys
.lo libgphoto2_la-gamma.lo libgphoto2_la-jpeg.lo libgphoto2_la-gphoto2-list.lo libgphoto2_la-gphoto2-result.lo libgphoto2_la-gphoto2-version
.lo libgphoto2_la-gphoto2-setting.lo libgphoto2_la-gphoto2-widget.lo ../libgphoto2_port/libgphoto2_port/libgphoto2_port.la -lltdl -Lyes/lib 
-lexif -lm
../libtool: line 4998: cd: yes/lib: No such file or directory
libtool: link: cannot determine absolute directory name of `yes/lib'
make[2]: *** [libgphoto2.la] Error 1
make[2]: Leaving directory `/var/tmp/paludis/media-libs-libgphoto2-2.4.7/work/libgphoto2-2.4.7/libgphoto2'


Reproducible: Always

Steps to Reproduce:
1. paludis -i1 libgphoto2
Comment 1 Stephan Friedrichs 2009-08-31 14:51:14 UTC
Created attachment 202808 [details]
paludis --info libgphoto2
Comment 2 Rafał Mużyło 2009-08-31 14:55:24 UTC
Perhaps I'm writing it, just as you're attaching them,
but full build.log and probably config.log would be helpful.
Comment 3 Stephan Friedrichs 2009-08-31 15:23:20 UTC
Created attachment 202810 [details]
build log
Comment 4 Malcolm Lashley 2009-08-31 16:36:40 UTC
configure --help

  --with-libexif=PREFIX   where to find libexif, "no" or "auto"                   

Ebuild has:
        $(use_with exif libexif) \

Ebuild needs:
        $(use_with exif libexif auto) \

Because dumb configure script is taking the default of 'yes' for unspecified PREFIX. (I couldn't be bothered to debug it further with this simple change to the ebuild I was able to compile just fine :)
Comment 5 Malcolm Lashley 2009-08-31 16:43:55 UTC
NB - gphoto2 also needs similar changes - it defines the same configure options for --with-libexif=PREFIX

The ebuild misses the correct use_with construct to perform the correct USE-flag to config-opt mapping - $(use_with exif) => $(use_with exif libexif auto)

Resulting in:

configure: WARNING: unrecognized options: --with-exif              
                                                                                  
But gphoto2 still builds just fine (I think it defaults to auto-detect.)
Comment 6 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-31 21:02:13 UTC

*** This bug has been marked as a duplicate of bug 283282 ***