Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 16590 - libapreq-1.0-r3 sandbox violations
Summary: libapreq-1.0-r3 sandbox violations
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-28 17:38 UTC by Grant Goodyear (RETIRED)
Modified: 2003-06-16 05:36 UTC (History)
1 user (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 Grant Goodyear (RETIRED) gentoo-dev 2003-02-28 17:38:48 UTC
>>> Completed installing into /var/tmp/portage/libapreq-1.0-r3/image/

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-libapreq-1.0-r3-26778.log"

open_wr:   /usr/share/man/man3/Apache::Request.3pm
chmod:     /usr/share/man/man3/Apache::Request.3pm
open_wr:   /usr/share/man/man3/Apache::Cookie.3pm
chmod:     /usr/share/man/man3/Apache::Cookie.3pm
open_wr:   /usr/share/man/man3/libapreq.3pm
chmod:     /usr/share/man/man3/libapreq.3pm
open_wr:   /usr/share/man/man3/Apache::libapreq.3pm
chmod:     /usr/share/man/man3/Apache::libapreq.3pm
-------------------------------------------------------------

 emerge info
Portage 2.0.46-r12 (default-1.0, gcc-2.95.3, glibc-2.2.5-r7,2.2.5-r4)
=================================================================
System uname: 2.4.19-gentoo-r10 i686 Pentium III (Coppermine)
GENTOO_MIRRORS="http://gentoo.oregonstate.edu/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/ge
neric/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY="/usr/local/portage"
USE="x86 oss 3dnow apm avi crypt cups encode jpeg libg++ mikmod mmx mpeg ncurses
pdflib quicktime spell truetype xml2 xmms xv arts berkdb bonobo cdr directfb esd
gdbm gif gnome gnome-libs gpm gtk gtkhtml guile imlib java kde libwww motif
mozilla nls oggvorbis opengl pam perl png python qt readline scanner sdl slang
ssl svga tcpd tetex tiff X pda tcltk"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-O2 -mcpu=i686 -pipe"
CXXFLAGS=""
ACCEPT_KEYWORDS="x86 ~x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2003-03-01 07:08:02 UTC
gcc -fpic -march=athlon-xp -O3 -pipe -finline-functions -fprefetch-loop-arrays -foptimize-sibling-calls -fdelete-null-pointer-checks -fno-cprop-registers -funroll-loops -frerun-loop-opt -frename-registers -fmove-all-movables -freorder-blocks -I/usr/lib/perl5/5.8.0/i686-linux/CORE -DPERL5 -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL_VERSION=\"1.27\" -DMOD_PERL_STRING_VERSION=\"mod_perl/1.27\" -DMOD_PERL_PREFIX=\"/var/tmp/portage/mod_perl-1.27-r1/image/usr/lib/site_perl/5.8.0/i686-linux\" -I/usr/include/apache -DMOD_PERL -march=athlon-xp -O3 -pipe -finline-functions -fprefetch-loop-arrays -foptimize-sibling-calls -fdelete-null-pointer-checks -fno-cprop-registers -funroll-loops -frerun-loop-opt -frename-registers -fmove-all-movables -freorder-blocks -DHARD_SERVER_LIMIT=512              -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX=22 -DTARGET=\"apache\" -DINET6 -Dss_family=__ss_family -Dss_len=__ss_len -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -DEAPI -DEAPI_MM -O2 -mcpu=i686 -pipe -c Util.c && mv Util.o Util.lo
/usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -nolinenumbers -typemap /usr/lib/perl5/5.8.0/ExtUtils/typemap Connection.xs >Connection.c
gcc -fpic -march=athlon-xp -O3 -pipe -finline-functions -fprefetch-loop-arrays -foptimize-sibling-calls -fdelete-null-pointer-checks -fno-cprop-registers -funroll-loops -frerun-loop-opt -frename-registers -fmove-all-movables -freorder-blocks -I/usr/lib/perl5/5.8.0/i686-linux/CORE -DPERL5 -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DMOD_PERL_VERSION=\"1.27\" -DMOD_PERL_STRING_VERSION=\"mod_perl/1.27\" -DMOD_PERL_PREFIX=\"/var/tmp/portage/mod_perl-1.27-r1/image/usr/lib/site_perl/5.8.0/i686-linux\" -I/usr/include/apache -DMOD_PERL -march=athlon-xp -O3 -pipe -finline-functions -fprefetch-loop-arrays -foptimize-sibling-calls -fdelete-null-pointer-checks -fno-cprop-registers -funroll-loops -frerun-loop-opt -frename-registers -fmove-all-movables -freorder-blocks -DHARD_SERVER_LIMIT=512              -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLINUX=22 -DTARGET=\"apache\" -DINET6 -Dss_family=__ss_family -Dss_len=__ss_len -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -DEAPI -DEAPI_MM -O2 -mcpu=i686 -pipe -c Connection.c && mv Connection.o Connection.lo
Connection.c: In function `XS_Apache__Connection_remote_addr':
Connection.c:123: incompatible types in assignment
Connection.c: In function `XS_Apache__Connection_remote_ip':
Connection.c:159: structure has no member named `sin_addr'
make[1]: *** [Connection.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/mod_perl-1.27-r1/work/mod_perl-1.27/apaci'
make: *** [apxs_libperl] Error 2

!!! ERROR: dev-perl/mod_perl-1.27-r1 failed.
!!! Function src_compile, Line 23, Exitcode 2
!!! (no error message)


I can not even compile mod_perl to test this.  rac please fix then shoot this bug report back to me -- or fix the sandbox violation that grant found?
Comment 2 Robert Coie (RETIRED) gentoo-dev 2003-03-02 02:46:23 UTC
I am unable to reproduce this with portage 2.0.47-r7, with either
FEATURES="sandbox" or FEATURES="sandbox userpriv usersandbox".  I am, however,
running gcc 3.2.2, glibc 2.3.1, and perl-5.8.0-r10.  Can anybody else able to
reproduce this bug chime in with system information, so we can try to isolate
commonalities?
Comment 3 Grant Goodyear (RETIRED) gentoo-dev 2003-03-03 21:06:22 UTC
After remerging perl and Makemaker my sandbox errors have gone away.  Dunno about 
seemant's bug.  I now have perl-5.6.1-r11 and ExtUtils-MakeMaker-6.05-r4. 
Comment 4 Gentoo Perl team gentoo-dev 2003-06-16 05:33:13 UTC
Is this still a problem seemant?
Comment 5 Gentoo Perl team gentoo-dev 2003-06-16 05:36:08 UTC
Talked to seemant, he's good, and Grant marked he was good at the bottom. Off to clean up more bugs :)