Bug 258635 - Every portsnap fetch update get textproc/*-mythes, textproc/*-hyphen, */hyphen and */mythes ports
Summary: Every portsnap fetch update get textproc/*-mythes, textproc/*-hyphen, */hyphe...
Status: Closed FIXED
Alias: None
Product: Services
Classification: Unclassified
Component: Portsnap (show other bugs)
Version: unspecified
Hardware: amd64 Any
: --- Affects Some People
Assignee: Colin Percival
Depends on:
Reported: 2021-09-20 18:04 UTC by VVD
Modified: 2021-09-21 14:19 UTC (History)
4 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description VVD 2021-09-20 18:04:54 UTC
12.2 amd64.

Every time I run "portsnap fetch update" I get updates for all ports textproc/*-mythes, textproc/*-hyphen, */hyphen and */mythes if any other port was updated:

# portsnap fetch update
Looking up portsnap.FreeBSD.org mirrors... 4 mirrors found.
Fetching snapshot tag from ipv4.aws.portsnap.freebsd.org... done.
Fetching snapshot metadata... done.
Updating from Mon Sep 20 19:44:27 MSK 2021 to Mon Sep 20 20:18:51 MSK 2021.
Fetching 1 metadata patches. done.
Applying metadata patches... done.
Fetching 0 metadata files... done.
Fetching 35 patches. 
(35/35) 100.00%  done.                               
Applying patches... 
Fetching 0 new ports or files... done.
Removing old files and directories... done.
Extracting new files:
Building new INDEX files... done.

This issue is same on 2 different hosts.
Removed /var/db/portsnap/* didn't help.
This behavior started yesterday or the day before yesterday.
Comment 1 Henk Miltenburg 2021-09-20 20:06:52 UTC
I experienced the same problem. I found that each folder contains two makefiles. One with the name Makefile and another with the same name with a trailing space. Maybe this helps.
Comment 2 Dima Panov freebsd_committer 2021-09-20 20:27:59 UTC
Pointy hat to @sunpoet :( 

His games with "Avoid using %% in Makefile Use ${DATAIDR} instead of %%DATADIR%%" leads to this result :( 

Comment 3 Po-Chuan Hsieh freebsd_committer 2021-09-21 04:05:00 UTC
I removed the unintended backup files ("Makefile ") in 7774ccb4f56cfb8e4713455242e644d968a5e2ad and 63b6f938109571011e834d4f1e97c248c1919102.

I made in-place replacement with sed -i '' but somehow an unintended space was added.
Comment 4 VVD 2021-09-21 14:19:41 UTC
Fixed for me.