Opened 11 years ago

Closed 11 years ago

#42016 closed defect (duplicate)

dsdp build failure, but I fixed it

Reported by: jwhowse4 Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: haspatch Cc:
Port: dsdp

Description

On an Intel Mac Pro running Mountain Lion 10.8.5 and XCode 5.0.2 my dsdp build fails with the attached error log. However, for me the attached Portfile and patch file fix the problem and successfully build the package. I am not entirely happy with this patch for two reasons.

1) The patch file includes the following line.

-LAPACKBLAS  = -llapack -lblas -lg2c -lm
+LAPACKBLAS  = -lm -L@@PREFIX@@/lib -llapack -lcblas -lf77blas -latlas -L@@PREFIX@@/lib/gcc48 -lgfortran

This obviously works only when gcc48 is installed, but I am not sure how to make it more flexible.

2) The fact that I had to link libgfortran suggests to me that perhaps the whole thing such just be compiled with gcc rather than clang. I have not tried to figure out the latest macports method for compiling packages with gcc.

Attachments (3)

dsdp_main.log (68.5 KB) - added by jwhowse4 11 years ago.
Error log for dsdp build
Portfile (2.5 KB) - added by jwhowse4 11 years ago.
portfile which worked
patch-make.include.diff (1.8 KB) - added by jwhowse4 11 years ago.
patch file which worked

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by jwhowse4

Attachment: dsdp_main.log added

Error log for dsdp build

Changed 11 years ago by jwhowse4

Attachment: Portfile added

portfile which worked

Changed 11 years ago by jwhowse4

Attachment: patch-make.include.diff added

patch file which worked

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added
Resolution: duplicate
Status: newclosed

Duplicate of #35851.

Note: See TracTickets for help on using tickets.