Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 24813 - flphoto 1.0 does not compile (bug in headers?)
Summary: flphoto 1.0 does not compile (bug in headers?)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Jared H. Hudson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-19 09:14 UTC by Tobias Klausmann (RETIRED)
Modified: 2003-07-26 14:01 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Klausmann (RETIRED) gentoo-dev 2003-07-19 09:14:42 UTC
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_CRW_Image.cxx...
In file included from Fl_CRW_Image.cxx:33:
Fl_CRW_Image.H:34: ISO C++ forbids declaration of `ushort' with no type
Fl_CRW_Image.H:34: syntax error before `[' token
Fl_CRW_Image.H:67: syntax error before `*' token
Fl_CRW_Image.cxx: In member function `void Fl_CRW_Image::load_image(FILE*)':
Fl_CRW_Image.cxx:118: `image' undeclared (first use this function)
Fl_CRW_Image.cxx:118: (Each undeclared identifier is reported only once for 
   each function it appears in.)
Fl_CRW_Image.cxx:118: syntax error before `[' token
Fl_CRW_Image.cxx: In member function `void Fl_CRW_Image::dillon_interpolate()':
Fl_CRW_Image.cxx:1009: `ushort4' undeclared (first use this function)
Fl_CRW_Image.cxx:1009: `oimage' undeclared (first use this function)
Fl_CRW_Image.cxx:1012: syntax error before `[' token
Fl_CRW_Image.cxx: In member function `void Fl_CRW_Image::second_interpolate()':
Fl_CRW_Image.cxx:1092: `last' undeclared (first use this function)
Fl_CRW_Image.cxx:1093: `current' undeclared (first use this function)
Fl_CRW_Image.cxx:1098: syntax error before `[' token
Fl_CRW_Image.cxx:1099: syntax error before `[' token
Fl_CRW_Image.cxx:1129: syntax error before `)' token
Fl_CRW_Image.cxx: At global scope:
Fl_CRW_Image.cxx:1142: prototype for `ushort Fl_CRW_Image::fget2(FILE*)' does 
   not match any in class `Fl_CRW_Image'
Fl_CRW_Image.H:84: candidate is: int Fl_CRW_Image::fget2(FILE*)
Fl_CRW_Image.cxx:1142: `ushort Fl_CRW_Image::fget2(FILE*)' and `int 
   Fl_CRW_Image::fget2(FILE*)' cannot be overloaded
Fl_CRW_Image.cxx:1526: type specifier omitted for parameter `ushort4'
Fl_CRW_Image.cxx:1526: syntax error before `)' token
Fl_CRW_Image.cxx:1527: prototype for `void Fl_CRW_Image::get_rgb(...)' does not 
   match any in class `Fl_CRW_Image'
Fl_CRW_Image.H:90: candidate is: void Fl_CRW_Image::get_rgb(float*, int*)
Fl_CRW_Image.cxx: In member function `void Fl_CRW_Image::get_rgb(...)':
Fl_CRW_Image.cxx:1530: `rgb' undeclared (first use this function)
make: *** [Fl_CRW_Image.o] Error 1

!!! ERROR: media-gfx/flphoto-1.0 failed.
!!! Function src_compile, Line 359, Exitcode 2
!!! emake failed

I also tried non-distcc non-parallel building. same result.

Reproducible: Always
Steps to Reproduce:
emerge flphoto
Actual Results:  
see above.

Expected Results:  
emerged flphoto

Portage 2.0.48-r1 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.22-pre4 i686 AMD Athlon(tm) processor
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http:
 //ftp.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/confi
 g /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb
/usr/share/texmf/tex/generic/co  nfig/ /usr/share/texmf/tex/platex/config/"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups foomaticdb gif jpeg libg++ mad mikmod mpeg
  ncurses nls pdflib png spell truetype xml2 zlib gtkhtml gdbm berkdb slang
readl  ine tetex aalib bonobo svga ggi tcltk java guile sdl tcpd pam libwww ssl
perl py  thon esd imlib motif opengl mozilla snmp cdr scanner X gtk gnome alsa
-arts -kde   -qt gtk2 dvd exif dga encode gphoto2 gpm jack mmx oggvorbis
quicktime xmms xv m  ysql"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O2 -pipe"
CXXFLAGS="-march=athlon-tbird -O2 -pipe"
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j8"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="ccache distcc sandbox userpriv usersandbox"
Comment 1 Jared H. Hudson (RETIRED) gentoo-dev 2003-07-26 14:01:53 UTC
Fixed. The lastest version of fltk is incompatible with this app, so I'm forcing the DEPEND variable in the ebuild to depend on a older version of fltk.