portupgrade

2006-05-06 Thread Arno Schleich

Dear all,

I have observed the following behavior in portupgrade:

The operation

portugrade -a

results in a repetitive rebuild of the package database whenever the 
database is accessed.


[Updating the pkgdb format:dbm_hash in /var/db/pkg ... Inappropriate file 
type or format - /var/db/pkg/pkgdb; rebuild needed] [Rebuilding the pkgdb 
format:dbm_hash in /var/db/pkg ... - 435 packages found (-0 +435) 
... 
done]

---  Backing up the old version
[Updating the pkgdb format:bdb1_btree in /var/db/pkg ... Failed 
`Inappropriate file type or format'; rebuild needed] [Rebuilding the pkgdb 
format:bdb1_btree in /var/db/pkg ... - 435 packages found (-0 +435) 
... 
done]

---  Uninstalling the old version
[Updating the pkgdb format:dbm_hash in /var/db/pkg ... Inappropriate file 
type or format - /var/db/pkg/pkgdb; rebuild needed] [Rebuilding the pkgdb 
format:dbm_hash in /var/db/pkg ... - 435 packages found (-0 +435) 
..



Is this a bug or a feature ?

What can be done to suppress this behavior of portupgrade -a ?

Thanks, Arno

_
Die Vielfalt der Optionen lässt Sie im Internet erfolgreich recherchieren. 
http://search.msn.at/


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade

2006-05-06 Thread Arno Schleich


No, I upgraded to 6.0 a couple of days after it was released. That must have 
been eight or nine months ago ...


m: Colin Percival [EMAIL PROTECTED]

To: Arno Schleich [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
Subject: Re: portupgrade
Date: Sat, 06 May 2006 14:37:45 -0700

Arno Schleich wrote:
 portugrade -a

 results in a repetitive rebuild of the package database whenever the
 database is accessed.

 [Updating the pkgdb format:dbm_hash in /var/db/pkg ... Inappropriate
 file type or format - /var/db/pkg/pkgdb; rebuild needed] [Rebuilding the
 pkgdb format:dbm_hash in /var/db/pkg ... - 435 packages found (-0
 +435)

You probably recently upgraded from FreeBSD 5.x to FreeBSD 6.x:

http://www.daemonology.net/blog/2006-04-14-portupgrade-errors.html

Colin Percival


_
Die Vielfalt der Optionen lässt Sie im Internet erfolgreich recherchieren. 
http://search.msn.at/


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: portupgrade

2006-05-06 Thread Arno Schleich


Thanks, that improved the behavior. What I don't understand though is why 
upgrading individual ports e. g. portupgrade xyz never resulted in that 
problem ...



From: Beech Rintoul [EMAIL PROTECTED]
To: freebsd-questions@freebsd.org
CC: Arno Schleich [EMAIL PROTECTED]
Subject: Re: portupgrade
Date: Sat, 6 May 2006 13:45:49 -0800

On Saturday 06 May 2006 13:28, Arno Schleich wrote:
 Dear all,

 I have observed the following behavior in portupgrade:

 The operation

 portugrade -a

 results in a repetitive rebuild of the package database whenever the
 database is accessed.

 [Updating the pkgdb format:dbm_hash in /var/db/pkg ... Inappropriate 
file
 type or format - /var/db/pkg/pkgdb; rebuild needed] [Rebuilding the 
pkgdb

 format:dbm_hash in /var/db/pkg ... - 435 packages found (-0 +435)
 
...





 done]
 ---  Backing up the old version
 [Updating the pkgdb format:bdb1_btree in /var/db/pkg ... Failed
 `Inappropriate file type or format'; rebuild needed] [Rebuilding the 
pkgdb

 format:bdb1_btree in /var/db/pkg ... - 435 packages found (-0 +435)
 
...





 done]
 ---  Uninstalling the old version
 [Updating the pkgdb format:dbm_hash in /var/db/pkg ... Inappropriate 
file
 type or format - /var/db/pkg/pkgdb; rebuild needed] [Rebuilding the 
pkgdb

 format:dbm_hash in /var/db/pkg ... - 435 packages found (-0 +435)
 
...

...


 Is this a bug or a feature ?

 What can be done to suppress this behavior of portupgrade -a ?

 Thanks, Arno

Sounds like your pkgdb is corrupt. Try doing pkgdb -fu (without the 
quotes),

if that doesn't work rename or rm /var/db/pkg/pkgdb.db and run the command
again to build a new pkgdb.

Beech



--

---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/\   ASCII Ribbon Campaign  | Mangohealth
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - XanGo - http://www.mangohealth.org
---















 attach3 


_
Nur die MSN Suche sorgt bei einer Web-Recherche für optimale Ergebnisse. 
http://search.msn.at/


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: glib20

2006-05-04 Thread Arno Schleich

Hi,

thanks for all Your replies. None solved the problem, but all contributed a 
bit to the eventual solution.


pkg_delete -rf pkgconfig*
cvsup -L2 all-ports
cd ports/x11/gnome2
make clean
make install clean

restored things to sanity (apart from the usual build inconsistencies). This 
was the solution proposed on www.freebsd.org/gnome for a different but 
structurally related problem.


Thanks for all Your efforts wrt to this issue.

Arno


From: Adi Pircalabu [EMAIL PROTECTED]
To: Arno Schleich [EMAIL PROTECTED]
CC: [EMAIL PROTECTED], freebsd-questions@freebsd.org
Subject: Re: glib20
Date: Wed, 3 May 2006 08:46:17 +0300

On Tue, 02 May 2006 21:28:38 +
Arno Schleich [EMAIL PROTECTED] wrote:

 checking for GLIB - version = 2.0.0... no
 *** Could not run GLIB test program, checking why...
 *** The test program failed to compile or link. See the file
 config.log for the
 *** exact error that occured. This usually means GLIB is incorrectly
 installed.

Make sure you have an up-to-date ports tree and the latest
devel/pkgconfig installed. If the problem persists write to gnome@
(after checking the archives first, though) following the instructions
at http://www.freebsd.org/gnome/docs/bugging.html

--
Adi Pircalabu (PGP Key ID 0x04329F5E)


--
This message was scanned for spam and viruses by BitDefender.
For more information please visit http://www.bitdefender.com/



_
Nur die MSN Suche sorgt bei einer Web-Recherche für optimale Ergebnisse. 
http://search.msn.at/


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: glib20

2006-05-02 Thread Arno Schleich

Kris,

thank You for Your advice. I already had tried that before writing to the 
list.


make deinstall

and

make install clean

for glib-2.10.2

do not change anything. The same error in the configuration script kept 
recurring in a pretty monotonous fashion.
Tried gnomelogalyzer - but it cannot the determine the reason of build 
failure.


ldconfig -r shows the library is in the loader path yet applications using 
it fail at runtime. Gnome desktop and some applications keep working, albeit 
very slow ...


Btw, how can get parts of it somehow deleted by executing automated 
scripts. This seems like a big glitch in the system akin to the infamous 
blue screen ...


To be honest, it doubt this is the origin of my problem. I had also tried to 
deinstall glib-2.10.2 and have an application which depends on it install it 
while the dependencies are resolved. This installed glib-2.10.2 perfectly 
but failed to configure the build of the application as above.


Thanks for the thought, but I'd still be thankful for a more definitive 
suggestion as to how to solve this problem.


Arno



From: Kris Kennaway [EMAIL PROTECTED]
To: Arno Schleich [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org
Subject: Re: glib20
Date: Mon, 1 May 2006 23:57:12 -0400

On Tue, May 02, 2006 at 02:29:42AM +, Arno Schleich wrote:
 Dear all,

 after upgrading several gnome ports I am experiencing a strange problem
 with glib-2.10.2. It is installed (listed in the package database), and
 dependencies are correctly recognized (e. g. when compiling a port in 
this

 case /net/avahi the dependecy is marked as fulfilled) yet when the
 configure script checks the build environment it fails telling me it 
cannot

 find glib20. Also, previously working applications such as evolution
 stopped functioning correctly.
 Please advice wrt to fixing this problem in freebsd-6.0.

Reinstall it, parts of it probably got deleted somehow.

Kris




 attach3 


_
Nur die MSN Suche sorgt bei einer Web-Recherche für optimale Ergebnisse. 
http://search.msn.at/


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: glib20

2006-05-02 Thread Arno Schleich
 the gnomelogalyzer, available from
http://www.freebsd.org/gnome/gnomelogalyzer.sh;, which will diagnose the
problem and suggest a solution. If - and only if - the gnomelogalyzer cannot
solve the problem, report the build failure to the FreeBSD GNOME team at
[EMAIL PROTECTED], and attach (a)
/mnt/TrekStor120G/ports/databases/evolution-data-server/work/evolution-data-server-1.6.1/config.log,
(b) the output of the failed make command, and (c) the gnomelogalyzer 
output.
Also, it might be a good idea to provide an overview of all packages 
installed

on your system (i.e. an `ls /var/db/pkg`). Put your attachment up on any
website, copy-and-paste into http://freebsd-gnome.pastebin.com, or use
send-pr(1) with the attachment. Try to avoid sending any attachments to the
mailing list ([EMAIL PROTECTED]), because attachments sent to FreeBSD 
mailing

lists are usually discarded by the mailing list software.
*** Error code 1

Stop in /mnt/TrekStor120G/ports/databases/evolution-data-server.
*** Error code 1

Stop in /mnt/TrekStor120G/ports/mail/evolution.

--

Thanks !


From: Kris Kennaway [EMAIL PROTECTED]
To: Arno Schleich [EMAIL PROTECTED]
CC: freebsd-questions@freebsd.org, [EMAIL PROTECTED]
Subject: Re: glib20
Date: Tue, 2 May 2006 13:26:46 -0400

On Tue, May 02, 2006 at 11:28:46AM +, Arno Schleich wrote:
 Kris,

 thank You for Your advice. I already had tried that before writing to 
the

 list.

 make deinstall

 and

 make install clean

 for glib-2.10.2

 do not change anything. The same error in the configuration script kept
 recurring in a pretty monotonous fashion.
 Tried gnomelogalyzer - but it cannot the determine the reason of build
 failure.

 ldconfig -r shows the library is in the loader path yet applications 
using

 it fail at runtime. Gnome desktop and some applications keep working,
 albeit very slow ...

 Btw, how can get parts of it somehow deleted by executing automated
 scripts. This seems like a big glitch in the system akin to the infamous
 blue screen ...

 To be honest, it doubt this is the origin of my problem. I had also 
tried

 to deinstall glib-2.10.2 and have an application which depends on it
 install it while the dependencies are resolved. This installed 
glib-2.10.2

 perfectly but failed to configure the build of the application as above.

Show us the errors, don't just give partial descriptions.

Kris




 attach3 


_
Nur die MSN Suche sorgt bei einer Web-Recherche für optimale Ergebnisse. 
http://search.msn.at/


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


glib20

2006-05-01 Thread Arno Schleich

Dear all,

after upgrading several gnome ports I am experiencing a strange problem with 
glib-2.10.2. It is installed (listed in the package database), and 
dependencies are correctly recognized (e. g. when compiling a port in this 
case /net/avahi the dependecy is marked as fulfilled) yet when the configure 
script checks the build environment it fails telling me it cannot find 
glib20. Also, previously working applications such as evolution stopped 
functioning correctly.

Please advice wrt to fixing this problem in freebsd-6.0.

Thanks, Arno

_
Nur die MSN Suche sorgt bei einer Web-Recherche für optimale Ergebnisse. 
http://search.msn.at/


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]