Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 121517 - libgphoto2-2.1.6-r1 doesn't compile
Summary: libgphoto2-2.1.6-r1 doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alastair Tse (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-04 02:19 UTC by Raphael Jacquot
Modified: 2006-07-18 04:36 UTC (History)
0 users

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


Attachments
the build log (build.log,58.30 KB, text/plain)
2006-02-28 12:42 UTC, Raphael Jacquot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael Jacquot 2006-02-04 02:19:36 UTC
/bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..                                         -I../intl                        -I../libgphoto2_port/libgphoto2_port             -DLOCALEDIR=\"/usr/share/locale\"-DCAMLIBS=\"/usr/lib/gphoto2/2.1.6\"                                 -g -O2 -march=pentium-m -fomit-frame-pointer -mfpmath=sse -g -Wall -Wmissing-declarations -Wmissing-prototypes -c gphoto2-filesys.c
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl -I../libgphoto2_port/libgphoto2_port -DLOCALEDIR=\"/usr/share/locale\" -DCAMLIBS=\"/usr/lib/gphoto2/2.1.6\" -g -O2 -march=pentium-m -fomit-frame-pointer -mfpmath=sse -g -Wall -Wmissing-declarations -Wmissing-prototypes -c gphoto2-filesys.c  -fPIC -DPIC -o .libs/gphoto2-filesys.o
gphoto2-filesys.c: In function `get_exif_mtime':
gphoto2-filesys.c:149: error: structure has no member named `ifd0'
gphoto2-filesys.c:152: warning: passing arg 1 of `exif_data_unref' from incompatible pointer type
gphoto2-filesys.c:154: error: structure has no member named `ifd_exif'
gphoto2-filesys.c:158: warning: passing arg 1 of `exif_data_unref' from incompatible pointer type
gphoto2-filesys.c:160: error: structure has no member named `ifd_exif'
gphoto2-filesys.c:164: warning: passing arg 1 of `exif_data_unref' from incompatible pointer type
make[2]: *** [gphoto2-filesys.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/libgphoto2-2.1.6-r1/work/libgphoto2-2.1.6/libgphoto2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/libgphoto2-2.1.6-r1/work/libgphoto2-2.1.6'
make: *** [all-recursive-am] Error 2

!!! ERROR: media-libs/libgphoto2-2.1.6-r1 failed.
Call stack:
  ebuild.sh, line 1894:   Called dyn_compile
  ebuild.sh, line 941:   Called src_compile



emerge --info :
Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 Intel(R) Celeron(R) M processor         1.40GHz
Gentoo Base System version 1.12.0_pre15
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-g -O2 -march=pentium-m -fomit-frame-pointer -mfpmath=sse"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-g -O2 -march=pentium-m -fomit-frame-pointer -mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks nostrip sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo/"
LC_ALL="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X X509 a52 aac aalib accessibility acpi alsa aotuv apm artworkextra avi bash-completion berkdb bidi bitmap-fonts bzip2 cairo canvas cdda cdr cjk crypt cscope cups daap dbus debug doc dri dts dv dvb dvd dvdr dvi ecc editor eds emboss encode exif ffmpeg firefox flac fontconfig foomaticdb fortran freetts freetype gcj gdbm gecko-sdk gif gimpprint glitz glut gnome gnomedb gnutls gpm gstreamer gtk gtk2 gtkhtml guile hal howl i8x0 idea ieee1394 imlib ipv6 jack jack-tmpfs java javascript jpeg lcms ldap libcaca libg++ libgda libwww live lm_sensors mad matroska mikmod mmx mmxext mng mod mono motif mozcalendar mozdevelop mozsvg mp3 mpeg nautilus ncurses network nfs nls nntp nptl nptlonly numeric objc odbc ogg oggvorbis opengl oss pam pcmcia pda pdflib perl png portaudio postgres ppds profile python quicktime readline real rtc sasl sdl sensord server slp snmp speex spell sqlite sse sse2 ssl stream svg tcltk tcpd tetex theora threads tiff tools truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd vorbis wifi win32codecs wmf wxwindows xml2 xmms xosd xprint xv xvid xvmc zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux userland_GNU video_cards_i810"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS, LINGUAS
Comment 1 Alastair Tse (RETIRED) gentoo-dev 2006-02-06 13:37:43 UTC
cannot reproduce this. what version is your libexif?
Comment 2 Raphael Jacquot 2006-02-09 09:12:01 UTC
*  media-libs/libexif
      Latest version available: 0.6.12-r4
      Latest version installed: 0.6.12-r4
      Size of files: 525 kB
      Homepage:      http://libexif.sourceforge.net/
      Description:   Library for parsing, editing, and saving EXIF data
      License:       LGPL-2.1
Comment 3 Alastair Tse (RETIRED) gentoo-dev 2006-02-09 13:58:18 UTC
works for me .. with the same versions. can you attach the full build log by doing:

emerge libgphoto 2>&1 | tee /tmp/build.log
Comment 4 Raphael Jacquot 2006-02-28 12:42:06 UTC
Created attachment 80964 [details]
the build log

this is the requested log
Comment 5 Raphael Jacquot 2006-03-20 22:07:38 UTC
this is related to libexif.
it seems the bug is fixed in libgphoto2-2.1.99 (aka 2.2)
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2006-07-18 04:36:56 UTC
closing as 2.2.1 is in portage.