Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72440 - Cannot emerge wvdial because of wvstream compile failure on amd64 hardware
Summary: Cannot emerge wvdial because of wvstream compile failure on amd64 hardware
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-25 03:32 UTC by Luca Barozzi
Modified: 2005-01-04 12:32 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 Luca Barozzi 2004-11-25 03:32:47 UTC
When i try to emerge wvdial it starts compiling wvstream dependency.
Wvstrams fails to compile and complains about un undeclared 'Fake' (object?).

Reproducible: Always
Steps to Reproduce:
1. emerge --sync (to 20041124 snapshot)
2. emerge wvdial
3.

Actual Results:  
Calculating dependencies ...done!
>>> emerge (1 of 2) net-libs/wvstreams-3.70-r2 to /
>>> md5 src_uri ;-) wvstreams-3.70.tar.gz
>>> Unpacking source...
>>> Unpacking wvstreams-3.70.tar.gz to /var/tmp/portage/wvstreams-3.70-r2/work
 * Applying 3.70-gcc3.patch ...                                           [ ok ]
* Applying 3.70-openssl.patch ...                                        [ ok
]>>> Source unpacked.

--> Making all in /var/tmp/portage/wvstreams-3.70-r2/work/wvstreams-3.70/src...
[ -e ../wvrules.mk ] && ln -s ../wvrules.mk .
rm -rf include
mkdir include.new
cd include.new && for d in utils streams configfile ipstreams crypto; do ln -s
../$d/*.h .; done
mv include.new include

--> Making all in
/var/tmp/portage/wvstreams-3.70-r2/work/wvstreams-3.70/src/utils...
g++ $_R_CXXFLAGS -c base64.cc
g++ $_R_CXXFLAGS -c verstring.cc
g++ $_R_CXXFLAGS -c strutils.cc
g++ $_R_CXXFLAGS -c strcrypt.cc
g++ $_R_CXXFLAGS -c wvstring.cc
g++ $_R_CXXFLAGS -c wvstringlist.cc
g++ $_R_CXXFLAGS -c wvstringtable.cc
g++ $_R_CXXFLAGS -c wvlinklist.cc
g++ $_R_CXXFLAGS -c wvhashtable.cc
g++ $_R_CXXFLAGS -c wvsorter.cc
g++ $_R_CXXFLAGS -c wvbuffer.cc
wvbuffer.cc: In member function `unsigned char* WvBuffer::get(size_t)':
wvbuffer.cc:95: warning: int format, different type arg (arg 2)
wvbuffer.cc:117: warning: int format, different type arg (arg 2)
wvbuffer.cc:138: warning: int format, different type arg (arg 2)
wvbuffer.cc: In member function `unsigned char* WvBuffer::alloc(size_t)':
wvbuffer.cc:200: warning: int format, different type arg (arg 2)
wvbuffer.cc: In member function `void WvBuffer::unalloc(size_t)':
wvbuffer.cc:244: warning: int format, different type arg (arg 2)
wvbuffer.cc: In member function `void WvBuffer::put(const void*, size_t)':
wvbuffer.cc:299: warning: int format, different type arg (arg 2)
g++ $_R_CXXFLAGS -c wvtask.cc
g++ $_R_CXXFLAGS -c wvfork.cc
g++ $_R_CXXFLAGS -c wvsubproc.cc
g++ $_R_CXXFLAGS -c wvencoder.cc
g++ $_R_CXXFLAGS -c wvgzip.cc
g++ $_R_CXXFLAGS -c wvcrash.cc
g++ $_R_CXXFLAGS -c wvdiriter.cc
rm -f utils.libs
echo base64.o verstring.o strutils.o strcrypt.o wvstring.o wvstringlist.o
wvstringtable.o wvlinklist.o wvhashtable.o wvsorter.o wvbuffer.o wvtask.o
wvfork.o wvsubproc.o wvencoder.o wvgzip.o wvcrash.o wvdiriter.o >utils.libs

--> Making all in
/var/tmp/portage/wvstreams-3.70-r2/work/wvstreams-3.70/src/streams...
Using my own device locking functions in wvlockfile.
g++ $_R_CXXFLAGS -c wvstream.cc
In file included from wvstream.h:10,
                 from wvstream.cc:11:
../utils/wvcallback.h:104: error: `Fake' has not been declared
../utils/wvcallback.h:104: error: expected unqualified-id before '*' token
../utils/wvcallback.h:104: error: expected `)' before '*' token
../utils/wvcallback.h:104: error: expected `)' before '*' token
../utils/wvcallback.h: In constructor `WvCallback0<RET>::WvCallback0(RET (*)())':
../utils/wvcallback.h:104: error: `FakeGlobalFunc' undeclared (first use this
function)
../utils/wvcallback.h:104: error: (Each undeclared identifier is reported only
once for each function it appears in.)
../utils/wvcallback.h: In member function `RET WvCallback0<RET>::operator()()':
../utils/wvcallback.h:104: error: `obj' undeclared (first use this function)
../utils/wvcallback.h:104: error: `Func' undeclared (first use this function)
../utils/wvcallback.h:104: error: expected `)' before "func"
../utils/wvcallback.h:104: error: `globalfunc' undeclared (first use this function)
../utils/wvcallback.h: In constructor `WvCallback0_bound<RET,
T>::WvCallback0_bound(T&, RET (T::*)())':
../utils/wvcallback.h:106: error: `Fake' undeclared (first use this function)
../utils/wvcallback.h:106: error: expected primary-expression before ')' token
../utils/wvcallback.h:106: error: `Func' has not been declared
../utils/wvcallback.h: At global scope:
../utils/wvcallback.h:109: error: `Fake' has not been declared
../utils/wvcallback.h:109: error: expected unqualified-id before '*' token
../utils/wvcallback.h:109: error: expected `)' before '*' token
../utils/wvcallback.h:109: error: expected `)' before '*' token
../utils/wvcallback.h: In constructor `WvCallback1<RET, P1>::WvCallback1(RET
(*)(P1))':
../utils/wvcallback.h:109: error: `FakeGlobalFunc' undeclared (first use this
function)
../utils/wvcallback.h: In member function `RET WvCallback1<RET,
P1>::operator()(P1)':
../utils/wvcallback.h:109: error: `obj' undeclared (first use this function)
../utils/wvcallback.h:109: error: `Func' undeclared (first use this function)
../utils/wvcallback.h:109: error: expected `)' before "func"
../utils/wvcallback.h:109: error: `globalfunc' undeclared (first use this function)
../utils/wvcallback.h: In constructor `WvCallback1_bound<RET, T,
P1>::WvCallback1_bound(T&, RET (T::*)(P1))':
../utils/wvcallback.h:111: error: `Fake' undeclared (first use this function)
../utils/wvcallback.h:111: error: expected primary-expression before ')' token
../utils/wvcallback.h:111: error: `Func' has not been declared
../utils/wvcallback.h: At global scope:
../utils/wvcallback.h:114: error: `Fake' has not been declared
../utils/wvcallback.h:114: error: expected unqualified-id before '*' token
../utils/wvcallback.h:114: error: expected `)' before '*' token
../utils/wvcallback.h:114: error: expected `)' before '*' token
../utils/wvcallback.h: In constructor `WvCallback2<RET, P1, P2>::WvCallback2(RET
(*)(P1, P2))':
../utils/wvcallback.h:114: error: `FakeGlobalFunc' undeclared (first use this
function)
../utils/wvcallback.h: In member function `RET WvCallback2<RET, P1,
P2>::operator()(P1, P2)':
../utils/wvcallback.h:114: error: `obj' undeclared (first use this function)
../utils/wvcallback.h:114: error: `Func' undeclared (first use this function)
../utils/wvcallback.h:114: error: expected `)' before "func"
../utils/wvcallback.h:114: error: `globalfunc' undeclared (first use this function)
../utils/wvcallback.h: In constructor `WvCallback2_bound<RET, T, P1,
P2>::WvCallback2_bound(T&, RET (T::*)(P1, P2))':
../utils/wvcallback.h:116: error: `Fake' undeclared (first use this function)
../utils/wvcallback.h:116: error: expected primary-expression before ')' token
../utils/wvcallback.h:116: error: `Func' has not been declared
../utils/wvcallback.h: At global scope:
../utils/wvcallback.h:119: error: `Fake' has not been declared
../utils/wvcallback.h:119: error: expected unqualified-id before '*' token
../utils/wvcallback.h:119: error: expected `)' before '*' token
../utils/wvcallback.h:119: error: expected `)' before '*' token
../utils/wvcallback.h: In constructor `WvCallback3<RET, P1, P2,
P3>::WvCallback3(RET (*)(P1, P2, P3))':
../utils/wvcallback.h:119: error: `FakeGlobalFunc' undeclared (first use this
function)
../utils/wvcallback.h: In member function `RET WvCallback3<RET, P1, P2,
P3>::operator()(P1, P2, P3)':
../utils/wvcallback.h:119: error: `obj' undeclared (first use this function)
../utils/wvcallback.h:119: error: `Func' undeclared (first use this function)
../utils/wvcallback.h:119: error: expected `)' before "func"
../utils/wvcallback.h:119: error: `globalfunc' undeclared (first use this function)
../utils/wvcallback.h: In constructor `WvCallback3_bound<RET, T, P1, P2,
P3>::WvCallback3_bound(T&, RET (T::*)(P1, P2, P3))':
../utils/wvcallback.h:121: error: `Fake' undeclared (first use this function)
../utils/wvcallback.h:121: error: expected primary-expression before ')' token
../utils/wvcallback.h:121: error: `Func' has not been declared
../utils/wvcallback.h: At global scope:
../utils/wvcallback.h:125: error: `Fake' has not been declared
../utils/wvcallback.h:125: error: expected unqualified-id before '*' token
../utils/wvcallback.h:125: error: expected `)' before '*' token
../utils/wvcallback.h:125: error: expected `)' before '*' token
../utils/wvcallback.h: In constructor `WvCallback4<RET, P1, P2, P3,
P4>::WvCallback4(RET (*)(P1, P2, P3, P4))':
../utils/wvcallback.h:125: error: `FakeGlobalFunc' undeclared (first use this
function)
../utils/wvcallback.h: In member function `RET WvCallback4<RET, P1, P2, P3,
P4>::operator()(P1, P2, P3, P4)':
../utils/wvcallback.h:125: error: `obj' undeclared (first use this function)
../utils/wvcallback.h:125: error: `Func' undeclared (first use this function)
../utils/wvcallback.h:125: error: expected `)' before "func"
../utils/wvcallback.h:125: error: `globalfunc' undeclared (first use this function)
../utils/wvcallback.h: In constructor `WvCallback4_bound<RET, T, P1, P2, P3,
P4>::WvCallback4_bound(T&, RET (T::*)(P1, P2, P3, P4))':
../utils/wvcallback.h:127: error: `Fake' undeclared (first use this function)
../utils/wvcallback.h:127: error: expected primary-expression before ')' token
../utils/wvcallback.h:127: error: `Func' has not been declared
../utils/wvcallback.h: At global scope:
../utils/wvcallback.h:131: error: `Fake' has not been declared
../utils/wvcallback.h:131: error: expected unqualified-id before '*' token
../utils/wvcallback.h:131: error: expected `)' before '*' token
../utils/wvcallback.h:131: error: expected `)' before '*' token
../utils/wvcallback.h: In constructor `WvCallback5<RET, P1, P2, P3, P4,
P5>::WvCallback5(RET (*)(P1, P2, P3, P4, P5))':
../utils/wvcallback.h:131: error: `FakeGlobalFunc' undeclared (first use this
function)
../utils/wvcallback.h: In member function `RET WvCallback5<RET, P1, P2, P3, P4,
P5>::operator()(P1, P2, P3, P4, P5)':
../utils/wvcallback.h:131: error: `obj' undeclared (first use this function)
../utils/wvcallback.h:131: error: `Func' undeclared (first use this function)
../utils/wvcallback.h:131: error: expected `)' before "func"
../utils/wvcallback.h:131: error: `globalfunc' undeclared (first use this function)
../utils/wvcallback.h: In constructor `WvCallback5_bound<RET, T, P1, P2, P3, P4,
P5>::WvCallback5_bound(T&, RET (T::*)(P1, P2, P3, P4, P5))':
../utils/wvcallback.h:134: error: `Fake' undeclared (first use this function)
../utils/wvcallback.h:134: error: expected primary-expression before ')' token
../utils/wvcallback.h:134: error: `Func' has not been declared
../utils/wvcallback.h: At global scope:
../utils/wvcallback.h:138: error: `Fake' has not been declared
../utils/wvcallback.h:138: error: expected unqualified-id before '*' token
../utils/wvcallback.h:138: error: expected `)' before '*' token
../utils/wvcallback.h:138: error: expected `)' before '*' token
../utils/wvcallback.h: In constructor `WvCallback6<RET, P1, P2, P3, P4, P5,
P6>::WvCallback6(RET (*)(P1, P2, P3, P4, P5, P6))':
../utils/wvcallback.h:138: error: `FakeGlobalFunc' undeclared (first use this
function)
../utils/wvcallback.h: In member function `RET WvCallback6<RET, P1, P2, P3, P4,
P5, P6>::operator()(P1, P2, P3, P4, P5, P6)':
../utils/wvcallback.h:138: error: `obj' undeclared (first use this function)
../utils/wvcallback.h:138: error: `Func' undeclared (first use this function)
../utils/wvcallback.h:138: error: expected `)' before "func"
../utils/wvcallback.h:138: error: `globalfunc' undeclared (first use this function)
../utils/wvcallback.h: In constructor `WvCallback6_bound<RET, T, P1, P2, P3, P4,
P5, P6>::WvCallback6_bound(T&, RET (T::*)(P1, P2, P3, P4, P5, P6))':
../utils/wvcallback.h:142: error: `Fake' undeclared (first use this function)
../utils/wvcallback.h:142: error: expected primary-expression before ')' token
../utils/wvcallback.h:142: error: `Func' has not been declared
../utils/wvcallback.h: At global scope:
../utils/wvcallback.h:191: error: `BoundFunc' has not been declared
../utils/wvcallback.h:191: error: ISO C++ forbids declaration of `_func' with no
type
In file included from wvstream.cc:11:
wvstream.h:21: error: `BoundFunc' has not been declared
wvstream.h:21: error: ISO C++ forbids declaration of `_func' with no type
../utils/wvcallback.h: In member function `RET WvCallback2<RET, P1,
P2>::operator()(P1, P2) [with RET = void, P1 = WvStream&, P2 = void*]':
wvstream.cc:122:   instantiated from here
../utils/wvcallback.h:114: error: return-statement with a value, in function
returning 'void'
../utils/wvcallback.h:114: error: return-statement with a value, in function
returning 'void'
make[2]: *** [wvstream.o] Error 1
make[1]: *** [streams] Error 2
make: *** [src] Error 2

!!! ERROR: net-libs/wvstreams-3.70-r2 failed.
!!! Function src_compile, Line 30, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



Expected Results:  
Ready to run wvdial.

Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.2,
glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r1 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.6-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/
http://gentoo.inode.at/ http://mirror.switch.ch/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync3.it.gentoo.org/gentoo-sources"
USE="amd64 X acpi alsa berkdb bitmap-fonts cdr crypt cups esd f77 fam flac
fortran gdbm gif gnome gpm gstreamer gtk imagemagick imlib ipv6 java jp2 jpeg
kde ldap libwww lzw lzw-tiff mozilla multilib mysql ncurses nls opengl oss pam
perl png python qt readline ruby samba ssl tcltk tcpd tetex tiff truetype usb
userlocales xml xml2 xmms xpm xrandr xv zlib"
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2004-11-26 14:02:47 UTC
please use latest unstable versions of wvdial and wvstreams until we manage to set them as stable.
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2004-12-08 12:11:51 UTC
please run:
  echo "dev-libs/xplc ~amd64" >> /etc/portage/package.keywords
  echo "net-libs/wvstreams ~amd64" >> /etc/portage/package.keywords
  echo "net-dialup/wvdial ~amd64" >> /etc/portage/package.keywords
  emerge wvdial

and tell me if wvdial is working OK.
Comment 3 Luca Barozzi 2004-12-09 14:43:46 UTC
Sorry i cannot try becouse of broken modem drivers. I'll take it as an hint.
I did almost the same, except for xplc after the first bug reporting and managed to emerge wvdial without compile errors.

I have a Smart Link chipset modem and its drivers are made of a software modem daemon compiled on 32 bit architecture becouse of undiscolsed proprietary library and a kernel module compiled on 64 bit architecture (just because it is a module?). Well, they cannot talk each other. Some ioctl32() failure...

Looking for Conexant chipset support or some 'true' modem now.

Sorry again.
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2004-12-18 11:15:03 UTC
Arches, please mark as stable following ebuilds:
  dev-libs/xplc-0.3.10
  net-libs/wvstreams-4.0-r1
  net-dialup/wvdial-1.54.0

wvstreams versions prior to 4.0-r1 are broken
Comment 5 SpanKY gentoo-dev 2004-12-20 08:23:18 UTC
hppa stable
Comment 6 Gustavo Zacarias (RETIRED) gentoo-dev 2004-12-22 05:19:38 UTC
sparc done.
Comment 7 Bryan Østergaard (RETIRED) gentoo-dev 2004-12-27 11:49:43 UTC
Alpha fixed.
Comment 8 Karol Wojtaszek (RETIRED) gentoo-dev 2005-01-04 12:32:13 UTC
amd64 done