From: bugzilla-daemon@kernel.org
To: linux-man@vger.kernel.org
Subject: [Bug 219646] Most Make targets missing when path to man-pages has spaces
Date: Tue, 31 Dec 2024 18:20:18 +0000 [thread overview]
Message-ID: <bug-219646-11311-6eJQGHzDN3@https.bugzilla.kernel.org/> (raw)
In-Reply-To: <bug-219646-11311@https.bugzilla.kernel.org/>
https://bugzilla.kernel.org/show_bug.cgi?id=219646
--- Comment #1 from Alejandro Colomar (alx@kernel.org) ---
Hi Jason,
On Tue, Dec 31, 2024 at 05:34:14PM +0000, bugzilla-daemon@kernel.org wrote:
> The path to my clone of the Linux man-pages repo contains a space.
> This causes Make to fail to find most targets.
POSIX says:
<https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap03.html#tag_03_265>
3.265 Portable Filename Character Set
The set of characters from which portable filenames are
constructed.
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
a b c d e f g h i j k l m n o p q r s t u v w x y z
0 1 2 3 4 5 6 7 8 9 . _ -
The last three characters are the <period>, <underscore>, and
<hyphen-minus> characters, respectively. See also 3.254
Pathname.
Your path is thus non-portable, and this is just one of its
consequences. Software tends to not support such paths, especially
paths containing whitespace, control characters, quotes, dollars, and
other special characters.
> Actual Results
> ==============
>
> This list is printed:
>
> > all
> > help
> > nothing
>
> Expected Results
> ================
>
> A list with over 100 Make targets is printed.
115 at the moment. :)
$ make nothing -p \
| grep '^\.PHONY:' \
| tr ' ' '\n' \
| grep -v '^\.PHONY:' \
| sort \
| wc -l;
115
> Additional Information
> ======================
>
> I encountered this bug while using the tip of the man-pages’s master branch
> (b199d102db5be24e0ac88eb6879e3e3b6e0ea722 at the moment).
I would close this as WONTFIX. Sorry. If the fix was easy, I might fix
it, but I suspect there are so many break points that it's impossible to
fix. Just don't do that. :)
Have a lovely new year!
Alex
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
prev parent reply other threads:[~2024-12-31 18:20 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-12-31 17:34 [Bug 219646] New: Most Make targets missing when path to man-pages has spaces bugzilla-daemon
2024-12-31 18:20 ` Alejandro Colomar
2024-12-31 18:20 ` bugzilla-daemon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-219646-11311-6eJQGHzDN3@https.bugzilla.kernel.org/ \
--to=bugzilla-daemon@kernel.org \
--cc=linux-man@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox