Bug 199493

Summary: games/oneko: Packaging error, fails during stage
Product: Ports & Packages Reporter: TsurutaniNaoki
Component: Individual Port(s)Assignee: Jan Beich <jbeich>
Status: Closed FIXED    
Severity: Affects Many People CC: candy
Priority: --- Keywords: needs-qa, patch
Version: LatestFlags: bugzilla: maintainer-feedback? (candy)
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch to ports koobs: maintainer-approval? (candy)

Description TsurutaniNaoki 2015-04-17 04:00:14 UTC
Created attachment 155658 [details]
patch to ports

staging games/oneko fails.
pkg-plist says there must exist stage/usr/local/lib/X11/ja/app-defaults/Oneko,
but if building host has /usr/local/lib/X11/ja_JP.eucJP or any other directories
with japanese locale-like names, only stage/usr/local/lib/X11/ja_JP.eucJP/app-defaults/Oneko exists; this causes error on packaging.
Comment 1 commit-hook freebsd_committer freebsd_triage 2015-05-05 09:41:47 UTC
A commit references this bug:

Author: jbeich
Date: Tue May  5 09:41:08 UTC 2015
New revision: 385452
URL: https://svnweb.freebsd.org/changeset/ports/385452

Log:
  games/oneko: unbreak install if locale-specific app-defaults dir exists

  configure tries to autodetect existing japanese app-defaults and if
  finds installs there without updating pkg-plist. A quick search turns
  up the following ports can cause the issue if installed beforehand.

  deskutils/xcalendar/pkg-plist:lib/X11/ja_JP.eucJP/app-defaults/XCalendar
  games/xshisen/pkg-plist:lib/X11/ja_JP.eucJP/app-defaults/XShisen
  japanese/tgif/pkg-plist:lib/X11/ja_JP.eucJP/app-defaults/Tgif.sample
  x11-clocks/emiclock/pkg-plist:lib/X11/ja_JP.EUC/app-defaults/EmiClock
  x11-clocks/emiclock/pkg-plist:lib/X11/ja_JP.eucJP/app-defaults/EmiClock
  x11-fonts/nexfontsel/pkg-plist:lib/X11/ja_JP.eucJP/app-defaults/NeXFontSel
  x11/xmascot/pkg-plist:lib/X11/ja_JP.EUC/app-defaults/XMascot
  x11/xmascot/pkg-plist:lib/X11/ja_JP.eucJP/app-defaults/XMascot

  PR:		199493
  Submitted by:	turutani@scphys.kyoto-u.ac.jp
  Approved by:	maintainer timeout (2 weeks + 4 days)

Changes:
  head/games/oneko/files/patch-configure
Comment 2 Jan Beich freebsd_committer freebsd_triage 2015-05-05 09:42:42 UTC
Thanks. Committed.