Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420415 - sys-kernel/git-sources-3.5_rc1 fails to install
Summary: sys-kernel/git-sources-3.5_rc1 fails to install
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-09 15:10 UTC by Alexey Korepanov
Modified: 2012-06-09 15:37 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Korepanov 2012-06-09 15:10:44 UTC
sys-kernel/git-sources-3.5_rc1 fails to install, looks like a patch problem.

globalhost ~ # emerge -auDNv =git-sources-3.5_rc1

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

Calculating dependencies... done!
[ebuild  N    ~] sys-kernel/git-sources-3.5_rc1  USE="-build -symlink" 7,400 kB

Total: 1 package (1 new), Size of downloads: 7,400 kB

Would you like to merge these packages? [Yes/No] 

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-kernel/git-sources-3.5_rc1
>>> Downloading 'http://141.219.155.230/gentoo/distfiles/patch-3.5-rc1.bz2'
--2012-06-09 10:02:45--  http://141.219.155.230/gentoo/distfiles/patch-3.5-rc1.bz2
Connecting to 141.219.155.230:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7577309 (7.2M) [application/x-bzip2]
Saving to: `/usr/portage/distfiles/patch-3.5-rc1.bz2'

100%[======================================>] 7,577,309    700K/s   in 12s     

2012-06-09 10:02:57 (638 KB/s) - `/usr/portage/distfiles/patch-3.5-rc1.bz2' saved [7577309/7577309]

 * patch-3.5-rc1.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                                  [ ok ]
 * linux-3.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                                                                                                                                                  [ ok ]
>>> Preparing to unpack ...
>>> Unpacking source...
>>> Unpacking linux-3.4.tar.bz2 to /var/tmp/portage/sys-kernel/git-sources-3.5_rc1/work
 * Applying patch-3.5-rc1.patch (-p0+) ...                                                                                                                                                                                            [ !! ]
 * Please attach /var/tmp/portage/sys-kernel/git-sources-3.5_rc1/temp/patch-3.5-rc1.err to any bug you may post.
 * ERROR: sys-kernel/git-sources-3.5_rc1 failed (unpack phase):
 *   Unable to dry-run patch.
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_unpack
 *   environment, line 2599:  Called kernel-2_src_unpack
 *   environment, line 1877:  Called unipatch '/var/tmp/portage/sys-kernel/git-sources-3.5_rc1/distdir/patch-3.5-rc1.bz2  '
 *   environment, line 3179:  Called die
 * The specific snippet of code:
 *                   die "Unable to dry-run patch.";
 * 
 * If you need support, post the output of 'emerge --info =sys-kernel/git-sources-3.5_rc1',
 * the complete build log and the output of 'emerge -pqv =sys-kernel/git-sources-3.5_rc1'.
 * The complete build log is located at '/var/tmp/portage/sys-kernel/git-sources-3.5_rc1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-kernel/git-sources-3.5_rc1/temp/environment'.
 * S: '/var/tmp/portage/sys-kernel/git-sources-3.5_rc1/work/linux-3.5-rc1'

>>> Failed to emerge sys-kernel/git-sources-3.5_rc1, Log file:

>>>  '/var/tmp/portage/sys-kernel/git-sources-3.5_rc1/temp/build.log'

 * Messages for package sys-kernel/git-sources-3.5_rc1:

 * Please attach /var/tmp/portage/sys-kernel/git-sources-3.5_rc1/temp/patch-3.5-rc1.err to any bug you may post.
 * ERROR: sys-kernel/git-sources-3.5_rc1 failed (unpack phase):
 *   Unable to dry-run patch.
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_unpack
 *   environment, line 2599:  Called kernel-2_src_unpack
 *   environment, line 1877:  Called unipatch '/var/tmp/portage/sys-kernel/git-sources-3.5_rc1/distdir/patch-3.5-rc1.bz2  '
 *   environment, line 3179:  Called die
 * The specific snippet of code:
 *                   die "Unable to dry-run patch.";
 * 
 * If you need support, post the output of 'emerge --info =sys-kernel/git-sources-3.5_rc1',
 * the complete build log and the output of 'emerge -pqv =sys-kernel/git-sources-3.5_rc1'.
 * The complete build log is located at '/var/tmp/portage/sys-kernel/git-sources-3.5_rc1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-kernel/git-sources-3.5_rc1/temp/environment'.
 * S: '/var/tmp/portage/sys-kernel/git-sources-3.5_rc1/work/linux-3.5-rc1'


Reproducible: Always
Comment 1 Andreas Sturmlechner gentoo-dev 2012-06-09 15:20:45 UTC
No problem here:


ebuild /usr/portage/sys-kernel/git-sources/git-sources-3.5_rc1.ebuild prepare
>>> Downloading 'http://ftp.fi.muni.cz/pub/linux/gentoo/distfiles/patch-3.5-rc1.bz2'
--2012-06-09 17:11:44--  http://ftp.fi.muni.cz/pub/linux/gentoo/distfiles/patch-3.5-rc1.bz2
Resolving ftp.fi.muni.cz (ftp.fi.muni.cz)... 147.251.48.205
Connecting to ftp.fi.muni.cz (ftp.fi.muni.cz)|147.251.48.205|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7577309 (7,2M) [application/x-bzip2]
Saving to: `/usr/portage/distfiles/patch-3.5-rc1.bz2'

100%[=========================================================================>] 7.577.309    302K/s   in 24s     

2012-06-09 17:12:08 (303 KB/s) - `/usr/portage/distfiles/patch-3.5-rc1.bz2' saved [7577309/7577309]

 * patch-3.5-rc1.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                        [ ok ]
>>> Downloading 'http://ftp.fi.muni.cz/pub/linux/gentoo/distfiles/linux-3.4.tar.bz2'
--2012-06-09 17:12:09--  http://ftp.fi.muni.cz/pub/linux/gentoo/distfiles/linux-3.4.tar.bz2
Resolving ftp.fi.muni.cz (ftp.fi.muni.cz)... 147.251.48.205
Connecting to ftp.fi.muni.cz (ftp.fi.muni.cz)|147.251.48.205|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 80173484 (76M) [application/x-bzip2]
Saving to: `/usr/portage/distfiles/linux-3.4.tar.bz2'

100%[=========================================================================>] 80.173.484   301K/s   in 4m 21s  

2012-06-09 17:16:29 (300 KB/s) - `/usr/portage/distfiles/linux-3.4.tar.bz2' saved [80173484/80173484]

 * linux-3.4.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                                                        [ ok ]
 * checking ebuild checksums ;-) ...                                                                        [ ok ]
 * checking miscfile checksums ;-) ...                                                                      [ ok ]
>>> Preparing to unpack ...
>>> Unpacking source...
>>> Unpacking linux-3.4.tar.bz2 to /var/tmp/portage/sys-kernel/git-sources-3.5_rc1/work
 * Applying patch-3.5-rc1.patch (-p0+) ...                                                                  [ ok ]
>>> Source unpacked in /var/tmp/portage/sys-kernel/git-sources-3.5_rc1/work
>>> Preparing source in /var/tmp/portage/sys-kernel/git-sources-3.5_rc1/work/linux-3.5-rc1 ...
>>> Source prepared.
Comment 2 Alexey Korepanov 2012-06-09 15:27:32 UTC
patch-3.5-rc1.err is here: http://138.26.76.81/4u/patch-3.5-rc1.err

Problem is reproducible for me. I will try emerge --sync and repeat.
Comment 3 Andreas Sturmlechner gentoo-dev 2012-06-09 15:29:54 UTC
rc2 is out anyway, maybe you want to move on to that instead (it's as simple as a rename of the ebuild into your local overlay)
Comment 4 Alexey Korepanov 2012-06-09 15:37:51 UTC
rc2 worked. I appreciate your help and quick response!