The perl package/port devel/p5-Data-HexDump installs a binary, /usr/local/bin/hexdump does not have the -e command line option, and thus conflicts with the X11 startx script's attempted use of the binary to create the $mcookie. Fix: The X11 startx script simply needs to use the absolute path for '/usr/bin/hexdump -e' from FreeBSD core, so that the two packages can co-exist. -mcookie=`dd if=/dev/random bs=16 count=1 2>/dev/null | hexdump -e \\"%08x\\"` +mcookie=`dd if=/dev/random bs=16 count=1 2>/dev/null | /usr/bin/hexdump -e \\"%08x\\"` if test x"$mcookie" = x; then echo "Couldn't create cookie" exit 1--lE0LJHvsQdm1eBe7jLW1Kwsku46cuGjlDkQAtZ57O6qCr0KB Content-Type: text/plain; name="file.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="file.diff" --- usr/local/bin/startx.orig 2008-06-29 11:10:50.000000000 -0600 +++ usr/local/bin/startx 2008-08-09 23:22:11.000000000 -0600 @@ -126,7 +126,7 @@ How-To-Repeat: On any FreeBSD release with X11*, just install Perl port devel/p5-Data-HexDump, have /usr/local/bin:/usr/local/sbin superceed /usr/bin and /usr/sbin in $PATH. You will see the hexdump program fail since the -e option is only in the native FreeBSD binary.
Responsible Changed From-To: freebsd-ports-bugs->freebsd-x11 Over to maintainer(s).
State Changed From-To: open->closed Committed, thanks!
pav 2009-03-19 16:55:13 UTC FreeBSD ports repository Modified files: x11/xinit Makefile Log: - Use full path to base system hexdump(1) to prevent clash with devel/p5-Data-HexDump package PR: ports/131304 Submitted by: System V. Unix <sysv@yahoo.com> Ok'ed by: flz Revision Changes Path 1.7 +4 -0 ports/x11/xinit/Makefile _______________________________________________ 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"