#33264: p5.12-xml-parser doesn't respect build_arch --------------------------------+------------------------------------------- Reporter: jhkoivis@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: p5.12-xml-parser --------------------------------+------------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@…, gvibe06@… (added) Comment: Replying to [comment:6 jhkoivis@…]:
Good point, its actually one of the dependencies that does not respect the build arch (expat.bundle?). I don't remember exactly whether I uninstalled all perl related stuff before the hack and re-installed after the hack... [[br]] [[br]] Basically, one port in the p5.12-xml-parser dependency tree does not respect build arch, and compiling the whole tree with this hack takes care of the problem. There might be an easier fix, this is like fixing electronics with a hammer...
Expat.bundle is part of the p5-xml-parser port. I suspect that ''all'' p5 ports are not using -arch flags, following the changes in #24779, as I said above (but I cannot verify this in a clean prefix due to other problems; see #33647; if anyone can explain that please let me know). So we need to fix the perl5 portgroup to do this. gvibe06, I think you misunderstand the purpose of [http://guide.macports.org/chunked/reference.variables.html ${os.arch}]. Anyway we don't need to inspect that; we should just be able to use [get_canonical_archflags] as I said above. -- Ticket URL: <https://trac.macports.org/ticket/33264#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS