Bug 192933 - japanese/tex-ptex: installed files refer to stage area
Summary: japanese/tex-ptex: installed files refer to stage area
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Hiroki Sato
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-08-22 21:54 UTC by Matthias Andree
Modified: 2014-08-30 09:04 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias Andree freebsd_committer freebsd_triage 2014-08-22 21:54:31 UTC
I was trying to upgrade doxygen on 9.3 amd64 with portmaster (pkg_install used, no pkg), which pulled in japanese/tex-ptex.

Building this failed:  (to reproduce, you may need to set DEVELOPER=yes in /etc/make.conf).

Could you check this?


====> Compressing man pages (compress-man)
====> Running Q/A tests (stage-qa)
Error: 'share/texmf-var/web2c/ptex/ptex.log' is referring to /var/tmp/usr/ports/japanese/tex-ptex/work/stage
Error: 'share/texmf-var/web2c/ptex/ptex.fmt' is referring to /var/tmp/usr/ports/japanese/tex-ptex/work/stage
Error: 'share/texmf-var/web2c/eptex/ptex.log' is referring to /var/tmp/usr/ports/japanese/tex-ptex/work/stage
Error: 'share/texmf-var/web2c/eptex/ptex.fmt' is referring to /var/tmp/usr/ports/japanese/tex-ptex/work/stage
Error: 'share/texmf-var/web2c/eptex/platex.log' is referring to /var/tmp/usr/ports/japanese/tex-ptex/work/stage
Error: 'share/texmf-var/web2c/eptex/platex.fmt' is referring to /var/tmp/usr/ports/japanese/tex-ptex/work/stage
Error: 'share/texmf-var/web2c/uptex/uptex.log' is referring to /var/tmp/usr/ports/japanese/tex-ptex/work/stage
Error: 'share/texmf-var/web2c/uptex/uptex.fmt' is referring to /var/tmp/usr/ports/japanese/tex-ptex/work/stage
Error: 'share/texmf-var/web2c/euptex/euptex.log' is referring to /var/tmp/usr/ports/japanese/tex-ptex/work/stage
Error: 'share/texmf-var/web2c/euptex/euptex.fmt' is referring to /var/tmp/usr/ports/japanese/tex-ptex/work/stage
Error: 'share/texmf-var/web2c/euptex/uplatex.log' is referring to /var/tmp/usr/ports/japanese/tex-ptex/work/stage
Error: 'share/texmf-var/web2c/euptex/uplatex.fmt' is referring to /var/tmp/usr/ports/japanese/tex-ptex/work/stage
*** [stage-qa] Error code 1

Stop in /usr/ports/japanese/tex-ptex.
*** [/var/tmp/usr/ports/japanese/tex-ptex/work/.stage_done.ptex._usr_local] Error code 1

Stop in /usr/ports/japanese/tex-ptex.

===>>> make stage failed for japanese/tex-ptex
Comment 1 Hiroki Sato freebsd_committer freebsd_triage 2014-08-23 19:02:19 UTC
As I posted an email[*], I am still investigating how to handle this:

[*] https://lists.freebsd.org/pipermail/freebsd-tex/2014-August/000031.html
Comment 2 Antoine Brodin freebsd_committer freebsd_triage 2014-08-26 09:52:48 UTC
I created https://reviews.freebsd.org/D684 to ignore those files from QA check.

Does this look good to you or do you plan to fix the references inside those files?
Comment 3 Matthias Andree freebsd_committer freebsd_triage 2014-08-27 21:58:40 UTC
avoiding DEVELOPER=yes also helps for now
Comment 4 Hiroki Sato freebsd_committer freebsd_triage 2014-08-30 08:48:32 UTC
I investigated this and found that it is technically possible to eliminate stagedir directories from the outputs.  However, it needs ugly hacks in the build process.  If there is no objection to add exception rules suggested in D684, I would like to go ahead with it.
Comment 5 commit-hook freebsd_committer freebsd_triage 2014-08-30 08:56:44 UTC
A commit references this bug:

Author: antoine
Date: Sat Aug 30 08:55:58 UTC 2014
New revision: 366597
URL: http://svnweb.freebsd.org/changeset/ports/366597

Log:
  Ignore references to stagedir in .fmt and .log files generated for tex formats
  Those are harmless (records from which file they were generated from) and
  removing them would require ugly hacks according to hrs@

  PR:		ports/192933
  Differential Revision:	https://reviews.freebsd.org/D684
  Reviewed by:	bapt, hrs
  With hat:	portmgr

Changes:
  head/Mk/Scripts/qa.sh