Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 191311

Summary: dev-ruby/mysql-ruby-2.7.4 failed patch
Product: Gentoo Linux Reporter: Willard Dawson <willard.dawson>
Component: New packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: normal CC: andreaveroni, atj, jer
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Results of patch application attempt during emerge

Description Willard Dawson 2007-09-04 23:12:18 UTC
Typical emerge world fails on dev-ruble/mysql-ruby-2.7.4:

 * Failed Patch: mysql-ruby-2.7.4-test.patch !
 *  ( /usr/portage/dev-ruby/mysql-ruby/files/mysql-ruby-2.7.4-test.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/dev-ruby/mysql-ruby-2.7.4/temp/mysql-ruby-2.7.4-test.patch-23234.out
 *
 * ERROR: dev-ruby/mysql-ruby-2.7.4 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_unpack
 *   ebuild.sh, line 768:   Called qa_call 'src_unpack'
 *   ebuild.sh, line 44:   Called src_unpack
 *   mysql-ruby-2.7.4.ebuild, line 28:   Called epatch '/usr/portage/dev-ruby/mysql-ruby/files/mysql-ruby-2.7.4-test.patch'
 *   eutils.eclass, line 304:   Called die
 *
 * Failed Patch: mysql-ruby-2.7.4-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/tmp/portage/dev-ruby/mysql-ruby-2.7.4/temp/build.log'.
 *



Reproducible: Always

Steps to Reproduce:
1.emerge --update --deep --newuse world
2.
3.

Actual Results:  
See description.

Expected Results:  
Successful emerge.

emerge --info:

Portage 2.1.3.7 (default-linux/x86/2007.0/desktop, gcc-4.2.0, glibc-2.6.1-r0, 2.6.22-gentoo-r6 i686)
=================================================================
System uname: 2.6.22-gentoo-r6 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Tue, 04 Sep 2007 22:00:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r4
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
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.18
sys-devel/gcc-config: 1.4.0-r2
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O2 -pipe -ggdb"
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 /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /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"
CXXFLAGS="-march=i686 -O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US"
LC_ALL="en_US"
MAKEOPTS=""
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.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa apache2 apm arts ati audiofile avahi avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cairo caps cardbus cdr cli cracklib crypt ctype cups dba dbtool dbus diskio djvu dri dvd dvdr dvdread eds emboss encode esd ethereal evo exif expat fam fastbuild ffmpeg fftw fglrx firefox foomaticdb force-cgi-redirect fortran ftp gamin gd gdbm gif glib glut gmp gpm gstreamer gtk gtk2 gtkhtml guile hal iconv idn imlib ipv6 isdnlog ithreads jack java jpeg kde kerberos kqemu lcms ldap libclamav libg++ libwww lirc live lm_sensors lua mad madwifi matroska memlimit mhash midi mikmod mmx mmxext mng mono motif mozilla mp3 mpeg mudflap mysql ncurses netjack nforce2 nls nptl nptlonly nvidia ocaml ogg oggvorbis opengl openmp oss pam pango pch pcre pdf pdflib pear perl php pmu png portaudio posix pppd pulseaudio python qt qt3 qt3support qt4 qtmt quicktime readline real reflection ruby samba sasl sdl session simplexml slang sndfile snmp soap sockets spell spl sqlite sse sse2 ssl svg tcl tcltk tcpd theora threads threadsafe tiff tk tokenizer truetype truetype-fonts type1-fonts udev unicode utempter vorbis wifi win32codecs x86 xanim xinerama xml xml2 xmlrpc xorg xscreensaver xsl xv 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 fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Willard Dawson 2007-09-04 23:13:06 UTC
Created attachment 130048 [details]
Results of patch application attempt during emerge
Comment 2 Hans de Graaff gentoo-dev Security 2007-09-05 05:52:15 UTC
CVS's keyword substitution mangled the patch file which needs to include a RCS Id. I've now turned off keyword substitution and fixed the patch file.

Thanks for the report.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-09-05 09:30:16 UTC
*** Bug 191351 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-09-05 10:44:59 UTC
*** Bug 191362 has been marked as a duplicate of this bug. ***
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2007-09-05 14:14:02 UTC
Why did 2.7.4 go straight to stable?

I could quote the devmanual at you or point out that tools such as earch and eshowkw exist.

[1] http://dev.gentoo.org/~eldad/#earch
[2] http://dev.gentoo.org/~dang/eshowkw
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2007-09-05 14:19:10 UTC
(In reply to comment #5)
> Why did 2.7.4 go straight to stable?

I have reverted to ~arch for your convenience. That might also stop this bug from seeing more duplicates.

> [1] http://dev.gentoo.org/~eldad/#earch
> [2] http://dev.gentoo.org/~dang/eshowkw

eshowkw being the better suited of the two, in my opinion.
Comment 7 Hans de Graaff gentoo-dev Security 2007-09-05 17:05:37 UTC
Jeroen, thanks for reverting, it was not my intention to commit it to stable directly. I guess I ran into some additional issues to solve with the bump and forgot to reset the keywords. Bah! Now I get to wear the donkey hat until someone else fouls up the tree. It would be really helpful if repoman checked for this.

Thanks for the pointer to eshowkw. I knew about and use earch, but always hated that it did not show things in a table.

I'll leave the bug open for a couple of days just in case more duplicates pop up.
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2007-09-05 17:11:44 UTC
(In reply to comment #7)
> It would be really helpful if repoman checked for this.

Actually, it's sometimes very useful to not drop to ~arch. Also, the keywords of any new ebuild should be on your mind while adding it to the tree anyway, because what ultimately counts is what the impact on users will be.

> Thanks for the pointer to eshowkw.

Maybe eshowkw should be added to sys-apps/portage.
Comment 9 Hans de Graaff gentoo-dev Security 2007-09-15 08:00:36 UTC
Closing it now that the fixes in CVS have propagated and no duplicate bugs should appear anymore.