Summary: | dev-db/mysql-5.0.26-r2 sanbox violations in /usr/$(get_libdir) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Zak Kipling <zak.kipling> |
Component: | New packages | Assignee: | Gentoo Linux MySQL bugs team <mysql-bugs> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | throw_away_2002 |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Zak Kipling
2007-04-12 11:20:14 UTC
*** Bug 174649 has been marked as a duplicate of this bug. *** Can you reproduce this with 5.0.34? Yes, this happens just the same with the 5.0.34 ebuild in ~amd64. Happens to me with (the now stable) 5.0.38: make[2]: Entering directory `/var/tmp/portage/dev-db/mysql-5.0.38/work/mysql/server-tools' Making install in instance-manager make[3]: Entering directory `/var/tmp/portage/dev-db/mysql-5.0.38/work/mysql/server-tools/instance-manager' make[4]: Entering directory `/var/tmp/portage/dev-db/mysql-5.0.38/work/mysql/server-tools/instance-manager' test -z "/usr/sbin" || /bin/mkdir -p "/var/tmp/portage/dev-db/mysql-5.0.38/image//usr/sbin" /bin/sh ../../libtool --preserve-dup-deps --mode=install /usr/bin/install -c 'mysqlmanager' '/var/tmp/portage/dev-db/mysql-5.0.38/image//usr/sbin/mysqlmanager' /usr/bin/install -c mysqlmanager /var/tmp/portage/dev-db/mysql-5.0.38/image//usr/sbin/mysqlmanager make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.38/work/mysql/server-tools/instance-manager' make[3]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.38/work/mysql/server-tools/instance-manager' make[3]: Entering directory `/var/tmp/portage/dev-db/mysql-5.0.38/work/mysql/server-tools' make[4]: Entering directory `/var/tmp/portage/dev-db/mysql-5.0.38/work/mysql/server-tools' make[4]: Nothing to be done for `install-exec-am'. make[4]: Nothing to be done for `install-data-am'. make[4]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.38/work/mysql/server-tools' make[3]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.38/work/mysql/server-tools' make[2]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.38/work/mysql/server-tools' make[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.38/work/mysql' cp: cannot stat `/usr/portage/dev-db/mysql/files/mysql.conf.d': No such file or directory cp: cannot stat `/usr/portage/dev-db/mysql/files/mysqlmanager.conf.d': No such file or directory cp: cannot stat `/usr/portage/dev-db/mysql/files/mysql.rc6': No such file or directory cp: cannot stat `/usr/portage/dev-db/mysql/files/mysqlmanager.rc6': No such file or directory cp: cannot stat `/usr/portage/dev-db/mysql/files/logrotate.mysql': No such file or directory ACCESS DENIED symlink: /usr/lib/libmysqlclient_r.so.15.0.0 ln: creating symbolic link `libmysqlclient_r.so.15.0.0': Permission denied ACCESS DENIED symlink: /usr/lib/libmysqlclient_r.so.15.0 ln: creating symbolic link `libmysqlclient_r.so.15.0': Permission denied ACCESS DENIED symlink: /usr/lib/libmysqlclient_r.so.15 ln: creating symbolic link `libmysqlclient_r.so.15': Permission denied ACCESS DENIED symlink: /usr/lib/libmysqlclient_r.so ln: creating symbolic link `libmysqlclient_r.so': Permission denied ACCESS DENIED symlink: /usr/lib/libmysqlclient.so.15.0.0 ln: creating symbolic link `libmysqlclient.so.15.0.0': Permission denied ACCESS DENIED symlink: /usr/lib/libmysqlclient.so.15.0 ln: creating symbolic link `libmysqlclient.so.15.0': Permission denied ACCESS DENIED symlink: /usr/lib/libmysqlclient.so.15 ln: creating symbolic link `libmysqlclient.so.15': Permission denied ACCESS DENIED symlink: /usr/lib/libmysqlclient.so ln: creating symbolic link `libmysqlclient.so': Permission denied >>> Completed installing mysql-5.0.38 into /var/tmp/portage/dev-db/mysql-5.0.38/image/ --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE = "/var/log/sandbox/sandbox-dev-db_-_mysql-5.0.38-19648.log" symlink: /usr/lib/libmysqlclient_r.so.15.0.0 symlink: /usr/lib/libmysqlclient_r.so.15.0 symlink: /usr/lib/libmysqlclient_r.so.15 symlink: /usr/lib/libmysqlclient_r.so symlink: /usr/lib/libmysqlclient.so.15.0.0 symlink: /usr/lib/libmysqlclient.so.15.0 symlink: /usr/lib/libmysqlclient.so.15 symlink: /usr/lib/libmysqlclient.so -------------------------------------------------------------------------------- # emerge -p --info Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686) ================================================================= System uname: 2.6.19-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 22 Apr 2007 08:30:10 +0000 dev-java/java-config: 1.3.7, 2.0.31-r5 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 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 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.15-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse" 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/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" 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 --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac aalib acpi alsa arts audiofile berkdb bitmap-fonts bzip2 caps cdparanoia cdr cjk cpudetection cracklib crypt css cups dbus dga directfb dri dvd dvdr dvdread encode exif expat fam fbcon ffmpeg flac gcj ggi gif glibc-omitfp gmp gphoto2 gpm gstreamer hal iconv idea imagemagick imap imlib ipv6 javascript jbig joystick jpeg kde lcms libcaca libwww live lm_sensors mad matroska mbox memlimit midi mmx mmxext mng mp3 mpeg mysql nas ncurses network nls no-old-linux nodrm nptl nptlonly ogg opengl pcre pdf pdflib perl png qt3 quicktime readline real rtc samba scanner sdl silc sndfile speex spell sse sse2 ssl stream sysfs tcpd theora threads threadsafe tiff timidity truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vcd vorbis win32codecs x86 xinerama xml xorg xv xvid zlib zrtp" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS You have a bad copy of the mysql.eclass somewhere! The below section was only in an ebuild older than January 7th. make[1]: Leaving directory `/var/tmp/portage/dev-db/mysql-5.0.38/work/mysql' cp: cannot stat `/usr/portage/dev-db/mysql/files/mysql.conf.d': No such file or directory cp: cannot stat `/usr/portage/dev-db/mysql/files/mysqlmanager.conf.d': No such file or directory cp: cannot stat `/usr/portage/dev-db/mysql/files/mysql.rc6': No such file or directory cp: cannot stat `/usr/portage/dev-db/mysql/files/mysqlmanager.rc6': No such file or directory cp: cannot stat `/usr/portage/dev-db/mysql/files/logrotate.mysql': No such file or directory Still happens for me with the 5.0.38 ebuild and a recent mysql.eclass: # $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.73 2007/04/15 13:00:51 robbat2 Exp $ Scratch that. I had a long-forgotten overlay in /usr/local/portage/eclass/mysql.eclass to fix an earlier bug, and never removed it when that fix was added to portage. ... and, having removed that, it now works just fine. Sorry for the trouble! (In reply to comment #5) > You have a bad copy of the mysql.eclass somewhere! > The below section was only in an ebuild older than January 7th. Oops. I realized that as soon as you mentioned it. My apologies as well. |