Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 65613
Alias:
Product:
Component:
Status: RESOLVED
Resolution: TEST-REQUEST
Assigned To: Tim Yamin (RETIRED) <plasmaroo@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: David Brigada <brigad@rpi.edu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 65613 depends on: Show dependency tree
Bug 65613 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-09-27 17:57 0000
vbs-1.4.0 fails to build on my system.

The output following is the offending output from:
FEATURES=-distcc MAKEOPTS=-j1 emerge vbs

g++ -DHAVE_CONFIG_H -I. -I. -march=pentium3 -O3 -fomit-frame-pointer -pipe -ansi -pedantic -Wall -fPIC -DVBS_DEBUG -c ./common/st_func.cc
./common/bvector.h: In member function `void st_function::assignment(const bit_vector&, long int, long int, long int, long int)':
./common/bvector.h:441: error: `bit_vector::const_sub_bit_vector::const_sub_bit_vector(const bit_vector::const_sub_bit_vector&)' is private
./common/st_func.cc:40: error: within this context
./common/bvector.h:441: error: `bit_vector::const_sub_bit_vector::const_sub_bit_vector(const bit_vector::const_sub_bit_vector&)' is private
./common/st_func.cc:47: error: within this context
make: *** [st_func.o] Error 1

!!! ERROR: app-sci/vbs-1.4.0 failed.

Output from emerge info follows:
Portage 2.0.51_rc1 (default-x86-2004.0, gcc-3.4.2, glibc-2.3.4.20040808-r0, 2.6.9-rc2-mm1 i686)
=================================================================
System uname: 2.6.9-rc2-mm1 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.5.3
distcc 2.17 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /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=pentium3 -O3 -fomit-frame-pointer -pipe"
DISTDIR="/usr/distfiles"
FEATURES="autoaddcvs ccache distcc sandbox"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://acm.cs.rpi.edu/gentoo-portage"
USE="X aalib alsa apm avi berkdb bitmap-fonts crypt cscope cups doc encode esd foomaticdb gdbm gif gpm gtk gtk2 guile imlib jpeg libg++ libwww mad mikmod mmx motif mpeg mpeg4 ncurses oggvorbis opengl oss pam pdflib perl png ppds quicktime readline samba sdl slang spell sse ssl tcpd tetex threads truetype x86 xml2 xmms xprint xv zlib"

------- Comment #1 From Tim Yamin (RETIRED) 2004-10-03 10:37:39 0000 -------
Patched in CVS, the update should reach the rsync servers within half an hour.
Please reopen this bug if you have any problems. Thanks!

------- Comment #2 From Tamran Lengyel 2005-01-17 16:56:19 0000 -------
OK, here's one for you.  Got any ideas?  The error is pasted below.

checking getopt.h presence... yes
checking for getopt.h... yes
checking for getopt... yes
checking for getopt_long... yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzopen in -lz... yes
checking whether _HPUX_SOURCE is required for POSIX prototypes... no
checking whether getopt is prototyped in unistd.h... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
Configure finished.

Run one of the following commands:
    'make vbs' ......... Compile VBS simulator
    'make vbs-guile' ... Compile Guile script program
    'make vbs.so' ...... Library for Perl scripting
    'make libvbs.so' ... Library for TCL scripting

echo "#define VERSION" \"1.4.0\" > version.h
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -O2 -march=opteron -pipe -ftrace                                                                                                                                                                                         r -ansi -pedantic -Wall -fPIC -DVBS_DEBUG -c ./swig/vbs_api.cc
bison -y -d -o vbs_yacc.c vbs.y
flex  -ovbs_lex.c vbs.l
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -march=opteron -pipe -ftrace                                                                                                                                                                                         r -ansi -pedantic -Wall -fPIC -DVBS_DEBUG -c parser.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -O2 -march=opteron -pipe -ftrace                                                                                                                                                                                         r -ansi -pedantic -Wall -fPIC -DVBS_DEBUG -c vpi_user.c
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -O2 -march=opteron -pipe -ftrace                                                                                                                                                                                         r -ansi -pedantic -Wall -fPIC -DVBS_DEBUG -c ./common/debug.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -O2 -march=opteron -pipe -ftrace                                                                                                                                                                                         r -ansi -pedantic -Wall -fPIC -DVBS_DEBUG -c ./common/bvector.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -O2 -march=opteron -pipe -ftrace                                                                                                                                                                                         r -ansi -pedantic -Wall -fPIC -DVBS_DEBUG -c ./common/error.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -O2 -march=opteron -pipe -ftrace                                                                                                                                                                                         r -ansi -pedantic -Wall -fPIC -DVBS_DEBUG -c ./common/hash.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -O2 -march=opteron -pipe -ftrace                                                                                                                                                                                         r -ansi -pedantic -Wall -fPIC -DVBS_DEBUG -c ./common/sym_tab.cc
In file included from ./common/bvector.h:33,
                 from ./common/st_node.h:16,
                 from ./common/sym_tab.h:26,
                 from ./swig/vbs_api.cc:20:
./common/logic.h: In function `logic reduce_and(logic, logic)':
./common/logic.h:373: error: conversion from `const logic' to `long int' is ambi                                                                                                                                                                                         guous
./common/logic.h:44: note: candidates are: logic::operator bool() const
./common/logic.h:46: note:                 logic::operator int() const
./common/logic.h:48: note:                 logic::operator char() const
./common/logic.h: In function `logic reduce_or(logic, logic)':
./common/logic.h:377: error: conversion from `const logic' to `long int' is ambi                                                                                                                                                                                         guous
./common/logic.h:44: note: candidates are: logic::operator bool() const
./common/logic.h:46: note:                 logic::operator int() const
./common/logic.h:48: note:                 logic::operator char() const
./common/logic.h: In function `logic reduce_xor(logic, logic)':
./common/logic.h:381: error: conversion from `const logic' to `long int' is ambi                                                                                                                                                                                         guous
./common/logic.h:44: note: candidates are: logic::operator bool() const
./common/logic.h:46: note:                 logic::operator int() const
./common/logic.h:48: note:                 logic::operator char() const
In file included from ./common/bvector.h:33,
                 from ./common/st_node.h:16,
                 from ./common/sym_tab.h:26,
                 from ./common/sym_tab.cc:13:
./common/logic.h: In function `logic reduce_and(logic, logic)':
./common/logic.h:373: error: conversion from `const logic' to `long int' is ambi                                                                                                                                                                                         guous
./common/logic.h:44: note: candidates are: logic::operator bool() const
./common/logic.h:46: note:                 logic::operator int() const
./common/logic.h:48: note:                 logic::operator char() const
./common/logic.h: In function `logic reduce_or(logic, logic)':
./common/logic.h:377: error: conversion from `const logic' to `long int' is ambi                                                                                                                                                                                         guous
./common/logic.h:44: note: candidates are: logic::operator bool() const
./common/logic.h:46: note:                 logic::operator int() const
./common/logic.h:48: note:                 logic::operator char() const
./common/logic.h: In function `logic reduce_xor(logic, logic)':
./common/logic.h:381: error: conversion from `const logic' to `long int' is ambi                                                                                                                                                                                         guous
./common/logic.h:44: note: candidates are: logic::operator bool() const
./common/logic.h:46: note:                 logic::operator int() const
./common/logic.h:48: note:                 logic::operator char() const
Caught signal 2 in pid 8274
*** Deleting file `sym_tab.o'
make: *** [vbs_api.o] Interrupt
make: *** [bvector.o] Interrupt
make: *** [error.o] Interrupt
make: *** [hash.o] Interrupt
make: *** [sym_tab.o] Interrupt

------- Comment #3 From Tamran Lengyel 2005-01-17 16:58:19 0000 -------
My emerge info:

Portage 2.0.51-r12 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.10-gentoo-r2 x86_64 AMD Opteron(tm) Processor 242
Gentoo Base System version 1.6.8
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Jun  4 2004, 23:52:55)]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r2
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=opteron -pipe -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.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/X11/xkb /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="-O2 -march=opteron -pipe -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa apache2 berkdb bitmap-fonts bonobo cdr crypt cups dvd dvdr emul-linux-x86 esd f77 fam flac font-server fortran gdbm ggi gif gpm gstreamer gtk gtkhtml guile imagemagick imlib innodb ipv6 jp2 jpeg libwww lm_sensors lzw lzw-tiff mad mikmod motif moznoirc moznomail moznoxft mp3 mpeg4 mplayer mssql multilib mysql ncurses nls nptl oggvorbis opengl oscar pam pdflib perl plotutils png python readline sdl slang ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb userlocales videos xinerama xml xml2 xmms xpm xrandr xscreensaver xv xvid yahoo zlib"
Unset:  LDFLAGS

------- Comment #4 From Patrick Kursawe 2005-01-21 05:51:00 0000 -------
Re-assigning to maintainer

------- Comment #5 From Tim Yamin (RETIRED) 2005-03-13 08:55:14 0000 -------
Tamran - can you see if the issue still exists on AMD64 (the x86 issue should
be fixed). If it does, please reopen this bug. Thanks!

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug