[MacPorts] #37646: error petsc into destroot
#37646: error petsc into destroot ------------------------------+-------------------------------- Reporter: malyka.orizono@… | Owner: macports-tickets@… Type: defect | Status: new Priority: High | Milestone: Component: ports | Version: 2.1.2 Keywords: petsc | Port: petsc ------------------------------+-------------------------------- Hello, I tried to install petsc with macport but when i made " sudo port install petsc" i had this error : ---> Computing dependencies for petsc ---> Fetching archive for petsc ---> Attempting to fetch petsc-3.2-p5_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/petsc ---> Attempting to fetch petsc-3.2-p5_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/petsc ---> Attempting to fetch petsc-3.2-p5_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/petsc ---> Attempting to fetch petsc-3.2-p5_0.darwin_12.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/petsc ---> Fetching distfiles for petsc ---> Verifying checksum(s) for petsc ---> Extracting petsc ---> Configuring petsc ---> Building petsc ---> Staging petsc into destroot Error: org.macports.destroot for port petsc returned: command execution failed Please see the log file for port petsc for details: /opt/local/var/macports/logs/_Users_orizono- cysique_feel++-0.91.4_ports_macosx_macports_science_petsc/petsc/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port petsc failed Can you help me to resolve this problem please ? Thanks. -- Ticket URL: <https://trac.macports.org/ticket/37646> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 | -------------------------------+--------------------- Changes (by macsforever2000@…): * owner: macports-tickets@… => mmoll@… * priority: High => Normal * keywords: petsc => Old description:
Hello, I tried to install petsc with macport but when i made " sudo port install petsc" i had this error :
---> Computing dependencies for petsc ---> Fetching archive for petsc ---> Attempting to fetch petsc-3.2-p5_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/petsc ---> Attempting to fetch petsc-3.2-p5_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/petsc ---> Attempting to fetch petsc-3.2-p5_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/petsc ---> Attempting to fetch petsc-3.2-p5_0.darwin_12.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/petsc ---> Fetching distfiles for petsc ---> Verifying checksum(s) for petsc ---> Extracting petsc ---> Configuring petsc ---> Building petsc ---> Staging petsc into destroot Error: org.macports.destroot for port petsc returned: command execution failed Please see the log file for port petsc for details: /opt/local/var/macports/logs/_Users_orizono- cysique_feel++-0.91.4_ports_macosx_macports_science_petsc/petsc/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port petsc failed
Can you help me to resolve this problem please ? Thanks.
New description: Hello, I tried to install petsc with macport but when i made " sudo port install petsc" i had this error : {{{ ---> Computing dependencies for petsc ---> Fetching archive for petsc ---> Attempting to fetch petsc-3.2-p5_0.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/petsc ---> Attempting to fetch petsc-3.2-p5_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/petsc ---> Attempting to fetch petsc-3.2-p5_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/petsc ---> Attempting to fetch petsc-3.2-p5_0.darwin_12.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/petsc ---> Fetching distfiles for petsc ---> Verifying checksum(s) for petsc ---> Extracting petsc ---> Configuring petsc ---> Building petsc ---> Staging petsc into destroot Error: org.macports.destroot for port petsc returned: command execution failed Please see the log file for port petsc for details: /opt/local/var/macports/logs/_Users_orizono- cysique_feel++-0.91.4_ports_macosx_macports_science_petsc/petsc/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port petsc failed }}} Can you help me to resolve this problem please ? Thanks. -- Comment: In the future, please use WikiFormatting, Cc the port maintainer(s), and do not change the priority field. -- Ticket URL: <https://trac.macports.org/ticket/37646#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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 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. -- Ticket URL: <https://trac.macports.org/ticket/37646#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#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
#37646: error petsc into destroot -------------------------------+--------------------- Reporter: malyka.orizono@… | Owner: mmoll@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: wontfix | Keywords: Port: petsc | -------------------------------+--------------------- Changes (by mmoll@…): * status: new => closed * resolution: => wontfix -- Ticket URL: <https://trac.macports.org/ticket/37646#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts