Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190666 - sys-devel/patch-2.5.9-r1 does not running
Summary: sys-devel/patch-2.5.9-r1 does not running
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Solaris
: High normal (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-29 16:25 UTC by He Jian
Modified: 2007-11-09 15:56 UTC (History)
0 users

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 He Jian 2007-08-29 16:25:23 UTC
after emerged sys-devel/patch, all emerge which using patch will failed, such as:

 * Applying flex-2.5.31-include.patch ...
 * Failed Patch: flex-2.5.31-include.patch !
 *  ( /export/home/hej/gentoo/usr/portage/sys-devel/flex/files/flex-2.5.31-include.patch )

$ cat /export/home/hej/gentoo/var/tmp/portage/sys-devel/flex-2.5.33-r3/temp/flex-2.5.31-include.patch-1660.out
***** flex-2.5.31-include.patch *****
=====================================
PATCH COMMAND:   patch -p0 -g0 -E --no-backup-if-mismatch < /export/home/hej/gentoo/usr/portage/sys-devel/flex/files/flex-2.5.31-include.patch
=====================================
patch: **** fseek : Invalid argument
...

$ emerge --info
Portage 2.2.00.7595-prefix (default-prefix/sunos/solaris/5.10/x86, gcc-4.0.3, unavailable, 5.11 i86pc)
=================================================================
System uname: 5.11 i86pc i386
Unknown Host Operating System
Timestamp of tree: Unknown
sys-devel/gcc-config: 1.3.16
ACCEPT_KEYWORDS="x86-solaris ~x86-solaris"
AUTOCLEAN="yes"
CBUILD="i386-pc-solaris2.10"
CHOST="i386-pc-solaris2.10"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
DISTDIR="/export/home/hej/gentoo/usr/portage/distfiles"
EPREFIX="/export/home/hej/gentoo"
FEATURES="collision-protect distlocks metadata-transfer sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/export/home/hej/gentoo/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="/export/home/hej/gentoo/var/tmp"
PORTDIR="/export/home/hej/gentoo/usr/portage"
SYNC="svn+http://overlays.gentoo.org/svn/proj/alt/trunk/prefix-overlay"
USE="cracklib midi ncurses prefix readline ssl x86-solaris zlib" 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="SunOS" INPUT_DEVICES="keyboard mouse" KERNEL="SunOS" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CFLAGS, CTARGET, CXXFLAGS, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Only after "emerge -C patch" can continue emerge other packages.
Comment 1 Fabian Groffen gentoo-dev 2007-08-29 16:52:18 UTC
what patch did you install?
Comment 2 He Jian 2007-08-29 17:02:15 UTC
it's sys-devel/patch-2.5.9-r1
Comment 3 Fabian Groffen gentoo-dev 2007-08-29 17:04:18 UTC
are you still bootstrapping, or did you just upgrade patch?
Comment 4 He Jian 2007-08-29 17:14:02 UTC
Yes I am still bootstrapping... This patch package is installed when I emerge -e system.
After got this issue, I have to doing these commands to continue emerge -e system:
1. emerge -C patch
2. emerge --resume

And the solaris os is Nexenta (elatte_alpha7_i386)
Comment 5 Fabian Groffen gentoo-dev 2007-08-29 17:20:07 UTC
ah... that's not solaris, but an opensolaris variant ;)

The problem looks like what Solaris/Sparc has with patch.  Can you try emerging patch-2.5.4* and see if the problem resists?
Comment 6 He Jian 2007-08-29 17:56:43 UTC
patch-2.5.4-r5 dos not has this issue, it works great.
Comment 7 Fabian Groffen gentoo-dev 2007-08-29 18:08:30 UTC
I have to make a nexenta profile before I can mask it for nexenta users then.
Comment 8 He Jian 2007-08-30 01:49:16 UTC
Now I am using profile sunos/solaris/5.10/x86.

And I think we need a sunos/solaris/5.11/x86, not a sunos/nexenta/5.11/x86, because the future solaris will based on nexenta just like redhat based on fedora, and the original file names for cpp/g++/gcc in nexenta's /bin are: i386-pc-solaris2.11-cpp/i386-pc-solaris2.11-g++/i386-pc/solaris2.11-gcc

Ignore this if I am wrong.
Comment 9 Fabian Groffen gentoo-dev 2007-08-30 14:01:50 UTC
isn't nexenta some Debian/Ubuntu crippled version of OpenSolaris?

I don't know why, but these GNU/Solaris variants manage to break many compilations for a not yet clear reason.
Comment 10 Fabian Groffen gentoo-dev 2007-11-09 15:56:25 UTC
I can't fix this, as I don't have the hardware/access.