Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217735 - dev-scheme/slib-3.1.5-r1 fails saying "infoz failed" and produces "ACCESS VIOLATION SUMMARY"
Summary: dev-scheme/slib-3.1.5-r1 fails saying "infoz failed" and produces "ACCESS VIO...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Scheme Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-14 21:46 UTC by Eddward
Modified: 2012-10-28 16:08 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 Eddward 2008-04-14 21:46:36 UTC
Trying to build dev-scheme/slib-3.1.5-r1 fails with the following messages:

>>> Emerging (3 of 6) dev-scheme/slib-3.1.5-r1 to /
 * slib3a5.zip RMD160 SHA1 SHA256 size ;-) ...                            [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking slib3a5.zip ;-) ...                                           [ ok ]
>>> Unpacking source...
>>> Unpacking slib3a5.zip to /home/gentoo_overflow/tmp/portage/dev-scheme/slib-3
.1.5-r1/work
sed: -e expression #1, char 46: unknown option to `s'
>>> Source unpacked.
>>> Compiling source in /home/gentoo_overflow/tmp/portage/dev-scheme/slib-3.1.5-
r1/work/slib ...

Welcome to SLIB.  Read "README" and "slib.info" (or
"slib.texi") to learn how to install and use SLIB.

make slib.info
make[1]: Entering directory `/home/gentoo_overflow/tmp/portage/dev-scheme/slib-3
.1.5-r1/work/slib'
echo @set SLIBVERSION 3a5 > version.txi
echo @set SLIBDATE `date +"%B %Y"` >> version.txi
makeinfo slib.texi --no-warn --no-split -o slib.info
mv slib.info slib3a5.info
if [ -f prevdocs/slib.info ];\
                then infobar prevdocs/slib.info slib3a5.info slib.info;\
                else cp slib3a5.info slib.info;fi
make[1]: Leaving directory `/home/gentoo_overflow/tmp/portage/dev-scheme/slib-3.
1.5-r1/work/slib'
>>> Source compiled.
>>> Test phase [not enabled]: dev-scheme/slib-3.1.5-r1

>>> Install slib-3.1.5-r1 into /home/gentoo_overflow/tmp/portage/dev-scheme/slib-3.1.5-r1/image/ category dev-scheme
mkdir -p /usr/local/share/info/
ACCESS DENIED  mkdir:     /usr/local/share/info
mkdir: cannot create directory `/usr/local/share/info/': Permission denied
make: *** [/usr/local/share/info/slib.info] Error 1
 * 
 * ERROR: dev-scheme/slib-3.1.5-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2376:  Called die
 * The specific snippet of code:
 *       emake infoz || die "infoz failed";
 *  The die message:
 *   infoz failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/home/gentoo_overflow/tmp/portage/dev-scheme/slib-3.1.5-r1/temp/build.log'.
 * The ebuild environment file is located at '/home/gentoo_overflow/tmp/portage/dev-scheme/slib-3.1.5-r1/temp/environment'.
 * 
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-30788.log"

mkdir:     /usr/local/share/info (symlink to /usr/local/share/)
--------------------------------------------------------------------------------

Reproducible: Always

Steps to Reproduce:
emerge slib or anything that requires it.




Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-3.4.6, glibc-2.6.1-r0, 2.6.18-gentoo-r2 i686)
=================================================================
System uname: 2.6.18-gentoo-r2 i686 AMD Sempron(tm) Processor 2600+
Timestamp of tree: Mon, 14 Apr 2008 15:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.5-r3, 2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=i686 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-Os -march=i686 -fomit-frame-pointer -pipe"
DISTDIR="/home/gentoo_overflow/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
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="/home/gentoo_overflow/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 7zip X a52 aac acl acpi alsa arts artworkextra asf avi berkdb blender-game cairo calendar cdinstall cdparanoia cdr cli cracklib crypt ctype cups dbus divx4linux doc dri dts dv dvd dvdr dvdread eds emacs emboss encode esd evo examples fam fbcon ffmpeg fftw firefox flac flash fortran ftp gcj gdbm ggi gif gnome gnustep gphoto2 gpm gstreamer gtk hal hou iconv icq imagemagick imap isdnlog jabber javascript joystick jpeg kerberos ladcca ldap leim mad maildir matroska mbox mcal midi mikmod mime ming mmap mmx modplug mp3 mpeg msn mudflap mule ncurses nls nocd nowin nptl nptlonly nsplugin offensive ofx ogg oggvorbis openal opengl openmp oss pam pcre pdf pdflib perl png pppd python qt3 qt3support qt4 quicktime readline real realmedia recode reflection rogue sdl seamonkey session sharedmem shorten sid skins sndfile sockets sou spell spl sse ssl svg tcpd theora threads tiff truetype unicode usb v4l vcd videos vorbis win32codecs wmf x86 xine xml xorg xpm xv 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 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" USERLAND="GNU" VIDEO_CARDS="dummy fbdev glint nv vesa vga nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marijn Schouten (RETIRED) gentoo-dev 2008-04-14 21:52:13 UTC
what version of sys-apps/sed are you using? The failing sed is what's causing fixes that prevent sandbox violations from being applied.
Comment 2 Eddward 2008-04-14 22:06:36 UTC
I have 4.1.5-r1 installed.

[I] sys-apps/sed
     Available versions:  4.1.5 4.1.5-r1 {nls static}
     Installed versions:  4.1.5-r1(22:51:03 04/08/08)(nls -static)
     Homepage:            http://sed.sourceforge.net/
     Description:         Super-useful stream editor

$ sed --version
GNU sed version 4.1.5
Comment 3 Eddward 2008-04-14 22:12:10 UTC
Could it have something to do with the following?

DISTDIR=/home/gentoo_overflow/portage/distfiles
PORTAGE_TMPDIR=/home/gentoo_overflow/tmp

I ask because it has been a problem before.  Thanks for pointing out the sed error.  I missed it completely.
Comment 4 Eddward 2008-04-15 01:44:48 UTC
I'm going to go way out on a limb and guess it's the underscore in the directory for "PORTAGE_TMPDIR=/home/gentoo_overflow/tmp" reacting poorly with the sed expressions using underscore as a delimiter.  Perhaps vertical bar would be a little safer?
Comment 5 Eddward 2008-04-15 02:03:33 UTC
Well, renaming my overflow directory fixed things for me.  Don't know if I'd call the bug fixed, but I'll let someone else decide that.  Now I'm off to debug my gnucash build failure.
Comment 6 Marijn Schouten (RETIRED) gentoo-dev 2008-04-15 10:06:48 UTC
(In reply to comment #4)
> I'm going to go way out on a limb and guess it's the underscore in the
> directory for "PORTAGE_TMPDIR=/home/gentoo_overflow/tmp" reacting poorly with
> the sed expressions using underscore as a delimiter.  Perhaps vertical bar
> would be a little safer?

Yes, my sed expressions are brittle. Thanks for diagnosing.

(In reply to comment #5)
> Well, renaming my overflow directory fixed things for me.  Don't know if I'd
> call the bug fixed, but I'll let someone else decide that.

No, I definitely need to fix things in the ebuild, but not sure how yet.
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2008-04-15 14:53:51 UTC
(In reply to comment #6)
> 
> No, I definitely need to fix things in the ebuild, but not sure how yet.
> 

Fix the Makefile to respect DESTDIR and send the patch upstream.
Comment 8 Erik 2008-04-17 11:06:12 UTC
Commenting out the PORTAGE_TMPDIR line in /etc/make.conf while emerging slib worked for me.
Comment 9 Marijn Schouten (RETIRED) gentoo-dev 2008-07-04 19:35:32 UTC
slib-3.2.1 now uses ':' instead of '_'.

the Makefile should still be fixed to support DESTDIR though.
Comment 10 Marijn Schouten (RETIRED) gentoo-dev 2008-07-04 19:38:38 UTC
slib-3.1.5-r1 now uses ':' instead of '_' too.
Comment 11 Pacho Ramos gentoo-dev 2012-10-28 16:08:44 UTC
(In reply to comment #10)
> slib-3.1.5-r1 now uses ':' instead of '_' too.