media-gfx/flphoto fails to compile, because media-libs/libexif does not install libexif.so.9 Reproducible: Always Steps to Reproduce: 1. emerge media-gfx/flphoto 2. 3. Actual Results: >>> md5 src_uri ;-) flphoto-1.0-source.tar.gz >>> Unpacking source... >>> Unpacking flphoto-1.0-source.tar.gz to /var/tmp/portage/flphoto-1.0/work >>> Source unpacked. configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking for i686-pc-linux-gnu-gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for i686-pc-linux-gnu-g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for i686-pc-linux-gnu-ranlib... no checking for ranlib... ranlib checking for cp... /bin/cp checking for mkdir... /bin/mkdir checking for nroff... /usr/bin/nroff checking for rm... /bin/rm checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether char is unsigned... no checking for ANSI C header files... (cached) yes checking for strcasecmp... yes checking for strdup... yes checking for strlcat... no checking for strlcpy... no checking for strncasecmp... yes checking for snprintf... yes checking for vsnprintf... yes checking for fltk-config... /usr/bin/fltk-config checking for cups-config... /usr/bin/cups-config checking for gphoto2-config... /usr/bin/gphoto2-config checking if libsupc++ is required... yes checking if GCC supports -fno-rtti... yes checking if GCC supports -fno-exceptions... yes configure: creating ./config.status config.status: creating Makefile config.status: creating flphoto.list config.status: creating config.h Compiling Fl_Image_Browser.cxx... Compiling Fl_Image_Display.cxx... Compiling Fl_CRW_Image.cxx... Compiling Fl_EXIF_Data.cxx... Compiling Fl_Print_Dialog.cxx... Compiling Fl_PCD_Image.cxx... Compiling Fl_Print_Dialog2.cxx... Compiling album.cxx... Compiling camera.cxx... Compiling export.cxx... Compiling flphoto.cxx... Compiling help.cxx... Compiling http.cxx... Compiling http-md5.cxx... Compiling image.cxx... Compiling main.cxx... Compiling md5.cxx... Compiling pcd-file.c... Compiling pcd-huff.c... Compiling pcd-inter.c... Compiling pcd-yuv2rgb.c... Compiling print.cxx... Compiling slideshow.cxx... Compiling transupp.c... flphoto.cxx: In member function `flphoto::flphoto(const char*)': flphoto.cxx:819: warning: unused variable `Fl_Menu_Item*o' flphoto.cxx:824: warning: unused variable `Fl_Menu_Item*o' image.cxx: In member function `int flphoto::save_jpeg(const char*, int)': image.cxx:243: warning: `jvirt_barray_control**carrays' might be used uninitialized in this function image.cxx:248: warning: `jvirt_barray_control**darrays' might be used uninitialized in this function Linking flphoto... /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../../i686-pc-linux-gnu/bin/ld: warning: libexif.so.8, needed by /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../.. /../libgphoto2.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libgphoto2.so: undefined reference to `exif_data_save_data' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libgphoto2.so: undefined reference to `exif_data_unref' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libgphoto2.so: undefined reference to `exif_data_new_from_data' /usr/lib/gcc-lib/i686-pc-linux-gnu/3.2.3/../../../libgphoto2.so: undefined reference to `exif_content_get_entry' collect2: ld returned 1 exit status make: *** [flphoto] Error 1 !!! ERROR: media-gfx/flphoto-1.0 failed. !!! Function src_compile, Line 377, Exitcode 2 !!! emake failed An quck and dirty workaround for the problem is to do the following: cd /usr/lib && ln -s libexif.so.9.1.2 libexif.so.8
`emerge gentoolkit ; revdep-rebuild` an upgrade of media-libs/libexif broke some libraries on your computer
okay... i did the revdep-rebuild (i missed the message after the update of libexif) anyway... i got now trouble to update kdegraphics. i recompiled everything what kdegraphics needs (gphoto2, sane-frontends, libgphoto2, etc) and kdegraphics it self and still revdep-rebuild keeps complaining! # revdep-rebuild -- -p Checking reverse dependencies... Packages containing binaries and libraries broken by any package update, will be recompiled. Collecting system binaries and libraries... done. (/root/.revdep-rebuild.1_files) Collecting complete LD_LIBRARY_PATH... done. (/root/.revdep-rebuild.2_ldpath) Checking dynamic linking consistency... broken /usr/kde/3.1/lib/kde3/kcm_kamera.so (requires libexif.so.8) broken /usr/kde/3.1/lib/kde3/kio_kamera.so (requires libexif.so.8) done. (/root/.revdep-rebuild.3_rebuild) Assigning files to ebuilds... done. (/root/.revdep-rebuild.4_ebuilds) Evaluating package order... done. (/root/.revdep-rebuild.5_order) All prepared. Starting rebuild... emerge --oneshot --nodeps -p =kde-base/kdegraphics-3.1.3 These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild R ] kde-base/kdegraphics-3.1.3 Now you can remove -p (or --pretend) from arguments and re-run revdep-rebuild. this 2 stupid *.so files are killing me :) what to do?