Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89673 - libexif-0.6.12-r3 doesn't compile
Summary: libexif-0.6.12-r3 doesn't compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard: gcc4
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-19 08:56 UTC by Håvard Wall
Modified: 2005-05-13 15:41 UTC (History)
1 user (show)

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


Attachments
Removed 'static' from implementation of exif_get_sshort. (libexif-0.6.12-89673.patch,301 bytes, patch)
2005-04-19 09:00 UTC, Håvard Wall
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Håvard Wall 2005-04-19 08:56:39 UTC
The compiler says it all.

Reproducible: Always
Steps to Reproduce:
1. emerge =libexif-0.6.12-r3

Actual Results:  
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=athlon-xp -O3 -pipe
-fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse
-DLIBEXIF_LOCALEDIR=\"/usr/share/locale\"
-DLIBMNOTE_LOCALEDIR=\"/usr/share/locale\" -I.. -I../libexif -I../libjpeg -g
-Wall -Wmissing-declarations -Wmissing-prototypes -march=athlon-xp -O3 -pipe
-fomit-frame-pointer -mmmx -msse -m3dnow -mfpmath=sse -MT exif-mem.lo -MD -MP
-MF .deps/exif-mem.Tpo -c exif-mem.c -o exif-mem.o >/dev/null 2>&1
exif-utils.c:88: error: static declaration of 'exif_get_sshort' follows
non-static declaration
../libexif/exif-utils.h:48: error: previous declaration of 'exif_get_sshort' was
here
make[3]: *** [exif-utils.lo] Error 1



Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-4.0.0-beta20050416,
glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr  4 2005, 17:41:39)]
distcc[13976] (dcc_set_trace_from_env) ERROR: failed to open logfile
/var/log/distcc: Permission denied [enabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow
-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/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -mmmx -msse -m3dnow
-mfpmath=sse"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.uninett.no/pub/linux/Gentoo
ftp://mirror.pudas.net/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.no.gentoo.org/gentoo-portage"
USE="x86 16bit 3dnow 3dnowex 3dnowext X acpi ada alsa apache2 apm arts avi
bash-completion berkdb bitmap-fonts bzip2 bzlib c++ ccache cdr cdrom cgi clamav
cpdflib cracklib crypt cscope css csv cups curl dbcp dhcp dict directfb
divx4linux doc dpms dv emacs emboss encode examples fam fb fbcon fbdev festival
ffmpeg fftw firefox flac flash font-server foomaticdb fortran freetts freetype
ftp gcj gd gdbm gif gimp gimpprint glade glgd glut gmail gmp gphoto2 gpm gs
gstreamer hal haskell html http httpd imagemagick imlib immqt ipv6 java jikes
jpeg jpeg2k junit kde kdeenablefinal kdepim kdexdeltas libg++ libwww
logitech-mouse logrotate lzo lzw lzw-tiff mad mbrola mikmod mixer mjpeg mmx
mmxext motif mp3 mpeg mpeg4 mpi mplayer multislot multitarget ncurses nls nptl
nvidia ogg oggvorbis opengl oss pam pascal pdf pdfkit pdflib perforce perl php
pic pie png postgres python qt quicktime rar readline real ruby scanner sdl sms
sockets source speech speex spell sql sqlite3 sse ssl subversion svg svga svgz
tcltk tcpd tidy tiff truetype truetype-fonts type1 type1-fonts usb userlocales
utf8 vorbis win32codecs xanim xine xml2 xmms xpm xprint xrandr xscreensaver xsl
xslt xv xvid zlib video_cards_nvidia"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Håvard Wall 2005-04-19 09:00:13 UTC
Created attachment 56673 [details, diff]
Removed 'static' from implementation of exif_get_sshort.
Comment 2 Håvard Wall 2005-04-19 09:24:40 UTC
Also, the soname versioning hacks in the ebuild seems obsolete.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2005-04-19 10:41:18 UTC
No, those soname hacks are needed else the soname will be .12  Upstream admitted this mistake and it will be fixed in 0.6.13 which will have the proper .10 soname version.
Comment 4 Mark Loeser (RETIRED) gentoo-dev 2005-05-13 15:41:44 UTC
Azarah fixed the gcc4 compile issue awhile ago.  Marking this resolved.