Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 275001 - app-portage/gentoolkit-0.3.x: emerge the guts to fix for prefix
Summary: app-portage/gentoolkit-0.3.x: emerge the guts to fix for prefix
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
: 241600 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-06-21 23:59 UTC by Jacob Godserv
Modified: 2009-09-05 13:56 UTC (History)
1 user (show)

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


Attachments
patch failure log (gentoolkit-0.2.4.1-revdep-prefix.patch-882.out,7.52 KB, text/plain)
2009-06-24 23:09 UTC, Jacob Godserv
Details
gentoolkit-0.3.0_rc7 ebuild (gentoolkit-0.3.0_rc7.ebuild,3.19 KB, text/plain)
2009-09-05 13:42 UTC, Jacob Godserv
Details
gentoolkit-0.3.0_rc7 eclean patch (gentoolkit-0.3.0_rc7-eclean-prefix.patch,532 bytes, patch)
2009-09-05 13:43 UTC, Jacob Godserv
Details | Diff
gentoolkit-0.3.0_rc7 revdep-rebuild patch (gentoolkit-0.3.0_rc7-revdep-prefix.patch,984 bytes, patch)
2009-09-05 13:43 UTC, Jacob Godserv
Details | Diff
gentoolkit-0.3.0_rc7 setup.py patch (gentoolkit-0.3.0_rc7-setup-prefix.patch,769 bytes, patch)
2009-09-05 13:44 UTC, Jacob Godserv
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jacob Godserv 2009-06-21 23:59:39 UTC
* Failed Patch: gentoolkit-0.2.4.1-revdep-prefix.patch !
 *  ( /Users/jacob/Library/Gentoo_x86/usr/portage/app-portage/gentoolkit/files/gentoolkit-0.2.4.1-revdep-prefix.patch )
 * 
 * Include in your bugreport the contents of:
 * 
 *   /Users/jacob/Library/Gentoo_x86/var/tmp/portage/app-portage/gentoolkit-0.3.0_rc7/temp/gentoolkit-0.2.4.1-revdep-prefix.patch-23630.out
 * ERROR: app-portage/gentoolkit-0.3.0_rc7 failed:
 *   Failed Patch: gentoolkit-0.2.4.1-revdep-prefix.patch!
 * 
 * Call stack:
 *               ebuild.sh:  42: <call src_prepare>
 *             environment:2576: <call epatch '/Users/jacob/Library/Gentoo_x86/usr/portage/app-portage/gentoolkit/files/gentoolkit-0.2.4.1-revdep-prefix.patch'>
 *             environment:1322:                 die "Failed Patch: ${patchname}!";
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.

Contents of /Users/jacob/Library/Gentoo_x86/var/tmp/portage/app-portage/gentoolkit-0.3.0_rc7/temp/gentoolkit-0.2.4.1-revdep-prefix.patch-23630.out:
***** gentoolkit-0.2.4.1-revdep-prefix.patch *****

==================================================

PATCH COMMAND:	 patch -p0 -g0 -E --no-backup-if-mismatch < /Users/jacob/Library/Gentoo_x86/usr/portage/app-portage/gentoolkit/files/gentoolkit-0.2.4.1-revdep-prefix.patch

==================================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Only in gentoolkit-0.2.4.1: prefix.patch
|diff -ur gentoolkit-0.2.4.1.orig/src/revdep-rebuild/99revdep-rebuild gentoolkit-0.2.4.1/src/revdep-rebuild/99revdep-rebuild
|--- gentoolkit-0.2.4.1.orig/src/revdep-rebuild/99revdep-rebuild	2008-09-03 22:32:33 +0200
|+++ gentoolkit-0.2.4.1/src/revdep-rebuild/99revdep-rebuild	2008-09-16 22:34:11 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 19
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Only in gentoolkit-0.2.4.1/src/revdep-rebuild: Makefile.orig
|Only in gentoolkit-0.2.4.1/src/revdep-rebuild: Makefile.rej
|diff -ur gentoolkit-0.2.4.1.orig/src/revdep-rebuild/revdep-rebuild gentoolkit-0.2.4.1/src/revdep-rebuild/revdep-rebuild
|--- gentoolkit-0.2.4.1.orig/src/revdep-rebuild/revdep-rebuild	2008-09-03 22:32:33 +0200
|+++ gentoolkit-0.2.4.1/src/revdep-rebuild/revdep-rebuild	2008-09-16 22:38:47 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
==================================================

PATCH COMMAND:	 patch -p1 -g0 -E --no-backup-if-mismatch < /Users/jacob/Library/Gentoo_x86/usr/portage/app-portage/gentoolkit/files/gentoolkit-0.2.4.1-revdep-prefix.patch

==================================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Only in gentoolkit-0.2.4.1: prefix.patch
|diff -ur gentoolkit-0.2.4.1.orig/src/revdep-rebuild/99revdep-rebuild gentoolkit-0.2.4.1/src/revdep-rebuild/99revdep-rebuild
|--- gentoolkit-0.2.4.1.orig/src/revdep-rebuild/99revdep-rebuild	2008-09-03 22:32:33 +0200
|+++ gentoolkit-0.2.4.1/src/revdep-rebuild/99revdep-rebuild	2008-09-16 22:34:11 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 19
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Only in gentoolkit-0.2.4.1/src/revdep-rebuild: Makefile.orig
|Only in gentoolkit-0.2.4.1/src/revdep-rebuild: Makefile.rej
|diff -ur gentoolkit-0.2.4.1.orig/src/revdep-rebuild/revdep-rebuild gentoolkit-0.2.4.1/src/revdep-rebuild/revdep-rebuild
|--- gentoolkit-0.2.4.1.orig/src/revdep-rebuild/revdep-rebuild	2008-09-03 22:32:33 +0200
|+++ gentoolkit-0.2.4.1/src/revdep-rebuild/revdep-rebuild	2008-09-16 22:38:47 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
==================================================

PATCH COMMAND:	 patch -p2 -g0 -E --no-backup-if-mismatch < /Users/jacob/Library/Gentoo_x86/usr/portage/app-portage/gentoolkit/files/gentoolkit-0.2.4.1-revdep-prefix.patch

==================================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Only in gentoolkit-0.2.4.1: prefix.patch
|diff -ur gentoolkit-0.2.4.1.orig/src/revdep-rebuild/99revdep-rebuild gentoolkit-0.2.4.1/src/revdep-rebuild/99revdep-rebuild
|--- gentoolkit-0.2.4.1.orig/src/revdep-rebuild/99revdep-rebuild	2008-09-03 22:32:33 +0200
|+++ gentoolkit-0.2.4.1/src/revdep-rebuild/99revdep-rebuild	2008-09-16 22:34:11 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 19
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Only in gentoolkit-0.2.4.1/src/revdep-rebuild: Makefile.orig
|Only in gentoolkit-0.2.4.1/src/revdep-rebuild: Makefile.rej
|diff -ur gentoolkit-0.2.4.1.orig/src/revdep-rebuild/revdep-rebuild gentoolkit-0.2.4.1/src/revdep-rebuild/revdep-rebuild
|--- gentoolkit-0.2.4.1.orig/src/revdep-rebuild/revdep-rebuild	2008-09-03 22:32:33 +0200
|+++ gentoolkit-0.2.4.1/src/revdep-rebuild/revdep-rebuild	2008-09-16 22:38:47 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
==================================================

PATCH COMMAND:	 patch -p3 -g0 -E --no-backup-if-mismatch < /Users/jacob/Library/Gentoo_x86/usr/portage/app-portage/gentoolkit/files/gentoolkit-0.2.4.1-revdep-prefix.patch

==================================================
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Only in gentoolkit-0.2.4.1: prefix.patch
|diff -ur gentoolkit-0.2.4.1.orig/src/revdep-rebuild/99revdep-rebuild gentoolkit-0.2.4.1/src/revdep-rebuild/99revdep-rebuild
|--- gentoolkit-0.2.4.1.orig/src/revdep-rebuild/99revdep-rebuild	2008-09-03 22:32:33 +0200
|+++ gentoolkit-0.2.4.1/src/revdep-rebuild/99revdep-rebuild	2008-09-16 22:34:11 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 19
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Only in gentoolkit-0.2.4.1/src/revdep-rebuild: Makefile.orig
|Only in gentoolkit-0.2.4.1/src/revdep-rebuild: Makefile.rej
|diff -ur gentoolkit-0.2.4.1.orig/src/revdep-rebuild/revdep-rebuild gentoolkit-0.2.4.1/src/revdep-rebuild/revdep-rebuild
|--- gentoolkit-0.2.4.1.orig/src/revdep-rebuild/revdep-rebuild	2008-09-03 22:32:33 +0200
|+++ gentoolkit-0.2.4.1/src/revdep-rebuild/revdep-rebuild	2008-09-16 22:38:47 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
==================================================

PATCH COMMAND:	 patch -p4 -g0 -E --no-backup-if-mismatch < /Users/jacob/Library/Gentoo_x86/usr/portage/app-portage/gentoolkit/files/gentoolkit-0.2.4.1-revdep-prefix.patch

==================================================
missing header for unified diff at line 5 of patch
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Only in gentoolkit-0.2.4.1: prefix.patch
|diff -ur gentoolkit-0.2.4.1.orig/src/revdep-rebuild/99revdep-rebuild gentoolkit-0.2.4.1/src/revdep-rebuild/99revdep-rebuild
|--- gentoolkit-0.2.4.1.orig/src/revdep-rebuild/99revdep-rebuild	2008-09-03 22:32:33 +0200
|+++ gentoolkit-0.2.4.1/src/revdep-rebuild/99revdep-rebuild	2008-09-16 22:34:11 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored
missing header for unified diff at line 19 of patch
can't find file to patch at input line 19
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|Only in gentoolkit-0.2.4.1/src/revdep-rebuild: Makefile.orig
|Only in gentoolkit-0.2.4.1/src/revdep-rebuild: Makefile.rej
|diff -ur gentoolkit-0.2.4.1.orig/src/revdep-rebuild/revdep-rebuild gentoolkit-0.2.4.1/src/revdep-rebuild/revdep-rebuild
|--- gentoolkit-0.2.4.1.orig/src/revdep-rebuild/revdep-rebuild	2008-09-03 22:32:33 +0200
|+++ gentoolkit-0.2.4.1/src/revdep-rebuild/revdep-rebuild	2008-09-16 22:38:47 +0200
--------------------------
No file to patch.  Skipping patch.
1 out of 1 hunk ignored

Reproducible: Always

Steps to Reproduce:
1. ./startprefix
2. emerge -1 '=app-portage/gentoolkit-0.3.0_rc7'



$ emerge --info
Portage 2.2.00.13629-prefix (prefix/darwin/macos/10.5/x86, gcc-4.2.1, unavailable, 9.7.1 i386)
=================================================================
System uname: Darwin-9.7.1-i386-32bit
Timestamp of tree: Sun, 21 Jun 2009 23:42:18 +0000
distcc 2.18.5-Apple.1 i386-apple-darwin9.0 (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     4.0_p24
dev-lang/python:     2.6.2-r01.1
dev-python/pycrypto: 2.0.1-r8
sys-devel/autoconf:  2.63-r01.1
sys-devel/automake:  1.10.2-r00.1, 1.11
sys-devel/gcc-config: 1.4.1-r00.2
sys-devel/libtool:   2.2.6a-r00.1
ACCEPT_KEYWORDS="~x86-macos"
CBUILD="i686-apple-darwin9"
CFLAGS="-O2 -pipe -march=nocona -msse4.1"
CHOST="i686-apple-darwin9"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=nocona -msse4.1"
DISTDIR="/Users/jacob/Library/Gentoo_x86/usr/portage/distfiles"
EPREFIX="/Users/jacob/Library/Gentoo_x86"
FEATURES="assume-digests collision-protect distlocks fixpackages nostrip parallel-fetch preserve-libs protect-owned sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="en_US.UTF-8"
LDFLAGS=""
MAKEOPTS="-j3"
PKGDIR="/Users/jacob/Library/Gentoo_x86/usr/portage/packages"
PORTAGE_CONFIGROOT="/Users/jacob/Library/Gentoo_x86/"
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="/Users/jacob/Library/Gentoo_x86/var/tmp"
PORTDIR="/Users/jacob/Library/Gentoo_x86/usr/portage"
PORTDIR_OVERLAY="/Users/jacob/Library/Gentoo_x86/usr/local/portage"
SYNC="rsync://rsync.prefix.freens.org/gentoo-portage-prefix"
USE="a52 aac aqua bash-completion cjk coreaudio cracklib divx fac midi mmx mmxext ncurses objc objc++ prefix readline sse sse2 ssl theora unicode x86-macos xulrunner xvid zlib" 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 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="Darwin" INPUT_DEVICES="keyboard mouse" KERNEL="Darwin" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-06-24 17:22:28 UTC
yup, it needs complete repatching. This is why there are no keywords. I just added back a working (I think) gentoolkit.
Comment 2 Jacob Godserv 2009-06-24 23:09:57 UTC
Created attachment 195712 [details]
patch failure log

It's still not working. I've attached the log instead of pasting it this time (sorry).
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-06-25 18:13:08 UTC
(In reply to comment #2)
> Created an attachment (id=195712) [edit]
> patch failure log
> 
> It's still not working. I've attached the log instead of pasting it this time
> (sorry).
> 

Right. the 0.3 versions WILL NOT work until someone fixes them. This is why they have no keywords. I added back 0.2.4.4 version, which works.
Comment 4 Fabian Groffen gentoo-dev 2009-06-26 18:31:57 UTC
thanks, I seem to have gone overboard with this one, and forgot about the "todo" of fixing it (hence the temporary keyword drop)

can/shall we close now?
Comment 5 Jacob Godserv 2009-06-26 20:49:41 UTC
(In reply to comment #4)
> can/shall we close now?

The patch applies for me now.
Comment 7 Jacob Godserv 2009-09-05 13:40:26 UTC
The gentoolkit tarball changed structure without revbumping (afaict) so it broke all the patches. The above and below links fix this.

Latest rev is actually
http://bazaar.launchpad.net/~fun2program8/+junk/prefix-overlay/revision/25

For the full file view, see
http://bazaar.launchpad.net/%7Efun2program8/%2Bjunk/prefix-overlay/files/head%3A/app-portage/gentoolkit/

I'll be posting proper patches and ebuilds once I'm satisfied with them.
Comment 8 Jacob Godserv 2009-09-05 13:42:37 UTC
Created attachment 203187 [details]
gentoolkit-0.3.0_rc7 ebuild

Well, that didn't take long. ;)

Here's the fixed ebuild.
Comment 9 Jacob Godserv 2009-09-05 13:43:36 UTC
Created attachment 203188 [details, diff]
gentoolkit-0.3.0_rc7 eclean patch
Comment 10 Jacob Godserv 2009-09-05 13:43:59 UTC
Created attachment 203190 [details, diff]
gentoolkit-0.3.0_rc7 revdep-rebuild patch
Comment 11 Jacob Godserv 2009-09-05 13:44:53 UTC
Created attachment 203191 [details, diff]
gentoolkit-0.3.0_rc7 setup.py patch

This is a new one, because setup.py contains absolute paths and tries to install to real root rather than the prefix.
Comment 12 Fabian Groffen gentoo-dev 2009-09-05 13:52:05 UTC
*** Bug 241600 has been marked as a duplicate of this bug. ***
Comment 13 Fabian Groffen gentoo-dev 2009-09-05 13:56:44 UTC
applied your patches, thanks!