Bug 204227 - emulators/wine-devel fails to package on 64-bit due to wine.1 man pages missing
Summary: emulators/wine-devel fails to package on 64-bit due to wine.1 man pages missing
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Gerald Pfeifer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-02 18:47 UTC by Ivan
Modified: 2025-05-21 14:25 UTC (History)
2 users (show)

See Also:
gerald: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan 2015-11-02 18:47:16 UTC
===>  Installing for wine-devel-1.7.54,1
===>  Checking if wine-devel already installed
===>   Registering installation for wine-devel-1.7.54,1
pkg-static: Unable to access file /var/ports/work/usr/ports/emulators/wine-devel/work/stage/usr/local/man/de.UTF-8/man1/wine.1.gz: No such file or directory
pkg-static: Unable to access file /var/ports/work/usr/ports/emulators/wine-devel/work/stage/usr/local/man/fr.UTF-8/man1/wine.1.gz: No such file or directory
pkg-static: Unable to access file /var/ports/work/usr/ports/emulators/wine-devel/work/stage/usr/local/man/man1/wine.1.gz: No such file or directory
pkg-static: Unable to access file /var/ports/work/usr/ports/emulators/wine-devel/work/stage/usr/local/man/pl.UTF-8/man1/wine.1.gz: No such file or directory
*** Error code 74

Stop.
make[1]: stopped in /usr/ports/emulators/wine-devel
*** Error code 1
Comment 1 Gerald Pfeifer freebsd_committer freebsd_triage 2015-11-07 13:57:46 UTC
The key element here is amd64.  This appears there, and only there.

I have a fix in testing.
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-11-07 14:41:51 UTC
A commit references this bug:

Author: gerald
Date: Sat Nov  7 14:41:00 UTC 2015
New revision: 400997
URL: https://svnweb.freebsd.org/changeset/ports/400997

Log:
  Package wine.1 man pages only in the 32-bit case (WINE32) since they
  are not built as such in the 64-bit case.

  PR:		204227

Changes:
  head/emulators/wine-devel/pkg-plist
Comment 3 commit-hook freebsd_committer freebsd_triage 2025-05-08 11:30:38 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0d45588eb7ab5da2af534c55e22737733ec99ba1

commit 0d45588eb7ab5da2af534c55e22737733ec99ba1
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2025-05-08 11:27:38 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2025-05-08 11:27:38 +0000

    wine-devel: Include wine.1 man pages in all builds

    Originally [1] these were only available for 32-bit builds, which
    changed since.

    PR:             204227 [1]

 emulators/wine-devel/Makefile  | 1 +
 emulators/wine-devel/pkg-plist | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)
Comment 4 commit-hook freebsd_committer freebsd_triage 2025-05-17 19:04:49 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0559e889b9101406567c970ac0b400edf39cc5b4

commit 0559e889b9101406567c970ac0b400edf39cc5b4
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2025-05-17 19:03:33 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2025-05-17 19:03:59 +0000

    emulators/wine: Include wine.1 man pages in all builds

    Originally [1] these were only available for 32-bit builds, which
    changed since.

    This is a backport of 0d45588eb7ab from emulators/wine-devel.

    PR:             204227 [1]

 emulators/wine/Makefile  | 1 +
 emulators/wine/pkg-plist | 8 ++++----
 2 files changed, 5 insertions(+), 4 deletions(-)
Comment 5 Ale 2025-05-18 08:11:15 UTC
(In reply to commit-hook from comment #4)
I'm getting errors while updating emulators/wine on FreeBSD 14.3-STABLE amd64 after this commit:

pkg-static: Unable to access file /usr/ports/emulators/wine/work/stage/usr/local/share/man/de.UTF-8/man1/wine.1.gz:No such file or directory
pkg-static: Unable to access file /usr/ports/emulators/wine/work/stage/usr/local/share/man/fr.UTF-8/man1/wine.1.gz:No such file or directory
pkg-static: Unable to access file /usr/ports/emulators/wine/work/stage/usr/local/share/man/man1/wine.1.gz:No such file or directory
pkg-static: Unable to access file /usr/ports/emulators/wine/work/stage/usr/local/share/man/pl.UTF-8/man1/wine.1.gz:No such file or directory
Comment 6 Gerald Pfeifer freebsd_committer freebsd_triage 2025-05-18 09:27:56 UTC
I'm on it. Not sure how my tests did not run into this...
Comment 7 commit-hook freebsd_committer freebsd_triage 2025-05-18 14:53:18 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=eac9976c93ccd6ca524959d69d57d18259ed4dfc

commit eac9976c93ccd6ca524959d69d57d18259ed4dfc
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2025-05-18 14:20:27 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2025-05-18 14:52:31 +0000

    emulators/wine: Ensure we have wine.1 man pages in all builds

    This takes some backports from upstream (which wine-devel has) and
    manual installation. Luckily upstream has fully resolved this for
    11.0.

    PR:             204227

 emulators/wine/Makefile              |  9 ++++
 emulators/wine/files/patch-man (new) | 94 ++++++++++++++++++++++++++++++++++++
 2 files changed, 103 insertions(+)
Comment 8 Gerald Pfeifer freebsd_committer freebsd_triage 2025-05-18 14:57:28 UTC
Thank you for the report, Ale.

I spent a good part of this afternoon working on this. It passes my tests
in cases where I could reproduce the failure, so I hope this is it.

If there still is breakage, please speak up.
Comment 9 Ale 2025-05-18 19:16:21 UTC
(In reply to Gerald Pfeifer from comment #8)
I'm sorry I ruined your Sunday.
The builds run fine now.
Thank goes to you for your work!
Comment 10 commit-hook freebsd_committer freebsd_triage 2025-05-21 14:23:10 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f48100735d939a414326119c028711c626c1cea7

commit f48100735d939a414326119c028711c626c1cea7
Author:     Gerald Pfeifer <gerald@FreeBSD.org>
AuthorDate: 2025-05-21 14:20:19 +0000
Commit:     Gerald Pfeifer <gerald@FreeBSD.org>
CommitDate: 2025-05-21 14:20:19 +0000

    emulators/wine: Copy, don't move, input for wine.1 man pages

    This did not show up in my testing of eac9976c93c nor the original
    reporter, alas there were now two pkg-fallout@ notifications which
    hints at a potential timing issue, so leave the man pages also at
    their old locations in the source tree, i.e., copy instead of move.

    PR:             204227

 emulators/wine/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 11 Gerald Pfeifer freebsd_committer freebsd_triage 2025-05-21 14:25:07 UTC
(In reply to Ale from comment #9)
> The builds run fine now.
> Thank goes to you for your work!

Thank you for the confirmation, Ale. And you're welcome!

I was puzzled to see two build failure reports in the meantime, which
neither you nor me had been seeing and "blindly" pushed what is hopefully
going to fix it.