Thanks.
Sparc stable. Builds and works fine for me with my real-life ruby+mysql application.
dev-ruby/mysql-ruby-2.7.3 1. emerges on x86 2. passes test suite with "113 tests, 375 assertions, 2 failures, 0 errors": 1) Failure: test_fetch_field(TC_MysqlRes) [./test.rb:309]: <10> expected but was <30>. 2) Failure: test_field_hash(TC_MysqlRes) [./test.rb:371]: <{"flags"=>0, "name"=>"str", "type"=>254, "max_length"=>4, "def"=>nil, "decimals"=>0, "length"=>10, "table"=>"t"}> expected but was <{"flags"=>0, "name"=>"str", "type"=>254, "max_length"=>4, "def"=>nil, "decimals"=>0, "length"=>30, "table"=>"t"}>. 3. passes collision test Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19.5 i686) ================================================================= System uname: 2.6.19.5 i686 AMD Athlon(TM) XP1800+ Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 23 Mar 2007 19:30:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31 dev-lang/python: 2.3.5-r3, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php4/ext-active/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php4/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php4/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php4/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--nospinner" FEATURES="autoconfig ccache collision-protect distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict test userfetch userpriv usersandbox" GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/ http://gentoo.inode.at/" LANG="en_GB.utf8" LINGUAS="en de en_GB" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/normal" SYNC="rsync://192.168.2.1/gentoo-portage" USE="3dnow 3dnowext X a52 aac alsa apache2 berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus divx4linux dri dts dvd dvdr dvdread eds emboss exif fam ffmpeg firefox fortran gdbm gif gnome gphoto2 gpm gstreamer gtk hal iconv ipv6 isdnlog java jpeg kde ldap libg++ mad midi mikmod mmx mmxext mono mp3 mpeg ncurses network nls nptl nptlonly ogg opengl oss pam pcre perl png ppds pppd python qt qt3 qt4 quicktime readline reflection samba sdl seamonkey session spell spl ssl svg tcpd test tetex tiff truetype truetype-fonts type1-fonts unicode usb vcd vorbis win32codecs x86 xine xinerama xml xorg xprint xv xvid zlib" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LINGUAS="en de en_GB" USERLAND="GNU" VIDEO_CARDS="nv none" Unset: CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
ppc64 stable
The test script appears to ignore the command line options. # ruby ./test.rb elmer root foobar Loaded suite ./test Started .FE...F..FE.EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE......... Finished in 0.438941 seconds. 1) Failure: test_connect(TC_Mysql) [./test.rb:33]: Exception raised: Class: <Mysql::Error> Message: <"Access denied for user 'root'@'localhost' (using password: NO)"> ---Backtrace--- ./test.rb:33:in `connect' ./test.rb:33:in `test_connect' ./test.rb:33:in `test_connect' --------------- [and so on]
(In reply to comment #4) > The test script appears to ignore the command line options. Same on ia64
JeR/armin76 thanks. I'll look at what's gone wrong with the test script in this version, and shout when I've worked it out.
(In reply to comment #6) > JeR/armin76 thanks. I'll look at what's gone wrong with the test script in this > version, and shout when I've worked it out. Anything to shout?
Created attachment 116200 [details, diff] mysql-ruby-test.diff I've attacked a patch that you can apply to test.rb so that it pays attention to ARGV. If you don't have any problems I'll probably make the ebuild install and patch the test file to make things easier in future. I've tested this against mysql-4.1.x on x86 and it passed all tests.
(In reply to comment #8) > Created an attachment (id=116200) [edit] > mysql-ruby-test.diff > > I've attacked a patch that you can apply to test.rb so that it pays attention > to ARGV. If you don't have any problems I'll probably make the ebuild install > and patch the test file to make things easier in future. I've tested this > against mysql-4.1.x on x86 and it passed all tests. That seems to work. Four tests fail against two for an x86. Marked stable for HPPA and I have taken the liberty to add the patch and adapt the ebuild. Loaded suite test Started .......................F......F.....................................FF........................................... Finished in 0.767165 seconds. 1) Failure: test_fetch_field(TC_MysqlRes) [test.rb:315]: <10> expected but was <30>. 2) Failure: test_field_hash(TC_MysqlRes) [test.rb:377]: <{"flags"=>0, "name"=>"str", "type"=>254, "max_length"=>4, "def"=>nil, "decimals"=>0, "length"=>10, "table"=>"t"}> expected but was <{"flags"=>0, "name"=>"str", "type"=>254, "max_length"=>4, "def"=>nil, "decimals"=>0, "length"=>30, "table"=>"t"}>. 3) Failure: test_fetch_double(TC_MysqlStmt2) [test.rb:926]: <-1.79769313486232e+308> and <-1.79769313486232e+308> expected to be within <2.22044604925031e-16> of each other. 4) Failure: test_fetch_double_unsigned(TC_MysqlStmt2) [test.rb:943]: <1.79769313486232e+308> and <1.79769313486232e+308> expected to be within <2.22044604925031e-16> of each other. 113 tests, 372 assertions, 4 failures, 0 errors
ia64 + x86 stable
(In reply to comment #10) > ia64 + x86 stable > Emerge fails with the following error: >>> Emerging (1 of 1) dev-ruby/mysql-ruby-2.7.3 to / * mysql-ruby-2.7.3.tar.gz RMD160 ;-) ... [ ok ] * mysql-ruby-2.7.3.tar.gz SHA1 ;-) ... [ ok ] * mysql-ruby-2.7.3.tar.gz SHA256 ;-) ... [ ok ] * mysql-ruby-2.7.3.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking mysql-ruby-2.7.3.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking mysql-ruby-2.7.3.tar.gz to /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/work * Applying mysql-ruby-2.7.3-test.patch ... * Failed Patch: mysql-ruby-2.7.3-test.patch ! * ( /usr/portage/dev-ruby/mysql-ruby/files/mysql-ruby-2.7.3-test.patch ) * * Include in your bugreport the contents of: * * /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/temp/mysql-ruby-2.7.3-test.patch-32718.out !!! ERROR: dev-ruby/mysql-ruby-2.7.3 failed. Call stack: ebuild.sh, line 1614: Called dyn_unpack ebuild.sh, line 751: Called qa_call 'src_unpack' environment, line 3180: Called src_unpack mysql-ruby-2.7.3.ebuild, line 26: Called epatch '/usr/portage/dev-ruby/mysql-ruby/files/mysql-ruby-2.7.3-test.patch' eutils.eclass, line 341: Called die !!! Failed Patch: mysql-ruby-2.7.3-test.patch! !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/log/portage/elog/dev-ruby:mysql-ruby-2.7.3:20070415-001321.log'. Here it is the content of mysql-ruby-2.7.3-test.patch-32718.out: ***** mysql-ruby-2.7.3-test.patch ***** ======================================= PATCH COMMAND: patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-ruby/mysql-ruby/files/mysql-ruby-2.7.3-test.patch ======================================= patching file mysql-ruby-2.7.3/test.rb Hunk #1 FAILED at 1. 1 out of 5 hunks FAILED -- saving rejects to file mysql-ruby-2.7.3/test.rb.rej ======================================= PATCH COMMAND: patch -p1 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-ruby/mysql-ruby/files/mysql-ruby-2.7.3-test.patch ======================================= can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -u mysql-ruby-2.7.3/test.rb mysql-ruby-2.7.3.new/test.rb |--- mysql-ruby-2.7.3/test.rb 2006-12-20 05:31:52.000000000 +0000 |+++ mysql-ruby-2.7.3.new/test.rb 2007-04-13 20:55:40.000000000 +0100 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored ======================================= PATCH COMMAND: patch -p2 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-ruby/mysql-ruby/files/mysql-ruby-2.7.3-test.patch ======================================= missing header for unified diff at line 4 of patch can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -u mysql-ruby-2.7.3/test.rb mysql-ruby-2.7.3.new/test.rb |--- mysql-ruby-2.7.3/test.rb 2006-12-20 05:31:52.000000000 +0000 |+++ mysql-ruby-2.7.3.new/test.rb 2007-04-13 20:55:40.000000000 +0100 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored ======================================= PATCH COMMAND: patch -p3 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-ruby/mysql-ruby/files/mysql-ruby-2.7.3-test.patch ======================================= missing header for unified diff at line 4 of patch can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -u mysql-ruby-2.7.3/test.rb mysql-ruby-2.7.3.new/test.rb |--- mysql-ruby-2.7.3/test.rb 2006-12-20 05:31:52.000000000 +0000 |+++ mysql-ruby-2.7.3.new/test.rb 2007-04-13 20:55:40.000000000 +0100 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored ======================================= PATCH COMMAND: patch -p4 -g0 -E --no-backup-if-mismatch < /usr/portage/dev-ruby/mysql-ruby/files/mysql-ruby-2.7.3-test.patch ======================================= missing header for unified diff at line 4 of patch can't find file to patch at input line 4 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |diff -u mysql-ruby-2.7.3/test.rb mysql-ruby-2.7.3.new/test.rb |--- mysql-ruby-2.7.3/test.rb 2006-12-20 05:31:52.000000000 +0000 |+++ mysql-ruby-2.7.3.new/test.rb 2007-04-13 20:55:40.000000000 +0100 -------------------------- No file to patch. Skipping patch. 5 out of 5 hunks ignored
And last but not least 'emerge --info': Ansia / # emerge --info Portage 2.1.2.2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686) ================================================================= System uname: 2.6.19-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1.73GHz Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 15 Apr 2007 00:00:01 +0000 dev-java/java-config: 1.3.7, 2.0.31-r5 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.15-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=i686 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ " LANG="en_US.utf8" LC_ALL="en_US.utf8" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/ostefano /usr/portage/local/layman/sunrise" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac acpi alsa apache2 bash-completion beagle berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode fam ffmpeg firefox flac fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal iconv ipv6 isdnlog jpeg libg++ libnotify logrotate mad midi mikmod mmx mono moznopango mp3 mpeg musepack ncurses network nls nptl nptlonly ogg opengl pam pcmcia pcre pdf perl png ppds pppd python quicktime readline real reflection samba sdl session spell spl sse sse2 ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode urandom vcd vorbis win32codecs x264 x86 xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="i810 vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Sorry about the patch failure, it's fixed in CVS and should be on the mirrors in a few hours. If you care, CVS was expanding the $Id$ in the patch, breaking it.
*** Bug 174684 has been marked as a duplicate of this bug. ***
Not over :) >>> Emerging (1 of 1) dev-ruby/mysql-ruby-2.7.3 to / * mysql-ruby-2.7.3.tar.gz MD5 ;-) ... [ ok ] * mysql-ruby-2.7.3.tar.gz RMD160 ;-) ... [ ok ] * mysql-ruby-2.7.3.tar.gz SHA1 ;-) ... [ ok ] * mysql-ruby-2.7.3.tar.gz SHA256 ;-) ... [ ok ] * mysql-ruby-2.7.3.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking mysql-ruby-2.7.3.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking mysql-ruby-2.7.3.tar.gz to /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/work * Applying mysql-ruby-2.7.3-test.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/work/mysql-ruby-2.7.3 ... checking for mysql_query() in -lmysqlclient... yes checking for mysql_ssl_set()... yes checking for mysql.h... no checking for mysql/mysql.h... yes creating Makefile i686-pc-linux-gnu-gcc -I. -I. -I/usr/lib/ruby/1.8/i686-linux -I. -DHAVE_MYSQL_SSL_SET -DHAVE_MYSQL_MYSQL_H -I/usr/local/include -fPIC -O2 -march=i686 -pipe -fPIC -c mysql.c i686-pc-linux-gnu-gcc -shared -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -L'/usr/lib' -Wl,-R'/usr/lib' -o mysql.so mysql.o -Wl,-R -Wl,/usr/lib -L/usr/lib -L. -lruby18 -lmysqlclient -ldl -lcrypt -lm -lc >>> Source compiled. >>> Test phase [not enabled]: dev-ruby/mysql-ruby-2.7.3 >>> Install mysql-ruby-2.7.3 into /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/image/ category dev-ruby mkdir -p /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/image//usr/lib/ruby/site_ruby/1.8/i686-linux /bin/install -c -m 0755 mysql.so /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/image//usr/lib/ruby/site_ruby/1.8/i686-linux make: /bin/install: Command not found make: *** [/var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/image//usr/lib/ruby/site_ruby/1.8/i686-linux/mysql.so] Error 127 !!! ERROR: dev-ruby/mysql-ruby-2.7.3 failed. Call stack: ebuild.sh, line 1614: Called dyn_install ebuild.sh, line 1060: Called qa_call 'src_install' environment, line 3197: Called src_install mysql-ruby-2.7.3.ebuild, line 35: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/log/portage/elog/dev-ruby:mysql-ruby-2.7.3:20070415-200328.log'.
> >>> Install mysql-ruby-2.7.3 into /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/image/ category dev-ruby > mkdir -p > /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/image//usr/lib/ruby/site_ruby/1.8/i686-linux > /bin/install -c -m 0755 mysql.so > /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/image//usr/lib/ruby/site_ruby/1.8/i686-linux > make: /bin/install: Command not found > make: *** > That's bug #159922 https://bugs.gentoo.org/show_bug.cgi?id=159922
(In reply to comment #16) > > >>> Install mysql-ruby-2.7.3 into /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/image/ category dev-ruby > > mkdir -p > > /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/image//usr/lib/ruby/site_ruby/1.8/i686-linux > > /bin/install -c -m 0755 mysql.so > > /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/image//usr/lib/ruby/site_ruby/1.8/i686-linux > > make: /bin/install: Command not found > > make: *** > > > > That's bug #159922 > https://bugs.gentoo.org/show_bug.cgi?id=159922 > U were right. Sorry for reporting it :)
Digest mismatch, unfortunately. >>> Emerging (2 of 5) dev-ruby/mysql-ruby-2.7.3 to / * mysql-ruby-2.7.3.tar.gz RMD160 ;-) ... [ ok ] * mysql-ruby-2.7.3.tar.gz SHA1 ;-) ... [ ok ] * mysql-ruby-2.7.3.tar.gz SHA256 ;-) ... [ ok ] * mysql-ruby-2.7.3.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ !! ] !!! Digest verification failed: !!! /usr/portage/dev-ruby/mysql-ruby/files/mysql-ruby-2.7.3-test.patch !!! Reason: Filesize does not match recorded size !!! Got: 1880 !!! Expected: 1897 Thanks in advance.
(In reply to comment #18) > Digest mismatch, unfortunately. > > >>> Emerging (2 of 5) dev-ruby/mysql-ruby-2.7.3 to / > * mysql-ruby-2.7.3.tar.gz RMD160 ;-) ... [ ok > ] > * mysql-ruby-2.7.3.tar.gz SHA1 ;-) ... [ ok > ] > * mysql-ruby-2.7.3.tar.gz SHA256 ;-) ... [ ok > ] > * mysql-ruby-2.7.3.tar.gz size ;-) ... [ ok > ] > * checking ebuild checksums ;-) ... [ ok > ] > * checking auxfile checksums ;-) ... [ !! > ] > > !!! Digest verification failed: > !!! /usr/portage/dev-ruby/mysql-ruby/files/mysql-ruby-2.7.3-test.patch > !!! Reason: Filesize does not match recorded size > !!! Got: 1880 > !!! Expected: 1897 > > Thanks in advance. > As usual: ebuild /usr/portage/dev-ruby/mysql-ruby/mysql-ruby-2.7.3.ebuild digest
Yep. Knew that, thanks. Just reporting, since it is a mismatch in a "stable" ebuild version.
zmedico fixed the digest about 10 hours ago, thanks for reporting it.
* checking ebuild checksums ;-) ... * checking auxfile checksums ;-) ... * checking miscfile checksums ;-) ... * checking mysql-ruby-2.7.3.tar.gz ;-) ... >>> Unpacking source... >>> Unpacking mysql-ruby-2.7.3.tar.gz to /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/work * Applying mysql-ruby-2.7.3-test.patch ... >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/work/mysql-ruby-2.7.3 ... checking for mysql_query() in -lmysqlclient... yes checking for mysql_ssl_set()... yes checking for mysql.h... no checking for mysql/mysql.h... yes creating Makefile i686-pc-linux-gnu-gcc -I. -I. -I/usr/lib/ruby/1.8/i686-linux -I. -DHAVE_MYSQL_SSL_SET -DHAVE_MYSQL_MYSQL_H -I/usr/local/include -fPIC -ma -fPIC -c mysql.c i686-pc-linux-gnu-gcc -shared -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -L'/usr/lib' -Wl,-R'/usr/lib' -o mysql.so mysql.o -Wl,-R -Wl,/us lruby18 -lmysqlclient -lpthread -ldl -lcrypt -lm -lc >>> Source compiled. >>> Test phase [not enabled]: dev-ruby/mysql-ruby-2.7.3 >>> Install mysql-ruby-2.7.3 into /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/image/ category dev-ruby mkdir -p /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/image//usr/lib/ruby/site_ruby/1.8/i686-linux /bin/install -c -m 0755 mysql.so /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/image//usr/lib/ruby/site_ruby/1.8/i686-linux make: /bin/install: Command not found make: *** [/var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/image//usr/lib/ruby/site_ruby/1.8/i686-linux/mysql.so] Error 127 !!! ERROR: dev-ruby/mysql-ruby-2.7.3 failed. Call stack: ebuild.sh, line 1614: Called dyn_install ebuild.sh, line 1060: Called qa_call 'src_install' environment, line 3161: Called src_install mysql-ruby-2.7.3.ebuild, line 35: Called die
Portage 2.1.2.2 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686) ================================================================= System uname: 2.6.19-gentoo-r5 i686 Pentium III (Coppermine) Gentoo Base System release 1.12.9 Timestamp of tree: Mon, 16 Apr 2007 00:50:01 +0000 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.15-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=pentium3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="en_US.UTF8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="apache2 berkdb bindist bitmap-fonts cgi cli cracklib crypt ctype cups dri fastcgi fortran gdbm gpm iconv isdnlog libg++ midi mysql ncurses nls nptl nptlonly pam pcre perl ppds pppd python readline reflection ruby samba session spl ssl tcpd threads truetype-fonts type1-fonts unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mga neomagic nsc nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
(In reply to comment #22) /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/image//usr/lib/ruby/site_ruby/1.8/i686-linux > /bin/install -c -m 0755 mysql.so > /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/image//usr/lib/ruby/site_ruby/1.8/i686-linux > make: /bin/install: Command not found > make: *** > Please re-emerge ruby. See bug #159922 for more information.
amd64 stable
ppc done, 2 test failures (same as x86)
>>> Emerging (3 of 3) dev-ruby/mysql-ruby-2.7.3 to / * mysql-ruby-2.7.3.tar.gz RMD160 ;-) ... [ ok ] * mysql-ruby-2.7.3.tar.gz SHA1 ;-) ... [ ok ] * mysql-ruby-2.7.3.tar.gz SHA256 ;-) ... [ ok ] * mysql-ruby-2.7.3.tar.gz size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking mysql-ruby-2.7.3.tar.gz ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking mysql-ruby-2.7.3.tar.gz to /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/work * Applying mysql-ruby-2.7.3-test.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/work/mysql-ruby-2.7.3 ... checking for mysql_query() in -lmysqlclient... yes checking for mysql_ssl_set()... yes checking for mysql.h... no checking for mysql/mysql.h... yes creating Makefile x86_64-pc-linux-gnu-gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I. -DHAVE_MYSQL_SSL_SET -DHAVE_MYSQL_MYSQL_H -I/usr/local/include -fPIC -march=k8 -O2 -pipe -fPIC -c mysql.c x86_64-pc-linux-gnu-gcc -shared -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -L'/usr/lib64' -Wl,-R'/usr/lib64' -o mysql.so mysql.o -Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -L. -lruby18 -lmysqlclient -ldl -lcrypt -lm -lc >>> Source compiled. >>> Test phase [not enabled]: dev-ruby/mysql-ruby-2.7.3 >>> Install mysql-ruby-2.7.3 into /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/image/ category dev-ruby mkdir -p /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/image//usr/lib64/ruby/site_ruby/1.8/x86_64-linux /bin/install -c -m 0755 mysql.so /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/image//usr/lib64/ruby/site_ruby/1.8/x86_64-linux make: /bin/install: Command not found make: *** [/var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/image//usr/lib64/ruby/site_ruby/1.8/x86_64-linux/mysql.so] Error 127 !!! ERROR: dev-ruby/mysql-ruby-2.7.3 failed. Call stack: ebuild.sh, line 1614: Called dyn_install ebuild.sh, line 1060: Called qa_call 'src_install' environment, line 3253: Called src_install mysql-ruby-2.7.3.ebuild, line 37: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/log/portage/dev-ruby:mysql-ruby-2.7.3:20070507-182823.log'.
And here is emerge --info: Portage 2.1.2.2 (default-linux/amd64/2006.1/desktop, gcc-3.4.6, glibc-2.5-r2, 2.6.18-gentoo-r6 x86_64) ================================================================= System uname: 2.6.18-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System release 1.12.9 Timestamp of tree: Mon, 07 May 2007 17:20:01 +0000 dev-java/java-config: 1.3.7, 2.0.31-r5 dev-lang/python: 2.3.5-r3, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=k8 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.zie.pg.gda.pl" LANG="en_US.utf8" LC_ALL="en_US.utf8" LINGUAS="en de" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X aiglx alsa amarok amd64 apache2 berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus divx4linux dri dvd dvdr eds emboss encode esd fam firefox flac fortran gdbm gif gpm gstreamer gtk gtk2 hal iconv ipod ipv6 isdnlog java jpeg kde latex ldap libg++ lm_sensors mad midi mikmod modplug mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl oss pam pcre pdf perl png ppds pppd python qt qt3 qt4 quicktime readline reflection samba sasl sdl session spell spl ssl subversion tcpd theora tls truetype truetype-fonts type1-fonts unicode v4l visualization vorbis xinerama xml xorg xv xvid 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" USERLAND="GNU" VIDEO_CARDS="nvidia nv radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
(In reply to comment #27) > >>> Emerging (3 of 3) dev-ruby/mysql-ruby-2.7.3 to / /var/tmp/portage/dev-ruby/mysql-ruby-2.7.3/image//usr/lib64/ruby/site_ruby/1.8/x86_64-linux > make: /bin/install: Command not found You have recently upgrade coreutils, but you did not re-emerge ruby after that. See bug 159922 for details.
Should remove ppc from CC when done. Sorry for the spam.
(In reply to comment #29) > You have recently upgrade coreutils, but you did not re-emerge ruby after that. > See bug 159922 for details. Ok. Thank you very much!
alpha stable
Closing this as it has been obsoleted by #195009.