Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 388869 - dev-db/mysql-5.1.59: Fails to install with "there are files installed outside the prefix"
Summary: dev-db/mysql-5.1.59: Fails to install with "there are files installed outside...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Solaris
: Normal major (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on: 388125
Blocks: 380703
  Show dependency tree
 
Reported: 2011-10-29 17:16 UTC by Jens
Modified: 2012-01-07 09:21 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
environment (environment,177.67 KB, text/plain)
2011-10-29 17:20 UTC, Jens
Details
build.log (build.log,980.24 KB, text/plain)
2011-10-29 17:20 UTC, Jens
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jens 2011-10-29 17:16:31 UTC
Emerging mysql on Prefix/Solaris 11 fails with QA concerns



[ebuild  N     ] dev-db/mysql-5.1.59  USE="community minimal perl ssl -berkdb -big-tables -cluster -debug -embedded -extraengine -latin1 -max-idx-128 -pbxt -profiling (-selinux) -static -test -xtradb" 0 kB


Reproducible: Always

Steps to Reproduce:
1. emerge --oneshot  =dev-db/mysql-5.1.59

or

1. emerge virtual/mysql



 emerge --info
Portage 2.2.01.19572-prefix (prefix/sunos/solaris/5.11/x86, gcc-4.2.4, unavailable, 5.11 i86pc)
=================================================================
System uname: Solaris-2.11-i86pc-i386-32bit-ELFTimestamp of tree: Thu, 27 Oct 2011 19:09:12 +0000
app-shells/bash:      4.2_p10
dev-lang/python:      2.7.2
dev-util/cmake:       2.8.6-r1
dev-util/pkgconfig:   0.25-r2
sys-devel/autoconf:   2.68
sys-devel/automake:   1.11.1
sys-devel/binutils:   2.20.1-r1
sys-devel/gcc:        4.2.4-r01.4
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:    2.4-r01.1
sys-devel/make:       3.82
Repositories: gentoo_prefix
Installed sets: 
ACCEPT_KEYWORDS="~x86-solaris"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i386-pc-solaris2.11"
CFLAGS="-O2 -pipe"
CHOST="i386-pc-solaris2.11"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/portage /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/gentoo/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles news nostrip parallel-fetch preserve-libs protect-owned sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS=""
MAKEOPTS="-j3"
PKGDIR="/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/gentoo/"
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="/gentoo/var/tmp"
PORTDIR="/gentoo/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="aac cracklib cxx flac lame modules ncurses nls ogg prefix readline ssl unicode x86-solaris zlib" 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" 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 cgi cgid 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" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="SunOS" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="SunOS" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jens 2011-10-29 17:20:22 UTC
Created attachment 291145 [details]
environment
Comment 2 Jens 2011-10-29 17:20:46 UTC
Created attachment 291147 [details]
build.log
Comment 3 Jens 2011-10-29 17:21:23 UTC
This happens with or without enabling "minimal"
Comment 4 Jens 2011-10-29 17:23:58 UTC
 QA Notice: the following files are outside of the prefix:
 /usr
 /usr/share
 /usr/share/mysql
 /usr/include
 /usr/include/mysql
 /usr/include/mysql/my_dbug.h
 /usr/include/mysql/mysql_time.h
 /usr/include/mysql/m_string.h
...
Comment 5 Jens 2011-10-29 17:27:32 UTC
Configure seems okish (My EPREFIX is /gentoo)

./configure --prefix=/gentoo/usr ....
...

configure: WARNING: unrecognized options: --without-extra-tools, --without-innodb, --without-bench, --without-berkeley-db, --without-row-based-r
eplication



But then:

make[2]: Entering directory `/gentoo/var/tmp/portage/dev-db/mysql-5.1.59/work/mysql/scripts'
/gentoo/bin/rm -f msql2mysql msql2mysql-t
/gentoo/bin/sed \
  -e 's!@''bindir''@!/gentoo/usr/bin!g' \
  -e 's!@''sbindir''@!/gentoo/usr/sbin!g' \
  -e 's!@''scriptdir''@!/gentoo/usr/bin!g' \
  -e 's!@''prefix''@!/gentoo/usr!g' \
  -e 's!@''datadir''@!/gentoo/usr/share!g' \

# --- Here we go:
  -e 's!@''localstatedir''@!/var/lib/mysql!g' \
  -e 's!@''libexecdir''@!/usr/sbin!g' \
  -e 's!@''pkglibdir''@!/usr/lib/mysql!g' \
  -e 's!@''pkgincludedir''@!/usr/include/mysql!g' \
  -e 's!@''pkgdatadir''@!/usr/share/mysql!g' \
  -e 's!@''pkgplugindir''@!/usr/lib/mysql/plugin!g' \
  -e 's!@''pkgsuppdir''@!/gentoo/usr/share/mysql!g' \
  -e 's!@''sysconfdir''@!/etc/mysql!g' \
  -e 's!@''mandir''@!/gentoo/usr/share/man!g' \
  -e 's!@''infodir''@!/gentoo/usr/share/info!g' \
Comment 6 Fabian Groffen gentoo-dev 2011-11-08 10:05:25 UTC
same problem seen on x86-macos
Comment 7 Fabian Groffen gentoo-dev 2011-11-08 20:16:45 UTC
fixed with the changed eclasses in Prefix overlay now
Comment 8 Fabian Groffen gentoo-dev 2012-01-07 09:21:24 UTC
landed in gx86