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 Fix: 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 MSGFMT=${LOCALBASE}/bin/msgfmt in CONFIGURE_ENV. 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
arved 2006-09-22 14:03:42 UTC FreeBSD ports repository Modified files: x11-toolkits/xview Makefile pkg-plist Log: Don't install msgfmt and xgettext. They may break devel/gettext if a user has set /usr/X11R6/bin before /usr/local/bin. 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 http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed I have modified the xview port to not install these programs.