pkgsrc-Users archive

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

Re: courier [was Re: NetBSD 10.0/x86_64 bulk build status]



On Thu, Jun 26, 2025 at 10:52:07PM +0200, Thomas Klausner wrote:
> On Tue, Jun 24, 2025 at 01:05:20PM +0200, Thomas Klausner wrote:
> > > meta-pkgs/courier                            pkgsrc-users%NetBSD.org@localhost
> > 
> > One of the dependencies' binary package looks broken:
> > 
> > couriertcpd-1.3.5: Creating user ``courier''
> > useradd: Warning: home directory `/nonexistent' doesn't exist, and -m was not specified
> > courier-maildir-1.3.5: copying /usr/pkg/share/examples/courier/quotawarnmsg to /usr/pkg/etc/courier/quotawarnmsg
> > courier-maildir-1.3.5: copying /usr/pkg/share/examples/courier/sharedindexupdate to /usr/pkg/etc/courier/sharedindexupdate
> > courier-authlib-0.72.1: copying /usr/pkg/share/examples/courier-authlib/authdaemonrc.dist to /usr/pkg/etc/authlib/authdaemonrc
> > ===========================================================================
> > The following files should be created for courier-authlib-0.72.1:
> > 
> > 	/etc/rc.d/authdaemond (m=0755)
> > 	    [/usr/pkg/share/examples/rc.d/authdaemond]
> > 
> > ===========================================================================
> > maildrop-3.1.6: setting permissions on /usr/pkg/bin/lockmail (o=root, g=mail, m=755)
> > maildrop-3.1.6: setting permissions on /usr/pkg/bin/maildrop (o=root, g=mail, m=4555)
> > p11-kit-0.25.5: copying /usr/pkg/share/examples/p11-kit/pkcs11.conf.example to /usr/pkg/etc/pkcs11.conf
> > wget-1.25.0nb1: copying /usr/pkg/share/examples/wget/wgetrc to /usr/pkg/etc/wgetrc
> > ===========================================================================
> > The following users need to be created for courier-mta-1.3.5nb2:
> > 
> > 	courier (uid = 1008): mail, /nonexistent, /sbin/nologin
> > 
> > ===========================================================================
> > pkg_add: install script returned error status
> > 
> > but I can't tell which one's.
> 
> I've tried reproducing it locally and could. With a -current pkg_add,
> building meta-pkgs/courier, I see:

in a pbulk

> ===========================================================================
> The following users need to be created for courier-mta-1.3.5nb2:
> 
>         courier (uid = 1004): mail, /nonexistent, /sbin/nologin
> 
> ===========================================================================
> pkg_add: courier-mta-1.3.5nb2: install script returned error status
> 
> 
> However, when I do 'make DEPENDS_TARGET=bin-install install-depends'
> in meta-pkgs/courier (after removing the courier user), it works:
> 
> ...
> => Installing couriertcpd>=1.3.5 from /packages/All
> couriertcpd-1.3.5: Creating user ``courier''
> useradd: Warning: home directory `/nonexistent' doesn't exist, and -m was not specified
> couriertcpd-1.3.5 successfully installed.
> => Returning to build of courier-1.3.5
> ...
> 
> Does anyone have an idea that would explain the difference?
>  Thomas


Home | Main Index | Thread Index | Old Index