Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 201973
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Peter Volkov <pva@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Lars Tiefland <ltiefland@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
openvz-kernel.debug.log Debug Output as requested text/plain Lars Tiefland 2007-12-12 12:26 0000 1.65 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 201973 depends on: Show dependency tree
Bug 201973 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-12-11 19:50 0000
When I try to emerge the newest openvz-sources I always get "Unable to dry-run
patch." The old naming scheme worked fine.

Reproducible: Always

Steps to Reproduce:
emerge =openvz-sources-2.6.18.028.051 (or =openvz-sources-2.6.18.028.049)
(Version number does not matter).

Actual Results:  
Unable to dry-run patch

Expected Results:  
Kernel should be merged.

------- Comment #1 From Jakub Moc (RETIRED) 2007-12-11 21:58:41 0000 -------
Post the actual emerge output, emerge --info and reopen then. Thanks.

------- Comment #2 From Lars Tiefland 2007-12-11 22:52:56 0000 -------
emerge output:
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) sys-kernel/openvz-sources-2.6.18.028.051 to /
 * patch-ovz028stab051.1-combined.gz RMD160 SHA1 SHA256 size ;-) ...           
                                                                       [ ok ]
 * linux-2.6.18.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                        
                                                                       [ ok ]
 * checking ebuild checksums ;-) ...                                           
                                                                       [ ok ]
 * checking auxfile checksums ;-) ...                                          
                                                                       [ ok ]
 * checking miscfile checksums ;-) ...                                         
                                                                       [ ok ]
 * checking linux-2.6.18.tar.bz2 ;-) ...                                       
                                                                       [ ok ]
 * checking patch-ovz028stab051.1-combined.gz ;-) ...                          
                                                                       [ ok ]
>>> Preparing to unpack ...
>>> Unpacking source...
>>> Unpacking linux-2.6.18.tar.bz2 to /var/tmp/portage/sys-kernel/openvz-sources-2.6.18.028.051/work
/var/tmp/portage/sys-kernel/openvz-sources-2.6.18.028.051/temp/environment:
line 3476: cd:
/var/tmp/portage/sys-kernel/openvz-sources-2.6.18.028.051/work/linux-2.6.18-openvz:
Datei oder Verzeichnis nicht gefunden
sed: kann
/var/tmp/portage/sys-kernel/openvz-sources-2.6.18.028.051/work/linux-2.6.18-openvz/arch/ppc/Makefile
nicht lesen: Datei oder Verzeichnis nicht gefunden
 * Applying patch-ovz028stab051.1-combined.patch (-p0+) ...
patch: pch.c:621: intuit_diff_type: Assertion `i0 != NONE' failed.             
                                                                       [ !! ]
 * Please attach
/var/tmp/portage/sys-kernel/openvz-sources-2.6.18.028.051/temp/patch-ovz028stab051.1-combined.err
to any bug you may post.
 *
 * ERROR: sys-kernel/openvz-sources-2.6.18.028.051 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_unpack
 *             environment, line 2958:  Called kernel-2_src_unpack
 *             environment, line 2178:  Called unipatch 'src_unpack'
 *             environment, line 3446:  Called die
 * The specific snippet of code:
 *                   diefunc "$FUNCNAME" "$LINENO" "$?" "Unable to dry-run
patch.";
 *  The die message:
 *   Unable to dry-run 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/sys-kernel/openvz-sources-2.6.18.028.051/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/sys-kernel/openvz-sources-2.6.18.028.051/temp/environment'.
 *

 * Messages for package sys-kernel/openvz-sources-2.6.18.028.051:

 * Please attach
/var/tmp/portage/sys-kernel/openvz-sources-2.6.18.028.051/temp/patch-ovz028stab051.1-combined.err
to any bug you may post.
 *
 * ERROR: sys-kernel/openvz-sources-2.6.18.028.051 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_unpack
 *             environment, line 2958:  Called kernel-2_src_unpack
 *             environment, line 2178:  Called unipatch 'src_unpack'
 *             environment, line 3446:  Called die
 * The specific snippet of code:
 *                   diefunc "$FUNCNAME" "$LINENO" "$?" "Unable to dry-run
patch.";
 *  The die message:
 *   Unable to dry-run 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/sys-kernel/openvz-sources-2.6.18.028.051/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/sys-kernel/openvz-sources-2.6.18.028.051/temp/environment'.
 *

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

emerge --info output:
Portage 2.1.4_rc9 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r1,
2.6.18-028stab047 x86_64)
=================================================================
System uname: 2.6.18-028stab047 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
4600+
Timestamp of tree: Tue, 11 Dec 2007 18:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control
/var/www/localhost/htdocs/squirrelmail//config
/var/www/localhost/htdocs/squirrelmail//plugins/bug_report
/var/www/localhost/htdocs/squirrelmail//plugins/change_password
/var/www/localhost/htdocs/squirrelmail//plugins/filters
/var/www/localhost/htdocs/squirrelmail//plugins/fortune
/var/www/localhost/htdocs/squirrelmail//plugins/gpg
/var/www/localhost/htdocs/squirrelmail//plugins/mail_fetch
/var/www/localhost/htdocs/squirrelmail//plugins/newmail
/var/www/localhost/htdocs/squirrelmail//plugins/retrieveuserdata
/var/www/localhost/htdocs/squirrelmail//plugins/secure_login
/var/www/localhost/htdocs/squirrelmail//plugins/show_ssl_link
/var/www/localhost/htdocs/squirrelmail//plugins/squirrelspell
/var/www/localhost/htdocs/squirrelmail//plugins/translate
/var/www/localhost/htdocs/websvn/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /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
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict
unmerge-orphans"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://gentoo.tiscali.nl/gentoo/ http://gentoo.mirror.sdv.fr
http://gentoo.math.bme.hu"
LC_ALL="de_DE.UTF-8"
LINGUAS="en de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages/HN"
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="acl amd64 bash-completion berkdb bindist bitmap-fonts bzip2 cli cracklib
crypt doc dri fbcon fortran gdbm gpm iconv ipv6 isdnlog javascript jpeg jpeg2k
midi mmx mng mudflap ncurses nls nptl nptlonly openmp pam pcre perl png pppd
python qmail readline reflection session spl sse sse2 ssl tcpd tiff truetype
truetype-fonts type1-fonts unicode vim-syntax xml xorg xpm 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"
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="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 fbdev vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #3 From Jakub Moc (RETIRED) 2007-12-11 22:54:46 0000 -------
Thanks, now only if you could post the same output w/ LC_ALL=C ;) 

------- Comment #4 From Lars Tiefland 2007-12-12 10:26:40 0000 -------
emerge output:
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) sys-kernel/openvz-sources-2.6.18.028.051 to /
 * patch-ovz028stab051.1-combined.gz RMD160 SHA1 SHA256 size ;-) ...           
                                                                       [ ok ]
 * linux-2.6.18.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...                        
                                                                       [ ok ]
 * checking ebuild checksums ;-) ...                                           
                                                                       [ ok ]
 * checking auxfile checksums ;-) ...                                          
                                                                       [ ok ]
 * checking miscfile checksums ;-) ...                                         
                                                                       [ ok ]
 * checking linux-2.6.18.tar.bz2 ;-) ...                                       
                                                                       [ ok ]
 * checking patch-ovz028stab051.1-combined.gz ;-) ...                          
                                                                       [ ok ]
>>> Preparing to unpack ...
>>> Unpacking source...
>>> Unpacking linux-2.6.18.tar.bz2 to /var/tmp/portage/sys-kernel/openvz-sources-2.6.18.028.051/work
/var/tmp/portage/sys-kernel/openvz-sources-2.6.18.028.051/temp/environment:
line 3476: cd:
/var/tmp/portage/sys-kernel/openvz-sources-2.6.18.028.051/work/linux-2.6.18-openvz:
No such file or directory
sed: can't read
/var/tmp/portage/sys-kernel/openvz-sources-2.6.18.028.051/work/linux-2.6.18-openvz/arch/ppc/Makefile:
No such file or directory
 * Applying patch-ovz028stab051.1-combined.patch (-p0+) ...
patch: pch.c:621: intuit_diff_type: Assertion `i0 != NONE' failed.             
                                                                       [ !! ]
 * Please attach
/var/tmp/portage/sys-kernel/openvz-sources-2.6.18.028.051/temp/patch-ovz028stab051.1-combined.err
to any bug you may post.
 *
 * ERROR: sys-kernel/openvz-sources-2.6.18.028.051 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_unpack
 *             environment, line 2958:  Called kernel-2_src_unpack
 *             environment, line 2178:  Called unipatch 'src_unpack'
 *             environment, line 3446:  Called die
 * The specific snippet of code:
 *                   diefunc "$FUNCNAME" "$LINENO" "$?" "Unable to dry-run
patch.";
 *  The die message:
 *   Unable to dry-run 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/sys-kernel/openvz-sources-2.6.18.028.051/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/sys-kernel/openvz-sources-2.6.18.028.051/temp/environment'.
 *

 * Messages for package sys-kernel/openvz-sources-2.6.18.028.051:

 * Please attach
/var/tmp/portage/sys-kernel/openvz-sources-2.6.18.028.051/temp/patch-ovz028stab051.1-combined.err
to any bug you may post.
 *
 * ERROR: sys-kernel/openvz-sources-2.6.18.028.051 failed.
 * Call stack:
 *               ebuild.sh, line   46:  Called src_unpack
 *             environment, line 2958:  Called kernel-2_src_unpack
 *             environment, line 2178:  Called unipatch 'src_unpack'
 *             environment, line 3446:  Called die
 * The specific snippet of code:
 *                   diefunc "$FUNCNAME" "$LINENO" "$?" "Unable to dry-run
patch.";
 *  The die message:
 *   Unable to dry-run 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/sys-kernel/openvz-sources-2.6.18.028.051/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/sys-kernel/openvz-sources-2.6.18.028.051/temp/environment'.
 *

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

emerge --info output:
Portage 2.1.4_rc9 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r1,
2.6.18-028stab051 x86_64)
=================================================================
System uname: 2.6.18-028stab051 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
4600+
Timestamp of tree: Tue, 11 Dec 2007 22:30:03 +0000
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -march=athlon64"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/qmail/alias /var/qmail/control
/var/www/localhost/htdocs/squirrelmail//config
/var/www/localhost/htdocs/squirrelmail//plugins/bug_report
/var/www/localhost/htdocs/squirrelmail//plugins/change_password
/var/www/localhost/htdocs/squirrelmail//plugins/filters
/var/www/localhost/htdocs/squirrelmail//plugins/fortune
/var/www/localhost/htdocs/squirrelmail//plugins/gpg
/var/www/localhost/htdocs/squirrelmail//plugins/mail_fetch
/var/www/localhost/htdocs/squirrelmail//plugins/newmail
/var/www/localhost/htdocs/squirrelmail//plugins/retrieveuserdata
/var/www/localhost/htdocs/squirrelmail//plugins/secure_login
/var/www/localhost/htdocs/squirrelmail//plugins/show_ssl_link
/var/www/localhost/htdocs/squirrelmail//plugins/squirrelspell
/var/www/localhost/htdocs/squirrelmail//plugins/translate
/var/www/localhost/htdocs/websvn/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /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
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -pipe -march=athlon64"
DISTDIR="/usr/portage/distfiles"
FEATURES="buildpkg distlocks metadata-transfer sandbox sfperms strict
unmerge-orphans"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://gentoo.tiscali.nl/gentoo/ http://gentoo.mirror.sdv.fr
http://gentoo.math.bme.hu"
LC_ALL="C"
LINGUAS="en de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages/HN"
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="acl amd64 bash-completion berkdb bindist bitmap-fonts bzip2 cli cracklib
crypt doc dri fbcon fortran gdbm gpm iconv ipv6 isdnlog javascript jpeg jpeg2k
midi mmx mng mudflap ncurses nls nptl nptlonly openmp pam pcre perl png pppd
python qmail readline reflection session spl sse sse2 ssl tcpd tiff truetype
truetype-fonts type1-fonts unicode vim-syntax xml xorg xpm 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"
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="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 fbdev vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #5 From Peter Volkov 2007-12-12 12:11:11 0000 -------
Thank you for report, Lars. I did not manage to reproduce your problem both on
x86 and am64.
Could you, please, run 

ECLASS_DEBUG_OUTPUT=/tmp/openvz-kernel.debug.log emerge
=sys-kernel/openvz-sources-2.6.18.028.051

and attach /tmp/openvz-kernel.debug.log here?

------- Comment #6 From Lars Tiefland 2007-12-12 12:26:09 0000 -------
Created an attachment (id=138306) [details]
Debug Output as requested

------- Comment #7 From Peter Volkov 2007-12-12 16:58:08 0000 -------
This bug is reproducible with new portage. While we are investigating this
issue, please, downgrade portage to 2.1.3.19 and try to install.

------- Comment #8 From Peter Volkov 2007-12-12 20:46:53 0000 -------
Fixed this bug in openvz-sources-2.6.18.028.051. Lars, please, test and report
here if it works for you. I'm going to mark it stable rather soon, so I do not
want such bugs to snip into stable.

------- Comment #9 From Lars Tiefland 2007-12-12 22:19:31 0000 -------
OK, that worked smoothly.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug