[MacPorts] #31459: A bug already fixed with libffi@3.0.9_0+universal has reappeared in version 3.0.10
#31459: A bug already fixed with libffi@3.0.9_0+universal has reappeared in version 3.0.10 ----------------------------------------+----------------------------------- Reporter: herzog@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: C preprocessor | Port: libffi ----------------------------------------+----------------------------------- Installation of libffi via 'sudo port -svk install libffi +universal' creates a header file '/opt/local/lib/libffi-3.0.10/include/ffi.h' whose number of #if statements does not match the number of #endif's. For example, 'sudo port -svk install py27-gobject +universal' results in the following error code: In file included from ffi-marshaller.c:24: /opt/local/lib/libffi-3.0.10/include/ffi.h:53:1: error: unterminated #ifndef This looks very similar to Ticket #25439 concerning an older version of this library. -- Ticket URL: <https://trac.macports.org/ticket/31459> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31459: A bug already fixed with libffi@3.0.9_0+universal has reappeared in version 3.0.10 ----------------------------------------+----------------------------------- Reporter: herzog@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: C preprocessor | Port: libffi ----------------------------------------+----------------------------------- Description changed by ryandesign@…: Old description:
Installation of libffi via 'sudo port -svk install libffi +universal' creates a header file '/opt/local/lib/libffi-3.0.10/include/ffi.h' whose number of #if statements does not match the number of #endif's. For example, 'sudo port -svk install py27-gobject +universal' results in the following error code: In file included from ffi-marshaller.c:24: /opt/local/lib/libffi-3.0.10/include/ffi.h:53:1: error: unterminated #ifndef This looks very similar to Ticket #25439 concerning an older version of this library.
New description: Installation of libffi via '`sudo port -svk install libffi +universal`' creates a header file '/opt/local/lib/libffi-3.0.10/include/ffi.h' whose number of `#if` statements does not match the number of `#endif`'s. For example, '`sudo port -svk install py27-gobject +universal`' results in the following error code: {{{ In file included from ffi-marshaller.c:24: /opt/local/lib/libffi-3.0.10/include/ffi.h:53:1: error: unterminated #ifndef }}} This looks very similar to Ticket #25439 concerning an older version of this library. -- -- Ticket URL: <https://trac.macports.org/ticket/31459#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31459: A bug already fixed with libffi@3.0.9_0+universal has reappeared in version 3.0.10 ----------------------------------------+----------------------------------- Reporter: herzog@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: C preprocessor | Port: libffi ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: It builds fine for me for i386 x86_64 on Snow Leopard. Please let us know your OS version, your Xcode version, and your universal_archs, and please attach the problematic ffi.h. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/31459#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31459: A bug already fixed with libffi@3.0.9_0+universal has reappeared in version 3.0.10 ----------------------------------------+----------------------------------- Reporter: herzog@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: C preprocessor | Port: libffi ----------------------------------------+----------------------------------- Comment(by herzog@…): Here are the data you asked for and further items that may be helpfull: Mac OS version: Mac OS X 10.5.8 Xcode version: Xcode 3.1.4 UNIVERSAL_ARCHS='i386 ppc' (as defined in ~/MacPorts/MacPortBuild/MacPorts-2.0.3/config.log ) The attached zip archive contains the installation logs from a completely fresh MacPorts system to the state when the problem occured. -- Ticket URL: <https://trac.macports.org/ticket/31459#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31459: A bug already fixed with libffi@3.0.9_0+universal has reappeared in version 3.0.10 ----------------------------------------+----------------------------------- Reporter: herzog@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: C preprocessor | Port: libffi ----------------------------------------+----------------------------------- Comment(by herzog@…): The description of the problem is not quite correct: The header files for the ppc and i386 plattforms of libffi are completely okay. The problem is the mechanism which glues together the headers for the different plattforms into a single universal header file. For example, everything works well, if the files /opt/local/lib/libffi-3.0.10/include/ffi.h /opt/local/lib/libffi-3.0.10/include/ffitarget.h are replaced by headers which include the appropriate headers from ...libffi/work/destroot-ppc and ...libffi/work/destroot-i386 respectively. Too see this, replace the directory /opt/local/lib/libffi-3.0.10/include with the directory contained in the attachment 'include.zip'. Replying to [ticket:31459 herzog@…]:
Installation of libffi via '`sudo port -svk install libffi +universal`' creates a header file '/opt/local/lib/libffi-3.0.10/include/ffi.h' whose number of `#if` statements does not match the number of `#endif`'s. For example, '`sudo port -svk install py27-gobject +universal`' results in the following error code: {{{ In file included from ffi-marshaller.c:24: /opt/local/lib/libffi-3.0.10/include/ffi.h:53:1: error: unterminated #ifndef }}} This looks very similar to Ticket #25439 concerning an older version of this library.
-- Ticket URL: <https://trac.macports.org/ticket/31459#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31459: libffi: headers are merged improperly by muniversal portgroup ----------------------------------------+----------------------------------- Reporter: herzog@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: muniversal | Port: libffi ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * keywords: C preprocessor => muniversal -- Ticket URL: <https://trac.macports.org/ticket/31459#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31459: libffi: headers are merged improperly by muniversal portgroup ----------------------------------------+----------------------------------- Reporter: herzog@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: muniversal | Port: libffi ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * cc: k.polezhaiev@… (added) Comment: Has duplicate #32257. -- Ticket URL: <https://trac.macports.org/ticket/31459#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#31459: libffi: headers are merged improperly by muniversal portgroup -----------------------------------------+---------------------------------- Reporter: herzog@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: fixed | Keywords: muniversal Port: libffi | -----------------------------------------+---------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Now that I've had a chance to try this out on a Tiger machine, it looks like this is a reprise of an issue that was avoided when the universal variant was first introduced in r46771. The port says not to use the merger for ffitarget.h, but the headers have changed their location since then and the port wasn't updated accordingly, and now ffi.h is affected as well. Fixed in r87572. -- Ticket URL: <https://trac.macports.org/ticket/31459#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts