[Bug 250439] check leftovers phase fails if @sample is a symlink with pkg 1.15.7+

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Nov 19 04:35:02 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=250439

--- Comment #4 from VVD <vvd at 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 = strspn(in, "0123456789")) > 0) {

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

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


More information about the freebsd-ports-bugs mailing list