Re: Strange pkg_info output

2004-05-26 Thread Garance A Drosihn
At 5:41 PM -0400 5/25/04, Chuck Swiger wrote:
Garance A Drosihn wrote:
At 4:49 PM -0400 5/25/04, Chuck Swiger wrote:
If you install perl from ports, you apparently get
bsdpan included.
Hmm.  How would I know if I had it?
I don't seem to have any port with the letters 'pan' in it.
and `locate bsdpan' does not find anything.  I guess I don't
really know what I should be looking for...
How about this:
22-sec% cat /usr/ports/lang/perl5.8/distinfo
MD5 (perl-5.8.2.tar.gz) = fa356b74f99166b63a68a322c3c68f91
SIZE (perl-5.8.2.tar.gz) = 11896287
MD5 (BSDPAN-5.8.0_1.tar.gz) = af9f075e073b14714cfeb8a7582013e7
SIZE (BSDPAN-5.8.0_1.tar.gz) = 6338
...?  :-)
Ugh.  When I tried grepping /var/db/pkg/*/*, I only looked for a
lowercase 'bsdpan'.  Yes, I do have it installed.  thanks.
--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange pkg_info output

2004-05-26 Thread Svein Halvor Halvorsen

[Jorn Argelo]
> Recently I came across something which kind of bothered me. Every time
> when pkg_info removes and/or registers a package it gives this output:
>
> pkg_info: package bsdpan-DBD-mysql-2.9003 has no origin recorded
> pkg_info: package bsdpan-DBI-1.42 has no origin recorded
> pkg_info: package bsdpan-GD-1.19 has no origin recorded
>
> Should I be worried about this? Or, how do I fix this?

Do you get this output only when using pkg_info as a regular user?
If so, take a look at the permissions on the directory and files in
/var/db/pkg/bsdpan-DBD-mysql-2.9003 et.al. If your umask is set at 077
when installing ports, this directory gets the wrong permission bits set.

I get this problem once in a while put it's solved doing:

find /var/db/pkg -type f -print0 | xargs -0 chmod 755
find /var/db/pkg -type d -print0 | xargs -0 chmod 644


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


Re: Strange pkg_info output

2004-05-26 Thread Jorn Argelo


> 
> On Tue, May 25, 2004 at 14:01:11 EDT, Chuck Swiger scribbled these
> curious markings:
> > >pkg_info: package bsdpan-DBD-mysql-2.9003 has no origin recorded
> > >pkg_info: package bsdpan-DBI-1.42 has no origin recorded
> > >pkg_info: package bsdpan-GD-1.19 has no origin recorded
> > 
> > >Should I be worried about this? Or, how do I fix this?
> 
> The messages are telling you that when you installed the package, 
BSDPAN
> did register it into the package database, but it (obviously) has no
> information about where from the ports tree you installed it; e.g., if
> you installed DBI from the ports tree, its origin would be
> databases/p5-DBI. Why you're installing packages that are in the ports
> tree without using the ports tree is beyond me. 

That's not true. The only packages I ever installed is portupgrade and 
cvsup. I used the ports tree for everything else. 
 
> > I would be interested in a fix for this as well, however.
> 
> The simplest solution would be to create a port out of the module in
> question. It's extremely simple; a typical Perl module's port makefile
> fits on one 80x25 console screen, and its pkg-plist would fit on an
> 80x10 screen :). I've done this myself a number of times. Just 
remember
> that if you put the port in the category Makefile (e.g.
> databases/Makefile), any subsequent cvsup / cvs update will remove 
your 
> changes.
>


> -- 
> I abhor a system designed for the "user", if that word is a coded
> pejorative meaning "stupid and unsophisticated".  -- Ken Thompson
> -
> Unix is user friendly. However, it isn't idiot friendly.
> -
> Please CC me in all replies, even if I'm on the relevant list(s).
> 
> 


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


Re: Strange pkg_info output

2004-05-25 Thread Chuck Swiger
Christopher Nehren wrote:
On Tue, May 25, 2004 at 14:01:11 EDT, Chuck Swiger scribbled these
curious markings:
"Elbereth"...? :-)
pkg_info: package bsdpan-DBD-mysql-2.9003 has no origin recorded
pkg_info: package bsdpan-DBI-1.42 has no origin recorded
pkg_info: package bsdpan-GD-1.19 has no origin recorded

Should I be worried about this? Or, how do I fix this?
The messages are telling you that when you installed the package, BSDPAN
did register it into the package database, but it (obviously) has no
information about where from the ports tree you installed it; e.g., if
you installed DBI from the ports tree, its origin would be
databases/p5-DBI.
The CPAN module is Perl's mechanism for updating itself, and thus is kept more 
up-to-date than the FreeBSD ports collection.

The merits of customizing Perl more specificly for FreeBSD should be 
counterbalanced by the concern of modifying the behavior of a standard tool 
(similar to the concerns over archivers/gtar).

Why you're installing packages that are in the ports tree without using the
ports tree is beyond me. If you want it to be updated, send-pr with a
patch.
Unfortunately, the maintainer of perl is currently AWOL.  See:
http://www.freebsd.org/cgi/query-pr.cgi?pr=61444
http://www.freebsd.org/cgi/query-pr.cgi?pr=62209
http://www.freebsd.org/cgi/query-pr.cgi?pr=65925# from me...
http://www.freebsd.org/cgi/query-pr.cgi?pr=66782
--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange pkg_info output

2004-05-25 Thread Chuck Swiger
Garance A Drosihn wrote:
At 4:49 PM -0400 5/25/04, Chuck Swiger wrote:
If you install perl from ports, you apparently get bsdpan included.
Hmm.  How would I know if I had it?
I don't seem to have any port with the letters 'pan' in it.
and `locate bsdpan' does not find anything.  I guess I don't
really know what I should be looking for...
How about this:
22-sec% cat /usr/ports/lang/perl5.8/distinfo
MD5 (perl-5.8.2.tar.gz) = fa356b74f99166b63a68a322c3c68f91
SIZE (perl-5.8.2.tar.gz) = 11896287
MD5 (BSDPAN-5.8.0_1.tar.gz) = af9f075e073b14714cfeb8a7582013e7
SIZE (BSDPAN-5.8.0_1.tar.gz) = 6338
...?  :-)
--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange pkg_info output

2004-05-25 Thread Garance A Drosihn
At 4:49 PM -0400 5/25/04, Chuck Swiger wrote:
Garance A Drosihn wrote:
   [ ...snip thread about "pkg_info: ... has no origin recorded"
messages... ]
In my case, it was happening on something that I had always
upgraded via ports & portupgrade.  It was not bsdpan (which I do
not even have installed...), but I do not remember what it was.
If you install perl from ports, you apparently get bsdpan included.
Hmm.  How would I know if I had it?
I don't seem to have any port with the letters 'pan' in it.
and `locate bsdpan' does not find anything.  I guess I don't
really know what I should be looking for...
--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange pkg_info output

2004-05-25 Thread Christopher Nehren
On Tue, May 25, 2004 at 14:01:11 EDT, Chuck Swiger scribbled these
curious markings:
> >pkg_info: package bsdpan-DBD-mysql-2.9003 has no origin recorded
> >pkg_info: package bsdpan-DBI-1.42 has no origin recorded
> >pkg_info: package bsdpan-GD-1.19 has no origin recorded
> 
> >Should I be worried about this? Or, how do I fix this?

The messages are telling you that when you installed the package, BSDPAN
did register it into the package database, but it (obviously) has no
information about where from the ports tree you installed it; e.g., if
you installed DBI from the ports tree, its origin would be
databases/p5-DBI. Why you're installing packages that are in the ports
tree without using the ports tree is beyond me. If you want it to be
updated, send-pr with a patch.

> I would be interested in a fix for this as well, however.

The simplest solution would be to create a port out of the module in
question. It's extremely simple; a typical Perl module's port makefile
fits on one 80x25 console screen, and its pkg-plist would fit on an
80x10 screen :). I've done this myself a number of times. Just remember
that if you put the port in the category Makefile (e.g.
databases/Makefile), any subsequent cvsup / cvs update will remove your 
changes.

-- 
I abhor a system designed for the "user", if that word is a coded
pejorative meaning "stupid and unsophisticated".  -- Ken Thompson
-
Unix is user friendly. However, it isn't idiot friendly.
-
Please CC me in all replies, even if I'm on the relevant list(s).


pgp9SHi8jGc7e.pgp
Description: PGP signature


Re: Strange pkg_info output

2004-05-25 Thread Chuck Swiger
Garance A Drosihn wrote:
[ ...snip thread about "pkg_info: ... has no origin recorded" messages... ]
In my case, it was happening on something that I had always
upgraded via ports & portupgrade.  It was not bsdpan (which I do
not even have installed...), but I do not remember what it was.
If you install perl from ports, you apparently get bsdpan included.
I think bsdpan is supposed to create the appropriate package bill-of-materials 
for Perl modules when you use CPAN, only things seems to behave differently 
than the packages you get using the ports tree (which have a "p5-" prefix 
rather than "bsdpan-").

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


Re: Strange pkg_info output

2004-05-25 Thread Garance A Drosihn
At 2:01 PM -0400 5/25/04, Chuck Swiger wrote:
Jorn Argelo wrote:
Recently I came across something which kind of bothered me. Every 
time when pkg_info removes and/or registers a package it gives this 
output:

pkg_info: package bsdpan-DBD-mysql-2.9003 has no origin recorded
pkg_info: package bsdpan-DBI-1.42 has no origin recorded
pkg_info: package bsdpan-GD-1.19 has no origin recorded
I've seen the same type of messages either when updating a
Perl module using CPAN, or now when using perl-5.8.4 (via
local modification to the port).
Should I be worried about this? Or, how do I fix this?
The messages are annoying but mostly harmless.
I have seen this too.  In fact, I think I ran into it the last
time I updated the ports on some of my systems.  I annoyed me
enough that I kept trying things until it went away, but to be
honest I don't remember what exactly I did that cured it.
In my case, it was happening on something that I had always
upgraded via ports & portupgrade.  It was not bsdpan (which I do
not even have installed...), but I do not remember what it was.
--
Garance Alistair Drosehn=   [EMAIL PROTECTED]
Senior Systems Programmer   or  [EMAIL PROTECTED]
Rensselaer Polytechnic Instituteor  [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange pkg_info output

2004-05-25 Thread Jorn Argelo
Chuck Swiger wrote:
Jorn Argelo wrote:
Recently I came across something which kind of bothered me. Every 
time when pkg_info removes and/or registers a package it gives this 
output:

pkg_info: package bsdpan-DBD-mysql-2.9003 has no origin recorded
pkg_info: package bsdpan-DBI-1.42 has no origin recorded
pkg_info: package bsdpan-GD-1.19 has no origin recorded

I've seen the same type of messages either when updating a Perl module 
using CPAN, or now when using perl-5.8.4 (via local modification to 
the port).

Should I be worried about this? Or, how do I fix this?

The messages are annoying but mostly harmless.  I suspect that the 
package dependency information is no longer reliable, however, but if 
you are already updating Perl software past the versions currently in 
the ports repository, hopefully you know what you are doing.  :-)

No, I won't. I always build everything from the ports-tree.
I would be interested in a fix for this as well, however.
Thanks for your reply.
Cheers,
Jorn
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Strange pkg_info output

2004-05-25 Thread Chuck Swiger
Jorn Argelo wrote:
Recently I came across something which kind of bothered me. Every time 
when pkg_info removes and/or registers a package it gives this output:

pkg_info: package bsdpan-DBD-mysql-2.9003 has no origin recorded
pkg_info: package bsdpan-DBI-1.42 has no origin recorded
pkg_info: package bsdpan-GD-1.19 has no origin recorded
I've seen the same type of messages either when updating a Perl module using 
CPAN, or now when using perl-5.8.4 (via local modification to the port).

Should I be worried about this? Or, how do I fix this?
The messages are annoying but mostly harmless.  I suspect that the package 
dependency information is no longer reliable, however, but if you are already 
updating Perl software past the versions currently in the ports repository, 
hopefully you know what you are doing.  :-)

I would be interested in a fix for this as well, however.
--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Strange pkg_info output

2004-05-25 Thread Jorn Argelo
Hi all,
Recently I came across something which kind of bothered me. Every time 
when pkg_info removes and/or registers a package it gives this output:

pkg_info: package bsdpan-DBD-mysql-2.9003 has no origin recorded
pkg_info: package bsdpan-DBI-1.42 has no origin recorded
pkg_info: package bsdpan-GD-1.19 has no origin recorded
Should I be worried about this? Or, how do I fix this?
Thanks,
Jorn.

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