[MacPorts] #47085: port install wireshark fails
#47085: port install wireshark fails ------------------------------+-------------------------------- Reporter: tome@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: wireshark libffi | Port: wireshark ------------------------------+-------------------------------- Powerbook PPC 750 (pismo) 500Mhz, 10.4.11, 1G ram, 11G disk available Xcode 2.5 wireshark build failed. macport-users discussion indicated libffi as the failing member, based on:
lipo -info /opt/local/lib/libffi.6.dylib /opt/local/lib/libgio-2.0.0.dylib
Non-fat file: /opt/local/lib/libffi.6.dylib is architecture: ppc7400 Non-fat file: /opt/local/lib/libgio-2.0.0.dylib is architecture: ppc
printouts from logs of the build are in the macport-users discussion about this failure. -- Ticket URL: <https://trac.macports.org/ticket/47085> MacPorts <https://www.macports.org/> Ports system for OS X
#47085: port install wireshark fails ------------------------+------------------------------ Reporter: tome@… | Owner: opendarwin.org@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger powerpc Port: wireshark | ------------------------+------------------------------ Changes (by mf2k@…): * owner: macports-tickets@… => opendarwin.org@… * keywords: wireshark libffi => tiger powerpc Comment: In the future, please Cc the port maintainers ({{{port info --maintainers wireshark}}}), if any. Please attach the main.log to this ticket. -- Ticket URL: <https://trac.macports.org/ticket/47085#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#47085: libffi is built for G4 when running on a G3 ---------------------+-------------------------------- Reporter: tome@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger powerpc Port: libffi | ---------------------+-------------------------------- Changes (by ryandesign@…): * owner: opendarwin.org@… => macports-tickets@… * port: wireshark => libffi Comment: This has been discussed on the mailing list. The problem is that libffi is built for G4, even though he has a G3. The log of the "successful" libffi build was provided on the mailing list. -- Ticket URL: <https://trac.macports.org/ticket/47085#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#47085: libffi is built for G4 when running on a G3 ---------------------+-------------------------------- Reporter: tome@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger powerpc Port: libffi | ---------------------+-------------------------------- Description changed by ryandesign@…: Old description:
Powerbook PPC 750 (pismo) 500Mhz, 10.4.11, 1G ram, 11G disk available Xcode 2.5
wireshark build failed. macport-users discussion indicated libffi as the failing member, based on:
lipo -info /opt/local/lib/libffi.6.dylib /opt/local/lib/libgio-2.0.0.dylib
Non-fat file: /opt/local/lib/libffi.6.dylib is architecture: ppc7400 Non-fat file: /opt/local/lib/libgio-2.0.0.dylib is architecture: ppc
printouts from logs of the build are in the macport-users discussion about this failure.
New description: Powerbook PPC 750 (pismo) 500Mhz, 10.4.11, 1G ram, 11G disk available Xcode 2.5 wireshark build failed. macport-users discussion indicated libffi as the failing member, based on:
{{{ lipo -info /opt/local/lib/libffi.6.dylib /opt/local/lib/libgio-2.0.0.dylib }}}
{{{ Non-fat file: /opt/local/lib/libffi.6.dylib is architecture: ppc7400 Non-fat file: /opt/local/lib/libgio-2.0.0.dylib is architecture: ppc }}}
printouts from logs of the build are in the macport-users discussion about this failure. -- -- Ticket URL: <https://trac.macports.org/ticket/47085#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#47085: libffi is built for G4 when running on a G3 ---------------------+-------------------------------- Reporter: tome@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger powerpc Port: libffi | ---------------------+-------------------------------- Changes (by ryandesign@…): * cc: benoit.rivet@… (added) Comment: Has duplicate #48842. -- Ticket URL: <https://trac.macports.org/ticket/47085#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#47085: libffi is built for G4 when running on a G3 ---------------------+-------------------------------- Reporter: tome@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger powerpc Port: libffi | ---------------------+-------------------------------- Comment (by ryandesign@…): I have [https://sourceware.org/ml/libffi-discuss/2015/msg00084.html reported this problem] to the libffi-discuss mailing list. Hopefully they will suggest a solution. -- Ticket URL: <https://trac.macports.org/ticket/47085#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#47085: libffi is built for G4 when running on a G3 ---------------------+-------------------------------- Reporter: tome@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger powerpc Port: libffi | ---------------------+-------------------------------- Comment (by benoit.rivet@…): I’ve been able to build libffi successfully on a G3 Mac after downloading libffi-3.2.1.tar.gz, modifying line 34 in src/powerpc/darwin.S and line 37 in src/powerpc/darwin_closure.S from {{{ #define machine_choice MODE_CHOICE(ppc7400,ppc64) }}} to : {{{ #define machine_choice MODE_CHOICE(ppc,ppc64) }}} Of course, this may break libffi on G4 Mac (where ppc7400 or ppc7450 may be expected). However, since I wanted to build on a G3 Mac, I did not bother to check what happens on G4 Mac with that change. After that, ./configure, make then make install installed libffi.6.dylib and libffi.dylib in /usr/local/lib and {{{ lipo -info /usr/local/lib/libffi.6.dylib }}} gives : {{{ Non fat file: /usr/local/lib/libffi.6.dylib is architecture: ppc750 }}} I was then able to install the gobject-introspection port through macports via : {{{ sudo port install gobject-introspection }}} which failed previously due to libffi with the message : {{{ Library not loaded: /opt/local/lib/libffi.6.dylib Referenced from: /opt/local/lib/libgio-2.0.0.dylib Reason: no suitable image found. Did find: /opt/local/lib/libffi.6.dylib: incompatible cpu-subtype }}} PS: I reported [https://sourceware.org/ml/libffi- discuss/2015/msg00085.html this success] to the libffi-discuss mailing list. -- Ticket URL: <https://trac.macports.org/ticket/47085#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#47085: libffi is built for G4 when running on a G3 ---------------------+-------------------------------- Reporter: tome@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger powerpc Port: libffi | ---------------------+-------------------------------- Changes (by ryandesign@…): * cc: gerzsonj@… (added) Comment: Has duplicate #48837. -- Ticket URL: <https://trac.macports.org/ticket/47085#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#47085: libffi is built for G4 when running on a G3 ---------------------+-------------------------------- Reporter: tome@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: tiger powerpc Port: libffi | ---------------------+-------------------------------- Comment (by ryandesign@…): Replying to [comment:7 benoit.rivet@…]:
I’ve been able to build libffi successfully on a G3 Mac after downloading libffi-3.2.1.tar.gz, modifying line 34 in src/powerpc/darwin.S and line 37 in src/powerpc/darwin_closure.S
Since I don't know all the implications of making that change, I'll wait to modify the port until the developers of libffi confirm whether that is the correct fix. -- Ticket URL: <https://trac.macports.org/ticket/47085#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts