[MacPorts] #17526: cdf 32 - build failure

MacPorts noreply at macports.org
Mon Dec 29 13:39:35 PST 2008


#17526: cdf 32 - build failure
----------------------------------------------+-----------------------------
 Reporter:  nicholas.d.pate@…                 |       Owner:  gwright@…           
     Type:  defect                            |      Status:  new                 
 Priority:  Normal                            |   Milestone:  Port Bugs           
Component:  ports                             |     Version:  1.6.0               
 Keywords:  cdf symbol found gfortran opendx  |        Port:  cdf                 
----------------------------------------------+-----------------------------

Comment(by nicholas.d.pate@…):

 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:


 {{{
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/science/cdf
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/science/cdf
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: adding the default universal variant
 DEBUG: Requested variant darwin is not provided by port cdf.
 DEBUG: Requested variant i386 is not provided by port cdf.
 DEBUG: Requested variant macosx is not provided by port cdf.
 DEBUG: Executing variant darwin_i386 provides darwin_i386
 DEBUG: Found port in
 file:///opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/gcc42
 DEBUG: Changing to port directory:
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/lang/gcc42
 DEBUG: setting option os.universal_supported to yes
 DEBUG: org.macports.load registered provides 'load', a pre-existing
 procedure. Target override will not be provided
 DEBUG: org.macports.distfiles registered provides 'distfiles', a pre-
 existing procedure. Target override will not be provided
 DEBUG: 'universal_variant no' specified, so not adding the default
 universal variant
 DEBUG: Requested variant darwin is not provided by port gcc42.
 DEBUG: Requested variant i386 is not provided by port gcc42.
 DEBUG: Requested variant macosx is not provided by port gcc42.
 DEBUG: Searching for dependency: gcc42
 DEBUG: Found Dependency: receipt exists for gcc42
 DEBUG: Executing org.macports.main (cdf)
 --->  Fetching cdf
 DEBUG: Executing org.macports.fetch (cdf)
 --->  Verifying checksum(s) for cdf
 DEBUG: Executing org.macports.checksum (cdf)
 --->  Checksumming cdf32-dist-all.tar.gz
 DEBUG: Correct (sha1) checksum for cdf32-dist-all.tar.gz
 --->  Extracting cdf
 DEBUG: Executing org.macports.extract (cdf)
 --->  Extracting cdf32-dist-all.tar.gz
 DEBUG: setting option extract.args to
 /opt/local/var/macports/distfiles/cdf/cdf32-dist-all.tar.gz
 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_cdf/work"
 && gzip -dc /opt/local/var/macports/distfiles/cdf/cdf32-dist-all.tar.gz |
 /usr/bin/gnutar --no-same-owner -xf -'
 DEBUG: Executing org.macports.patch (cdf)
 --->  Applying patches to cdf
 --->  Applying
 /opt/local/var/macports/sources/rsync.macports.org/release/ports/science/cdf/files
 /patch-Makefile
 DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.5'
 DEBUG: Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_science_cdf/work/cdf32
 -dist-readonly" && patch -p0'
 patching file Makefile
 DEBUG: Executing proc-post-org.macports.patch-patch-0
 --->  Configuring cdf
 DEBUG: Using compiler 'Mac OS X gcc 4.0'
 DEBUG: Executing org.macports.configure (cdf)
 --->  Building cdf
 DEBUG: Executing org.macports.build (cdf)
 gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386 -D__MACH__
 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE
 -I../include -c cdflib.c
 In file included from cdflib.c:46:
 ../include/cdflib.h:480: error: redefinition of 'struct fp1struct4'
 ../include/cdflib.h:483: error: redefinition of 'struct fp2struct4'
 ../include/cdflib.h:486: error: redefinition of 'struct fp34struct4'
 ../include/cdflib.h:489: error: redefinition of 'struct fp1struct8'
 ../include/cdflib.h:493: error: redefinition of 'struct fp2struct8'
 ../include/cdflib.h:497: error: redefinition of 'struct fp3struct8'
 ../include/cdflib.h:501: error: redefinition of 'struct fp4struct8'
 make[1]: *** [cdflib.o] Error 1
 make: *** [all.build] Error 2

 Error: Target org.macports.build returned: shell command "make OS=macosx
 ENV=i386 FORTRAN=yes FC=gfortran-mp-4.2 all" returned error 2
 Command output: gcc-mp-4.2 -isysroot/Developer/SDKs/MacOSX10.4u.sdk -Di386
 -D__MACH__ -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
 -D_LARGEFILE_SOURCE -I../include -c cdflib.c
 In file included from cdflib.c:46:
 ../include/cdflib.h:480: error: redefinition of 'struct fp1struct4'
 ../include/cdflib.h:483: error: redefinition of 'struct fp2struct4'
 ../include/cdflib.h:486: error: redefinition of 'struct fp34struct4'
 ../include/cdflib.h:489: error: redefinition of 'struct fp1struct8'
 ../include/cdflib.h:493: error: redefinition of 'struct fp2struct8'
 ../include/cdflib.h:497: error: redefinition of 'struct fp3struct8'
 ../include/cdflib.h:501: error: redefinition of 'struct fp4struct8'
 make[1]: *** [cdflib.o] 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:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list