Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Nov 2022 21:11:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkgbase@FreeBSD.org
Subject:   [Bug 244596] pkgbase: duplicate files and directories in `make packages`
Message-ID:  <bug-244596-36141-B7vuOejkr6@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-244596-36141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-244596-36141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D244596

--- Comment #6 from Ed Maste <emaste@freebsd.org> ---
Looking at the first entry:

error: entries point to the same inode but have different meta:
./etc/pam.d/ftpd,./etc/pam.d/ftp in line 1997,1998. off by "mode"

This comes from lib/libpam/pam.d/Makefile:

afterinstallconfig:
        ${INSTALL_LINK} ${TAG_ARGS} ${DESTDIR}${CONFDIR}/ftpd
${DESTDIR}${CONFDIR}/ftp

which uses share/mk/bsd.own.mk:

HRDLINK?=3D       -l h -o ${_LINKOWN} -g ${_LINKGRP} -m ${_LINKMODE}
...
INSTALL_LINK?=3D          ${INSTALL} ${HRDLINK}

results in METALOG:

./etc/pam.d/ftpd type=3Dfile uname=3Droot gname=3Dwheel mode=3D0644 size=3D=
359
tags=3Dpackage=3Dftp,config
./etc/pam.d/ftp type=3Dfile uname=3Droot gname=3Dwheel mode=3D0555 size=3D3=
59
tags=3Dpackage=3Druntime

The dwatch ones use e.g. `LINKS+=3D ${LIBEXECDIR}/dwatch/io
${LIBEXECDIR}/dwatch/io-done` rather than INSTALL_LINK explicitly.

(It looks like I've just found again what Martin reported in comment #4.)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-244596-36141-B7vuOejkr6>