Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 120204

Summary: dev-perl/Net-DNS-0.53-r1 sandbox violation
Product: Gentoo Linux Reporter: Matthew Lane <veneroso_dc>
Component: [OLD] DevelopmentAssignee: Gentoo Perl team <perl>
Status: RESOLVED DUPLICATE    
Severity: normal CC: duane
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Disabling online tests
Disabling online tests

Description Matthew Lane 2006-01-24 10:42:21 UTC
Emergeing dev-perl/Net-DNS-0.53-r1 results in the following error:
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-dev-perl_-_Net-DNS-0.53-r1-32187.log"

open_wr:   /var/cache/samba/gencache.tdb
open_wr:   /var/cache/samba/gencache.tdb
open_wr:   /var/cache/samba/gencache.tdb
--------------------------------------------------------------------------------

I have updated my configuration files, and my system is up-to-date.  
Is there a way to resolve this compile error?

Here is my emerge info:

Portage 2.0.53 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2
.3.5-r2, 2.6.14-gentoo-r5 i686)
============================================================
=====
System uname: 2.6.14-gentoo-r5 i686 AMD Athlon(TM) XP 3000+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3
 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/en
v /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3
.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/
kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown 
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/de
faults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /e
tc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks prelink sandbox sfperms stric
t"
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo http://gentoo
.chem.wisc.edu/gentoo/ http://gentoo.netnitco.net http://gen
too.binarycompass.org http://gentoo.eliteitminds.com http://
lug.mtu.edu/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 3dnow X acl alsa apm arts audiofile avi berkdb bitm
ap-fonts bonobo bzip2 cdr crypt cups curl divx4linux dvd dvd
r eds emboss encode esd exif expat fam ffmpeg firefox foomat
icdb fortran gd gdbm gif glut gmp gnome gphoto2 gpm gstreame
r gtk gtk2 gtkhtml guile idn imagemagick imlib java jpeg jun
it kde lcms libg++ libwww lua mad mbrola mikmod mmx mng moti
f mozilla mp3 mpeg ncurses nls ogg oggvorbis openal opengl o
ss pam pcre pdflib perl png python qt quicktime readline rea
l recode samba sdl spell sse ssl tcltk tcpd tiff truetype tr
uetype-fonts type1-fonts udev usb visualization vorbis win32
codecs xine xml xml2 xmms xscreensaver xv xvid zlib userland
_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PO
RTDIR_OVERLAY
Comment 1 Michael Cummings (RETIRED) gentoo-dev 2006-01-24 10:52:16 UTC
Can I get the block *above* this access violation?
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2006-01-24 11:01:20 UTC
OK, I just tried this with the same features, couldn't reproduce (especially not a write to samba's cache). Just for grins, can you try 0.55? Shouldn't have any bearing on this, but its worth a shot. Thanks!
Comment 3 Matthew Lane 2006-01-24 14:36:51 UTC
Here is the place at the origional failure:
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-perl/Net-DNS-0.53-r1 to /
>>> md5 files   ;-) Net-DNS-0.49.ebuild
>>> md5 files   ;-) Net-DNS-0.48.ebuild
>>> md5 files   ;-) Net-DNS-0.53.ebuild
>>> md5 files   ;-) Net-DNS-0.55.ebuild
>>> md5 files   ;-) Net-DNS-0.53-r1.ebuild
>>> md5 files   ;-) files/digest-Net-DNS-0.53
>>> md5 files   ;-) files/digest-Net-DNS-0.55
>>> md5 files   ;-) files/digest-Net-DNS-0.48
>>> md5 files   ;-) files/digest-Net-DNS-0.49
>>> md5 files   ;-) files/digest-Net-DNS-0.53-r1
>>> md5 src_uri ;-) Net-DNS-0.53.tar.gz
>>> Unpacking source...
>>> Unpacking Net-DNS-0.53.tar.gz to /var/tmp/portage/Net-DNS-0.53-r1/work
>>> Source unpacked.
 * Using ExtUtils::MakeMaker


The libraries needed to support IPv6 transport have not been found.
You will need recent versions of the IO::Socket::INET6 and Socket6
libraries (from CPAN).

Testing if you have a C compiler and the needed header files....
cc -O3 -march=athlon-xp -pipe   -c -o compile.o compile.c
You have a working compiler.
ACCESS DENIED  open_wr:   /var/cache/samba/gencache.tdb

You appear to be directly connected to the Internet.  I have some tests
that try to query live nameservers.

Do you want to enable these tests? [y] y
Checking if your kit is complete...
Looks good
Writing Makefile for Net::DNS


Here is the place at the termination of the compilation:
cp lib/Net/DNS/Resolver/Base.pm blib/lib/Net/DNS/Resolver/Base.pm
i686-pc-linux-gnu-gcc -c   -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe   -DVERSION=\"0.53\" -DXS_VERSION=\"0.53\" -fPIC "-I/usr/lib/perl5/5.8.7/i686-linux/CORE"   netdns.c
ar cr netdns.a netdns.o
: netdns.a
/usr/bin/perl5.8.7 /usr/lib/perl5/5.8.7/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.7/ExtUtils/typemap  DNS.xs > DNS.xsc && mv DNS.xsc DNS.c
i686-pc-linux-gnu-gcc -c   -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe   -DVERSION=\"0.53\" -DXS_VERSION=\"0.53\" -fPIC "-I/usr/lib/perl5/5.8.7/i686-linux/CORE"   DNS.c
Running Mkbootstrap for Net::DNS ()
chmod 644 DNS.bs
rm -f blib/arch/auto/Net/DNS/DNS.so
LD_RUN_PATH="" i686-pc-linux-gnu-gcc  -shared -L/usr/local/lib DNS.o  -o blib/arch/auto/Net/DNS/DNS.so netdns.a
chmod 755 blib/arch/auto/Net/DNS/DNS.so
cp DNS.bs blib/arch/auto/Net/DNS/DNS.bs
chmod 644 blib/arch/auto/Net/DNS/DNS.bs
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-dev-perl_-_Net-DNS-0.53-r1-15907.log"

open_wr:   /var/cache/samba/gencache.tdb
--------------------------------------------------------------------------------


I hope that this is the information you need.

I tried installing dev-perl/Net-DNS-0.55

I enabled this via a dev-perl/Net-DNS ~x86 entry in my /etc/portage/package.keywords file

It fails here:
* Using ExtUtils::MakeMaker


The libraries needed to support IPv6 transport have not been found.
You will need recent versions of the IO::Socket::INET6 and Socket6
libraries (from CPAN).

Testing if you have a C compiler and the needed header files....
cc -O3 -march=athlon-xp -pipe   -c -o compile.o compile.c
You have a working compiler.
ACCESS DENIED  open_wr:   /var/cache/samba/gencache.tdb

You appear to be directly connected to the Internet.  I have some tests
that try to query live nameservers.

Do you want to enable these tests? [y] y
Checking if your kit is complete...
Looks good
Writing Makefile for Net::DNS


Reports here:

i686-pc-linux-gnu-gcc -c   -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe   -DVERSION=\"0.55\" -DXS_VERSION=\"0.55\" -fPIC "-I/usr/lib/perl5/5.8.7/i686-linux/CORE"   netdns.c
ar cr netdns.a netdns.o
: netdns.a
/usr/bin/perl5.8.7 /usr/lib/perl5/5.8.7/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.7/ExtUtils/typemap  DNS.xs > DNS.xsc && mv DNS.xsc DNS.c
i686-pc-linux-gnu-gcc -c   -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -march=athlon-xp -pipe   -DVERSION=\"0.55\" -DXS_VERSION=\"0.55\" -fPIC "-I/usr/lib/perl5/5.8.7/i686-linux/CORE"   DNS.c
Running Mkbootstrap for Net::DNS ()
chmod 644 DNS.bs
rm -f blib/arch/auto/Net/DNS/DNS.so
LD_RUN_PATH="" i686-pc-linux-gnu-gcc  -shared -L/usr/local/lib DNS.o  -o blib/arch/auto/Net/DNS/DNS.so netdns.a
chmod 755 blib/arch/auto/Net/DNS/DNS.so
cp DNS.bs blib/arch/auto/Net/DNS/DNS.bs
chmod 644 blib/arch/auto/Net/DNS/DNS.bs
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-dev-perl_-_Net-DNS-0.55-17292.log"

open_wr:   /var/cache/samba/gencache.tdb
--------------------------------------------------------------------------------


Thank you for any assistance you can give me.
Comment 4 Matthew Lane 2006-01-28 23:53:55 UTC
Do you have any idea what may be causing this?

I cleaned my portage tmp directory, which made no difference.

Here is the permissinons for the file:

-rw-r--r--  1 root root 8192 Jan 20 16:59 /var/cache/samba/gencache.tdb
Comment 5 Matthew Lane 2006-02-02 09:19:41 UTC
Well, having had enough of this, I decided to remove it and what depended on it.

Spamassassin relys on it, which in turn is relied on by evolution, which was installed by gnome-base.  I do not use evolution, so I solved that problem on my end at least by eliminiating it.  

My only fear would be in the case of someone with a similar problem who did not use evolution.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-02-04 11:24:47 UTC
Reopen, please don't resolve bugs as WONTFIX; also same issue with dev-perl/Net-DNS-0.55 in Bug 121573
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-02-05 01:44:56 UTC
Matthew, are you using prelink?
Comment 8 Matthew Lane 2006-02-05 14:26:08 UTC
Why yes, yes I am.
Comment 9 Duane Healing 2006-10-01 11:54:49 UTC
This bug is biting me currently as well. Is there anything I can try or can I suppply some more information to help resolve it?




Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r4 i686)
=================================================================
System uname: 2.6.17-gentoo-r4 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.5
Last Sync: Sun, 01 Oct 2006 04:00:08 +0000
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.3.5, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="no"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.mirrors.easynews.com/linux/gentoo/ http://gentoo.ccccom.com http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS=""
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 aac acl alsa apache2 audiofile bash-completion berkdb bitmap-fonts bzip2 cli crypt cups dlloader elibc_glibc flac fortran gd gdbm gpm input_devices_keyboard input_devices_mouse isdnlog jpeg kernel_linux libg++ mmx ncurses nethack nptl nptlonly ogg pam pcre perl png ppds pppd python readline reflection samba session snmp soundtouch spl sse ssl tcpd truetype truetype-fonts type1-fonts udev usb userland_GNU userlocales video_cards_vesa vorbis win32codecs winbind xorg xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 10 Yuval Yaari (RETIRED) gentoo-dev 2006-10-01 13:04:48 UTC
Created attachment 98548 [details]
Disabling online tests

I personally can't reproduce this bug, but could you tell me if this ebuild solves anything?
(I'm guessing it's the online tests...)
Comment 11 Duane Healing 2006-10-01 16:06:22 UTC
Yes! That ebuild worked fine for me. :)
Comment 12 Yuval Yaari (RETIRED) gentoo-dev 2006-10-02 03:41:54 UTC
Created attachment 98591 [details]
Disabling online tests

I personally can't reproduce this bug, but could you tell me if this ebuild solves anything?
(I'm guessing it's the online tests...)
Comment 13 Duane Healing 2006-10-02 07:39:35 UTC
Did you mean to attach that same ebuild again in your last comment? It's identical to your last comment. In any case, as I mentioned, your ebuild worked for me.
Comment 14 Yuval Yaari (RETIRED) gentoo-dev 2006-10-02 07:56:42 UTC
I think it's some Bugzilla crazyness.
My computer was actually off when my 2nd post was "submitted".

I'm moving to a new apartment, so I could only commit it this weekend.
Sorry :-)
Comment 15 Yuval Yaari (RETIRED) gentoo-dev 2006-10-04 07:00:53 UTC
Fixed in CVS.
Duane/Matthew - since none of us were able to reproduce these problems, could you sync in a couple of hours and give it a try?

I will leave the bug open until I'm sure it was the silly online tests that were causing this bug.
Comment 16 Jakub Moc (RETIRED) gentoo-dev 2006-10-04 08:46:44 UTC
This is a duplicate of Bug 121573, not perl fault at all.
Comment 17 Yuval Yaari (RETIRED) gentoo-dev 2006-10-04 09:06:49 UTC
Jakub, yes and no.
The tests were supposed to be disabled, thus it's our problem.
WINS/samba/prelink sandbox issues are indeed bug #121573.

(And right now the tests are fixed, so feel free to mark this as a duplicate)
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2006-10-04 09:15:39 UTC
OK, marking as a dupe... WINS sucks :)

*** This bug has been marked as a duplicate of 121573 ***