Page MenuHomePhabricator

"GNU diff3 not found" but it installed
Closed, InvalidPublic

Description

Author: for_spam_2k9

Description:
inslalll process report "GNU diff3 not found", but:

% which diff3
/usr/bin/diff3

% diff3
diff3: missing operand
diff3: Try `diff3 --help' for more information.

% diff3 --help
Usage: diff3 [OPTION]... MYFILE OLDFILE YOURFILE

% uname -a
FreeBSD www.xxxx.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Mar 30 19:27:58 UTC 2007 root@bsd.local:/usr/src/sys/i386/compile/KERN_070330 i386

Checking environment...

Please include all of the lines below when reporting installation problems.
PHP 5.2.5 installed
Found database drivers for: MySQL
PHP server API is apache; ok, using pretty URLs (index.php/Page_Title)
Have XML / Latin1-UTF-8 conversion support.
Warning: A value for session.save_path has not been set in PHP.ini. If the default value causes problems with saving session data, set it to a valid path which is read/write/execute for the user your web server is running under.
PHP's memory_limit is 128M.
Couldn't find Turck MMCache, eAccelerator, APC or XCache; cannot use these for object caching.
GNU diff3 not found.
Found ImageMagick: /usr/local/bin/convert; image thumbnailing will be enabled if you enable uploads.
Installation directory: /usr/local/www/wiki.xxxx.org.ua
Script URI path:
Installing MediaWiki with php file extensions
Environment checked. You can install MediaWiki.


Version: 1.11.x
Severity: normal
OS: FreeBSD
Platform: Other

Details

Reference
bz13270

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:02 PM
bzimport set Reference to bz13270.
bzimport added a subscriber: Unknown Object (MLST).

Confirm your web server is not running in a chroot or jail environment which might not look the same as your shell.

for_spam_2k9 wrote:

My web server not in chroot or jail.
It is installed from FreeBSD ports collection using "make install clean" :-)

some additional info about it:
% httpd -V
Server version: Apache/1.3.37 (Unix)
Server built: Apr 5 2007 18:10:23
Server's Module Magic Number: 19990320:18
Server compiled with....
-D HAVE_MMAP
-D USE_MMAP_SCOREBOARD
-D USE_MMAP_FILES
-D HAVE_FLOCK_SERIALIZED_ACCEPT
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D DYNAMIC_MODULE_LIMIT=64
-D HARD_SERVER_LIMIT=512
-D SO_ACCEPTFILTER
-D ACCEPT_FILTER_NAME="httpready"
-D HTTPD_ROOT="/usr/local"
-D SUEXEC_BIN="/usr/local/sbin/suexec"
-D DEFAULT_PIDLOG="/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard"
-D DEFAULT_LOCKFILE="/var/run/httpd.lock"
-D DEFAULT_ERRORLOG="/var/log/httpd-error.log"
-D TYPES_CONFIG_FILE="etc/apache/mime.types"
-D SERVER_CONFIG_FILE="etc/apache/httpd.conf"
-D ACCESS_CONFIG_FILE="etc/apache/access.conf"
-D RESOURCE_CONFIG_FILE="etc/apache/srm.conf"

smcafee wrote:

This is actually a problem with the FreeBSD ports tree, not with Mediawiki. I've filed the appropriate bug report, which can be viewed at http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/127953, and will resolve this one.

As a temporary fix, merely deleting www/mediawiki/files/patch-index.php is enough:
Found GNU diff3: /usr/bin/diff3.