Bug 283020 - ftp/curl: .netrc parser error
Summary: ftp/curl: .netrc parser error
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Po-Chuan Hsieh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-28 12:00 UTC by Mikael Urankar
Modified: 2024-12-22 11:23 UTC (History)
4 users (show)

See Also:
bugzilla: maintainer-feedback? (sunpoet)


Attachments
Patch picked from upstream repo (914 bytes, patch)
2024-12-06 09:40 UTC, Martin Neubauer
m.ne: maintainer-approval?
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mikael Urankar freebsd_committer freebsd_triage 2024-11-28 12:00:27 UTC
I encounter this issue with git and a ~/.netrc file:
git pull
fatal: unable to access 'https://git.freebsd.org/ports.git/': .netrc parser error

https://github.com/curl/curl/issues/15496

fixed with https://github.com/curl/curl/commit/f5c616930b5cf148b1b2632da4f5963ff48bdf88
Comment 2 jyoung15 2024-11-30 16:57:54 UTC
Also confirming issue with curl-8.11.0_1 and git-2.47.1. Manually applying patch fixes issue.

Severity should probably be raised from "Affects Only Me" as this is a widely used package.
Comment 3 Mikael Urankar freebsd_committer freebsd_triage 2024-12-05 09:11:55 UTC
Can this get fixed rapidly ? This problem is really annoying.
Comment 4 commit-hook freebsd_committer freebsd_triage 2024-12-05 19:04:23 UTC
A commit in branch main references this bug:

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

commit 4e60b6b06e2ecec0824f5afbceabe98bf1ce0ea5
Author:     Daniel Engberg <diizzy@FreeBSD.org>
AuthorDate: 2024-12-05 19:01:55 +0000
Commit:     Daniel Engberg <diizzy@FreeBSD.org>
CommitDate: 2024-12-05 19:03:40 +0000

    multimedia/libmtp: Update to 1.1.22

    * Revert upstream commit aa45292de4e9047ff38bb5da79f896709aa0293a
      as new API isn't implemented in FreeBSD's libusb
    * Do some slight rearrangement of port Makefile

    PR:             283020
    Approved by:    desktop (arrowd)

 multimedia/libmtp/Makefile                       | 23 +++++++++++++++--------
 multimedia/libmtp/distinfo                       |  6 +++---
 multimedia/libmtp/files/patch-src_libusb1-glue.c | 17 ++++++++++++++---
 3 files changed, 32 insertions(+), 14 deletions(-)
Comment 5 Daniel Engberg freebsd_committer freebsd_triage 2024-12-05 19:06:37 UTC
Err... paste error, it was supposed to be 282932
Comment 6 Martin Neubauer 2024-12-06 09:40:13 UTC
Created attachment 255661 [details]
Patch picked from upstream repo

Cherry-pick upstream fix for broken netrc initialisation
Comment 7 Daniel Engberg freebsd_committer freebsd_triage 2024-12-11 20:24:36 UTC
PR 283266 might also be of interest
Comment 8 Po-Chuan Hsieh freebsd_committer freebsd_triage 2024-12-22 11:23:20 UTC
Fixed in 8.11.1 update in ports 2a3bac310439f8de03b945ae6b596ddf6384d411. Thanks.