#44599: povray-3.7.0.0_1 + Build fails + Makefile:398: *** multiple target patterns. Stop. --------------------------+-------------------------- Reporter: stallenlu@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: povray | --------------------------+-------------------------- Comment (by ryandesign@…): Ok, so in configure.ac povray attempts to learn the owner and group of the home directory this way: {{{ povowner=`stat -c %u ${HOME}` povgroup=`stat -c %g ${HOME}` }}} This only works with GNU stat, but OS X comes with BSD stat, so we patch configure.ac and change it to this: {{{ povowner=`stat -f %u ${HOME}` povgroup=`stat -f %g ${HOME}` }}} Your main.log contains these lines that mine does not: {{{ :info:configure stat: cannot read file system information for '%u': No such file or directory :info:configure stat: cannot read file system information for '%g': No such file or directory }}} My Makefile has correctly gotten the group and owner information: {{{ povgroup = 0 povowner = 501 }}} Your Makefile has this unexpected output: {{{ povgroup = File: "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_povray/povray/work/.home" ID: 100000200000011 Namelen: * Type: hfs Block size: 4096 Fundamental block size: 4096 Blocks: Total: 121928231 Free: 61043182 Available: 60979182 Inodes: Total: 121928229 Free: 60979182 povowner = File: "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_povray/povray/work/.home" ID: 100000200000011 Namelen: * Type: hfs Block size: 4096 Fundamental block size: 4096 Blocks: Total: 121928231 Free: 61043182 Available: 60979182 Inodes: Total: 121928229 Free: 60979182 }}} I can produce similar output and similar error message by using the gstat program (the GNU version of stat) that's part of the coreutils port. So it seems to me that you have replaced OS X's BSD version of stat with a copy of GNU stat. Could that be? If you're not sure, try running "`/usr/bin/stat --version`". The correct output for OS X's BSD stat is: {{{ /usr/bin/stat: illegal option -- - usage: stat [-FlLnqrsx] [-f format] [-t timefmt] [file ...] }}} The incorrect output, which you would see if you had replaced it with GNU stat, would be something like this: {{{ stat (GNU coreutils) 8.22 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Michael Meskes. }}} If that's what you get, you'll need to put back OS X's versions of stat, and any other utilities you replaced. For example, you could restore them from your Time Machine backup, or by reinstalling OS X. -- Ticket URL: <https://trac.macports.org/ticket/44599#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X