Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87406 - stable oops-1.5.6, www-proxy, doesn't compile and also masked 1.5.23 (with different errors)
Summary: stable oops-1.5.6, www-proxy, doesn't compile and also masked 1.5.23 (with di...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo Network Proxy Developers (OBSOLETE)
URL:
Whiteboard:
Keywords: TESTED
Depends on:
Blocks:
 
Reported: 2005-03-31 05:15 UTC by andrea ferraris
Modified: 2005-04-01 08:59 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 andrea ferraris 2005-03-31 05:15:09 UTC
Trying to emerge oops-1.5.6 (latest marked as stable for x86), I get the following errors:

[...]
gcc -O2 -march=i686 -pipe -fomit-frame-pointer -I/usr/include -D_REENTRANT -DLINUX -I/usr/local/include -DHAVE_CONFIG_H -L/usr/lib -shared  -c custom_log.c
ld -L/usr/lib -shared -export-dynamic -L/usr/lib -o custom_log.so custom_log.o -lpthread -lfl  -lcrypt -ldl -L/usr/lib -ldb /usr/lib/libpcreposix.a /usr/lib/libpcre.a
gcc -O2 -march=i686 -pipe -fomit-frame-pointer -I/usr/include -D_REENTRANT -DLINUX -I/usr/local/include -DHAVE_CONFIG_H -L/usr/lib -shared  -c fastredir.c
fastredir.c: In function `redir':
fastredir.c:295: warning: comparison between pointer and integer
ld -L/usr/lib -shared -export-dynamic -L/usr/lib -o fastredir.so fastredir.o -lp
/lib/libpcreposix.a /usr/lib/libpcre.a
gcc -O2 -march=i686 -pipe -fomit-frame-pointer -I/usr/include -D_REENTRANT -DLIN
/lib -shared  -c berkeley_db_api.c
berkeley_db_api.c: In function `db_api_open':
berkeley_db_api.c:255: warning: passing arg 2 of pointer to function from incomp
berkeley_db_api.c:257: warning: passing arg 2 of pointer to function from incomp
berkeley_db_api.c:257: warning: passing arg 4 of pointer to function makes point
berkeley_db_api.c:257: error: too few arguments to function
make[2]: *** [berkeley_db_api.so] Error 1
make[2]: Leaving directory `/mnt/hdc4/var/tmp/portage/oops-1.5.6/work/oops-1.5.6
make[1]: *** [modules] Error 2
make[1]: Leaving directory `/mnt/hdc4/var/tmp/portage/oops-1.5.6/work/oops-1.5.6
make: *** [all] Error 2

!!! ERROR: www-proxy/oops-1.5.6 failed.
!!! Function src_compile, Line 39, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Then I tried also the masked 1.5.23, but also it doesn't work with different errors:

[...]
gcc -c -O2 -march=i686 -pipe -fomit-frame-pointer -D_REENTRANT -DLINUX -I/usr/local/include -I/usr/include -export-dynamic -DHAVE_CONFIG_H  icp.c
ld -shared -rpath /usr/lib -o wccp2.so wccp2.o -lpthread -lfl -lpam  -lcrypt -ldl /usr/lib/libpcreposix.a /usr/lib/libpcre.a -L/usr/lib -ldb
make[2]: Leaving directory `/var/tmp/portage/oops-1.5.23/work/oops-1.5.23/src/modules'
gcc -c -O2 -march=i686 -pipe -fomit-frame-pointer -D_REENTRANT -DLINUX -I/usr/local/include -I/usr/include -export-dynamic -DHAVE_CONFIG_H  acl.c
bison -y -d parser.y
flex parser.l
make[1]: *** No rule to make target `y.tab.h', needed by `lex.yy.o'.  Stop.
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/oops-1.5.23/work/oops-1.5.23/src'
make: *** [all] Error 2

!!! ERROR: www-proxy/oops-1.5.23 failed.
!!! Function src_compile, Line 50, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1. I can't avoid to reproduce the problem, so I don't know wich are the needed steps to reproduce it.
It's a gentoo 2004.3 on a SMP PII fully updated and builded from stage 3. The kernel was the default gentoo one with all patches applied, then I tried also a development-hardened (2.6.11r1), but the problem is the same. I got the same error also on an other machine UP PII with the same software installed. The server are nodes of a testing HA clusetr with heartbeat and drbd, serving a samba share.

I'll be glad to give all the required details to solve or at least understad the problem.


Expected Results:  
Compile and install.

It's a gentoo 2004.3 on a SMP PII fully updated and builded from stage 3. The
kernel was the default gentoo one with all patches applied, then I tried also a
development-hardened (2.6.11r1), but the problem is the same. I got the same
error also on an other UP machine PII with the same software installed. The
servers are nodes of a testing HA clusetr with heartbeat and drbd, serving a
samba share.

On the SMP host:
# emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.6.11-hardened-r1-a2a0 i686)
=================================================================
System uname: 2.6.11-hardened-r1-a2a0 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 28 2005, 21:37:55)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apm arts avi berkdb bitmap-fonts crypt cups curl emboss encode
font-server foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde
ldap libg++ libwww mad mikmod motif mp3 mpeg mysql ncurses nls oggvorbis opengl
oss pam pdflib perl png python qt quicktime readline ruby samba sdl slang spell
ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

On the UP host:
# emerge info
Portage 2.0.51.19 (default-linux/x86/2004.3, gcc-3.3.5, glibc-2.3.4.20041102-r1,
2.4.28-gentoo-r7 i686)
=================================================================
System uname: 2.4.28-gentoo-r7 i686 Pentium II (Klamath)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 28 2005, 20:45:51)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.22-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distcc distlocks sandbox sfperms"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 apm arts avi berkdb bitmap-fonts crypt cups emboss encode font-server
foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde ldap libg++
libwww mad mikmod motif mp3 mpeg mysql ncurses nls oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline ruby samba sdl slang spell ssl svga
tcltk tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY


I'll be glad to give all the required details to solve or at least understad the
problem.
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2005-03-31 09:00:04 UTC
I've fixed the 1.5.23 version by replacing y.tab.h with y.tab.c

sparc peeps, please mark latest version as stable. 1.5.6 has more problems than berkley db version and it should be erased.
Comment 2 Gustavo Zacarias (RETIRED) gentoo-dev 2005-04-01 07:28:58 UTC
sparc stable.
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2005-04-01 08:59:12 UTC
removed old versions from portage