Re: pkg_add -u fails on nonexistant package

2019-08-23 Thread Marc Espie
On Thu, Aug 22, 2019 at 07:40:28AM -0500, Jordon wrote:
> Thanks - that fixed it.  I figured there was some cleanup or maintenance that 
> needed to be done - i just didn't know how to do it.  In running pkg_check, i 
> did get a lot of these:

Packages normally don't need maintenance.  What you're seeing looks like a
very unclean unmount at some point or a failing disk.

pkg_check will recover the best it can from these. It was originally written
for other developers, who tend to crash their testing kernels a lot... 
shouldn't happen THAT much for non kernel developers/crash-test bunnies.



Re: pkg_add -u fails on nonexistant package

2019-08-22 Thread Jordon
Yeah, back before Skylake was supported.  I did get a pre-Skylake system 
(broadwell, i think) that is the openbsd system i am using now.  I did get it 
performing ok, but it was lacking some features.  I think it was audio/video 
sources but i could be wrong.  That was a couple years ago! :)

Anyway, i tried that command and i think it got rid of some of the errors.  
There are still a few but im pretty sure it is fewer than it was.

Thanks!


> On Aug 22, 2019, at 11:50, Stuart Henderson  wrote:
> 
> On 2019-08-21, Jordon  wrote:
>> A few years ago I attempted to make a port of obs-studio for openbsd.  
>> With help from this mailing list, I got something that ran but 
>> wasn\xe2\x80\x99t
>> particularly useful, as audio and video sources were not there.
> 
> erm, audio and video sources did work, via ffmpeg.
> it didn't work well on your machine though.
> 
> https://marc.info/?l=openbsd-ports=148404688530732=2
> 
>> On 2019-08-22, Jordon  wrote:
>> Thanks - that fixed it.  I figured there was some cleanup or maintenance 
>> that needed to be done - i just didn't know how to do it.  In running 
>> pkg_check, i did get a lot of these:
>> 
>> --- .libs9-partial-gcc-libs-8.3.0p1.1 ---
>> lib should exist
>> lib is not a directory
>> lib/libatomic.so.3.0 should exist
>> lib/libatomic.so.3.0 is not a file
>> can't read lib/libatomic.so.3.0
>> lib/libestdc++.so.19.0 should exist
>> lib/libestdc++.so.19.0 is not a file
>> can't read lib/libestdc++.so.19.0
>> 
>> Are those problematic?  How do I fix them or should I just ignore them?
> 
> you probably either had some crash or failure during a pkg_add or pkg_delete
> operation, or some filesystem corruption.
> 
> does pkg_delete .libs9-partial-gcc-libs get rid of it?
> 
> 



Re: pkg_add -u fails on nonexistant package

2019-08-22 Thread Jordon
I do the package upgrades as root (‘su -‘) and I’m pretty sure I was doing the 
pkg_check commands in the same terminal this morning.

> On Aug 22, 2019, at 11:00, Isak Holmstroem  wrote:
> 
> How did you run the command? As your user or with doas/or as root?
> 
> I have seen problems with permissions with pkg_check as my user can not read 
> all the directories that pkg_check are trying to read.
> 
> /Isak
> 
>> 
>> From: Jordon 
>> Sent: Thu Aug 22 14:40:28 CEST 2019
>> To: Isak Holmström 
>> Cc: 
>> Subject: Re: pkg_add -u fails on nonexistant package
>> 
>> 
>> Thanks - that fixed it.  I figured there was some cleanup or maintenance 
>> that needed to be done - i just didn't know how to do it.  In running 
>> pkg_check, i did get a lot of these:
>> 
>> --- .libs9-partial-gcc-libs-8.3.0p1.1 ---
>> lib should exist
>> lib is not a directory
>> lib/libatomic.so.3.0 should exist
>> lib/libatomic.so.3.0 is not a file
>> can't read lib/libatomic.so.3.0
>> lib/libestdc++.so.19.0 should exist
>> lib/libestdc++.so.19.0 is not a file
>> can't read lib/libestdc++.so.19.0
>> 
>> Are those problematic?  How do I fix them or should I just ignore them?
>> 
>> Thanks again!
>> 
>> 
>> 
>> 
>>>>> On Aug 22, 2019, at 00:27, Isak Holmström  wrote:
>>> Have you tried pkg_check to see failing messages for missing files? 
>>> 
>>>> On August 21, 2019 11:03:06 PM UTC, Jordon  wrote:
>>>> A few years ago I attempted to make a port of obs-studio for openbsd. 
>>>> With help from this mailing list, I got something that ran but wasn’t
>>>> particularly useful, as audio and video sources were not there.  I gave
>>>> up on that project and since then have been using that machine for
>>>> local development on a cgi-based website.
>>>> This system runs current and gets updated about once a week or so.  I
>>>> also try to do a ‘pkg_add -u’ regularly too.  Every time I do that, it
>>>> ends with this:
>>>> Fatal error: can't parse OpenBSD::Requiring: writing
>>>> /var/db/pkg/obs-studio-17.0.0/+REQUIRING: No such file or directory at
>>>> /usr/libdata/perl5/OpenBSD/RequiredBy.pm line 30.
>>>> 
>>>> That is the package I was making and it is no longer installed.  How
>>>> does pkg_add even know about it, as it isn't part of the base packages?
>>>> What can I do to get rid of that message?  It has been doing that for a
>>>> while and I am finally annoyed enough to try to fix it!
>>>> 
>>>> Jordon
>>> 
>>> --
>>> Isak - OBSD.xyz
>> 



Re: pkg_add -u fails on nonexistant package

2019-08-22 Thread Stuart Henderson
On 2019-08-21, Jordon  wrote:
> A few years ago I attempted to make a port of obs-studio for openbsd.  
> With help from this mailing list, I got something that ran but 
> wasn\xe2\x80\x99t
> particularly useful, as audio and video sources were not there.

erm, audio and video sources did work, via ffmpeg.
it didn't work well on your machine though.

https://marc.info/?l=openbsd-ports=148404688530732=2

On 2019-08-22, Jordon  wrote:
> Thanks - that fixed it.  I figured there was some cleanup or maintenance that 
> needed to be done - i just didn't know how to do it.  In running pkg_check, i 
> did get a lot of these:
>
> --- .libs9-partial-gcc-libs-8.3.0p1.1 ---
> lib should exist
> lib is not a directory
> lib/libatomic.so.3.0 should exist
> lib/libatomic.so.3.0 is not a file
> can't read lib/libatomic.so.3.0
> lib/libestdc++.so.19.0 should exist
> lib/libestdc++.so.19.0 is not a file
> can't read lib/libestdc++.so.19.0
>
> Are those problematic?  How do I fix them or should I just ignore them?

you probably either had some crash or failure during a pkg_add or pkg_delete
operation, or some filesystem corruption.

does pkg_delete .libs9-partial-gcc-libs get rid of it?




Re: pkg_add -u fails on nonexistant package

2019-08-22 Thread Isak Holmstroem
How did you run the command? As your user or with doas/or as root?

I have seen problems with permissions with pkg_check as my user can not read 
all the directories that pkg_check are trying to read.

/Isak

> 
> From: Jordon 
> Sent: Thu Aug 22 14:40:28 CEST 2019
> To: Isak Holmström 
> Cc: 
> Subject: Re: pkg_add -u fails on nonexistant package
> 
> 
> Thanks - that fixed it.  I figured there was some cleanup or maintenance that 
> needed to be done - i just didn't know how to do it.  In running pkg_check, i 
> did get a lot of these:
> 
> --- .libs9-partial-gcc-libs-8.3.0p1.1 ---
> lib should exist
> lib is not a directory
> lib/libatomic.so.3.0 should exist
> lib/libatomic.so.3.0 is not a file
> can't read lib/libatomic.so.3.0
> lib/libestdc++.so.19.0 should exist
> lib/libestdc++.so.19.0 is not a file
> can't read lib/libestdc++.so.19.0
> 
> Are those problematic?  How do I fix them or should I just ignore them?
> 
> Thanks again!
> 
> 
> 
> 
> >> On Aug 22, 2019, at 00:27, Isak Holmström  wrote:
> > Have you tried pkg_check to see failing messages for missing files? 
> > 
> >> On August 21, 2019 11:03:06 PM UTC, Jordon  wrote:
> >> A few years ago I attempted to make a port of obs-studio for openbsd. 
> >> With help from this mailing list, I got something that ran but wasn’t
> >> particularly useful, as audio and video sources were not there.  I gave
> >> up on that project and since then have been using that machine for
> >> local development on a cgi-based website.
> >> This system runs current and gets updated about once a week or so.  I
> >> also try to do a ‘pkg_add -u’ regularly too.  Every time I do that, it
> >> ends with this:
> >> Fatal error: can't parse OpenBSD::Requiring: writing
> >> /var/db/pkg/obs-studio-17.0.0/+REQUIRING: No such file or directory at
> >> /usr/libdata/perl5/OpenBSD/RequiredBy.pm line 30.
> >> 
> >> That is the package I was making and it is no longer installed.  How
> >> does pkg_add even know about it, as it isn't part of the base packages?
> >> What can I do to get rid of that message?  It has been doing that for a
> >> while and I am finally annoyed enough to try to fix it!
> >> 
> >> Jordon
> > 
> > --
> > Isak - OBSD.xyz
> 



Re: pkg_add -u fails on nonexistant package

2019-08-22 Thread Jordon
Thanks - that fixed it.  I figured there was some cleanup or maintenance that 
needed to be done - i just didn't know how to do it.  In running pkg_check, i 
did get a lot of these:

--- .libs9-partial-gcc-libs-8.3.0p1.1 ---
lib should exist
lib is not a directory
lib/libatomic.so.3.0 should exist
lib/libatomic.so.3.0 is not a file
can't read lib/libatomic.so.3.0
lib/libestdc++.so.19.0 should exist
lib/libestdc++.so.19.0 is not a file
can't read lib/libestdc++.so.19.0

Are those problematic?  How do I fix them or should I just ignore them?

Thanks again!




>> On Aug 22, 2019, at 00:27, Isak Holmström  wrote:
> Have you tried pkg_check to see failing messages for missing files? 
> 
>> On August 21, 2019 11:03:06 PM UTC, Jordon  wrote:
>> A few years ago I attempted to make a port of obs-studio for openbsd. 
>> With help from this mailing list, I got something that ran but wasn’t
>> particularly useful, as audio and video sources were not there.  I gave
>> up on that project and since then have been using that machine for
>> local development on a cgi-based website.
>> This system runs current and gets updated about once a week or so.  I
>> also try to do a ‘pkg_add -u’ regularly too.  Every time I do that, it
>> ends with this:
>> Fatal error: can't parse OpenBSD::Requiring: writing
>> /var/db/pkg/obs-studio-17.0.0/+REQUIRING: No such file or directory at
>> /usr/libdata/perl5/OpenBSD/RequiredBy.pm line 30.
>> 
>> That is the package I was making and it is no longer installed.  How
>> does pkg_add even know about it, as it isn't part of the base packages?
>> What can I do to get rid of that message?  It has been doing that for a
>> while and I am finally annoyed enough to try to fix it!
>> 
>> Jordon
> 
> --
> Isak - OBSD.xyz



Re: pkg_add -u fails on nonexistant package

2019-08-22 Thread Jordon
Thanks - that fixed it.  I figured there was some cleanup or maintenance that 
needed to be done - i just didn't know how to do it.  In running pkg_check, i 
did get a lot of these:

--- .libs9-partial-gcc-libs-8.3.0p1.1 ---
lib should exist
lib is not a directory
lib/libatomic.so.3.0 should exist
lib/libatomic.so.3.0 is not a file
can't read lib/libatomic.so.3.0
lib/libestdc++.so.19.0 should exist
lib/libestdc++.so.19.0 is not a file
can't read lib/libestdc++.so.19.0

Are those problematic?  How do I fix them or should I just ignore them?

Thanks again!

Jordon


> On Aug 22, 2019, at 00:27, Isak Holmström  wrote:
> 
> Have you tried pkg_check to see failing messages for missing files? 
> 
>> On August 21, 2019 11:03:06 PM UTC, Jordon  wrote:
>> A few years ago I attempted to make a port of obs-studio for openbsd. 
>> With help from this mailing list, I got something that ran but wasn’t
>> particularly useful, as audio and video sources were not there.  I gave
>> up on that project and since then have been using that machine for
>> local development on a cgi-based website.
>> This system runs current and gets updated about once a week or so.  I
>> also try to do a ‘pkg_add -u’ regularly too.  Every time I do that, it
>> ends with this:
>> Fatal error: can't parse OpenBSD::Requiring: writing
>> /var/db/pkg/obs-studio-17.0.0/+REQUIRING: No such file or directory at
>> /usr/libdata/perl5/OpenBSD/RequiredBy.pm line 30.
>> 
>> That is the package I was making and it is no longer installed.  How
>> does pkg_add even know about it, as it isn't part of the base packages?
>> What can I do to get rid of that message?  It has been doing that for a
>> while and I am finally annoyed enough to try to fix it!
>> 
>> Jordon
> 
> --
> Isak - OBSD.xyz
> 



Re: pkg_add -u fails on nonexistant package

2019-08-21 Thread Isak Holmström
Have you tried pkg_check to see failing messages for missing files? 

On August 21, 2019 11:03:06 PM UTC, Jordon  wrote:
>A few years ago I attempted to make a port of obs-studio for openbsd. 
>With help from this mailing list, I got something that ran but wasn’t
>particularly useful, as audio and video sources were not there.  I gave
>up on that project and since then have been using that machine for
>local development on a cgi-based website.
>This system runs current and gets updated about once a week or so.  I
>also try to do a ‘pkg_add -u’ regularly too.  Every time I do that, it
>ends with this:
>Fatal error: can't parse OpenBSD::Requiring: writing
>/var/db/pkg/obs-studio-17.0.0/+REQUIRING: No such file or directory at
>/usr/libdata/perl5/OpenBSD/RequiredBy.pm line 30.
>
>That is the package I was making and it is no longer installed.  How
>does pkg_add even know about it, as it isn't part of the base packages?
>What can I do to get rid of that message?  It has been doing that for a
>while and I am finally annoyed enough to try to fix it!
>
>Jordon

--
Isak - OBSD.xyz



pkg_add -u fails on nonexistant package

2019-08-21 Thread Jordon
A few years ago I attempted to make a port of obs-studio for openbsd.  With 
help from this mailing list, I got something that ran but wasn’t particularly 
useful, as audio and video sources were not there.  I gave up on that project 
and since then have been using that machine for local development on a 
cgi-based website.
This system runs current and gets updated about once a week or so.  I also try 
to do a ‘pkg_add -u’ regularly too.  Every time I do that, it ends with this:
Fatal error: can't parse OpenBSD::Requiring: writing 
/var/db/pkg/obs-studio-17.0.0/+REQUIRING: No such file or directory at 
/usr/libdata/perl5/OpenBSD/RequiredBy.pm line 30.

That is the package I was making and it is no longer installed.  How does 
pkg_add even know about it, as it isn't part of the base packages?  What can I 
do to get rid of that message?  It has been doing that for a while and I am 
finally annoyed enough to try to fix it!

Jordon