[Bug 219646] Most Make targets missing when path to man-pages has spaces

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

 



https://bugzilla.kernel.org/show_bug.cgi?id=219646

--- Comment #1 from Alejandro Colomar (alx@xxxxxxxxxx) ---
Hi Jason,

On Tue, Dec 31, 2024 at 05:34:14PM +0000, bugzilla-daemon@xxxxxxxxxx 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.




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux