Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 523594 - dev-db/mariadb-10.0.13 - CMake Error: The following variables are used in this project, but they are set to NOTFOUND. // ORACLE_INCLUDE_DIR used as include directory in directory .../work/mysql/storage/spider
Summary: dev-db/mariadb-10.0.13 - CMake Error: The following variables are used in thi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-24 08:22 UTC by Henrik Grubbström
Modified: 2014-09-26 19:22 UTC (History)
0 users

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


Attachments
/var/tmp/portage/dev-db/mariadb-10.0.13/temp/build.log (build.log,35.76 KB, text/plain)
2014-09-24 08:23 UTC, Henrik Grubbström
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Henrik Grubbström 2014-09-24 08:22:10 UTC
See summary.

Reproducible: Always

Steps to Reproduce:
1. emerge dev-db/mariadb-10.0.13
Actual Results:  
-- Looking for event.h
-- Looking for event.h - found
CMake Warning at CMakeLists.txt:521 (MESSAGE):
  

  You have linked MariaDB with GPLv3 libraries! You may not distribute the
  resulting binary.  If you do, you will put yourself into a legal problem
  with Free Software Foundation.


-- <<< Gentoo configuration >>>
Build type      RelWithDebInfo
Install path    /usr
Compiler flags:
C               -Wall -O2 -pipe -fno-strict-aliasing  -Wall
C++             -Wall -O2 -pipe -fno-strict-aliasing -felide-constructors -fno-rtti -fno-strict-aliasing  -Wall -Wno-unused-parameter -fno-exceptions -fno-rtti
Linker flags:
Executable       -Wl,-O1 -Wl,--as-needed
Module           -Wl,-O1 -Wl,--as-needed
Shared           -Wl,-O1 -Wl,--as-needed

CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
ORACLE_INCLUDE_DIR
   used as include directory in directory /var/tmp/portage/dev-db/mariadb-10.0.13/work/mysql/storage/spider

-- Configuring incomplete, errors occurred!
See also "/var/tmp/portage/dev-db/mariadb-10.0.13/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/portage/dev-db/mariadb-10.0.13/work/mysql-abi_x86_64.amd64/CMakeFiles/CMakeError.log".
 * ERROR: dev-db/mariadb-10.0.13::gentoo failed (configure phase):
 *   cmake failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 4664:  Called mysql-multilib_src_configure
 *   environment, line 4092:  Called multilib-minimal_src_configure
 *   environment, line 3109:  Called multilib_parallel_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 3415:  Called multibuild_parallel_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 3002:  Called multibuild_foreach_variant '_multibuild_parallel' '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2945:  Called _multibuild_run '_multibuild_parallel' '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2943:  Called _multibuild_parallel '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 2993:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  614:  Called multilib-minimal_abi_src_configure
 *   environment, line 3103:  Called multilib_src_configure
 *   environment, line 3563:  Called cmake-utils_src_configure
 *   environment, line  940:  Called _execute_optionally 'src_configure'
 *   environment, line  393:  Called enable_cmake-utils_src_configure
 *   environment, line 1357:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 * 
 * If you need support, post the output of `emerge --info '=dev-db/mariadb-10.0.13::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/mariadb-10.0.13::gentoo'`.
/usr/lib64/portage/bin/isolated-functions.sh: line 195: wait: `cmake failed': not a pid or valid job spec
 * The complete build log is located at '/var/tmp/portage/dev-db/mariadb-10.0.13/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mariadb-10.0.13/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-db/mariadb-10.0.13/work/mysql-abi_x86_64.amd64'
 * S: '/var/tmp/portage/dev-db/mariadb-10.0.13/work/mysql'

>>> Failed to emerge dev-db/mariadb-10.0.13, Log file:

>>>  '/var/tmp/portage/dev-db/mariadb-10.0.13/temp/build.log'


Expected Results:  
Expected configure, build and install.

emerge --info
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.19-r1, 3.14.0-gentoo x86_64)
=================================================================
System uname: Linux-3.14.0-gentoo-x86_64-Intel-R-_Core-TM-_i5-2500K_CPU_@_3.30GHz-with-gentoo-2.2
KiB Mem:     8024568 total,    420580 free
KiB Swap:   16777212 total,   9533508 free
Timestamp of tree: Tue, 23 Sep 2014 13:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.7, 3.3.5-r1
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo pike
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA google-chrome"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://trumpetti.atm.tut.fi/gentoo/ http://ftp.df.lth.se/pub/gentoo/ ftp://mirror.mdfnet.se/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/pike"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac acl acpi alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo canna cdda cdparanoia cdr cjk clamav cleartype cli consolekit corefonts cpudetection cracklib crypt ctype cups curl curlwrappers cxx dbus declarative directfb dri dts dvd dvdr emacs emboss encode exif fam ffmpeg fftw firefox flac fontconfig fortran freetds freewnn ftp gcrypt gdbm gif git glamor glut gmp gnutls gpm gtk icc iconv idn ieee1394 imagemagick imap imlib iodbc ipv6 jadetex java javascript jpeg jpeg2k kde kipi lame lcms ldap libnotify mad maildir mbox mhash mime mjpeg mmx mng modules mp3 mp4 mpeg mplayer mule multilib mysql mysqli ncurses nis nls no-gnome nptl nsplugin odbc ogg opengl openmp pam pango pcre pdf phonon pike plasma png policykit posix postgres ppds qt3support qt4 quicktime rdesktop readline recode resolvconf samba sasl sdl semantic-desktop session smartcard snmp soap sockets spell sqlite sse sse2 ssl startup-notification subversion svg syslog tcpd thora threads tiff tk truetype type1 udev udisks unicode upower usb video vorbis webdav wxwidgets x264 x86_64 xcb xcomposite xinerama xml xmlrpc xscreensaver xsl xulrunner xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="radeon r600 intel" 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, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Henrik Grubbström 2014-09-24 08:23:05 UTC
Created attachment 385376 [details]
/var/tmp/portage/dev-db/mariadb-10.0.13/temp/build.log
Comment 2 Brian Evans (RETIRED) gentoo-dev 2014-09-24 14:12:24 UTC
This error only occurs if the ORACLE_HOME environment variable is set
Comment 3 Brian Evans (RETIRED) gentoo-dev 2014-09-25 01:29:16 UTC
This should be fixed in 10.0.14 which is due out in the next day or two
Comment 4 Henrik Grubbström 2014-09-26 13:52:42 UTC
> This error only occurs if the ORACLE_HOME environment variable is set

... The caveats of having the same startup files on multiple machines...

I can confirm that after unsetting ORACLE_HOME, mariadb-10.0.13 emerges fine.
Comment 5 Brian Evans (RETIRED) gentoo-dev 2014-09-26 19:22:41 UTC
Fixed with mariadb-10.0.14