Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 331691 - New Ebuild - mysql-cluster-7.0.9
Summary: New Ebuild - mysql-cluster-7.0.9
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-08 21:56 UTC by Nathan Sullivan
Modified: 2010-09-05 08:46 UTC (History)
1 user (show)

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


Attachments
mysql-cluster-7.0.9.ebuild (mysql-cluster-7.0.9.ebuild,4.72 KB, text/plain)
2010-08-08 21:59 UTC, Nathan Sullivan
Details
Patch for mysql.eclass to suit mysql-cluster needs. (mysql.eclass-cluster-7.0.9.diff,4.17 KB, patch)
2010-08-08 21:59 UTC, Nathan Sullivan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nathan Sullivan 2010-08-08 21:56:10 UTC
Adding new ebuild, they may be a little messy still but heres a placeholder for them for now. I have made some changes to mysql.eclass to support this also.

Reproducible: Always
Comment 1 Nathan Sullivan 2010-08-08 21:59:07 UTC
Created attachment 241891 [details]
mysql-cluster-7.0.9.ebuild
Comment 2 Nathan Sullivan 2010-08-08 21:59:35 UTC
Created attachment 241893 [details, diff]
Patch for mysql.eclass to suit mysql-cluster needs.
Comment 3 Nathan Sullivan 2010-08-08 22:01:03 UTC
NOTE, just remembered, the init scripts don't return a sane value on successful ndbmtd/ndbd/ndb_mgmd startup. this probably needs fixing before this can be used.
Comment 4 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-08-08 22:25:23 UTC
reviewed, will merge soon.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-08-09 06:17:06 UTC
Added into mysql overlay.

Can you please bump to 7.0.16 and also test my variant of your eclass changes?
Comment 6 Nathan Sullivan 2010-08-10 09:30:17 UTC
doesnt work, will come back to you shortly with some more info as to what versions work and what dont... I think its a mysql-cluster issue though not the ebuild.
Comment 7 Nathan Sullivan 2010-08-10 15:42:24 UTC
ok confirmed, my config's were kinda borked. probably need to do some work on some good default configs to include with these ebuilds, to go with the init scripts.

as long as the DataMemory / IndexMemory values are realistic, and MaxNoOfExecutionThreads is no more than the # of CPUs in your machine, 7.0.16 works nicely with ndbd and ndbmtd :)
Comment 8 Nathan Sullivan 2010-08-10 17:49:56 UTC
ok, confirmed 7.1.5 works nicely, albeit I was unable to do a rolling restart upgrade from 7.0.9 (due to some flaws that were fixed around 7.0.10 I believe). after a fresh cluster start though, it used my 7.0.9 data fine, and its doing its job nicely atm.
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-08-10 19:34:12 UTC
attachments for new cluster stuff in a new bug once you've got it all working please.
Comment 10 Raimods 2010-09-02 21:14:17 UTC
package conflicts there, dev-db/mysql-cluster conflicts with dev-db/mysql:
emerge =mysql-cluster-7.0.9 -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-db/mysql-5.1.50-r1  USE="cluster -big-tables -community -debug -embedded -extraengine -latin1 -max-idx-128 -minimal -pbxt -perl -profiling (-selinux) -ssl -static -test -xtradb" 0 kB [0]
[ebuild  N    ] virtual/mysql-5.1  0 kB [0]
[ebuild  N    ] dev-db/mysql-cluster-7.0.9  USE="-big-tables -community -debug -embedded -extraengine -latin1 -max-idx-128 -minimal -pbxt -perl -profiling (-selinux) -ssl -static -test -xtradb" 22,245 kB [1]                                                                             
[blocks B     ] dev-db/mysql-cluster ("dev-db/mysql-cluster" is blocking dev-db/mysql-5.1.50-r1)
[blocks B     ] dev-db/mysql ("dev-db/mysql" is blocking dev-db/mysql-cluster-7.0.9)
Total: 4 packages (4 new), Size of downloads: 22,245 kB
Conflict: 2 blocks (2 unsatisfied)
Portage tree and overlays:
 [0] /usr/portage
 [1] /var/lib/layman/mysql
 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.
  ('ebuild', '/', 'dev-db/mysql-cluster-7.0.9', 'merge') pulled in by
    =mysql-cluster-7.0.9
  ('ebuild', '/', 'dev-db/mysql-5.1.50-r1', 'merge') pulled in by
    =dev-db/mysql-5.1* required by ('ebuild', '/', 'virtual/mysql-5.1', 'merge')


emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/no-multilib, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.34-gentoo-r6-x86_64-Intel-R-_Xeon-R-_CPU_E5310_@_1.60GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 02 Sep 2010 19:00:22 +0000
app-shells/bash:     4.0_p37
dev-lang/python:     2.6.5-r3, 3.1.2-r4
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65
sys-devel/automake:  1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -mtune=generic -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.tups.lv/source/ http://mirror.elen.ktu.lt/gentoo/ rsync://ftp.snt.ipv6.utwente.nl/gentoo/"
LANG="lv_LV.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/mysql"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="64bit amd64 bash-completion berkdb bzip2 cli cracklib crypt device-mapper diskio dlloader gdbm iproute2 logrotate maildir memlimit ncurses no-old-linux nomalloccheck nptl nptlonly openntpd openssl pam pcre posix postfix readline realms reflection server session sftplogging sha512 slang spl ssl syslog threads threadsafe unicode urandom userlocales utf8 vim-syntax webdav-neon xml zlib" 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" 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware voodoo" 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, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 11 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2010-09-05 08:46:06 UTC
(In reply to comment #10)
> package conflicts there, dev-db/mysql-cluster conflicts with dev-db/mysql:
> emerge =mysql-cluster-7.0.9 -pv
I already answered you via email.

Use the virtual in the overlay, and they are MEANT to conflict.