#47339: p5-alien-wxwidgets, p5-wx: update to latest versions ---------------------------------------+--------------------- Reporter: devans@… | Owner: mojca@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: p5-alien-wxwidgets p5-wx | ---------------------------------------+--------------------- Comment (by devans@…): Replying to [comment:4 mojca@…]:
David, I need your help. The `p5.20-wx` port doesn't build with trace mode at all. Not even the old one. There is some hardcoded `gcc` in `cpp/wxPerl.osx/Makefile`, but even if I replace it with `$(CC)`, that one translates into `cc` instead of `clang`.
You can't count on our CC being passed correctly to this lower level Makefile. I'd just patch this Makefile to replace gcc with a unique temporary name and then use reinplace to replace it with the correct value in post-patch.
And then it fails with {{{ /usr/bin/Rez -d __DARWIN__ -useDF -o build/wxPerl.rsrc wxPerl.r ### /usr/bin/Rez - SysError -5000 during create of "build/wxPerl.rsrc". ### /usr/bin/Rez - Fatal error trying to open the resource file
"build/wxPerl.rsrc" for writing.
Fatal Error! ### /usr/bin/Rez - Fatal Error, can't recover. ### /usr/bin/Rez - Since errors occurred, build/wxPerl.rsrc's resource fork was not written. make[1]: *** [build/wxPerl.app/Contents/Resources/wxPerl.rsrc] Error 3 make[1]: Leaving directory `/path/to/p5.20-wx/work/Wx-0.9923/cpp/wxPerl.osx' make: *** [wxPerl] Error 2 make: *** Waiting for unfinished jobs.... make: Leaving directory `/path/to/p5.20-wx/work/Wx-0.9923' Command failed: cd "/path/to/p5.20-wx/work/Wx-0.9923" && /usr/bin/make -j2 -w all
Permissions issue? }}} -- Ticket URL: <https://trac.macports.org/ticket/47339#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X