pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Intermittent package creation problems



For what it's worth, I reinstalled with OpenIndiana and these problems went away. Everything built fine. Thanks for your help.

On Sat, Apr 29, 2023 at 4:58 PM Mike Owens <mikeowens%gmail.com@localhost> wrote:
I think the find command is okay. I tried running it from the command line with the trailing slash and dot and it still works. I have also tried others (like the one in /usr/gnu/bin) by using different $PATHs.

I think the problem is that somewhere something is trying to resolve the find command within DESTDIR rather than in the normal $PATH. For example in this case it is trying to call
/opt/local/pkgsrc/pkgsrc/devel/gobject-introspection/work/.destdir/opt/local/find. And there is no find command there. Then the resultant error is somehow making its way into the PLIST.


On Sat, Apr 29, 2023 at 8:08 AM David Brownlee <abs%absd.org@localhost> wrote:
On Sat, 29 Apr 2023 at 11:49, Mike Owens <mikeowens%gmail.com@localhost> wrote:
>
> I am building 2023Q1 on Tribblix on a Sparc T5140. Everything seemed to be working well but eventually I started running into an intermittent problem with some packages. I get the following error:
>
> => Automatic manual page handling
> => Generating post-install file lists
> pkg_create: can't stat `/opt/local/pkgsrc/pkgsrc/devel/gobject-introspection/work/.destdir/opt/local/find: '/opt/local/pkgsrc/pkgsrc/devel/gobject-introspection/work/.destdir/opt/local/': No such file or directory'
> => Checking file-check results for gobject-introspection-1.74.0nb1
> ERROR: ************************************************************
> ERROR: The following files are in the PLIST but not in /opt/local/pkgsrc/pkgsrc/devel/gobject-introspection/work/.destdir/opt/local:
> ERROR:         /opt/local/pkgsrc/pkgsrc/devel/gobject-introspection/work/.destdir/opt/local/find: '/opt/local/pkgsrc/pkgsrc/devel/gobject-introspection/work/.destdir/opt/local/': No such file or directory
> *** Error code 1
>
> Basically, a command error is somehow making its way into the generated PLIST and causing the problem. However, when I run bmake again, it creates the package without error and moves on.
>
> This particular package uses Meson as the build system so I am not sure if I am mainly seeing this with that specific build system. There are other packages that build successfully without this problem. So I am not sure where the culprit is. My PATH is /opt/local/bin:/opt/local/sbin:/usr/sbin:/usr/bin.

That looks like an error from "find". Some random (possibly not
directly helpful thoughts):
- Does Tribblix "find" output errors to stderr (does "find
/no/such/file > /dev/null" show any output)?
- Is Tribblix "find" happy with trailing / - does "find
/opt/local/bin/" show any errors?
- Are there any other (non fatal) errors or warnings referencing find
or destdir/opt/local

David


--
Mike


--
Mike


Home | Main Index | Thread Index | Old Index