RE: [FreeBSD] Port güncelleme hatası

2007-07-10 Başlik Mesut GÜLNAZ
Dediği gibi. Make.conf dosyanızda değişken yokmuş. Değişkeni girmenizi
istiyor.

 

echo X11BASE=${LOCALBASE}  /etc/make.conf

 

ve devam edin. Ancak unutmayınız ki, portupgrade -arR komutu fresh
kurulumlarda kullanılır. Çalışan sistemlerde bu komutu kullanmamanız önemle
duyurulur. Çünkü DB lerinizi, cofig dosyalarınızı vs kaybedebilirsiniz.

 

İyi çalışmalar..

 

Mesut GÜLNAZ

 

From: Veysi GÜMÜŞ [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 10, 2007 1:01 PM
To: freebsd@lists.enderunix.org
Subject: [FreeBSD] Port güncelleme hatası

 

Arkadaşlar mrb,

 

freebsd 6.2 kullandığım sistemde portları güncellemeye çalışırken
karşılatığım bir hatayı çözemedim.Bu konuda yardımcı olursanız
sevinirim.Yaptıklarım sırasıyla aşağıda ve çıkan hata mesajları

 

portsnap fetch hata yok

portsnap update hata yok

 

portupgrade -arR dediğimde bütün portlarda şu hatayı veriyor

 

 

 

---  Session started at: Tue, 10 Jul 2007 12:47:54 +0300
cd: can't cd to /usr/ports/shells/bash2
cd: can't cd to /usr/ports/emulators/linux_base-8
** No need to upgrade 'libcabinet-0.30' (= libcabinet-0.30). (specify -f to
force)
---  ** Upgrade tasks 205: 0 done, 1 ignored, 0 skipped and 0 failed
** No need to upgrade 'lha-1.14i_6' (= lha-1.14i_6). (specify -f to force)
---  ** Upgrade tasks 205: 0 done, 2 ignored, 0 skipped and 0 failed
** No need to upgrade 'expat-2.0.0_1' (= expat-2.0.0_1). (specify -f to
force)
---  ** Upgrade tasks 205: 0 done, 3 ignored, 0 skipped and 0 failed
** No need to upgrade 'portaudit-0.5.11' (= portaudit-0.5.11). (specify -f
to force)
---  ** Upgrade tasks 205: 0 done, 4 ignored, 0 skipped and 0 failed
---  Upgrade of lang/tcl84 started at: Tue, 10 Jul 2007 12:48:03 +0300
---  Upgrading 'tcl-8.4.14,1' to 'tcl-8.4.15_2,1' (lang/tcl84)
OK? [yes]
---  Build of lang/tcl84 started at: Tue, 10 Jul 2007 12:48:20 +0300
---  Building '/usr/ports/lang/tcl84'
On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE
by itself so please help it a bit by setting X11BASE=${LOCALBASE} in
make.conf.
On the other hand, if you do wish to use non-default X11BASE, please set
variable USE_NONDEFAULT_X11BASE.
*** Error code 1

 

Stop.
On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE
by itself so please help it a bit by setting X11BASE=${LOCALBASE} in
make.conf.
On the other hand, if you do wish to use non-default X11BASE, please set
variable USE_NONDEFAULT_X11BASE.
*** Error code 1

 

Stop.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade.14909.4 env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=tcl-8.4.14,1 UPGRADE_PORT_VER=8.4.14,1 make
** Fix the problem and try again.
---  Build of lang/tcl84 ended at: Tue, 10 Jul 2007 12:48:23 +0300
(consumed 00:00:02)
---  Upgrade of lang/tcl84 ended at: Tue, 10 Jul 2007 12:48:23 +0300
(consumed 00:00:19)
---  ** Upgrade tasks 205: 0 done, 4 ignored, 0 skipped and 1 failed
---  Upgrade of devel/libtool15 started at: Tue, 10 Jul 2007 12:48:23 +0300
---  Upgrading 'libtool-1.5.22_3' to 'libtool-1.5.22_4' (devel/libtool15)
OK? [yes] ^C^D
Interrupted.
---  Listing the results (+:done / -:ignored / *:skipped / !:failed)
- archivers/libcabinet (libcabinet-0.30)
- archivers/lha (lha-1.14i_6)
- textproc/expat2 (expat-2.0.0_1)
- ports-mgmt/portaudit (portaudit-0.5.11)
! lang/tcl84 (tcl-8.4.14,1) (unknown build error)
---  Packages processed: 0 done, 4 ignored, 0 skipped and 1 failed
---  Upgrade of devel/libtool15 ended at: Tue, 10 Jul 2007 12:49:54 +0300
(consumed 00:01:31)
---  Session ended at: Tue, 10 Jul 2007 12:49:54 +0300 (consumed 00:02:00)
bash-2.05b#
bash-2.05b# portupgrade -arR
cd: can't cd to /usr/ports/shells/bash2
cd: can't cd to /usr/ports/emulators/linux_base-8
---  Upgrading 'tcl-8.4.14,1' to 'tcl-8.4.15_2,1' (lang/tcl84)
---  Building '/usr/ports/lang/tcl84'
On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE
by itself so please help it a bit by setting X11BASE=${LOCALBASE} in
make.conf.
On the other hand, if you do wish to use non-default X11BASE, please set
variable USE_NONDEFAULT_X11BASE.
*** Error code 1

 

Stop.
---  Upgrading 'libtool-1.5.22_3' to 'libtool-1.5.22_4' (devel/libtool15)
---  Building '/usr/ports/devel/libtool15'
On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE
by itself so please help it a bit by setting X11BASE=${LOCALBASE} in
make.conf.
On the other hand, if you do wish to use non-default X11BASE, please set
variable USE_NONDEFAULT_X11BASE.
*** Error code 1

 

Stop.
---  Upgrading 'pcre-7.0' to 'pcre-7.1' (devel/pcre)
---  Building '/usr/ports/devel/pcre'
On FreeBSD before 6.2 ports system unfortunately can not set default X11BASE
by itself so please help it a bit by setting X11BASE=${LOCALBASE} in
make.conf.
On the other hand, if you do wish to use non-default X11BASE, please set
variable USE_NONDEFAULT_X11BASE.
*** Error code 1

 

Stop.
---  Upgrading 'gsfonts-8.11_2' to 'gsfonts-8.11_4' 

RE: [FreeBSD] Port güncelleme

2006-10-01 Başlik Murat Balaban
Merhaba,

*default release=cvs satirini,

default release=cvs tag=.

Seklinde degistirip tekrar denerseniz, -HEAD branch'den update edeceksiniz.
O haliyle, cvs iskeletini (*,v) dosyalarini indiriyor, asil dosyalari
Update etmiyor.

5.4 sisteminizi -HEAD'den kismen update ederseniz dependency sorunlari
Yasayabilirsiniz. 

RELENG_5 de, bu portun en guncel versiyonu da maalesef 3.1.0 gorunuyor,
3.1.5 versiyonu su an itibariyle yalnizca -HEAD'a commit edilmis.

BUILD_DEPENDS=  p5-Net-DNS=0.53:${PORTSDIR}/dns/p5-Net-DNS \

${SITE_PERL}/${PERL_ARCH}/HTML/Parser.pm:${PORTSDIR}/www/p5-HTML-Parser \
${SITE_PERL}/Mail/Internet.pm:${PORTSDIR}/mail/p5-Mail-Tools
RUN_DEPENDS=${BUILD_DEPENDS} \
${SITE_PERL}/Bundle/LWP.pm:${PORTSDIR}/www/p5-libwww \

${SITE_PERL}/Archive/Tar.pm:${PORTSDIR}/archivers/p5-Archive-Tar \
gpg:${PORTSDIR}/security/gnupg

burada dependency olan portlari da guncellemeniz lazim.

Daha hizli fakat calisma garantisi olmayan bir cozum olarak'da ilgili
port'un Makefile'ini acip oradaki PORTVERSION=  satirini 3.1.5
Olarak degistirerek 3.1.5 versiyonunu indirmesini saglayabilirsiniz.

PS: -HEAD, -CURRENT yani FreeBSD 7 ile es anlamlidir.

- Murat
http://www.enderunix.org/murat/

-Original Message-
From: webyon jonart [mailto:[EMAIL PROTECTED] 
Sent: Sunday, October 01, 2006 9:03 AM
To: freebsd@lists.enderunix.org
Subject: [FreeBSD] Port güncelleme

Merhaba

Daha önceden Spamassassin  3.1.0 ý port dan kurmuþtum.
 Spamassassin 3.1.0 da olan bir bug nedeni ile 3.1.5 e
yükseltmek istiyorum. Bu yüzden port güncellemek için

-
mail# cvsup -g -L 2 /etc/cvs-supfile
Parsing supfile /etc/cvs-supfile
Connecting to cvsup.FreeBSD.org
Connected to cvsup.FreeBSD.org
Rejected by server: Access limit exceeded; try again
later
Will retry at 08:39:45
Retrying
Connecting to cvsup.FreeBSD.org
Connected to cvsup.FreeBSD.org
Server software version: SNAP_16_1h
Negotiating file attribute support
Exchanging collection information
Establishing multiplexed-mode data connection
Running
Updating collection ports-mail/cvs
Updating collection ports-net/cvs
 Edit ports/net/ndisc6/Makefile,v
  Add delta 1.4 2006.10.01.04.55.53 alepulver
 Edit ports/net/ndisc6/distinfo,v
  Add delta 1.3 2006.10.01.04.55.53 alepulver
 Edit ports/net/ndisc6/files/patch-src_ndisc.c,v -
Attic
  Add delta 1.2 2006.10.01.04.55.54 alepulver
 Edit ports/net/ndisc6/pkg-plist,v
  Add delta 1.2 2006.10.01.04.55.53 alepulver
Updating collection ports-net-mgmt/cvs
Updating collection ports-security/cvs
Shutting down connection to server
Finished successfully.
-

yaptým. Fakat spamassassin i portdan tekrar kurmak
istediðimde halen 3.1.0 versiyonunu kurmaya çalýþýyor.
Acaba neden 3.1.5 versiyonunu kuramýyor olabilirim.

/etc/cvs-supfile dosyamýn içeriði

# $FreeBSD: src/share/examples/cvsup/cvs-supfile,v
1.43 2004/05/24 06:23:15 cjc Exp $
#
# This file contains all of the CVSup collections
that make up the
# CVS development tree of the FreeBSD system.
#
# CVSup (CVS Update Protocol) allows you to download
the latest CVS
# tree (or any branch of development therefrom) to
your system easily
# and efficiently (far more so than with sup, which
CVSup is aimed
# at replacing).  If you're running CVSup
interactively, and are
# currently using an X display server, you should run
CVSup as follows
# to keep your CVS tree up-to-date:
#
#   cvsup cvs-supfile
#
# If not running X, or invoking cvsup from a
non-interactive script, then
# run it as follows:
#
#   cvsup -g -L 2 cvs-supfile
#
# You may wish to change some of the settings in this
file to better
# suit your system:
#
# host=CHANGE_THIS.FreeBSD.org
#   This specifies the server host which will supply
the
#   file updates.  You must change it to one of the
CVSup
#   mirror sites listed in the FreeBSD Handbook at
#   http://www.freebsd.org/doc/handbook/mirrors.html.
#   You can override this setting on the command line
#   with cvsup's -h host option.
#
# base=/var/db
#   This specifies the root where CVSup will store
information
#   about the collections you have transferred to your
system.
#   A setting of /var/db will generate this
information in
#   /var/db/sup.  Even if you are CVSupping a large
number of
#   collections, you will be hard pressed to generate
more than
#   ~1MB of data in this directory.  You can override
the
#   base setting on the command line with cvsup's -b
base
#   option.  This directory must exist in order to run
CVSup.
#
# prefix=/usr
#   This specifies where to place the requested files. 
A
#   setting of /usr will place all of the files
requested
#   in /usr/src (e.g., /usr/src/bin,
/usr/src/lib).
#   The prefix