#37646: error petsc into destroot -------------------------------+--------------------- Reporter: malyka.orizono@… | Owner: mmoll@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: Port: petsc | -------------------------------+--------------------- Comment (by sean@…): Replying to [comment:2 mmoll@…]:
I suspect that the "++" part of your part is messing things up. Towards the end of your log file there is this line {{{ f.write('copies = '+re.sub(self.destDir,self.installDir,repr(self.copies))) }}} and PETSC_DIR=/opt/local/var/macports/build/_Users_orizono- cysique_feel++-0.91.4_ports_macosx_macports_science_petsc/petsc/work/petsc-3.2-p5. The regular expression call should have escaped the + characters. Nevertheless, putting such characters in you path is just asking for trouble. If you want to contribute a patch, I'd be happy to include it, but I am not going to write one.
You're right. We just had a user report this when using '+' in the PETSC_ARCH but I see this needs to be fixed with PETSC_DIR as well. I'll fix it later t his weekend in petsc-dev. -- Ticket URL: <https://trac.macports.org/ticket/37646#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS