Bug 262119 - devel/simavr: building docs fails
Summary: devel/simavr: building docs fails
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tobias C. Berner
Depends on:
Reported: 2022-02-22 11:16 UTC by Felix Palmen
Modified: 2022-02-23 07:04 UTC (History)
1 user (show)

See Also:

0001-devel-simavr-Skip-building-docs.patch (1.03 KB, patch)
2022-02-22 13:31 UTC, Felix Palmen
zirias: maintainer-approval+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Palmen freebsd_committer freebsd_triage 2022-02-22 11:16:27 UTC
After upgrade of texlive ports, building docs doesn't work any more for simavr:

!pdfTeX error: pdflatex (file cm-super-ts1.enc): cannot open encoding file for 
 ==> Fatal error occurred, no output PDF file produced!
gmake[3]: *** [Makefile:6: protocol] Error 1
gmake[3]: Leaving directory '/wrkdirs/usr/ports/devel/simavr/work/simavr-1.7/doc/manual'

A simple fix might be to install the pre-built pdf that's inside upstream dist instead, testing that right now.
Comment 1 Felix Palmen freebsd_committer freebsd_triage 2022-02-22 13:31:38 UTC
Created attachment 232010 [details]

Tested the simple fix, works fine, so here's a patch (for 'git am') ready to commit/push, thanks :)
Comment 2 commit-hook freebsd_committer freebsd_triage 2022-02-23 06:54:20 UTC
A commit in branch main references this bug:

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

commit 7348d90f96a93aa9bfe495e82b5a9128d8d40055
Author:     Felix Palmen <felix@palmen-it.de>
AuthorDate: 2022-02-22 08:17:07 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-02-23 06:51:59 +0000

    devel/simavr: Skip building docs

    texlive upgrade to 20210325 broke the build of the simavr manual. As
    upstream dist conatins the pre-built pdf files, just install them

    PR:     262119

 devel/simavr/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)