pkgsrc-Users archive

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

Re: Intermittent package creation problems



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


Home | Main Index | Thread Index | Old Index