New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
man-pages: 6.05.01 -> 6.7 #300797
man-pages: 6.05.01 -> 6.7 #300797
Conversation
Apparently, this bump breaks
Would you mind marking it as broken on Darwin? |
Shouldn't have this been a blocker for merge tho? Is there any workarounds for us Nix Darwin users? |
Looking at the failure. |
Filed https://bugzilla.kernel.org/show_bug.cgi?id=218730 upstream. |
Huh! I'm quite surprised that this is the only issue you experience in Darwin. Since the fix seems easy for the man-pages project, I'll fix it. I'll try to have a release soon, so that you don't need to be patching it. |
Also, would you mind reporting a bug to your install(1) vendor? I don't think I'm doing anything unreasonable by installing /dev/stdin. |
Since I'm here... Would you mind reporting any other inconveniences that you may be suffering or patching from the Linux man-pages, and which you'd like to be fixed upstream? Have a lovely day! |
Simple Makefiles are not actually simple. This is a pretty big inconvenience. :)
Not all the world's a cookie-cutter GNU/Linux. Why do you think it's a bug? Note this error message comes from GNU coreutils, not Apple. |
If you can point to specific inconveniences of this Makefile, such as non-standard behavior, I may be able to help. I know my simple makefiles are actually not that simple. But I still consider them simpler (and more useful) than the alternatives. We agree to disagree here. :)
Because why would a pipe be a problem for installing? Just create the file, suck the input file in a loop, and write to file what you get from the input file (in this case the input pipe).
Hmm, more reason to fix the bug. At least we don't need to convince the fruit store. |
Another inconvenience we had to do is to use
and the resulting errors was a big head scratch when
|
It's not a pipe, it's an on-disk file that is probably a symlink to something that resolves to the same thing that the stdin file descriptor does... |
AFAIK, install(1) behaves well (follows) on symlinks.
So if it tries to read |
Hmmm. I can fix that one. Since make(1) doesn't need a path, and it works with just the program name, I can use Also, since I don't need to specify the program path, calling How about this? SHELL := bash
.SHELLFLAGS := -Eeuo pipefail -c |
Please try the following branch. It should fix both the install(1) and the https://www.alejandro-colomar.es/src/alx/linux/man-pages/man-pages.git/log/?h=contrib If you confirm it's good for you, I'll push the changes to master. |
I tried, but...
Is Jia Tan in your website? What happened to https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/ ? |
Nope :) It's documented here: http://www.alejandro-colomar.es/ssl (Edit: changed https to http link). You can verify the SSL certificate against my PGP key. If you find any issues trusting my SSL cert (maybe I issued it with some unsafe parameters; I'm no SSL expert at all), please let me know.
There's the master branch, but I push changes to my own server before. Since this change is provisional, waiting for you to test it, I haven't pushed yet to <kernel.org>. All git commits are PGP-signed, so if the git server is tampered with, the signatures would be broken. |
Now that I see that cert, it has |
What version of darwin is this? I can't repro on Darwin 21.6.0 (MacOSX 12.6). |
I noticed it's already in Thank you! One more minor problem I noticed is that darwin has a case-insensitive filesystem by default. It lumps these two together in a single file:
Don't know if |
This one is something older:
I'll ask what |
You're welcome :-)
Yup. I knew about this one. I guess you'll have to live with it. I don't see a solution. Maybe try to use a different file system.
Yeah, I reproduced it in the past, when I had a macbook in a job. Also in a Windows computer (back when I used Windows for games :). I wasn't able to do man-pages' stuff there.
I'm not sure if I understand what you say. Can you reword? |
Does |
Hmmm. There's a way. If man(7) cannot find a file with that name (ignoring case), it will try to find a page with that name by looking at the So you will need to store both pages with dummy file names, such as See an experiment:
But if you store a page with the name |
However, there's a caveat:
And with real pages, both syntaxes work:
|
@trofi @marsam Why does this remove the manpath fix? I don't know if I'm dong something (else) wrong, but this breaks using Please fix. If it's appropriate to fix, it would be good to add the same fix to man-pages-posix and linux-manual as well. |
|
`man 5 manpath` says that `PATH` is a default variable used to populate manpages search path. Without the change the following session does not work: $ nix-shell -p man-pages $$ man x25 No manual entry for x25 Reported in NixOS#300797 (comment)
Proposed the restored workaround as #308363 |
Description of changes
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 馃憤 reaction to pull requests you find important.