Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149865 - net-nntp/pan-0.115 fails to emerge
Summary: net-nntp/pan-0.115 fails to emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Net-news project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-02 09:50 UTC by Chris Smith
Modified: 2006-10-09 15:47 UTC (History)
6 users (show)

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


Attachments
Patch fixing it (sizeint.patch,485 bytes, patch)
2006-10-03 07:48 UTC, Alexis Ballier
Details | Diff
pan-0.115.ebuild to apply supplied patch (pan-0.115.ebuild,1012 bytes, text/plain)
2006-10-03 11:50 UTC, Chris Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Smith 2006-10-02 09:50:40 UTC
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../.. -I/usr/include/gmime-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include     -march=nocona -O2 -fomit-frame-pointer -pipe -MT article.o -MD -MP -MF ".deps/article.Tpo" -c -o article.o article.cc; \
        then mv -f ".deps/article.Tpo" ".deps/article.Po"; else rm -f ".deps/article.Tpo"; exit 1; fi
article.cc:115: error: prototype for ‘const pan::Article::Part& pan::Article::get_part(size_t) const’ does not match any in class ‘pan::Article’
article.h:80: error: candidates are: const pan::Article::Part& pan::Article::get_part(unsigned int) const
article.cc:106: error:                 pan::Article::Part& pan::Article::get_part(size_t)
make[4]: *** [article.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/pan-0.115/work/pan-0.115/pan/data'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/pan-0.115/work/pan-0.115/pan/data'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/pan-0.115/work/pan-0.115/pan'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/pan-0.115/work/pan-0.115'
make: *** [all] Error 2

!!! ERROR: net-nntp/pan-0.115 failed.

------------------------------------------

sartre ~ # emerge --info
Portage 2.1.2_pre2-r1 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo x86_64)
=================================================================
System uname: 2.6.18-gentoo x86_64 Intel(R) Core(TM)2 CPU          6600  @ 2.40GHz
Gentoo Base System version 1.12.5
Last Sync: Mon, 02 Oct 2006 16:30:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j3"
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="amd64 X a52 aac aalib acl acpi alsa apache2 arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo cdparanoia cdr cli crypt cups curl dbus dlloader dri dts dv dvb dvd dvdr dvdread elibc_glibc encode exif fam ffmpeg flac fortran gdbm gif gphoto2 gpm gstreamer gtk2 hal imagemagick imap input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jack java jpeg jpeg2k kde kdeenablefinal kernel_linux lame lcd lcms ldap libg++ linguas_en mad mmap mozcalendar mozilla mp3 musicbrainz ncurses nls nodrm nptl nptlonly nvidia ofx ogg oggvorbis openexr opengl pam pcre pda pdf perl png ppds pppd python qt3 qt4 quicktime readline reflection samba sasl scanner sdl session slp sndfile spl ssl subversion svg tcltk tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU utf8 v4l v4l2 vcd video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_v4l video_cards_vesa video_cards_vmware vorbis wmf xcomposite xine xml xorg xscreensaver xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Lee Trager 2006-10-02 22:13:08 UTC
I get a similar error

        then mv -f ".deps/filter-info.Tpo" ".deps/filter-info.Po"; else rm -f ".
deps/filter-info.Tpo"; exit 1; fi
article.cc:115: error: prototype for 'const pan::Article::Part& pan::Article::ge
t_part(size_t) const' does not match any in class 'pan::Article'
article.h:80: error: candidates are: const pan::Article::Part& pan::Article::get
_part(unsigned int) const
article.cc:106: error:                 pan::Article::Part& pan::Article::get_par
t(size_t)
make[4]: *** [article.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/pan-0.115/work/pan-0.115/pan/data'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/pan-0.115/work/pan-0.115/pan/data'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/pan-0.115/work/pan-0.115/pan'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/pan-0.115/work/pan-0.115'
make: *** [all] Error 2

!!! ERROR: net-nntp/pan-0.115 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  pan-0.115.ebuild, line 26:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if rel
evant.

Portage 2.1.2_pre2-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-
r4, 2.6.18-gentoo x86_64)
=================================================================
System uname: 2.6.18-gentoo x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4400
+
Gentoo Base System version 1.12.5
Last Sync: Tue, 03 Oct 2006 04:30:08 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -ffast-math -msse3 -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shu
tdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms
/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O3 -pipe -ffast-math -msse3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/
distributions/gentoo"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d
istfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aim alsa amd64 ao arts asf avi bash-completion berkdb bitmap-font
s bonjour browserplugin bzip2 bzlib cairo cdb cdparanoia cdr cli crypt cups dbus
 dedicated divx divx4linux dlloader dri dvb dvd dvdr dvdread eds elibc_glibc emb
oss emul-linux-x86 encode esd ethereal examples fam ffmpeg firefox flac foomatic
db fortran ftp gcj gdbm gif glut gmedia gnome gnutls gpm gstreamer gtk gtk2 gtkh
tml hal hou imagemagick imlib input_devices_evdev input_devices_keyboard input_d
evices_mouse ipv6 isdnlog java javascript jpeg kde kernel_linux ldap libg++ ling
uas_en lirc lirc_devices_livedrive_midi lm_sensors lzo mad mikmod mmap mng mozca
lendar mozdevelop mozilla moznoirc mp3 mpeg musepack nas ncurses network nls noc
d nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl oscar oss 
pam pcre pda pdf pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline 
realmedia reflection rtc sdl seamonkey session smp sou speex spell spl ssl strea
m svg tcpd theora theroa threads tiff truetype truetype-fonts type1-fonts udev u
nicode usb userland_GNU video_cards_nvidia videos vorbis vv wmf wmp x264 xanim x
ine xml xmms xorg xpm xprint xscreensaver xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTA
GE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 Alexis Ballier gentoo-dev 2006-10-03 07:48:40 UTC
Created attachment 98705 [details, diff]
Patch fixing it

Hi, 

Here is a patch I've just made to solve this problem.

Regards, 

Alexis.
Comment 3 Bernard Cafarelli gentoo-dev 2006-10-03 10:55:45 UTC
Gnome bugreport for this is here:
http://bugzilla.gnome.org/show_bug.cgi?id=358654

The suggested patch also fixes another int/size_t problem:
http://bugzilla.gnome.org/attachment.cgi?id=73807&action=view

pan 0.115 (compiles and) works fine here with this patch

Portage 2.1.2_pre2-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-ck1 x86_64)
=================================================================
System uname: 2.6.18-ck1 x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.12.5
Last Sync: Tue, 03 Oct 2006 16:20:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/grass60/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks fixpackages metadata-transfer parallel-fetch prelink sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://pandemonium.tiscali.de/pub/gentoo/"
LANG="fr_FR@euro"
LC_ALL="fr_FR"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="fr fr_FR"
MAKEOPTS="-j2"
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.cafarelli.fr:22/gentoo-portage"
USE="amd64 X a52 aac aalib acpi aim alsa audiofile avi bash-completion berkdb bitmap-fonts bonobo browserplugin bzip2 cairo cddb cdr cli crypt cscope cups curl dbus dga dio dlloader dri dts dvb dvd dvdr dvdread elibc_glibc emboss encode exif expat ffmpeg fftw flac foomaticdb fortran ftp gb gcj gd gdbm gif gimp glut gmp gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml iconv idn imagemagick imap imlib input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog jabber java jikes joystick jpeg kernel_linux lcms libcaca libg++ linguas_fr linguas_fr_FR live mad matroska mbox mikmod mime mng mono mp3 mpeg msn musicbrainz nas ncurses nls nptl nptlonly nsplugin nvidia objc offensive ogg openal opengl oscar oss pam pcmcia pcre pda pdf pdflib perl php pic png posix ppds pppd python qt3 qt4 quicktime readline recode reflection ruby samba scanner sdl seamonkey session slang speex spell spl sqlite ssl startup-notification svg tcl tcltk tcpd tetex theora threads tiff tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l vcd video_cards_none video_cards_nvidia vorbis wifi wmf wxwindows x264 xcomposite xface xine xinerama xml xml2 xmms xorg xosd xpm xscreensaver xv xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Chris Smith 2006-10-03 11:50:15 UTC
Created attachment 98718 [details]
pan-0.115.ebuild to apply supplied patch

thx for the patch!
here is ebuild to apply it
save patch as <FILESDIR>/pan-0.115.patch
Comment 5 Sven Wegener gentoo-dev 2006-10-09 15:47:16 UTC
Thanks! Fixed in CVS.