Date: Fri, 06 Oct 2023 07:08:45 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 274298] sysutils/debootstrap: fails to setup bookworm Message-ID: <bug-274298-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274298 Bug ID: 274298 Summary: sysutils/debootstrap: fails to setup bookworm Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: nc@FreeBSD.org Reporter: dpslavov@hotmail.com Flags: maintainer-feedback?(nc@FreeBSD.org) Assignee: nc@FreeBSD.org When setup Debian bookworm debootstrap fails to install required package usr-is-merged which is "Transitional package to assert a merged-/usr system= ". The problem is caused by difference in implementations of "-k" option in GN= U vs BSD tar, in GNU implementation when it's specified it keeps existing symbol= ic links while in BSD it has no effect and overrides them. Here is an workarou= nd using GNU version: --- a/sysutils/debootstrap/Makefile +++ b/sysutils/debootstrap/Makefile @@ -16,6 +16,7 @@ RUN_DEPENDS=3D wget:ftp/wget \ bash:shells/bash \ ${LOCALBASE}/bin/grep:textproc/gnugrep \ gpgv2:security/gnupg \ + gtar:archivers/gtar \ =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ${LOCALBASE}/share/keyrings/ubuntu-archive-keyring.gpg:security/ubuntu-keyr= ing USES=3D gmake perl5 @@ -43,6 +44,9 @@ post-patch: @${REINPLACE_CMD} -e 's,grep,${LOCALBASE}/bin/grep,g' \ ${WRKSRC}/functions + @${REINPLACE_CMD} -e 's, tar , ${LOCALBASE}/bin/gtar ,g' \ + ${WRKSRC}/functions + post-install: ${INSTALL_MAN} ${WRKSRC}/debootstrap.8 \ ${STAGEDIR}${MAN8PREFIX}/man/man8/debootstrap.8 --=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-274298-7788>