Bug 165520 - devel/ncurses install failed if multiple terminfo file exists in /usr/local/share/misc
Summary: devel/ncurses install failed if multiple terminfo file exists in /usr/local/s...
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: Rong-En Fan
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-28 04:40 UTC by IWAMOTO Kouichi
Modified: 2012-02-28 16:30 UTC (History)
0 users

See Also:


Attachments
file.diff (375 bytes, patch)
2012-02-28 04:40 UTC, IWAMOTO Kouichi
no flags Details | Diff
file.diff (464 bytes, patch)
2012-02-28 04:40 UTC, IWAMOTO Kouichi
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description IWAMOTO Kouichi 2012-02-28 04:40:05 UTC
If multiple terminfo file exists in /usr/local/share/misc (e.g. sysutils/jfbterm and x11/rxvt-unicode are installed),
Installing devel/ncurses fails with following error.

/usr/bin/find /usr/local/share/misc -name "*.terminfo" -print0	|        /usr/bin/xargs -0 /usr/local/bin/tic
tic: Too many file names.  Usage:
	tic [-e names] [-o dir] [-R name] [-v[n]] [-V] [-w[n]] [-1aCcfGgILNrsTtUx] source-file
*** Error code 1

Stop in /usr/ports/devel/ncurses.
*** Error code 1

Stop in /usr/ports/devel/ncurses.

Fix: Apply following patch.
How-To-Repeat: 1. Install sysutils/jfbterm & x11/rxvt-unicode.

2. Install deve/ncurses
# cd /usr/ports/devel/ncurses
# make install
Comment 1 Edwin Groothuis freebsd_committer 2012-02-28 04:40:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->rafan

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2012-02-28 16:20:46 UTC
rafan       2012-02-28 16:20:32 UTC

  FreeBSD ports repository

  Modified files:
    devel/ncurses-devel  Makefile pkg-plist 
  Log:
  - Make post-install tic(1) happy when there are too many terminfo files
    installed, e.g. installed by other ports
  
  PR:             ports/165520
  Submitted by:   IWAMOTO Kouichi <sue at iwmt.org>
  
  Revision  Changes    Path
  1.107     +2 -2      ports/devel/ncurses-devel/Makefile
  1.21      +1 -1      ports/devel/ncurses-devel/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Rong-En Fan freebsd_committer 2012-02-28 16:20:47 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 4 dfilter service freebsd_committer 2012-02-28 16:21:01 UTC
rafan       2012-02-28 16:20:41 UTC

  FreeBSD ports repository

  Modified files:
    devel/ncurses        Makefile pkg-plist 
  Log:
  - Make post-install tic(1) happy when there are too many terminfo files
    installed, e.g. installed by other ports
  
  PR:             ports/165520
  Submitted by:   IWAMOTO Kouichi <sue at iwmt.org>
  
  Revision  Changes    Path
  1.59      +1 -2      ports/devel/ncurses/Makefile
  1.20      +1 -1      ports/devel/ncurses/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"