Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Oct 2020 10:40:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 244596] pkgbase: duplicate files and directories in `make packages`
Message-ID:  <bug-244596-227-rcVv2igFvX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-244596-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-244596-227@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 #4 from Martin <martin.jakob@gmx.com> ---
The lua script also finds errors in regard to some hardlinks

error: entries point to the same inode but have different meta:
./root/.profile,./.profile in line 2126,2127. off by "mode"

which comes from the different mode settings between the "hardlinked" files:

./.profile       type=3Dfile  uname=3Droot  gname=3Dwheel  mode=3D0555  siz=
e=3D567=20
tags=3Dpackage=3Druntime
./root/.profile  type=3Dfile  uname=3Droot  gname=3Dwheel  mode=3D0644  siz=
e=3D567=20
tags=3Dpackage=3Druntime,config

these:
error: entries point to the same inode but have different meta:
./root/.cshrc,./.cshrc in line 2149,2153. off by "mode"
->
./.cshrc       type=3Dfile  uname=3Droot  gname=3Dwheel  mode=3D0555  size=
=3D1083=20
tags=3Dpackage=3Druntime
./root/.cshrc  type=3Dfile  uname=3Droot  gname=3Dwheel  mode=3D0644  size=
=3D1083=20
tags=3Dpackage=3Druntime,config

error: entries point to the same inode but have different meta:
./etc/pam.d/ftp,./etc/pam.d/ftpd in line 2363,2361. off by "mode"
->
./etc/pam.d/ftp   type=3Dfile  uname=3Droot  gname=3Dwheel  mode=3D0555  si=
ze=3D528=20
tags=3Dpackage=3Dutilities
./etc/pam.d/ftpd  type=3Dfile  uname=3Droot  gname=3Dwheel  mode=3D0644  si=
ze=3D528=20
tags=3Dpackage=3Dutilities,config

and a more hardlinks in the /usr/libexec/dwatch/ directory:
error: entries point to the same inode but have different meta:
./usr/libexec/dwatch/ip-receive,./usr/libexec/dwatch/ip-send,./usr/libexec/=
dwatch/ip
in line 3486,3487,3414. off by "mode"
error: entries point to the same inode but have different meta:
./usr/libexec/dwatch/openat,./usr/libexec/dwatch/open in line 3488,3429. of=
f by
"mode"
error: entries point to the same inode but have different meta:
./usr/libexec/dwatch/proc-exit,./usr/libexec/dwatch/proc-exec-failure,./usr=
/libexec/dwatch/proc-exec,./usr/libexec/dwatch/proc-signal-discard,./usr/li=
bexec/dwatch/proc-create,./usr/libexec/dwatch/proc-signal-send,./usr/libexe=
c/dwatch/proc-exec-success,./usr/libexec/dwatch/proc-status,./usr/libexec/d=
watch/proc-signal,./usr/libexec/dwatch/proc-signal-clear,./usr/libexec/dwat=
ch/proc
in line 3495,3492,3491,3498,3490,3499,3494,3500,3496,3497,3432. off by "mod=
e"
...

maybe there is an easy fix for this?

--=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-227-rcVv2igFvX>