Bug 282244

Summary: Invalid unicode characters in MOVED breaks portupgrade & company
Product: Ports & Packages Reporter: Michael Galassi <michael>
Component: Package InfrastructureAssignee: Michael Osipov <michaelo>
Status: Closed FIXED    
Severity: Affects Some People CC: michael, michaelo
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   

Description Michael Galassi 2024-10-21 13:49:15 UTC
commit 11a451f52dc9f2137c3fd2bf36c9a5bd94c6b452 added a non US-ASCII string to /usr/ports/MOVED which causes all the pkg & portupgrade commands to fail.  The fix is to replace the unicode characters (0xe2 0x80 0x99) with a single quote (0x27).
Comment 1 Michael Galassi 2024-10-21 13:52:03 UTC
$ git diff MOVED
diff --git a/MOVED b/MOVED
index 28148b3116b8..27757acc201e 100644
--- a/MOVED
+++ b/MOVED
@@ -3538,5 +3538,5 @@ devel/qscintilla2-qt5|devel/qscintilla2@qt5|2024-10-19|Converted to a flavorized
 devel/qscintilla2-qt6|devel/qscintilla2@qt6|2024-10-19|Converted to a flavorized port. Use devel/qscintilla2@qt6 instead
 devel/qscintilla2-designerplugin-qt5|devel/qscintilla2-designerplugin@qt5|2024-10-19|Converted to a flavorized port. Use devel/qscintilla2-designerplugin@qt5 instead
 lang/gcc10||2024-10-20|Has expired: Unsupported by upstream. Use GCC 12 or newer instead
-security/pam_fprintd|security/fprintd|2024-10-21|pam_fprint is replaced by fprintd’s pam_fprintd module
+security/pam_fprintd|security/fprintd|2024-10-21|pam_fprint is replaced by fprintd's pam_fprintd module
 security/fprint_demo||2024-10-21|Most features are integrated into fprintd's helpers, and libfprint has an examples section
Comment 2 commit-hook freebsd_committer freebsd_triage 2024-10-21 15:33:39 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b1422573376d17a823abd10623a8b861a4e12f0f

commit b1422573376d17a823abd10623a8b861a4e12f0f
Author:     Michael Osipov <michaelo@FreeBSD.org>
AuthorDate: 2024-10-21 14:27:30 +0000
Commit:     Michael Osipov <michaelo@FreeBSD.org>
CommitDate: 2024-10-21 15:32:41 +0000

    Invalid unicode characters in MOVED breaks portupgrade & company

    PR:             282244
    Approved by:    jrm (mentor)
    Differential Revision:  https://reviews.freebsd.org/D47217

 MOVED | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)