pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/58961: 'make print-PLIST' emits 'No such file or directory' when directories contain spaces



The following reply was made to PR pkg/58961; it has been noted by GNATS.

From: iris000%duck.com@localhost
To: Taylor R Campbell <riastradh%NetBSD.org@localhost>
Cc: "gnats-bugs%NetBSD.org@localhost" <gnats-bugs%NetBSD.org@localhost>,
 "pkgsrc-bugs%NetBSD.org@localhost" <pkgsrc-bugs%NetBSD.org@localhost>
Subject: Re: pkg/58961: 'make print-PLIST' emits 'No such file or directory' when
 directories contain spaces
Date: Tue, 07 Jan 2025 00:01:12 -0500

 Taylor R Campbell wrote:
 > Can you please try the attached patch and see if it helps?
 
 > Correction -- updated patch attached, to work around the quirk of
 > shells where x=$(...) strips the trailing newlines of the command
 > output.
 
 I can confirm with 'pr58961-printplistifs-v2.patch' that 'make
 print-PLIST' no longer shows 'No such file or directory' when
 encountering directory names with spaces, and that @pkgdir entries are
 now being generated for empty directories when their paths contain a
 space (and @pkgdir entries without spaces are hopefully unchanged).
 
 (It seems biology/fastqc upstream has shipped with these empty
 directories since v0.11.6, just that @pkgdir entries could not be
 generated for them until now.)
 
 > --- PLIST
 > +++ PLIST.new
 > @@ -1,4 +1,4 @@
 > -@comment $NetBSD: PLIST,v 1.1 2021/01/20 15:57:17 bacon Exp $
 > +@comment $NetBSD$
 >  bin/fastqc
 >  share/doc/fastqc/Help/1 Introduction/.svn/entries
 >  share/doc/fastqc/Help/1 Introduction/.svn/text-base/1.1 What is FastQC.html.svn-base
 > @@ -244,3 +244,9 @@
 >  share/java/classes/fastqc/uk/ac/babraham/FastQC/Utilities/NanoporeBasename.class
 >  share/java/classes/fastqc/uk/ac/babraham/FastQC/Utilities/QualityCount.class
 >  share/java/classes/fastqc/uk/ac/babraham/FastQC/Utilities/RGB.class
 > +@pkgdir share/doc/fastqc/Help/3 Analysis Modules/.svn/tmp/props
 > +@pkgdir share/doc/fastqc/Help/3 Analysis Modules/.svn/props
 > +@pkgdir share/doc/fastqc/Help/2 Basic Operations/.svn/tmp/props
 > +@pkgdir share/doc/fastqc/Help/2 Basic Operations/.svn/props
 > +@pkgdir share/doc/fastqc/Help/1 Introduction/.svn/tmp/props
 > +@pkgdir share/doc/fastqc/Help/1 Introduction/.svn/props
 


Home | Main Index | Thread Index | Old Index