Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146465 - net-p2p/ldcc-2.0.7 compile failed
Summary: net-p2p/ldcc-2.0.7 compile failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Raúl Porcel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-05 14:47 UTC by Paul-Sebastian Manole
Modified: 2007-01-24 10:08 UTC (History)
3 users (show)

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


Attachments
ldcc-tvision21.patch (ldcc-tvision21.patch,3.51 KB, patch)
2007-01-23 14:47 UTC, Harald van Dijk (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul-Sebastian Manole 2006-09-05 14:47:55 UTC
Portage 2.1.1_rc1-r2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.18-rc5 i686)
=================================================================
System uname: 2.6.18-rc5 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Gentoo Base System version 1.12.4
Last Sync: Sat, 02 Sep 2006 22:20:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r3
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-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/terminfo"
CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo 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/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.intergenia.de http://gentoo.inf.elte.hu/ ftp://gentoo.inf.elte.hu/ ftp://ftp.nyx.hu/gentoo ftp://ftp.lug.ro/gentoo http://ftp.lug.ro/gentoo/ http://ftp.roedu.net/pub/mirrors/gentoo.org/ ftp://ftp.roedu.net/pub/mirrors/gentoo.org/ ftp://ftp.romnet.org/gentoo/ http://ftp.romnet.org/gentoo/ http://mirrors.evolva.ro/gentoo/ ftp://mirrors.evolva.ro/gentoo/ "
LINGUAS=""
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"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3ds X a52 aac acpi alsa apache2 berkdb bitmap-fonts blender-game bzip2 cdparanoia cdr cli crypt cups dlloader dts dv dvd dvdread elibc_glibc encode exif extras ffmpeg flac fortran gdbm gif gimpprint gnutls gpm gtk imagemagick imlib input_devices_keyboard input_devices_mouse insecure-patches isdnlog jabber java javascript jingle jpeg kernel_linux ldap libg++ mad mmx mmxext mng mp3 mpeg mpm-prefork ncurses nls no-old-linux nptl nptlonly nsplugin ogg openal openexr opengl pam pcre pdf perl php png ppds pppd python qt qt3 qt4 readline real reflection session spl sse sse2 ssl startup-notification svg swat tcpd theora tiff trace truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales video_cards_nv video_cards_nvidia video_cards_vesa vorbis win32codecs wmf xml xorg xv xvid xvmc zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
#
#
>>> Emerging (1 of 1) net-p2p/ldcc-2.0.7 to /
 * ldcc-2.0.7.tgz MD5 ;-) ...                                             [ ok ]
 * ldcc-2.0.7.tgz size ;-) ...                                            [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking ldcc-2.0.7.tgz ;-) ...                                        [ ok ]
>>> Unpacking source...
>>> Unpacking ldcc-2.0.7.tgz to /var/tmp/portage/ldcc-2.0.7/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/ldcc-2.0.7/work/ldcc-2.0.7 ...
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --inf
odir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var
/lib --with-tv-include=/usr/include/rhtvision --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... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether make sets ${MAKE}... (cached) yes
checking for a BSD compatible install... /bin/install -c
checking for gcc3... no
checking for c++... c++
checking whether the C++ compiler (c++ -O2 -march=prescott -fomit-frame-pointer 
-pipe ) works... yes
checking whether the C++ compiler (c++ -O2 -march=prescott -fomit-frame-pointer 
-pipe ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether c++ accepts -g... yes
checking for tv.h... found
checking for librhtv.so... found
checking how to run the C preprocessor... cc -E
checking for stdio.h... yes
checking for string.h... yes
checking for dirent.h... yes
checking for unistd.h... yes
checking for signal.h... yes
checking for stdlib.h... yes
checking for time.h... yes
checking for ctype.h... yes
checking for errno.h... yes
checking for stdarg.h... yes
checking for fcntl.h... yes
checking for sys/stat.h... yes
checking for sys/time.h... yes
checking for sys/socket.h... yes
checking for sys/types.h... yes
checking for sys/un.h... yes
checking whether struct tm is in sys/time.h or time.h... time.h
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating config.h
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/ldcc-2.0.7/work/ldcc-2.0.7'
Making all in src
make[2]: Entering directory `/var/tmp/portage/ldcc-2.0.7/work/ldcc-2.0.7/src'
c++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/rhtvision  -O2 -march=prescott
 -fomit-frame-pointer -pipe -c main.cc
c++ -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/include/rhtvision  -O2 -march=prescott
 -fomit-frame-pointer -pipe -c d_error.cc
d_error.cc: In constructor 'TAdvSrchDial::TAdvSrchDial(TRect, char*, THUB*)':
d_error.cc:580: error: 'class TInputLine' has no member named 'SetValidator'
make[2]: *** [d_error.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/ldcc-2.0.7/work/ldcc-2.0.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/ldcc-2.0.7/work/ldcc-2.0.7'
make: *** [all-recursive-am] Error 2

!!! ERROR: net-p2p/ldcc-2.0.7 failed.
Call stack:
  ebuild.sh, line 1543:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  ldcc-2.0.7.ebuild, line 22:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if rel
evant
#
#
Comment 1 Ali Polatel (RETIRED) gentoo-dev 2006-10-28 19:07:22 UTC
  This is because ldcc needs tvision-2.0.3 to compile fine. I got the same error with tvision-2.1.0_pre1 and downgrading it to 2.0.3 made it.The DEPEND variable should be changed to correct that.
Comment 2 manwe 2006-12-26 18:53:17 UTC
Same thing for me. Downgrading tvision helped.

Portage 2.1.1-r2 (default-linux/x86/2006.1, gcc-3.4.6, glibc-2.3.6-r5, 2.6.16-hardened-r11-drath2v i686)
=================================================================
System uname: 2.6.16-hardened-r11-drath2v i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.6
Last Sync: Mon, 25 Dec 2006 02:50: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.17
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.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://gentoo.po.opole.pl"
LANG="pl_PL"
LC_ALL="pl_PL"
LINGUAS="pl"
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/portages/manwe"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 aalib acpi alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x ..."
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Raúl Porcel (RETIRED) gentoo-dev 2007-01-11 17:26:35 UTC
Ugh...unfortunately this can't be fixed. tvision-2.0.3 is no longer in the tree, plus it didn't compile with gcc4. And this does not work with tvision-2.1.0...

If nobody provides a patch, as upstream is really dead, this will be masked and punted from the tree :/
Comment 4 Raúl Porcel (RETIRED) gentoo-dev 2007-01-23 11:44:44 UTC
# Raúl Porcel <armin76@gentoo.org> (23 Jan 2007)
# Pending removal 22 Feb 2007
# Old, upstream dead, doesn't work with latest version of
# dev-libs/tvision, which is the only version available that compiles.
# Bug 146465
net-p2p/ldcc
Comment 5 Harald van Dijk (RETIRED) gentoo-dev 2007-01-23 14:47:32 UTC
Created attachment 107892 [details, diff]
ldcc-tvision21.patch

Hi,

Only trivial modifications are necessary to make ldcc work with a proper tvision 2.1. I still get a build failure with this patch, but that is a tvision bug (which I will fix), not an ldcc one.
Comment 6 Harald van Dijk (RETIRED) gentoo-dev 2007-01-23 16:07:41 UTC
And with tvision fixed (2.1.0_pre2-r1), I can confirm ldcc (with the patch) builds and runs correctly.
Comment 7 Raúl Porcel (RETIRED) gentoo-dev 2007-01-23 23:22:52 UTC
(In reply to comment #6)
> And with tvision fixed (2.1.0_pre2-r1), I can confirm ldcc (with the patch)
> builds and runs correctly.
> 

Correct, removed from p.mask. I'll add the patch tomorrow.

Thanks!
Comment 8 Raúl Porcel (RETIRED) gentoo-dev 2007-01-24 10:08:36 UTC
Fixed, thanks again for the patch!