pkgsrc-Users archive

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

Re: Committer Request - wip/newsraft



Greg Troxel <gdt%lexort.com@localhost> wrote:

> Kevin Bloom <kevin.bloom%posteo.net@localhost> writes:
> 
> >> This seems off.  A buildlink3 results in a full depends, normally, and
> >> one uses DEPENDS for packages that must be present at runtime but which
> >> are not used at build time.
> >
> > So, in other words, I should be able to remove the DEPENDS for the
> > packages that have bl3s? I believe I tried this with curl and it
> > threw runtime errors -- maybe an issue with compiler flags?
> 
> Yes, you should.   If something goes wrong, let's debug it.

You were correct, it's working fine without the depends.

> In the old days, one ran install as root and it set -u -g to control how
> the file ended up.  In modern pkgsrc, one installs as a non-root user,
> and uses the system install where you still pass -u -g.  But instead of
> setting the uid/gid of the resulting file, the file is the unpriv user,
> and there is METALOG that has the intended values.  This needs -U -M.
> When the binary package is created, it reads METALOG and uses that for
> the owner/gid in the tarball so when it is unpacked it comes out right.
> 
> I am unclear on if pax writes METALOG.  pax(1) does not say it does.
> See install(1) for METALOG.  I am not finding info about METALOG in tar
> or pkg_create.

I could change to using INSTALL_DATA if that would be preferred.

> "make fetch" got not found.   To repro, rm your
> /usr/pkgsrc/distfiles/foo and rerun.  Or better yet move it someplace
> safe until you can compare to the new one.

Fixed this.

Let me know if there are any other issues.


Home | Main Index | Thread Index | Old Index