[MacPorts] #30849: libzzip won't build correctly with clang

MacPorts noreply at macports.org
Wed Aug 17 21:26:46 PDT 2011


#30849: libzzip won't build correctly with clang
-------------------------------+--------------------------------------------
 Reporter:  msavory@…          |       Owner:  macports-tickets@…                   
     Type:  defect             |      Status:  new                                  
 Priority:  Normal             |   Milestone:                                       
Component:  ports              |     Version:  2.0.1                                
 Keywords:  clang              |        Port:  libzzip                              
-------------------------------+--------------------------------------------

Comment(by msavory@…):

 I think this is the first reported error

 /bin/sh ../libtool --silent --tag=CC   --mode=link
 /Developer/usr/bin/clang  -pipe -O2 -arch x86_64 -D_USE_MMAP  -fomit-
 frame-pointer -Wall -Wpointer-arith -Wsign-compare -Wmissing-declarations
 -Wdeclaration-after-statement -Werror-implicit-function-declaration
 -Wstrict-aliasing -Warray-bounds -fstrict-prototypes -Wstrict-prototypes
 --export-dynamic -L/opt/local/lib -arch x86_64 -o zzipwrap zzipwrap.o
 libzzipwrap.la   [[BR]]

 '''  clang: error: unsupported option '--export-dynamic''''[[BR]]

   make[3]: *** [zzipwrap] Error 1
   make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_libzzip/libzzip/work/zziplib-0.13.60/Darwin_11.1.0_x86_64.d/zzipwrap'
   make[2]: *** [all-recursive] Error 1
   make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_libzzip/libzzip/work/zziplib-0.13.60/Darwin_11.1.0_x86_64.d'
   make[1]: *** [all] Error 2
   make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_libzzip/libzzip/work/zziplib-0.13.60/Darwin_11.1.0_x86_64.d'
   make: *** [all] Error 2
   make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_libzzip/libzzip/work/zziplib-0.13.60'
   shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_archivers_libzzip/libzzip/work/zziplib-0.13.60"
 && /usr/bin/make -j2 -w all " returned error 2
   Error: Target org.macports.build returned: shell command failed (see log
 for details)

-- 
Ticket URL: <https://trac.macports.org/ticket/30849#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list