Ebuild for MySQL 5.1.56 Change made against 5.1.53: EPATCH_EXCLUDE='07110_all_mysql_gcc-4.2_5.1.51.patch 07330_all_mysql_itemfunc_stacksize_bug57386.patch' I think this ebuild does not build against gcc 4.3 because of the disabled "07110_all_mysql_gcc-4.2_5.1.51.patch" patch. Second patch committed to the upstream tree. Works fine with gcc 4.4.5 on amd64 system with multilib. All useflags are disabled on my system. Reproducible: Always
Created attachment 267205 [details] dev.db/mysql-5.1.56 ebuild
We bumped mysql to the 5.1.56 release in the mysql overlay[1] [1] - http://git.overlays.gentoo.org/gitweb/?p=proj/mysql.git;a=tree;f=dev-db/mysql I'm leaving this bug open until we move it to the tree.
please test 5.1.56 and reopen if needed.
This is the error what I got form the overlay ebuild: (In reply to comment #3) > please test 5.1.56 and reopen if needed. >>> Failed to emerge dev-db/mysql-5.1.56, Log file: >>> '/tmp/portage/dev-db/mysql-5.1.56/temp/build.log' >>> Jobs: 8 of 11 complete, 1 failed Load avg: 1.65, 1.63, 1.15 * Package: dev-db/mysql-5.1.56 * Repository: local * Maintainer: mysql-bugs@gentoo.org * USE: amd64 elibc_glibc kernel_linux minimal multilib userland_GNU * FEATURES: sandbox * MySQL MY_DATADIR is /var/lib/mysql * MySQL datadir found in /var/lib/mysql * A new one will not be created. * GIT NEW clone --> * repository: git://git.overlays.gentoo.org/proj/mysql-extras.git Cloning into bare repository /usr/portage/distfiles/git-src/mysql-extras... ACCESS DENIED open_wr: /var/cache/samba/gencache.tdb remote: Counting objects: 1451, done. remote: Compressing objects: 100% (586/586), done. remote: Total 1451 (delta 868), reused 1334 (delta 796) Receiving objects: 100% (1451/1451), 1.29 MiB | 623 KiB/s, done. Resolving deltas: 100% (868/868), done. * at the commit: c6231cd21a7fefc28b93774610ed477f8fdb6bf9 * branch: master * storage directory: "/usr/portage/distfiles/git-src/mysql-extras" Cloning into /tmp/portage/dev-db/mysql-5.1.56/work/mysql-extras... done. >>> Unpacked to /tmp/portage/dev-db/mysql-5.1.56/work/mysql-extras --------------------------- ACCESS VIOLATION SUMMARY --------------------------- LOG FILE "/var/log/sandbox/sandbox-20944.log" VERSION 1.0 FORMAT: F - Function called FORMAT: S - Access Status FORMAT: P - Path as passed to function FORMAT: A - Absolute Path (not canonical) FORMAT: R - Canonical Path FORMAT: C - Command Line F: open_wr S: deny P: /var/cache/samba/gencache.tdb A: /var/cache/samba/gencache.tdb R: /var/cache/samba/gencache.tdb C: git clone --bare git://git.overlays.gentoo.org/proj/mysql-extras.git /usr/portage/distfiles/git-src/mysql-extras -------------------------------------------------------------------------------- By the time I run the test, the official portage tree has mysql-5.1.56, so I give it a go...
Gergely Nemeth: please put that in a new bug. It's certainly NOT related to mysql. Nothing in the mysql stuff looks at that file. I think maybe a bug for the git.eclass authors.
With the freshly bumped 5.1.56 ebuild everything works just fine. [ebuild R ] dev-db/mysql-5.1.56 USE="minimal* -big-tables -cluster -community -debug -embedded -extraengine -latin1 -max-idx-128 -pbxt -perl -profiling (-selinux) -ssl -static -test -xtradb" Thank you!
(In reply to comment #5) > Gergely Nemeth: > please put that in a new bug. It's certainly NOT related to mysql. Nothing in > the mysql stuff looks at that file. I think maybe a bug for the git.eclass > authors. Okay. Mysql build fine though: * Starting mysql ... * Starting mysql (/etc/mysql/my.cnf) /sbin/start-stop-daemon: stat /usr/sbin/mysqld: No such file or directory (No such file or directory) * MySQL NOT started (2) It would be nice to give a warn about this action. I mean, if you turn on the minimal useflag you won't have mysqld. The diabling of minimal useflag solved this error.
Gergely Nemeth: if you install w/ USE=minimal, you don't get /etc/init.d/mysql installed. You have that init.d file on system from when you had a full install. Not a bug.