#25753: pcre: upgrade fails when architectures differ --------------------------------------+------------------------------------- Reporter: liam.romanis@… | Owner: nox@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.9.1 Keywords: | Port: pcre --------------------------------------+------------------------------------- Comment(by ryandesign@…): Replying to [comment:4 ryandesign@…]:
You have readline installed for x86_64, and are now trying to build it for i386, and the readline build is finding the old already-installed library of the wrong architecture instead of the new one it just built. To overcome this, you would deactivate the currently-installed readline (sudo port deactivate readline) before trying to build a new one.
Sorry, I misread... you have readline installed for x86_64, and are now trying to build ''pcre'' for i386. It is peculiar that MacPorts did not attempt to rebuild readline for i386 on its own, since, as you showed above, it knows it's built for x86_64, and should know that it needs to rebuild it for i386. Still, my advice above holds: if you are deliberately switching build_arch, uninstall existing ports first. -- Ticket URL: <https://trac.macports.org/ticket/25753#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS