Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 461762 - [mysql overlay] dev-db/mysql-cluster-7.0.9 fails to build
Summary: [mysql overlay] dev-db/mysql-cluster-7.0.9 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords: EBUILD, InOverlay
Depends on:
Blocks:
 
Reported: 2013-03-14 20:21 UTC by Tom
Modified: 2013-09-04 20:51 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,71.58 KB, text/plain)
2013-03-22 17:59 UTC, Tom
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom 2013-03-14 20:21:21 UTC
I cannot emerge this package in first i see problem with patch. 
* The specific snippet of code:
 *           [[ -d "${filesdir}" ]] || die "No patches directory found!"; 

and

/var/tmp/portage/dev-db/mysql-cluster-7.0.9/temp/environment: line 4277: git_src_unpack: command not found 

Reproducible: Always

Steps to Reproduce:
1. emerge mysql-cluster
2.
3.



System uname: Linux-3.8.2-gentoo-xxxx-std-ipv6-64-x86_64-Intel-R-_Xeon-R-_CPU_L5520_@_2.27GHz-with-gentoo-2.2.0
KiB Mem:     1017412 total,    509904 free
KiB Swap:    1951892 total,   1948576 free
Timestamp of tree: Wed, 13 Mar 2013 05:45:01 +0000
ld GNU ld (GNU Binutils) 2.22
app-shells/bash:          4.2_p37
dev-lang/python:          2.7.3-r1000, 3.2.3-r1000
dev-util/cmake:           2.8.10.2-r1
sys-apps/baselayout:      2.2.0-r4
sys-apps/openrc:          0.10.2-r7
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.5-r1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.4-r2 (virtual/os-headers)
sys-libs/glibc:           2.15-r3
Repositories: gentoo mysql
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="-j4 --load-average=3.95"
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"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en pl"
MAKEOPTS="-j4 -l3.95"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/mysql"
SYNC="git://github.com/funtoo/ports-2012.git"
SYNC_USER="root"
USE="acl amd64 berkdb bzip2 cracklib crypt cxx gdbm iconv icu ipv6 mmx modules mudflap multilib ncurses nls nptl openmp pam pcre python python3 readline resolvconf sse sse2 ssl tcpd unicode xml 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 authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" 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 ubx" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en pl" PHP_TARGETS="php5-3" PYTHON_ABIS="2.7 3.2" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYN
Comment 1 Tom 2013-03-14 20:24:08 UTC
 Package:    dev-db/mysql-cluster-7.0.9
 * Repository: mysql
 * Maintainer: mysql-bugs@gentoo.org
 * USE:        amd64 community elibc_glibc kernel_linux multilib perl ssl userland_GNU
 * FEATURES:   preserve-libs sandbox
 * QA Notice: USE Flag 'cluster' not in IUSE for dev-db/mysql-cluster-7.0.9
>>> Unpacking source...
 * Using default MY_DATADIR
 * MySQL MY_DATADIR is /var/lib/mysql
>>> Unpacking mysql-cluster-gpl-7.0.9.tar.gz to /var/tmp/portage/dev-db/mysql-cluster-7.0.9/work
/var/tmp/portage/dev-db/mysql-cluster-7.0.9/temp/environment: line 4277: git_src_unpack: command not found
>>> Source unpacked in /var/tmp/portage/dev-db/mysql-cluster-7.0.9/work
>>> Preparing source in /var/tmp/portage/dev-db/mysql-cluster-7.0.9/work/mysql ...
 * ERROR: dev-db/mysql-cluster-7.0.9 failed (prepare phase):
 *   No patches directory found!
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 4698:  Called mysql_src_prepare
 *   environment, line 4225:  Called mysql_mv_patches
 *   environment, line 3812:  Called die
 * The specific snippet of code:
 *           [[ -d "${filesdir}" ]] || die "No patches directory found!";
 *
 * If you need support, post the output of `emerge --info '=dev-db/mysql-cluster-7.0.9'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/mysql-cluster-7.0.9'`.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/mysql/eclass/mysql.eclass
 *   /var/lib/layman/mysql/eclass/mysql_fx.eclass
 * This ebuild is from an overlay named 'mysql': '/var/lib/layman/mysql/'
 * The complete build log is located at '/var/tmp/portage/dev-db/mysql-cluster-7.0.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-cluster-7.0.9/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-db/mysql-cluster-7.0.9/work/mysql'
 * S: '/var/tmp/portage/dev-db/mysql-cluster-7.0.9/work/mysql'

 * Messages for package dev-db/mysql-cluster-7.0.9:

 * MySQL MY_DATADIR is /var/lib/mysql
 * ERROR: dev-db/mysql-cluster-7.0.9 failed (prepare phase):
 *   No patches directory found!
 *
 * Call stack:
 *     ebuild.sh, line   93:  Called src_prepare
 *   environment, line 4698:  Called mysql_src_prepare
 *   environment, line 4225:  Called mysql_mv_patches
 *   environment, line 3812:  Called die
 * The specific snippet of code:
 *           [[ -d "${filesdir}" ]] || die "No patches directory found!";
 *
 * If you need support, post the output of `emerge --info '=dev-db/mysql-cluster-7.0.9'`,
 * the complete build log and the output of `emerge -pqv '=dev-db/mysql-cluster-7.0.9'`.
 * This ebuild used the following eclasses from overlays:
 *   /var/lib/layman/mysql/eclass/mysql.eclass
 *   /var/lib/layman/mysql/eclass/mysql_fx.eclass
 * This ebuild is from an overlay named 'mysql': '/var/lib/layman/mysql/'
 * The complete build log is located at '/var/tmp/portage/dev-db/mysql-cluster-7.0.9/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-db/mysql-cluster-7.0.9/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-db/mysql-cluster-7.0.9/work/mysql'
 * S: '/var/tmp/portage/dev-db/mysql-cluster-7.0.9/work/mysql'
Comment 2 Rafał Mużyło 2013-03-15 02:49:32 UTC
It seems there's something wrong in regard of git-2.eclass in mysql.eclass in that overlay.

It might very well be that after fixing that little problem, things will work fine.
Comment 3 Tom 2013-03-17 22:38:35 UTC
(In reply to comment #2)
> It seems there's something wrong in regard of git-2.eclass in mysql.eclass
> in that overlay.
> 
> It might very well be that after fixing that little problem, things will
> work fine.

Error is still exist 
Not worked
Can you send me ebuild i try paste by hand
Comment 4 Brian Evans (RETIRED) gentoo-dev 2013-03-20 12:30:19 UTC
The problem lies in the old eclass/mysql.eclass.

It is calling git_src_unpack when it should be git-2_src_unpack.
Comment 5 Tom 2013-03-22 17:59:41 UTC
Created attachment 342932 [details]
build.log
Comment 6 Tom 2013-03-22 18:00:43 UTC
o i change to git-2_src_unpack and i have next problem in atachment
Comment 7 Brian Evans (RETIRED) gentoo-dev 2013-07-24 15:08:18 UTC
I have updated the mysql-cluster ebuilds in the overlay.

Could you please retest with an updated version?
Comment 8 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2013-09-04 20:51:11 UTC
I believe this should be working now that Brian updated the ebuilds and we fixed the use of the eclasses.
Feel free to reopen if you hit the same issue.