Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 286809 - dev-db/postgis-1.4.0 ACCESS VIOLATION with USE="doc"
Summary: dev-db/postgis-1.4.0 ACCESS VIOLATION with USE="doc"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-28 17:43 UTC by Michael Orlitzky
Modified: 2010-02-23 14:40 UTC (History)
4 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 Michael Orlitzky gentoo-dev 2009-09-28 17:43:59 UTC
The Postgis ebuild appears to die with an "access denied" while installing the documentation. There are also some QA notices near the end.

* Error output

make -j4 DESTDIR=/var/tmp/portage/dev-db/postgis-1.4.0/image/ docs-install 
make -C doc install
make[1]: Entering directory `/var/tmp/portage/dev-db/postgis-1.4.0/work/postgis-1.4.0/doc'
ACCESS DENIED  mkdir:        /usr/share/doc/postgresql-8.4/postgis
mkdir: cannot create directory `/usr/share/doc/postgresql-8.4/postgis': Permission denied
make[1]: *** [install] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-db/postgis-1.4.0/work/postgis-1.4.0/doc'
make: *** [docs-install] Error 2
 * 
 * ERROR: dev-db/postgis-1.4.0 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_install
 *             environment, line 2663:  Called die
 * The specific snippet of code:
 *           emake DESTDIR="${D}" docs-install || die "emake install docs failed";
 *  The die message:
 *   emake install docs failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/dev-db:postgis-1.4.0:20090928-160533.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/postgis-1.4.0/temp/environment'.
 * 
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE "/var/log/sandbox/sandbox-20941.log"

VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkdir
S: deny
P: postgis
A: /usr/share/doc/postgresql-8.4/postgis
R: /usr/share/doc/postgresql-8.4/postgis
C: mkdir -p /usr/share/doc/postgresql-8.4/postgis 
--------------------------------------------------------------------------------
 * QA Notice: Unrecognized configure options:
 * 
 * 	configure: WARNING: unrecognized options: --enable-autoconf, --with-docdir, --with-xsl
 * 	configure: WARNING: unrecognized options: --enable-autoconf, --with-docdir, --with-xsl


* emerge --info

Portage 2.1.6.13 (hardened/linux/amd64/10.0/no-multilib, gcc-4.4.1, glibc-2.10.1-r0, 2.6.29-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.29-gentoo-r5-x86_64-Intel-R-_Core-TM-2_Duo_CPU_L7700_@_1.80GHz-with-gentoo-1.12.11.1
Timestamp of tree: Mon, 28 Sep 2009 15:30:20 +0000
app-shells/bash:     4.0_p28
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=native -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /home/mjo/src/hardened-development /home/mjo/src/science/overlay /home/mjo/src/hdaps-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac aalib acl acpi alsa amd64 bash-completion bzip2 cairo cli cracklib crypt cups curl dbus djvu doc dri emacs encode exif fastcgi flac gif hardened iconv imap isdnlog jbig jpeg jpeg2k justify lcms mmx mng modules mp3 mudflap ncurses nptl nptlonly offensive openal opengl pam pcre pdf php pic png posix pppd readline reflection sdl session spell spl sse sse2 ssl startup-notification svg sysfs tcpd threads tiff truetype unicode urandom vnc vorbis wifi wma wmf xcomposite xorg xpm xscreensaver xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="i810 intel"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Patrick Lauer gentoo-dev 2009-11-07 20:48:22 UTC
I've been able to reproduce this bug. Looks like one of the scripts involved doesn't care about the paths. Haven't found which bit to blame yet :)
Comment 2 Juergen Rose 2010-01-11 12:42:20 UTC
Any news?
Comment 3 Patrick Lauer gentoo-dev 2010-02-23 14:40:14 UTC
+  23 Feb 2010; Patrick Lauer <patrick@gentoo.org> +postgis-1.5.0-r1.ebuild:
+  Fixing doc installation. Slightly hacky, sorry :)

the doc install paths were missing a ${D} :)