Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 521718 - dev-db/mysql-5.6.20-r1 fails to build
Summary: dev-db/mysql-5.6.20-r1 fails to build
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-30 09:37 UTC by Patrick Lauer
Modified: 2014-09-01 00:21 UTC (History)
0 users

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 Patrick Lauer gentoo-dev 2014-08-30 09:37:08 UTC
>>> Emerging (5 of 7) dev-db/mysql-5.6.20-r1::gentoo
 * mysql-5.6.20.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                                                             [ ok ]
 * mysql-extras-20140801-1950Z.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                                             [ ok ]
>>> Unpacking source...
 * MySQL MY_DATADIR is /var/lib/mysql
 * MySQL datadir found in /var/lib/mysql
 * A new one will not be created.
>>> Unpacking mysql-5.6.20.tar.gz to /chroot/local/portage/dev-db/mysql-5.6.20-r1/work
>>> Unpacking mysql-extras-20140801-1950Z.tar.bz2 to /chroot/local/portage/dev-db/mysql-5.6.20-r1/work
>>> Source unpacked in /chroot/local/portage/dev-db/mysql-5.6.20-r1/work
>>> Preparing source in /chroot/local/portage/dev-db/mysql-5.6.20-r1/work/mysql ...
 * using '02040_all_embedded-library-shared-5.5.10.patch'
 * >    Take libmysqld to be a proper shared library.
 * using '20001_all_fix-minimal-build-cmake-mysql-5.6.20.patch'
 * >    Fix the minimal build by reordering CMakeLists.txt
 * using '20006_all_cmake_elib-mysql-5.6.15.patch'
 * >    Add ELIBPATH to split client and embedded libs
 * >    Also install static libs by ENABLE_STATIC_LIBS
 * using '20007_all_cmake-debug-werror-5.6.16.patch'
 * >    Remove -Werror from USE="debug" builds
 * using '20008_all_mysql-tzinfo-symlink.patch'
 * >    Backport tzinfo symlink fix from MariaDB bug 491176
 * using '20009_all_mysql_myodbc_symbol_fix-5.6.patch'
 * >    Export missing symbols
 * Applying various patches (bugfixes/updates) ...
 *   02040_all_embedded-library-shared-5.5.10.patch ...                                                                                                                                                                                                                 [ ok ]
 *   20001_all_fix-minimal-build-cmake-mysql-5.6.20.patch ...                                                                                                                                                                                                           [ ok ]
 *   20006_all_cmake_elib-mysql-5.6.15.patch ...                                                                                                                                                                                                                        [ ok ]
 *   20007_all_cmake-debug-werror-5.6.16.patch ...                                                                                                                                                                                                                      [ ok ]
 *   20008_all_mysql-tzinfo-symlink.patch ...                                                                                                                                                                                                                           [ ok ]
 *   20009_all_mysql_myodbc_symbol_fix-5.6.patch ...                                                                                                                                                                                                                    [ ok ]
 * Done with patching
>>> Source prepared.
>>> Configuring source in /chroot/local/portage/dev-db/mysql-5.6.20-r1/work/mysql ...
 * abi_x86_32.x86: running multilib-minimal_abi_src_configure
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
>>> Working in BUILD_DIR: "/chroot/local/portage/dev-db/mysql-5.6.20-r1/work/mysql-abi_x86_32.x86"
find: ‘/chroot/local/portage/dev-db/mysql-5.6.20-r1/work/mysql/storage/ndb/include/sedaU3SPD’: No such file or directory
>>> Working in BUILD_DIR: "/chroot/local/portage/dev-db/mysql-5.6.20-r1/work/mysql-abi_x86_64.amd64"
find: ‘/chroot/local/portage/dev-db/mysql-5.6.20-r1/work/mysql/storage/ndb/src/common/sed2yJWtB’: No such file or directory
find: ‘/chroot/local/portage/dev-db/mysql-5.6.20-r1/work/mysql/storage/ndb/src/sedxfi8Ux’: No such file or directory
cmake --no-warn-unused-cli -C /chroot/local/portage/dev-db/mysql-5.6.20-r1/work/mysql-abi_x86_32.x86/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_C_FLAGS_RELWITHDEBINFO=-DNDEBUG -DCMAKE_CXX_FLAGS_RELWITHDEBINFO=-DNDEBUG -DCMAKE_INSTALL_PREFIX=/usr -DMYSQL_DATADIR=/var/lib/mysql -DSYSCONFDIR=/etc/mysql -DINSTALL_BINDIR=bin -DINSTALL_DOCDIR=share/doc/mysql-5.6.20 -DINSTALL_DOCREADMEDIR=share/doc/mysql-5.6.20 -DINSTALL_INCLUDEDIR=include/mysql -DINSTALL_INFODIR=share/info -DINSTALL_LIBDIR=lib32 -DINSTALL_ELIBDIR=lib32/mysql -DINSTALL_MANDIR=share/man -DINSTALL_MYSQLDATADIR=/var/lib/mysql -DINSTALL_MYSQLSHAREDIR=share/mysql -DINSTALL_MYSQLTESTDIR=share/mysql/mysql-test -DINSTALL_PLUGINDIR=lib32/mysql/plugin -DINSTALL_SBINDIR=sbin -DINSTALL_SCRIPTDIR=share/mysql/scripts -DINSTALL_SQLBENCHDIR=share/mysql -DINSTALL_SUPPORTFILESDIR=/usr/share/mysql -DWITH_COMMENT=Gentoo Linux mysql-5.6.20-r1 -DWITH_UNIT_TESTS=OFF -DWITH_LIBEDIT=0 -DWITH_ZLIB=system -DWITHOUT_LIBWRAP=1 -DENABLED_LOCAL_INFILE=1 -DMYSQL_UNIX_ADDR=/var/run/mysqld/mysqld.sock -DWITH_SSL=system -DWITH_DEFAULT_COMPILER_OPTIONS=0 -DWITH_DEFAULT_FEATURE_SET=0 -DENABLE_DTRACE=OFF -DWITH_EDITLINE=system -DDEFAULT_CHARSET=utf8 -DDEFAULT_COLLATION=utf8_general_ci -DWITHOUT_SERVER=1 -DWITHOUT_EMBEDDED_SERVER=1 -DEXTRA_CHARSETS=none -DINSTALL_SQLBENCHDIR= -DWITHOUT_ARCHIVE_STORAGE_ENGINE=1 -DWITHOUT_BLACKHOLE_STORAGE_ENGINE=1 -DWITHOUT_CSV_STORAGE_ENGINE=1 -DWITHOUT_FEDERATED_STORAGE_ENGINE=1 -DWITHOUT_HEAP_STORAGE_ENGINE=1 -DWITHOUT_INNOBASE_STORAGE_ENGINE=1 -DWITHOUT_MYISAMMRG_STORAGE_ENGINE=1 -DWITHOUT_MYISAM_STORAGE_ENGINE=1 -DWITHOUT_PARTITION_STORAGE_ENGINE=1 -DPLUGIN_ARCHIVE=NO -DPLUGIN_BLACKHOLE=NO -DPLUGIN_CSV=NO -DPLUGIN_FEDERATED=NO -DPLUGIN_HEAP=NO -DPLUGIN_INNOBASE=NO -DPLUGIN_MYISAMMRG=NO -DPLUGIN_MYISAM=NO -DPLUGIN_PARTITION=NO -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_DO_STRIP=OFF -DCMAKE_USER_MAKE_RULES_OVERRIDE=/chroot/local/portage/dev-db/mysql-5.6.20-r1/work/mysql-abi_x86_32.x86/gentoo_rules.cmake  /chroot/local/portage/dev-db/mysql-5.6.20-r1/work/mysql
Not searching for unused variables given on the command line.
loading initial cache file /chroot/local/portage/dev-db/mysql-5.6.20-r1/work/mysql-abi_x86_32.x86/gentoo_common_config.cmake
-- Running cmake version 2.8.12.2
-- The C compiler identification is GNU 4.8.3
-- The CXX compiler identification is GNU 4.8.3
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
 * ERROR: dev-db/mysql-5.6.20-r1::gentoo failed (configure phase):
 *   498: failed to disable hardcoded settings

Portage 2.2.12 (python 2.7.8-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.3, glibc-2.19-r1, 3.16.0-gentoo x86_64)
=================================================================
System uname: Linux-3.16.0-gentoo-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.2
KiB Mem:    16406892 total,   3928088 free
KiB Swap:    8388604 total,   8388492 free
Timestamp of tree: Unknown
ld GNU ld (GNU Binutils) 2.24
app-shells/bash:          4.2_p47
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.8, 3.2.5-r3, 3.3.5-r1, 3.4.1
dev-util/cmake:           2.8.12.2-r2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.1
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.7.3, 4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-11.x PUEL skype-eula ut2003 skype-4.0.0.7-copyright Intel-SDP"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/chroot/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="http://distfiles.gentoo.org"
INSTALL_MASK="/usr/lib/systemd"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
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="/chroot/local"
PORTDIR="/home/me/code/gentoo-x86"
PORTDIR_OVERLAY=""
USE="X a52 aac accessibility acl acpi alsa amd64 apng berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cpudetection cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam fdt firefox flac fortran gdbm gif gpm iconv icu ipv6 jabber jpeg kde kipi kmod lcms ldap lto mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opencl opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds python qemu qt3support qt4 r600-llvm-compiler readline sdl semantic-desktop session spell sse sse2 ssl svg tcpd threads tiff tk truetype udev udisks unicode upower usb vdpau vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="32 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="author braindump flow karbon kexi krita sheets stage words" 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" QEMU_SOFTMMU_TARGETS="x86_64 alpha arm cris i386 lm32 m68k microblaze microblazeel mips mips64 mips64el mipsel moxie or32 ppc ppc64 ppcemb s390x sh4 sh4eb sparc sparc64 unicore32 xtensa xtensaeb" QEMU_USER_TARGETS="alpha arm armeb cris i386 m68k microblaze microblazeel mips mips64 mips64el mipsel mipsn32 mipsn32el or32 ppc ppc64 ppc64abi32 s390x sh4 sh4eb sparc sparc32plus sparc64 unicore32 x86_64" USERLAND="GNU" VIDEO_CARDS="vga vesa radeon" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Brian Evans (RETIRED) gentoo-dev 2014-08-30 13:31:31 UTC
Can't repeat.

What USE flags were set?

 * USE:        abi_x86_32 abi_x86_64 amd64 community elibc_glibc embedded extraengine kernel_linux latin1 perl
 profiling ssl userland_GNU

[...]

loading initial cache file Not searching for unused variables given on the command line.
loading initial cache file /var/tmp/portage/dev-db/mysql-5.6.20-r1/work/mysql-abi_x86_64.amd64/gentoo_common_config.cmake
/var/tmp/portage/dev-db/mysql-5.6.20-r1/work/mysql-abi_x86_32.x86/gentoo_common_config.cmake
-- Running cmake version 2.8.12.2
-- Running cmake version 2.8.12.2
-- The C compiler identification is GNU 4.7.3
-- The C compiler identification is GNU 4.7.3
-- The CXX compiler identification is GNU 4.7.3
-- The CXX compiler identification is GNU 4.7.3
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Check for working C compiler: /usr/bin/x86_64-pc-linux-gnu-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compiler ABI info - done

[...]
Comment 2 Patrick Lauer gentoo-dev 2014-08-31 03:56:27 UTC
[ebuild     U  ] dev-db/mysql-5.6.20-r1 [5.6.20] USE="community perl ssl -cluster -debug -embedded -extraengine -jemalloc -latin1 -max-idx-128 -minimal -profiling (-selinux) -static -static-libs -systemtap -tcmalloc {-test}" ABI_X86="32%* (64%*) (-x32)" 0 KiB
Comment 3 Brian Evans (RETIRED) gentoo-dev 2014-09-01 00:21:58 UTC
Works here and.. 
7:22:58 PM EST - xiaomiao: grknight: ... and after today's --sync it's fixed, so I have no idea what gremlins you hide in there