portupgrade安裝失敗
問一下:
[root]:/usr/ports/sysutils/portupgrade >make install
===> Vulnerability check disabled, database not found
===> Found saved configuration for portupgrade-20041226_8
===> Extracting for portupgrade-20041226_8
=> MD5 Checksum OK for pkgtools-20041224.tar.bz2.
=> No SHA256 checksum recorded for pkgtools-20041224.tar.bz2.
=> MD5 Checksum OK for pkgtools-20041224-20041226.diff.bz2.
=> No SHA256 checksum recorded for pkgtools-20041224-20041226.diff.bz2.
===> portupgrade-20041226_8 depends on file: /usr/local/bin/ruby18 - not
found
===> Verifying install for /usr/local/bin/ruby18 in /usr/ports/lang/ruby18
===> ruby+oniguruma-1.8.3 depends on file: /nonexistent - not found
===> Verifying patch for /nonexistent in /usr/ports/devel/oniguruma
===> Returning to build of ruby+oniguruma-1.8.3
===> Configuring for ruby+oniguruma-1.8.3
......
test -d /usr/ports/lang/ruby18/work/ruby-1.8.3/enc || mkdir
/usr/ports/lang/ruby18/work/ruby-1.8.3/enc
cp -p ./enc/ascii.c /usr/ports/lang/ruby18/work/ruby-1.8.3/enc/ascii.c
cp -p ./enc/utf8.c /usr/ports/lang/ruby18/work/ruby-1.8.3/enc/utf8.c
cp -p ./enc/euc_jp.c /usr/ports/lang/ruby18/work/ruby-1.8.3/enc/euc_jp.c
cp -p ./enc/sjis.c /usr/ports/lang/ruby18/work/ruby-1.8.3/enc/sjis.c
patch -d /usr/ports/lang/ruby18/work/ruby-1.8.3 -p0 < ./re.c.181.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- re.c.ruby_orig 2003-11-04 18:13:57.000000000 +0900
|+++ re.c 2004-04-26 12:05:31.000000000 +0900
--------------------------
Patching file re.c using Plan A...
Reversed (or previously applied) patch detected! Assume -R? [y]
Hunk #1 succeeded at 483 (offset 42 lines).
Hunk #2 succeeded at 579 (offset 40 lines).
Hunk #3 failed at 588.
Hunk #4 succeeded at 802 (offset 109 lines).
Hunk #5 succeeded at 807 (offset 40 lines).
1 out of 5 hunks failed--saving rejects to re.c.rej
done
*** Error code 1
Stop in /usr/ports/devel/oniguruma/work/oniguruma.
*** Error code 1
Stop in /usr/ports/lang/ruby18.
*** Error code 1
Stop in /usr/ports/sysutils/portupgrade.
已經把ports更新了,目前是6.0 stable,
可是會有上面的問題發生...
--
┌─────◆KKCITY◆─────┐ ◢ ◤ ★ 線上音樂新震撼 ★ ◢ ◤
│ bbs.kkcity.com.tw │ ^_^ / 隨選隨播免等待 KKBOX◤ ^_^ /
└──《From:59.112.223.146 》──┘ ◤ http://www.kkbox.com.tw ◤
--
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):
FreeBSD 近期熱門文章
PTT數位生活區 即時熱門文章
5
12