[MacPorts] #17526: cdf 32 - build failure

MacPorts noreply at macports.org
Thu Dec 4 21:40:22 PST 2008


#17526: cdf 32 - build failure
----------------------------------------------+-----------------------------
 Reporter:  nicholas.d.pate@…                 |       Owner:  macports-tickets@…                   
     Type:  defect                            |      Status:  new                                  
 Priority:  Normal                            |   Milestone:  Port Bugs                            
Component:  ports                             |     Version:  1.6.0                                
 Keywords:  cdf symbol found gfortran opendx  |        Port:  cdf                                  
----------------------------------------------+-----------------------------
 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>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list