Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 279035 - net-dialup/wvdial-1.60-r1 failed to compile
Summary: net-dialup/wvdial-1.60-r1 failed to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: C++ Team [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-25 11:51 UTC by DMoL
Modified: 2010-05-27 12:23 UTC (History)
2 users (show)

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 DMoL 2009-07-25 11:51:38 UTC
Compilations fails:
wvmodemscan.cc:27: warning: deprecated conversion from string constant to ‘char*’
compiling wvpapchap.o...
compiling wvdialbrain.o...
compiling wvdialmon.o...
compiling wvdial.o...
In file included from /usr/include/wvstreams/uniconf.h:10,
                 from /usr/include/wvstreams/uniconfroot.h:10,
                 from /usr/include/wvstreams/wvconfemu.h:11,
                 from wvpapchap.h:12,
                 from wvpapchap.cc:9:
/usr/include/wvstreams/uniconfkey.h: In member function ‘UniConfKey UniConfKey::last(int) const’:
/usr/include/wvstreams/uniconfkey.h:330: error: ‘INT_MAX’ was not declared in this scope
/usr/include/wvstreams/uniconfkey.h: In member function ‘UniConfKey UniConfKey::removefirst(int) const’:
/usr/include/wvstreams/uniconfkey.h:341: error: ‘INT_MAX’ was not declared in this scope
wvpapchap.cc: In member function ‘void WvPapChap::put_secret(WvString, WvString, WvString)’:
wvpapchap.cc:29: warning: deprecated conversion from string constant to ‘char*’
wvpapchap.cc:31: warning: deprecated conversion from string constant to ‘char*’
wvpapchap.cc:36: warning: deprecated conversion from string constant to ‘char*’
wvpapchap.cc:38: warning: deprecated conversion from string constant to ‘char*’
compiling wvdialconf.o...
make: *** [wvpapchap.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from /usr/include/wvstreams/uniconf.h:10,
                 from /usr/include/wvstreams/uniconfroot.h:10,
                 from wvdialconf.cc:8:
/usr/include/wvstreams/uniconfkey.h: In member function ‘UniConfKey UniConfKey::last(int) const’:
/usr/include/wvstreams/uniconfkey.h:330: error: ‘INT_MAX’ was not declared in this scope
/usr/include/wvstreams/uniconfkey.h: In member function ‘UniConfKey UniConfKey::removefirst(int) const’:
/usr/include/wvstreams/uniconfkey.h:341: error: ‘INT_MAX’ was not declared in this scope
make: *** [wvdialconf.o] Error 1


Reproducible: Always

Steps to Reproduce:
emerge wvdial



#emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.29-tuxonice-r3 i686)
=================================================================
System uname: Linux-2.6.29-tuxonice-r3-i686-Intel-R-_Celeron-R-_M_processor_1.50GHz-with-glibc2.0
Timestamp of tree: Fri, 24 Jul 2009 01:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-Os -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/datastore/distfiles"
FEATURES="ccache distlocks fixpackages nosandbox parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.iptel.by/gentoo/ http://distfiles.gentoo.org"
LANG="ru_RU.utf8"
LC_ALL="ru_RU.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/overlays"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acpi alsa bash-completion bluetooth bzip2 cairo cdr cli cracklib dbus dga dio dri dvdr fam fastcgi fbcon ftp fuse gdbm gpm gtk gtk2 gtkhtml hal iconv isdnlog javascript jpeg jpeg2k libnotify logrotate midi mime mmap mmx mng mozilla mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcmcia pcre pdf perl png pppd python readline reflection samba sdl session spell spl sqlite sse sse2 ssl svg sysfs tcpd tetex truetype unicode usb vorbis x264 x86 xfce xml xorg xulrunner xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="radeon vesa ati"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2009-08-15 09:27:33 UTC
Try using net-libs/wvstreams-4.5. If it doesn't work, a wvstreams bump to 4.6 will probably fix it.
Btw, wvstreams should be marked as stable.
Comment 2 DMoL 2009-08-15 11:43:43 UTC
Yes, it compiles with net-libs/wvstreams-4.5. Thanks! 
Comment 3 disperato 2009-10-15 17:35:29 UTC
(In reply to comment #1)
using net-libs/wvstreams-4.5 fixed it. I could compile wvdial-1.60-r1
Tried to connect, it worked fine.

before attempting that, I had the same error this bug has been opened for.
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2010-05-27 12:23:24 UTC
net-libs/wvstreams-4.6.1 is going stable (bug 321637). And this issue was long time ago fixed in ~arch, so closing this bug. Thank you for report/help guys.