Opened 16 years ago
Closed 15 years ago
#17526 closed defect (fixed)
cdf 32 - build failure
Reported by: | nicholas.d.pate@… | Owned by: | gwright@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.6.0 |
Keywords: | cdf symbol found gfortran opendx | Cc: | bitmail@…, ryandesign (Ryan Carsten Schmidt) |
Port: | cdf |
Description
cdf fails to build with symbol(s) not found. This problem occurs on a PowerBook G4 running Leopard (10.5.5) with a fresh, default install of MacPorts. The relevant output from "sudo port -d -v install cdf" is as follows:
gfortran-mp-4.2 -o qst2f qst2f.o ../lib/libcdf.a -L/Developer/SDKs/MacOSX10.4u.sdk /opt/local/lib/gcc42/gcc/powerpc-apple-darwin9.5.0/4.2.4/libgcc.a -lm -lc -lSystemStubs Undefined symbols: "_cdf_var_get_", referenced from: _MAIN__ in qst2f.o "_cdf_attr_num_", referenced from: _MAIN__ in qst2f.o _MAIN__ in qst2f.o _MAIN__ in qst2f.o _MAIN__ in qst2f.o _MAIN__ in qst2f.o "_cdf_var_hyper_put_", referenced from: _MAIN__ in qst2f.o "_cdf_set_checksum_", referenced from: _MAIN__ in qst2f.o "_cdf_create_", referenced from: _MAIN__ in qst2f.o _MAIN__ in qst2f.o _MAIN__ in qst2f.o "_cdf_var_hyper_get_", referenced from: _MAIN__ in qst2f.o "_cdf_doc_", referenced from: _MAIN__ in qst2f.o "_parse_epoch1_", referenced from: _MAIN__ in qst2f.o "_cdf_error_", referenced from: _MAIN__ in qst2f.o "_parse_epoch2_", referenced from: _MAIN__ in qst2f.o "_parse_epoch3_", referenced from: _MAIN__ in qst2f.o "_cdf_var_num_", referenced from: _MAIN__ in qst2f.o _MAIN__ in qst2f.o _MAIN__ in qst2f.o _MAIN__ in qst2f.o _MAIN__ in qst2f.o _MAIN__ in qst2f.o "_cdf_attr_put_", referenced from: _MAIN__ in qst2f.o "_cdf_var_create_", referenced from: _MAIN__ in qst2f.o _MAIN__ in qst2f.o "_cdf_attr_get_", referenced from: _MAIN__ in qst2f.o "_parse_epoch_", referenced from: _MAIN__ in qst2f.o "_cdf_attr_create_", referenced from: _MAIN__ in qst2f.o "_compute_epoch_", referenced from: _MAIN__ in qst2f.o "_cdf_var_rename_", referenced from: _MAIN__ in qst2f.o "_cdf_get_checksum_", referenced from: _MAIN__ in qst2f.o "_cdf_inquire_", referenced from: _MAIN__ in qst2f.o _MAIN__ in qst2f.o "_cdf_attr_entry_inquire_", referenced from: _MAIN__ in qst2f.o "_cdf_close_", referenced from: _MAIN__ in qst2f.o _MAIN__ in qst2f.o "_encode_epoch_", referenced from: _MAIN__ in qst2f.o "_cdf_var_inquire_", referenced from: _MAIN__ in qst2f.o "_cdf_open_", referenced from: _MAIN__ in qst2f.o _MAIN__ in qst2f.o "_epoch_breakdown_", referenced from: _MAIN__ in qst2f.o "_cdf_attr_inquire_", referenced from: _MAIN__ in qst2f.o "_cdf_attr_rename_", referenced from: _MAIN__ in qst2f.o "_cdf_var_put_", referenced from: _MAIN__ in qst2f.o "_encode_epoch1_", referenced from: _MAIN__ in qst2f.o "_cdf_delete_", referenced from: _MAIN__ in qst2f.o _MAIN__ in qst2f.o "_encode_epoch2_", referenced from: _MAIN__ in qst2f.o "_encode_epoch3_", referenced from: _MAIN__ in qst2f.o ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [qst2f] Error 1 make: *** [all.build] Error 2 Error: Target org.macports.build returned: shell command "make OS=macosx ENV=ppc FORTRAN=yes FC=gfortran-mp-4.2 all" returned error 2 Command output: _MAIN__ in qst2f.o _MAIN__ in qst2f.o "_encode_epoch_", referenced from: _MAIN__ in qst2f.o "_cdf_var_inquire_", referenced from: _MAIN__ in qst2f.o "_cdf_open_", referenced from: _MAIN__ in qst2f.o _MAIN__ in qst2f.o "_epoch_breakdown_", referenced from: _MAIN__ in qst2f.o "_cdf_attr_inquire_", referenced from: _MAIN__ in qst2f.o "_cdf_attr_rename_", referenced from: _MAIN__ in qst2f.o "_cdf_var_put_", referenced from: _MAIN__ in qst2f.o "_encode_epoch1_", referenced from: _MAIN__ in qst2f.o "_cdf_delete_", referenced from: _MAIN__ in qst2f.o _MAIN__ in qst2f.o "_encode_epoch2_", referenced from: _MAIN__ in qst2f.o "_encode_epoch3_", referenced from: _MAIN__ in qst2f.o ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [qst2f] Error 1 make: *** [all.build] Error 2 Warning: the following items did not execute (for cdf): org.macports.activate org.macports.build org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
Change History (9)
comment:1 Changed 16 years ago by blb@…
Owner: | changed from macports-tickets@… to gwright@… |
---|
comment:2 Changed 16 years ago by nicholas.d.pate@…
comment:4 Changed 15 years ago by bitmail@…
When trying to install OpenDX, the build of dependency CDF fails on OSX 10.5.7 PPC too:
---> Fetching cdf ---> Verifying checksum(s) for cdf ---> Extracting cdf ---> Applying patches to cdf ---> Configuring cdf ---> Building cdf Error: Target org.macports.build returned: shell command "make OS=macosx ENV=ppc FORTRAN=yes FC=gfortran-mp-4.2 all" returned error 2 Command output: _MAIN__ in qst2f.o _MAIN__ in qst2f.o "_encode_epoch_", referenced from: _MAIN__ in qst2f.o "_cdf_var_inquire_", referenced from: _MAIN__ in qst2f.o "_cdf_open_", referenced from: _MAIN__ in qst2f.o _MAIN__ in qst2f.o "_epoch_breakdown_", referenced from: _MAIN__ in qst2f.o "_cdf_attr_inquire_", referenced from: _MAIN__ in qst2f.o "_cdf_attr_rename_", referenced from: _MAIN__ in qst2f.o "_cdf_var_put_", referenced from: _MAIN__ in qst2f.o "_encode_epoch1_", referenced from: _MAIN__ in qst2f.o "_cdf_delete_", referenced from: _MAIN__ in qst2f.o _MAIN__ in qst2f.o "_encode_epoch2_", referenced from: _MAIN__ in qst2f.o "_encode_epoch3_", referenced from: _MAIN__ in qst2f.o ld: symbol(s) not found collect2: ld returned 1 exit status make[1]: *** [qst2f] Error 1 make: *** [all.build] Error 2
comment:5 Changed 15 years ago by bitmail@…
Further Info:
$port version Version: 1.710
I'm wondering if this error is related to the use of the MacOSX10.4u.sdk on the OSX10.5 platform. Is there a reason not to use the MacOSX10.5.sdk shipped now?
comment:7 follow-up: 8 Changed 15 years ago by caivega@…
Macos 10.5.8 got following error:
macbp:bin root# port install cdf ---> Computing dependencies for cdf ---> Applying patches to cdf Error: Target org.macports.patch returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_cdf/work/cdf32-dist-readonly" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/science/cdf/files/patch-Makefile'" returned error 1 Command output: patching file Makefile Reversed (or previously applied) patch detected! Assume -R? [n] Apply anyway? [n] Skipping patch. 1 out of 1 hunk ignored -- saving rejects to file Makefile.rej Error: Status 1 encountered during processing.
comment:8 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|
comment:9 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
cdf also fails to build on a MacBook running 10.5.6 with a fresh, updated install of MacPorts/DarwinPorts. If it won't compile for OS X on Intel or PPC, what is it doing here?
Output from 'sudo port -d -v install cdf' is as follows: