[MacPorts] #31487: netcdf does not install on Lion ( which breaks spider )
MacPorts
noreply at macports.org
Mon Oct 3 00:02:36 PDT 2011
#31487: netcdf does not install on Lion ( which breaks spider )
-------------------------------------+--------------------------------------
Reporter: janderssen@… | Owner: macports-tickets@…
Type: defect | Status: closed
Priority: Normal | Milestone:
Component: ports | Version: 2.0.3
Resolution: duplicate | Keywords: lion
Port: netcdf |
-------------------------------------+--------------------------------------
Changes (by ryandesign@…):
* keywords: netcdf spyder => lion
* status: new => closed
* resolution: => duplicate
* milestone: MacPorts 2.0.4 =>
Old description:
> Hi all
>
> If you would like extra details, please let me know.
> Log containing problematic part is pasted below, Hope this helps.
>
> Also is there a work around to this isse ?
>
> Cheers
> Jason
>
> :info:build make[4]: Entering directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-4.1.3/libcf/cfcheck'
> :info:build /bin/sh ../libtool --tag=CC --mode=link /Developer/usr/bin
> /llvm-gcc-4.2 -pipe -O2 -fno-common -arch x86_64
> ../../liblib/libnetcdf.la -L/opt/local/lib -lhdf5_hl -lhdf5 -lz
> -L/opt/local/lib -lsz -lm -L/opt/local/lib -arch x86_64 -L/opt/local/lib
> -o cfcheck cfcheck.o
> :info:build libtool: link: /Developer/usr/bin/llvm-gcc-4.2 -pipe -O2
> -fno-common -arch x86_64 -arch x86_64 -o .libs/cfcheck cfcheck.o
> ../../liblib/.libs/libnetcdf.dylib -L/opt/local/lib
> /opt/local/lib/libcurl.dylib /opt/local/lib/libidn.dylib
> /opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib -lssl
> -lcrypto /opt/local/lib/libhdf5_hl.dylib /opt/local/lib/libhdf5.dylib -lz
> -lsz -lm
> :info:build ld: library not found for -lsz
> :info:build collect2: ld returned 1 exit status
> :info:build make[4]: *** [cfcheck] Error 1
> :info:build make[4]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-4.1.3/libcf/cfcheck'
> :info:build make[3]: *** [all-recursive] Error 1
> :info:build make[3]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-4.1.3/libcf'
> :info:build make[2]: *** [all] Error 2
> :info:build make[2]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-4.1.3/libcf'
> :info:build make[1]: *** [all-recursive] Error 1
> :info:build make[1]: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-4.1.3'
> :info:build make: *** [all] Error 2
> :info:build make: Leaving directory
> `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-4.1.3'
> :info:build shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-4.1.3"
> && /usr/bin/make -j5 -w all " returned error 2
> :error:build Target org.macports.build returned: shell command failed
> (see log for details)
> :debug:build Backtrace: shell command failed (see log for details)
> while executing
> "command_exec build"
> (procedure "portbuild::build_main" line 8)
> invoked from within
> "$procedure $targetname"
> :info:build Warning: the following items did not execute (for netcdf):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> :notice:build Log for netcdf is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/main.log
New description:
Hi all
If you would like extra details, please let me know.
Log containing problematic part is pasted below, Hope this helps.
Also is there a work around to this isse ?
Cheers [[br]]
Jason
{{{
:info:build make[4]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-4.1.3/libcf/cfcheck'
:info:build /bin/sh ../libtool --tag=CC --mode=link /Developer/usr/bin
/llvm-gcc-4.2 -pipe -O2 -fno-common -arch x86_64
../../liblib/libnetcdf.la -L/opt/local/lib -lhdf5_hl -lhdf5 -lz
-L/opt/local/lib -lsz -lm -L/opt/local/lib -arch x86_64 -L/opt/local/lib
-o cfcheck cfcheck.o
:info:build libtool: link: /Developer/usr/bin/llvm-gcc-4.2 -pipe -O2 -fno-
common -arch x86_64 -arch x86_64 -o .libs/cfcheck cfcheck.o
../../liblib/.libs/libnetcdf.dylib -L/opt/local/lib
/opt/local/lib/libcurl.dylib /opt/local/lib/libidn.dylib
/opt/local/lib/libintl.dylib -lc /opt/local/lib/libiconv.dylib -lssl
-lcrypto /opt/local/lib/libhdf5_hl.dylib /opt/local/lib/libhdf5.dylib -lz
-lsz -lm
:info:build ld: library not found for -lsz
:info:build collect2: ld returned 1 exit status
:info:build make[4]: *** [cfcheck] Error 1
:info:build make[4]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-4.1.3/libcf/cfcheck'
:info:build make[3]: *** [all-recursive] Error 1
:info:build make[3]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-4.1.3/libcf'
:info:build make[2]: *** [all] Error 2
:info:build make[2]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-4.1.3/libcf'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-4.1.3'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-4.1.3'
:info:build shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/work/netcdf-4.1.3"
&& /usr/bin/make -j5 -w all " returned error 2
:error:build Target org.macports.build returned: shell command failed (see
log for details)
:debug:build Backtrace: shell command failed (see log for details)
while executing
"command_exec build"
(procedure "portbuild::build_main" line 8)
invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for netcdf):
org.macports.activate org.macports.build org.macports.destroot
org.macports.install
:notice:build Log for netcdf is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_science_netcdf/netcdf/main.log
}}}
--
Comment:
Please use WikiFormatting, note that we don't use the Milestone field for
port tickets, and search for existing tickets before filing a new one.
This is a duplicate of #31415. Install the szip port.
--
Ticket URL: <https://trac.macports.org/ticket/31487#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list