Skip to contentSkip to conversation

New: [regression, bisected] 'make install' fails on darwin

Bug 218730 [email protected] 1 participant 4 messages Apr 15, 2024 – Apr 20, 2024 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 218730
Summary: [regression, bisected] 'make install' fails on darwin
Product: Documentation
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: normal
Priority: P3
Component: man-pages
Assignee: [email protected]
Reporter: [email protected]
Regression: No

It's a forward of downstream nixpkgs report at
https://github.com/NixOS/nixpkgs/pull/300797#issuecomment-2056982667 where nixpkgs trod to update man-pages from 6.05.01 to 6.7.

There make install started failing on Darwin as:

    $ make install prefix=$(pwd)/__i__
    INSTALL /Users/test/man-pages/__i__/share/man/man1/
    INSTALL /Users/test/man-pages/__i__/share/man/man1/intro.1
    install: skipping file '/dev/stdin', as it was replaced while being copied
    make: *** [share/mk/install/man.mk:60:
/Users/test/man-pages/__i__/share/man/man1/intro.1] Error 1

git bisect landed on this change:

$ git bisect bad
30c38a8bf8ae8f4a6e71d3b8ac4abf0a40778f1e is the first bad commit
commit 30c38a8bf8ae8f4a6e71d3b8ac4abf0a40778f1e
Author: Alejandro Colomar <[email protected]>
Date:   Mon Aug 28 01:21:45 2023 +0200

*.mk: Pipe to install(1)

 share/mk/dist.mk        | 7 ++++---
 share/mk/install/man.mk | 6 +++---
 2 files changed, 7 insertions(+), 6 deletions(-)

The system is: x86_64-apple-darwin18.7.0.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 218730] [regression, bisected] 'make install' fails on darwin

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

--- Comment #1 from Sergei Trofimovich ([email protected]) --- This seems to be the difference between two systems on coreutils-9.4 where install comes from on my systems:

Linux (works):

    $ mkdir -p foo; echo 42 | install -m 644 -T /dev/stdin ./foo/a; echo $?
    0

Darwin (fails):

    $ mkdir -p foo; echo 42 | install -m 644 -T /dev/stdin ./foo/a; echo $?
    install: skipping file '/dev/stdin', as it was replaced while being copied
    1
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 218730] [regression, bisected] 'make install' fails on darwin

In reply to [email protected]

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

--- Comment #2 from Sergei Trofimovich ([email protected]) ---
https://git.kernel.org/pub/scm/docs/man-pages/man-pages.git/commit/?id=9524f0f63badd896ccf6da7d79511100d86c4721
fixes it for me.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 218730] [regression, bisected] 'make install' fails on darwin

In reply to [email protected]

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

Alejandro Colomar ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |CODE_FIX

--- Comment #3 from Alejandro Colomar ([email protected]) --- Thanks for reminding me that I should close this! :-)

Have a lovely day!
Alex

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.