[MacPorts] #17526: cdf 32 - build failure
MacPorts
noreply at macports.org
Thu Oct 29 19:24:51 PDT 2009
#17526: cdf 32 - build failure
-------------------------------------------+--------------------------------
Reporter: nicholas.d.pate@… | Owner: gwright@…
Type: defect | Status: new
Priority: Normal | Component: ports
Version: 1.6.0 | Keywords: cdf symbol found gfortran opendx
Port: cdf |
-------------------------------------------+--------------------------------
Comment(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.
Replying to [ticket:17526 nicholas.d.pate@…]:
> 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.
> }}}
--
Ticket URL: <http://trac.macports.org/ticket/17526#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list