Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 2020 04:35:02 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 250439] check leftovers phase fails if @sample is a symlink with pkg 1.15.7+
Message-ID:  <bug-250439-7788-29Oj22LrMb@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-250439-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-250439-7788@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=3D250439

--- Comment #4 from VVD <vvd@unislabs.com> ---
(In reply to Derek Schrock from comment #0)
> Since pkg 1.15.7
Are you sure about version number?

diff -urN pkg-1.15.6/NEWS pkg-1.15.7/NEWS
--- pkg-1.15.6/NEWS
+++ pkg-1.15.7/NEWS
@@ -1,3 +1,6 @@
+Changes from 1.15.6 to 1.15.7
+- Fix '%#' usage in scripts
+
 Changes from 1.15.5 to 1.15.6
 - Fix '%X' to include the file name and sum

diff -urN pkg-1.15.6/libpkg/utils.c pkg-1.15.7/libpkg/utils.c
--- pkg-1.15.6/libpkg/utils.c
+++ pkg-1.15.7/libpkg/utils.c
@@ -259,7 +259,7 @@
                         */
                        /* FALLTHRU */
                case '#':
-                       utstring_printf(buf, "%c", argc);
+                       utstring_printf(buf, "%d", argc);
                        break;
                default:
                        if ((sz =3D strspn(in, "0123456789")) > 0) {

Can you check different versions of pkg:
https://github.com/freebsd/pkg/releases ?

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-250439-7788-29Oj22LrMb>