#3433 closed defect (fixed)
pgplot build failure on 10.4 due to g77 dependency
Reported by: | aips@… | Owned by: | blb@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.0 |
Keywords: | Cc: | Kai.Puolamaki@… | |
Port: |
Description
As in http://bugzilla.opendarwin.org/show_bug.cgi?id=3174, the pgplot port depends on the g77 port and fails because g77 has been obsoleted by gcc34 or gcc40.
Wouldn't it be nice to update the dependencies for 10.4?
gcc40 also failed to build without an update from cvs, see #3432
I'm using darwinports 1.001 $ port version Version: 1.001
I had just done a clean install and cvs pull of darwinports, but hadn't done a cvsup or selfupdate.
I hacked on /opt/darwinports/dports/PortIndex and /opt/darwinports/dports/graphics/pgplot/ {Portfile,files/patch-sys_darwin_g77_gcc.conf} but could not prevent the port trying to build g77.
Change History (5)
comment:1 Changed 19 years ago by aips@…
comment:2 Changed 19 years ago by aips@…
I checked once more for /usr/lib/libcc_dynamic.a It doesn't exist any more. I tried to reinstall it, by uninstalling and reinstalling all of Xcode2.0. It appeared during the OS X SDK step, but then disappeared again. It was pointing to /usr/lib/gcc/default/libgcc.a which does not exist either; $ ls -lt /usr/lib/gcc total 0 drwxr-xr-x 4 root wheel 136 Jun 12 12:33 darwin drwxr-xr-x 3 root wheel 102 Mar 28 13:40 powerpc-apple-darwin8 $ ls -lt /usr/lib/gcc/darwin/ total 8 lrwxr-xr-x 1 root wheel 3 Jun 12 12:29 3.3-fast -> 3.3 drwxr-xr-x 8 root wheel 272 Mar 28 13:40 3.3 $ ls -lt /usr/lib/gcc/powerpc-apple-darwin8/ total 0 drwxr-xr-x 15 root wheel 510 Mar 28 13:40 4.0.0
WTF!???
comment:3 Changed 19 years ago by jmpp@…
Owner: | changed from darwinports-bugs@… to blb@… |
---|
comment:4 Changed 19 years ago by Kai.Puolamaki@…
Cc: | Kai.Puolamaki@… added |
---|
comment:5 Changed 19 years ago by blb@…
Resolution: | → fixed |
---|---|
Status: | new → closed |
pgplot updated to use gcc34's F77 compiler (the libcc_dynamic was a fix which is obviously unneeded now). Thanks for the report and patches.
After updating Portfile, and adding files/patch-sys_darwin_g77_gccdp34.conf, I got it to start building.
gfortran will not build pgplot, so the dependency should be on gcc34, not gcc40.
When building with gcc7-dp-34, it fails when trying to link to libcc_dynamic.
What I did is below. The errors are below that, and at the bottom the changes I made. The libcc_dynamic exists, and in the place one would expect; /usr/lib/libcc_dynamic.a It also fails even if I explicilty insert -L/usr/lib in files/patch-makemake and touch Portfile, to force a repatching.
...busybusybusy...