[MacPorts] #60457: wxMaxima: destroot failure due to wrong case of wxmaxima.app
MacPorts
noreply at macports.org
Fri May 8 23:23:27 UTC 2020
#60457: wxMaxima: destroot failure due to wrong case of wxmaxima.app
------------------------+--------------------------
Reporter: ryandesign | Owner: MSoegtropIMC
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Keywords: | Port: wxMaxima
------------------------+--------------------------
[https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/30054/steps
/install-port/logs/stdio wxMaxima fails to destroot] on our build server:
{{{
Error: Failed to destroot wxMaxima: error copying
"/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_math_wxMaxima/wxMaxima/work/wxmaxima-20.04.0/build/src/wxMaxima.app":
no such file or directory
}}}
The message is correct: there is no wxMaxima.app; there is only
wxmaxima.app. Case matters. Macs can use case-sensitive filesystems, and
our build workers do.
One fix could be:
{{{
--- Portfile.orig
+++ Portfile
@@ -60,5 +60,5 @@
destroot {
xinstall -m 755 -d ${destroot}${applications_dir}
- file copy ${worksrcpath}/build/src/wxMaxima.app
${destroot}${applications_dir}
+ file copy ${worksrcpath}/build/src/wxmaxima.app
${destroot}${applications_dir}/wxMaxima.app
}
}}}
--
Ticket URL: <https://trac.macports.org/ticket/60457>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list