Bug 195109 - print/lout incorrectly staged?
Summary: print/lout incorrectly staged?
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Danilo Egea Gondolfo
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-17 16:36 UTC by Nils M Holm
Modified: 2014-11-18 16:08 UTC (History)
0 users

See Also:
bsdbugs: maintainer-feedback? (danilo)


Attachments
Fix files path (9.54 KB, patch)
2014-11-17 17:50 UTC, Danilo Egea Gondolfo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Nils M Holm 2014-11-17 16:36:11 UTC
After updating to 10.1-RELEASE I get the error message:

  164,13: fatal error: cannot open character mapping file LtLatin1.LCM

when attempting to run Lout. Truss reveals:

open("/wrkdirs/usr/ports/print/lout/work/stage/usr/local/share/lout/maps/LtLatin1.LCM",O_RDONLY,0666) ERR#2 'No such file or directory'

Looks like Lout is trying to open LtLatin1.LCM in the stagedir rather than
in usr/local/share/lout/maps.
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-11-17 16:36:11 UTC
Auto-assigned to maintainer danilo@FreeBSD.org
Comment 2 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2014-11-17 17:49:37 UTC
Thank you for reporting this.

Can you test it with the attached patch, please?
Comment 3 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2014-11-17 17:50:26 UTC
Created attachment 149526 [details]
Fix files path
Comment 4 Nils M Holm 2014-11-18 07:26:06 UTC
Yes, works fine now! Thank you!
Comment 5 commit-hook freebsd_committer freebsd_triage 2014-11-18 13:50:20 UTC
A commit references this bug:

Author: danilo
Date: Tue Nov 18 13:49:59 UTC 2014
New revision: 372719
URL: https://svnweb.freebsd.org/changeset/ports/372719

Log:
  - Fix an incorrect usage of stagedir. The program was looking for its files in
  stagedir.

  PR:		195109
  Reported by:	Nils M. Holm <bsdbugs@t3x.org>
  Tested by:	Nils M. Holm <bsdbugs@t3x.org>
  MFH:		2014Q4

Changes:
  head/print/lout/Makefile
  head/print/lout/files/patch-makefile
Comment 6 Danilo Egea Gondolfo freebsd_committer freebsd_triage 2014-11-18 13:52:33 UTC
Committed. Thanks!
Comment 7 commit-hook freebsd_committer freebsd_triage 2014-11-18 16:08:33 UTC
A commit references this bug:

Author: danilo
Date: Tue Nov 18 16:08:13 UTC 2014
New revision: 372727
URL: https://svnweb.freebsd.org/changeset/ports/372727

Log:
  MFH: r372719

  - Fix an incorrect usage of stagedir. The program was looking for its files in
  stagedir.

  PR:		195109
  Reported by:	Nils M. Holm <bsdbugs@t3x.org>
  Tested by:	Nils M. Holm <bsdbugs@t3x.org>
  Approved by:	portmgr (rea)

Changes:
_U  branches/2014Q4/
  branches/2014Q4/print/lout/Makefile
  branches/2014Q4/print/lout/files/patch-makefile