Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135191 - net-print/xpp 1.5 build fails
Summary: net-print/xpp 1.5 build fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Printing (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-01 11:37 UTC by Vasilis Lourdas
Modified: 2006-08-18 18:36 UTC (History)
0 users

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


Attachments
Patch for compilation with gcc-4.1 (xpp-1.5-gcc4.1.patch,495 bytes, patch)
2006-06-13 02:53 UTC, Alexandre Buisse (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Vasilis Lourdas 2006-06-01 11:37:20 UTC
Build with gcc 4.1.1 fails.

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/xpp-1.5/work/xpp-1.5 ...
 * econf: updating xpp-1.5/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xpp-1.5/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gawk... gawk
checking for c++... g++
checking whether the C++ compiler (g++ -O2 -march=athlon-xp -fomit-frame-pointer -pipe -L/usr/lib/fltk-1.1 -lfltk) works... yes
checking whether the C++ compiler (g++ -O2 -march=athlon-xp -fomit-frame-pointer -pipe -L/usr/lib/fltk-1.1 -lfltk) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking for strip... /usr/bin/strip
checking how to run the C preprocessor... cc -E
checking for X... libraries , headers 
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for main in -lX11... yes
checking for main in -lXext... yes
checking for main in -lGL... yes
checking for main in -lGLU... yes
checking for fltk-config... /usr/bin/fltk-config
checking for main in -lm... yes
checking for ANSI C header files... yes
checking for cups/cups.h... yes
checking for FL/Fl.H... yes
checking for working const... yes
checking for inline... inline
checking for socket in -lsocket... no
checking for gethostbyaddr in -lnsl... yes
checking for httpConnect in -lcups... yes
checking for cupsd... /usr/sbin/cupsd
checking for fluid... /usr/bin/fluid
updating cache ./config.cache
creating ./config.status
creating Makefile
/usr/bin/fluid -c mainwindow.fl
g++ -DPACKAGE=\"xpp\" -DVERSION=\"1.5\" -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBPNG=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_FL_FL_H=1 -DHAVE_LIBCUPS=1  -I. -I.    -I/usr/include/fltk-1.1   -I/usr/include/fltk-1.1 -O2 -march=athlon-xp -fomit-frame-pointer -pipe -O2 -march=athlon-xp -fomit-frame-pointer -pipe -c mainwindow.cxx
xpp.h:185: error: extra qualification 
Comment 1 Vasilis Lourdas 2006-06-01 11:37:20 UTC
Build with gcc 4.1.1 fails.

>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/xpp-1.5/work/xpp-1.5 ...
 * econf: updating xpp-1.5/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating xpp-1.5/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gawk... gawk
checking for c++... g++
checking whether the C++ compiler (g++ -O2 -march=athlon-xp -fomit-frame-pointer -pipe -L/usr/lib/fltk-1.1 -lfltk) works... yes
checking whether the C++ compiler (g++ -O2 -march=athlon-xp -fomit-frame-pointer -pipe -L/usr/lib/fltk-1.1 -lfltk) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking for a BSD compatible install... /bin/install -c
checking whether ln -s works... yes
checking for strip... /usr/bin/strip
checking how to run the C preprocessor... cc -E
checking for X... libraries , headers 
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for main in -lX11... yes
checking for main in -lXext... yes
checking for main in -lGL... yes
checking for main in -lGLU... yes
checking for fltk-config... /usr/bin/fltk-config
checking for main in -lm... yes
checking for ANSI C header files... yes
checking for cups/cups.h... yes
checking for FL/Fl.H... yes
checking for working const... yes
checking for inline... inline
checking for socket in -lsocket... no
checking for gethostbyaddr in -lnsl... yes
checking for httpConnect in -lcups... yes
checking for cupsd... /usr/sbin/cupsd
checking for fluid... /usr/bin/fluid
updating cache ./config.cache
creating ./config.status
creating Makefile
/usr/bin/fluid -c mainwindow.fl
g++ -DPACKAGE=\"xpp\" -DVERSION=\"1.5\" -DHAVE_LIBX11=1 -DHAVE_LIBXEXT=1 -DHAVE_LIBGL=1 -DHAVE_LIBGLU=1 -DHAVE_LIBJPEG=1 -DHAVE_LIBPNG=1 -DHAVE_LIBM=1 -DSTDC_HEADERS=1 -DHAVE_CUPS_CUPS_H=1 -DHAVE_FL_FL_H=1 -DHAVE_LIBCUPS=1  -I. -I.    -I/usr/include/fltk-1.1   -I/usr/include/fltk-1.1 -O2 -march=athlon-xp -fomit-frame-pointer -pipe -O2 -march=athlon-xp -fomit-frame-pointer -pipe -c mainwindow.cxx
xpp.h:185: error: extra qualification printFiles:: on member getSpecialOptionIndex
mainwindow.cxx: In member function void xppMainWindow::cb_Apply_i(Fl_Return_Button*, void*):
mainwindow.cxx:914: warning: fl_ask is deprecated (declared at /usr/include/fltk-1.1/FL/fl_ask.H:59)
mainwindow.cxx:914: warning: fl_ask is deprecated (declared at /usr/include/fltk-1.1/FL/fl_ask.H:59)
make: *** [mainwindow.o] Error 1

!!! ERROR: net-print/xpp-1.5 failed.
Call stack:
  ebuild.sh, line 1531:   Called dyn_compile
  ebuild.sh, line 931:   Called src_compile
  xpp-1.5.ebuild, line 36:   Called die

emerge --info
Portage 2.1_rc3-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.3.6-r3, 2.6.16-gentoo-r8 i686)
=================================================================
System uname: 2.6.16-gentoo-r8 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.14
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
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-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.datapipe.net/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://gentoo.math.bme.hu http://ftp.heanet.ie/pub/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://mirror.gentoo.no/ http://mirror.isp.net.au/pub/gentoo/ http://gentoo.osuosl.org/ http://adelie.polymtl.ca/"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 acl acpi alsa apache2 apm arts artswrappersuid asf avi bash-completion berkdb bitmap-fonts bluetooth bzip2 bzlib cairo caps cdr chm cli crypt css ctype cups curl dba dbus dlloader dmi doc dri dts dvd dvdr dvdread eds effects emboss encode esd examples exif expat fam fbcon ffmpeg firefox flac flatfile foomaticdb fortran ftp gd gdbm gif gimp gimpprint glx gmp gnome gnomedb gnutls gphoto2 gpm gstreamer gtk gtk2 hal hddtemp howl iconv imagemagick imap imlib innodb isdnlog jabber java javascript jpeg jpeg2k kde kdeenablefinal ldap libg++ libsamplerate libwww lm_sensors mad maildir mailwrapper mhash mikmod mime mmx mmxext motif mozdevelop mozilla mozsvg mp3 mpeg mplayer mpm-worker mysql mysqli ncurses nls nodrm nomalloccheck nptl nptlonly nsplugin nvidia objc odbc offensive ogg opengl pam pcntl pcre pdf pdflib pear perl php pic plugin png posix postgres postgresi ppds pppd python qt quicktime rar rdesktop readline recode reflection ruby samba sasl scanner sdl server session slang sndfile soap sockets speex spell spl spreadsheet sqlite sse ssl subtitles subversion svga symlink tcltk tcpd tetex threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 vda visualization vorbis win32codecs wmf wv wxgtk1 xine xml xmlreader xmlrpc xmlwriter xmms xorg xpm xprint xscreensaver xsl xv xvid xvmc zip zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Alexandre Buisse (RETIRED) gentoo-dev 2006-06-13 02:53:48 UTC
Created attachment 89033 [details, diff]
Patch for compilation with gcc-4.1

Here comes a very simple patch to solve the issue with gcc-4.1
Comment 3 Vasilis Lourdas 2006-06-14 08:33:00 UTC
Patch works fine here. Should I close the bug?
Comment 4 Stefan Schweizer (RETIRED) gentoo-dev 2006-08-18 18:36:53 UTC
thanks, fixed