Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 201973 - sys-kernel/openvz-sources-2.6.18.028.051 not emergable with >=portage-2.1.4_rc*
Summary: sys-kernel/openvz-sources-2.6.18.028.051 not emergable with >=portage-2.1.4_rc*
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-11 19:50 UTC by Lars Tiefland
Modified: 2007-12-12 22:19 UTC (History)
1 user (show)

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


Attachments
Debug Output as requested (openvz-kernel.debug.log,1.65 KB, text/plain)
2007-12-12 12:26 UTC, Lars Tiefland
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Tiefland 2007-12-11 19:50:45 UTC
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 Jakub Moc (RETIRED) gentoo-dev 2007-12-11 21:58:41 UTC
Post the actual emerge output, emerge --info and reopen then. Thanks.
Comment 2 Lars Tiefland 2007-12-11 22:52:56 UTC
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 Jakub Moc (RETIRED) gentoo-dev 2007-12-11 22:54:46 UTC
Thanks, now only if you could post the same output w/ LC_ALL=C ;) 
Comment 4 Lars Tiefland 2007-12-12 10:26:40 UTC
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 Peter Volkov (RETIRED) gentoo-dev 2007-12-12 12:11:11 UTC
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 Lars Tiefland 2007-12-12 12:26:09 UTC
Created attachment 138306 [details]
Debug Output as requested
Comment 7 Peter Volkov (RETIRED) gentoo-dev 2007-12-12 16:58:08 UTC
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 Peter Volkov (RETIRED) gentoo-dev 2007-12-12 20:46:53 UTC
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 Lars Tiefland 2007-12-12 22:19:31 UTC
OK, that worked smoothly.