[macports-ports] branch master updated: irrlicht: fix build on case-sensitive file systems

Ryan Schmidt ryandesign at macports.org
Sat Dec 9 16:07:33 UTC 2017

On Dec 9, 2017, at 09:59, Ryan Schmidt wrote:

> On Dec 9, 2017, at 09:56, Ken Cunningham wrote:
>> On Dec 9, 2017, at 7:51 AM, Ryan Schmidt wrote:
>>> Please don't use "system" for things MacPorts or Tcl can do natively. In this case, just use the "move" procedure.
>> I tried "move" first but kept getting a weird error that I could not understant or fix. Gobbelygook showed up in the new filename.
>> ?
> Can you show me exactly what you got?

I tried it myself and what I get is:

Error: Failed to extract irrlicht: error renaming: target "/opt/local/var/macports/build/_Users_rschmidt_macports_macports-ports-svn-trunk_devel_irrlicht/irrlicht/work/irrlicht-1.8.4/source/Irrlicht/MacOSX/irrFramework-Info.plist-DCQIMWNv/irrFramework-Info.plist" is not a directory

While "copy" is simply a less-verbose wrapper around "file copy -force", "move" is more than just a wrapper around "file rename", in that it contains code designed specifically to handle your situation: the need to change only the case of a filename on a possibly case-insensitive filesystem.

I'm not sure yet why this code is failing.

More information about the macports-dev mailing list