Opened 12 years ago
Closed 11 years ago
#37646 closed defect (wontfix)
error petsc into destroot
Reported by: | malyka.orizono@… | Owned by: | mamoll (Mark Moll) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: | petsc |
Description (last modified by mf2k (Frank Schima))
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.
Attachments (2)
Change History (6)
Changed 12 years ago by malyka.orizono@…
Changed 12 years ago by malyka.orizono@…
Attachment: | main.2.log added |
---|
comment:1 Changed 12 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | petsc removed |
Owner: | changed from macports-tickets@… to mmoll@… |
Priority: | High → Normal |
comment:2 follow-up: 3 Changed 12 years ago by mamoll (Mark Moll)
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.
comment:3 Changed 12 years ago by seanfarley (Sean Farley)
Replying to 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.
comment:4 Changed 11 years ago by mamoll (Mark Moll)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
In the future, please use WikiFormatting, Cc the port maintainer(s), and do not change the priority field.