Bug 100582 - x11-toolkits/xview's msgfmt conflicts with devel/gettext's
Summary: x11-toolkits/xview's msgfmt conflicts with devel/gettext'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: freebsd-ports-bugs mailing list
Depends on:
Reported: 2006-07-19 23:40 UTC by Jean-Baptiste Quenot
Modified: 2006-09-22 15:10 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Jean-Baptiste Quenot 2006-07-19 23:40:15 UTC
Once x11-toolkits/xview is installed, many ports fail to build because there is
a conflict between xview's msgfmt installed in X11BASE and gettext's msgfmt
installed in LOCALBASE.  Depending on the PATH, the first can be picked instead
of the latter and ports depending on gettext's msgfmt fail to build.

This is because most ports do not specify the exact location of msgfmt in their
build.  The right location to pick is ${LOCALBASE}/bin/msgfmt

See http://lists.freebsd.org/pipermail/freebsd-ports/2006-July/033956.html


Workaround is to change PATH to /usr/local/bin:/usr/X11R6/bin:/usr/bin:/bin or
to rename /usr/X11R6/bin/msgfmt to /usr/X11R6/bin/xview_msgfmt

The same problem for xgettext.

Maybe xview's Makefile should rename those files in post-install.  Another
solution is to fix all ports depending on gettext to specify
How-To-Repeat: 0. set PATH /usr/X11R6/bin:/usr/local/bin:/usr/bin:/bin
1. install xview
2. try to install devel/subversion, audio/audacity, mail/mutt-ng or
   audio/sound-juicer, the build will fail when invoking msgfmt
Comment 1 dfilter service freebsd_committer 2006-09-22 15:03:47 UTC
arved       2006-09-22 14:03:42 UTC

  FreeBSD ports repository

  Modified files:
    x11-toolkits/xview   Makefile pkg-plist 
  Don't install msgfmt and xgettext.
  They may break devel/gettext if a user has set /usr/X11R6/bin before
  PR:             100582
  Reported by:    Jean-Baptiste Quenot <jbq@caraldi.com>
  Revision  Changes    Path
  1.41      +4 -2      ports/x11-toolkits/xview/Makefile
  1.14      +0 -2      ports/x11-toolkits/xview/pkg-plist
cvs-all@freebsd.org mailing list
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 2 Tilman Keskinoz freebsd_committer 2006-09-22 15:04:08 UTC
State Changed
From-To: open->closed

I have modified the xview port to not install these programs.