Jan-Hinrich Fessel | 1 Apr 11:50 2010

unable to update pkgsrc from 1.6.2

I did the unthinkable - upgrading NetBSD on a production machine.

Everythin went surprisingly well, even though it was an upgrade from  
1.6.2 to 5.0.2 on i386.

The only problem was the upgrade removed "unneccessary" libraries, and  
now libz.so.0 is gone.

No big deal, I thought, this was only used by gnome, so I went ahead  
and updated pkgsrc sources to HEAD.

Now I get errors like those at the bottom.

Is there any way to force pkgsrc's build system to actually delete the  
old files and install the new ones?
Or must I do a replace instead of an upgrade?  What does this do to  
dependencies I als want to be updated?

Cheers
	Oskar

=> Build dependency readline>=6.0: NOT found
=> Verifying update for ../../devel/readline
if /usr/pkg/sbin/pkg_info -K /var/db/pkg -qe "readline-[0-9]*"; then  / 
usr/pkg/sbin/pkg_info -K /var/db/pkg -qr "readline-[0-9]*" > /usr/ 
pkgsrc/devel/readline/work/.DLIST;  else  /usr/bin/touch /usr/pkgsrc/ 
devel/readline/work/.DLIST;  fi
pkg_info: Unrecognised PLIST command ` <at> mtree +MTREE_DIRS'
===> Deinstalling for readline-6.1
Running /usr/pkg/sbin/pkg_delete -K /var/db/pkg -r readline-4.3
(Continue reading)

Joerg Sonnenberger | 1 Apr 12:33 2010
Picon

Re: unable to update pkgsrc from 1.6.2

On Thu, Apr 01, 2010 at 11:50:15AM +0200, Jan-Hinrich Fessel wrote:
> Is there any way to force pkgsrc's build system to actually delete
> the old files and install the new ones?
> Or must I do a replace instead of an upgrade?  What does this do to
> dependencies I als want to be updated?

The problem is that you seemed to have ended up with multiple versions
of readline in the database. Just do another "pkg_delete -f readline".
I would also suggest "pkg_admin rebuild" as the database is most likely
semi-broken.

Joerg

Jan-Hinrich Fessel | 1 Apr 12:01 2010

glib2 weirdness

The following happend just now with pkgsrc HEAD:

===> Configuring for glib2-2.22.5
=> Modifying GNU configure scripts to avoid --recheck
=> Replacing config-guess with pkgsrc versions
=> Replacing config-sub with pkgsrc versions
=> Replacing install-sh with pkgsrc version
configure: WARNING: unrecognized options: --without-libiconv-prefix, -- 
without-libintl-prefix
[...]
checking for libiconv_open in -liconv... no
configure: error: *** No iconv() implementation found in C library or  
libiconv
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/devel/glib2

is there a problem with updating pkgsrc via "cvs -q update -dP", i.e.  
am I missing some cvs option to actually get the latest and greatest,  
or is there a problem in glib2 HEAD?

Cheers
	Oskar

Thomas Klausner | 1 Apr 13:43 2010
Picon

Re: glib2 weirdness

On Thu, Apr 01, 2010 at 12:01:40PM +0200, Jan-Hinrich Fessel wrote:
> The following happend just now with pkgsrc HEAD:
> 
> ===> Configuring for glib2-2.22.5
> => Modifying GNU configure scripts to avoid --recheck
> => Replacing config-guess with pkgsrc versions
> => Replacing config-sub with pkgsrc versions
> => Replacing install-sh with pkgsrc version
> configure: WARNING: unrecognized options: --without-libiconv-prefix,
> --without-libintl-prefix

You can ignore these.

> [...]
> checking for libiconv_open in -liconv... no
> configure: error: *** No iconv() implementation found in C library
> or libiconv
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/pkgsrc/devel/glib2
> 
> is there a problem with updating pkgsrc via "cvs -q update -dP",
> i.e. am I missing some cvs option to actually get the latest and
> greatest, or is there a problem in glib2 HEAD?

What platform?

I've never seen this error on NetBSD.
 Thomas
(Continue reading)

Jan-Hinrich Fessel | 1 Apr 17:49 2010

Re: unable to update pkgsrc from 1.6.2


Am 01.04.2010 um 12:33 schrieb Joerg Sonnenberger:

> On Thu, Apr 01, 2010 at 11:50:15AM +0200, Jan-Hinrich Fessel wrote:
>> Is there any way to force pkgsrc's build system to actually delete
>> the old files and install the new ones?
>> Or must I do a replace instead of an upgrade?  What does this do to
>> dependencies I als want to be updated?
>
> The problem is that you seemed to have ended up with multiple versions
> of readline in the database. Just do another "pkg_delete -f readline".

thanks, pkg_delete readline twice fixes this issue.  And yes, looking  
at pkg_info from before the upgrade, two packages identified  
themselves as "readline".  Is there any way to reduce those duplicate  
instances to only one?

> I would also suggest "pkg_admin rebuild" as the database is most  
> likely
> semi-broken.

Yes, it is semi-broken.  Actually, pkg_admin is complaining about  
packages in the db but not on disk.

Cheers
	Oskar

Jan-Hinrich Fessel | 1 Apr 18:03 2010

Re: glib2 weirdness


Am 01.04.2010 um 13:43 schrieb Thomas Klausner:

> On Thu, Apr 01, 2010 at 12:01:40PM +0200, Jan-Hinrich Fessel wrote:
>> [...]
>> checking for libiconv_open in -liconv... no
>> configure: error: *** No iconv() implementation found in C library
>> or libiconv
>> *** Error code 1
>>
>> Stop.
>> make: stopped in /usr/pkgsrc/devel/glib2
>>
>> is there a problem with updating pkgsrc via "cvs -q update -dP",
>> i.e. am I missing some cvs option to actually get the latest and
>> greatest, or is there a problem in glib2 HEAD?
>
> What platform?
>
> I've never seen this error on NetBSD

Actually, this is NetBSD i386 - but upgraded from 1.6.2 and  
corresponding pkgsrc.

I'll retry after cvs -q update -dPA...

Cheers
	Oskar

(Continue reading)

Eric Haszlakiewicz | 1 Apr 18:31 2010

Re: unable to update pkgsrc from 1.6.2

On Thu, Apr 01, 2010 at 11:50:15AM +0200, Jan-Hinrich Fessel wrote:
> ===> Deinstalling for readline-6.1
> Running /usr/pkg/sbin/pkg_delete -K /var/db/pkg -r readline-4.3
> pkg_delete: Unrecognised PLIST command ` <at> mtree +MTREE_DIRS'
> pkg_delete: Unrecognised PLIST command ` <at> mtree +MTREE_DIRS'

Also, this looks like you don't have an updated pkg_install package
installed.  You probably should install a recent one.  (and then
manually remove any pkg_* binaries from /usr/bin.  ugh, if only it
was registered as a package to begin with)

eric

Jan-Hinrich Fessel | 1 Apr 23:49 2010

Re: unable to update pkgsrc from 1.6.2


Am 01.04.2010 um 18:31 schrieb Eric Haszlakiewicz:

> On Thu, Apr 01, 2010 at 11:50:15AM +0200, Jan-Hinrich Fessel wrote:
>> ===> Deinstalling for readline-6.1
>> Running /usr/pkg/sbin/pkg_delete -K /var/db/pkg -r readline-4.3
>> pkg_delete: Unrecognised PLIST command ` <at> mtree +MTREE_DIRS'
>> pkg_delete: Unrecognised PLIST command ` <at> mtree +MTREE_DIRS'
>
> Also, this looks like you don't have an updated pkg_install package
> installed.  You probably should install a recent one.  (and then
> manually remove any pkg_* binaries from /usr/bin.  ugh, if only it
> was registered as a package to begin with)

This all looks, hmm, interesting.  pkg_* was built from pkgsrc HEAD as  
of 31.03.2010.
no pkg* in /usr/bin, all in /usr/sbin ;-)

I do suspect it would be wise to revert from HEAD to 2009Q4, but I  
don't like that option...

Cheers
	Oskar

Jan-Hinrich Fessel | 1 Apr 23:57 2010

Re: glib2 weirdness


Am 01.04.2010 um 18:03 schrieb Jan-Hinrich Fessel:

>
> Am 01.04.2010 um 13:43 schrieb Thomas Klausner:
>
>> On Thu, Apr 01, 2010 at 12:01:40PM +0200, Jan-Hinrich Fessel wrote:
>>> [...]
>>> checking for libiconv_open in -liconv... no
>>> configure: error: *** No iconv() implementation found in C library
>>> or libiconv
>>> *** Error code 1
>>>
>>> Stop.
>>> make: stopped in /usr/pkgsrc/devel/glib2
>>>
>>> is there a problem with updating pkgsrc via "cvs -q update -dP",
>>> i.e. am I missing some cvs option to actually get the latest and
>>> greatest, or is there a problem in glib2 HEAD?
>>
>> What platform?
>>
>> I've never seen this error on NetBSD
>
> Actually, this is NetBSD i386 - but upgraded from 1.6.2 and  
> corresponding pkgsrc.
>
> I'll retry after cvs -q update -dPA...

That didn't change a thing, actually, CVS updated only around 10 files.
(Continue reading)

carl | 2 Apr 02:51 2010
Picon

fix for clamav-0.96 milter PLIST


PLIST for clamav 0.96 needs this added :

share/examples/clamav/clamav-milter.conf

Thank you

Carl


Gmane