[MacPorts] #23553: zziplib-0.13.49 +universal configure and build broken
#23553: zziplib-0.13.49 +universal configure and build broken ------------------------------------+--------------------------------------- Reporter: ejtttje@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: libzzip universal long | Port: libzzip ------------------------------------+--------------------------------------- Building libzzip with +universal breaks during configure when trying to determine the size of 'long'. Removing the line from configure.in and running autoreconfig allows it to build, but then dies during linking because the libzzipwrapper is only linked as the native architecture, not as universal. At this point I am stymied how to resolve. I need universal libzzip so I can build my app as 32-bit (app currently depends on another library which only supports 32-bit) and then work towards fixing the other dependency so I can move to 64 bit as well. -- Ticket URL: <http://trac.macports.org/ticket/23553> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23553: zziplib-0.13.49 +universal configure and build broken ------------------------------------+--------------------------------------- Reporter: ejtttje@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: libzzip universal long | Port: libzzip ------------------------------------+--------------------------------------- Comment(by ejtttje@…): The annoying thing is that after the patch it does build the object files for zzipwrap as 'universal', you can see that in both the log -arch commands and the results:[[BR]] {{{624 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_libzzip/work/zziplib-0.13.49/Darwin_10.2.0_i386.d$ file zzipwrap/*.o zzipwrap/wrap.o: Mach-O universal binary with 2 architectures zzipwrap/wrap.o (for architecture x86_64): Mach-O 64-bit object x86_64 zzipwrap/wrap.o (for architecture i386): Mach-O object i386 zzipwrap/zzipwrap.o: Mach-O universal binary with 2 architectures zzipwrap/zzipwrap.o (for architecture x86_64): Mach-O 64-bit object x86_64 zzipwrap/zzipwrap.o (for architecture i386): Mach-O object i386}}} But the libzzipwrap.dylib is linked as only x86_64:[[BR]] {{{630 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_archivers_libzzip/work/zziplib-0.13.49/Darwin_10.2.0_i386.d$ file zzipwrap/.libs/libzzipwrap.dylib zzipwrap/.libs/libzzipwrap.dylib: Mach-O 64-bit dynamically linked shared library x86_64}}} -- Ticket URL: <http://trac.macports.org/ticket/23553#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23553: zziplib-0.13.49 +universal configure and build broken ------------------------------------+--------------------------------------- Reporter: ejtttje@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: libzzip universal long | Port: libzzip ------------------------------------+--------------------------------------- Comment(by ejtttje@…): Also note that in the original summary I mention running autoreconf, but this causes more trouble with libtool no longer working for linking: ../libtool: line 756: X--tag=CC: command not found[[BR]] ../libtool: line 789: libtool: ignoring unknown tag : command not found[[BR]] ../libtool: line 756: X--mode=link: command not found[[BR]] ../libtool: line 906: *** Warning: inferring the mode of operation is deprecated.: command not found[[BR]] ../libtool: line 907: *** Future versions of Libtool will require --mode=MODE be specified.: command not found[[BR]] ../libtool: line 937: libtool: warning: cannot infer operation mode from `/usr/bin/gcc-4.2': No such file or directory[[BR]] ../libtool: line 6656: libtool: you must specify a MODE: command not found[[BR]] ../libtool: line 6657: Try `libtool --help' for more information.: command not found So instead after previous patch I used just 'autoconf' for the latter log file, which is using version 2.65 from macports, not the native 2.61 with OS X 10.6... -- Ticket URL: <http://trac.macports.org/ticket/23553#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23553: zziplib-0.13.49 +universal configure and build broken ------------------------------------+--------------------------------------- Reporter: ejtttje@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: libzzip universal long | Port: libzzip ------------------------------------+--------------------------------------- Comment(by ejtttje@…): SOLVED: I found that updating the version to 0.13.58 fixes the secondary zzipwrap issues, so you can apply the included patch-libzzip_Portfile.diff to update the Portfile for a few minor universal build issues, and then include the two source patches, patch-configure.ac.diff and patch- zzib_Makefile.in.diff in the 'files' directory. -- Ticket URL: <http://trac.macports.org/ticket/23553#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23553: zziplib-0.13.49 +universal configure and build broken ------------------------------------+--------------------------------------- Reporter: ejtttje@… | Owner: macsforever2000@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: libzzip universal long | Port: libzzip ------------------------------------+--------------------------------------- Changes (by macsforever2000@…): * status: new => assigned * owner: macports-tickets@… => macsforever2000@… -- Ticket URL: <http://trac.macports.org/ticket/23553#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#23553: zziplib-0.13.49 +universal configure and build broken --------------------------------+------------------------------------------- Reporter: ejtttje@… | Owner: macsforever2000@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: libzzip universal long Port: libzzip | --------------------------------+------------------------------------------- Changes (by macsforever2000@…): * status: assigned => closed * resolution: => fixed Comment: r64707. -- Ticket URL: <http://trac.macports.org/ticket/23553#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts