[MacPorts] #44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450)
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) -----------------------------------+-------------------------------- Reporter: zanderpower@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Keywords: upgrade build failure | Port: libgpg-error -----------------------------------+-------------------------------- This is probably a duplicate as I accidentally forgot to specify the affected port. libgpg-error/main.log is attached. I will try deactivating the old libgpg- error, reinstalling and then report the results. -- Ticket URL: <https://trac.macports.org/ticket/44921> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+----------------------------------- Reporter: zanderpower@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: upgrade build failure Port: libgpg-error | ----------------------------+----------------------------------- Comment (by zanderpower@…): No, it still fails with the old libgpg-error deactivated, and then attempting fresh install after {{{ port clean --all libgpg-error }}} -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+----------------------------------- Reporter: zanderpower@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: upgrade build failure Port: libgpg-error | ----------------------------+----------------------------------- Comment (by ryandesign@…): Has duplicate #44920. -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+----------------------------------- Reporter: zanderpower@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: upgrade build failure Port: libgpg-error | ----------------------------+----------------------------------- Comment (by braumann@…): Also fails on 10.6.8 -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+----------------------------------- Reporter: zanderpower@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: upgrade build failure Port: libgpg-error | ----------------------------+----------------------------------- Comment (by mschamschula@…): I have reported this issue upstream: https://bugs.g10code.com/gnupg/issue1712 -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+---------------------------- Reporter: zanderpower@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: libgpg-error | ----------------------------+---------------------------- Changes (by mf2k@…): * owner: macports-tickets@… => mschamschula@… * cc: mschamschula@… (removed) * keywords: upgrade build failure => -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+---------------------------- Reporter: zanderpower@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: libgpg-error | ----------------------------+---------------------------- Comment (by braumann@…): Replying to [comment:5 mschamschula@…]:
I have reported this issue upstream:
Any personal guess why 10.5. and 10.6 fail, but 10.7 and 10.8 work? What I have tried on 10.6.8 is to test all available compilers (apple-gcc, gcc, llvm-gcc, clang) in various versions, but none could handle the lines 825 ff. in gpg-error.h -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+---------------------------- Reporter: zanderpower@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: libgpg-error | ----------------------------+---------------------------- Comment (by mschamschula@…): A quick inspection of main.log seems to indicate that there is an issue with system header files. More specifically "ssize_t" may not have been declared. Adding #include <stdlib.h> to gpg-error.h may solve the issue. -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+---------------------------- Reporter: zanderpower@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: libgpg-error | ----------------------------+---------------------------- Comment (by zanderpower@…): I just added {{{ #include <stdlib.h> }}} to gpg-error.h before configuring, as mschamschula suggested. Still it fails. Could it possibly require both the editing of the header and an alternate compiler? leopard 10.5.8 PowerBook G4, PPC 7450 XCode 3.14 -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+---------------------------- Reporter: zanderpower@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: libgpg-error | ----------------------------+---------------------------- Comment (by raramayo@…): Cc Me! -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+---------------------------- Reporter: zanderpower@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: libgpg-error | ----------------------------+---------------------------- Comment (by mschamschula@…): I just did a bit more digging: Under OS X 10.9 I find that ssize_t is defined in <sys/types.h>. This may not be the case for the older OS versions. I the back of my mind I remember running into the following patch: http://notmuchmail.org/pipermail/notmuch/2009/000272.html which defines ssize_t. -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+---------------------------- Reporter: zanderpower@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: libgpg-error | ----------------------------+---------------------------- Changes (by larryv@…): * cc: raramayo@… (added) -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:14> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+---------------------------- Reporter: zanderpower@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: libgpg-error | ----------------------------+---------------------------- Comment (by zanderpower@…): I understand you to be referring to the file [[BR]] {{{/usr/include/sys/types.h}}} On my system, this file contains the lines: {{{ #ifndef _SIZE_T #define _SIZE_T /* DO NOT REMOVE THIS COMMENT: fixincludes needs to see * _GCC_SIZE_T */ typedef __darwin_size_t size_t; #endif #ifndef _SSIZE_T #define _SSIZE_T typedef __darwin_ssize_t ssize_t; #endif }}}[[BR]] I am running leopard (10.5.8) on a PowerBook G4 (PPC 7450) -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+---------------------------- Reporter: zanderpower@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: libgpg-error | ----------------------------+---------------------------- Comment (by zanderpower@…): Oops. Sorry about the formatting, I tried to use the code block feature... -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:16> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+---------------------------- Reporter: zanderpower@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: libgpg-error | ----------------------------+---------------------------- Comment (by mschamschula@…): Can you try adding {{{ <sys/types.h> }}} to gpg-error.h rather than {{{ #include <stdlib.h> }}} ? -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+---------------------------- Reporter: zanderpower@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: libgpg-error | ----------------------------+---------------------------- Comment (by zanderpower@…): Sorry, adding {{{ #include <sys/types.h> }}} doesn't work. -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:19> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+---------------------------- Reporter: zanderpower@… | Owner: mschamschula@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: | Keywords: Port: libgpg-error | ----------------------------+---------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: On my Tiger system, the error I got was basically that `off_t` was not defined. `off_t` is defined by the POSIX standard to be defined in sys/types.h. sys/types.h is not included by src/gpg-error.h. Adding `#include <sys/types.h>` to src/gpg-error.h works for me on Tiger. I'll test on a few other systems before committing. -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:20> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+---------------------------- Reporter: zanderpower@… | Owner: mschamschula@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: fixed | Keywords: Port: libgpg-error | ----------------------------+---------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Also fixed the build on Snow Leopard so I committed it in r125206. -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:21> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+---------------------------- Reporter: zanderpower@… | Owner: mschamschula@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: fixed | Keywords: Port: libgpg-error | ----------------------------+---------------------------- Comment (by zanderpower@…): Oh, so you added {{{ #include <sys/types.h> }}} to {{{ gpg-error.h.in }}} I mistakenly added it to {{{ gpg-error.h }}} I still don't understand all the in's and out's of makefiles, etc... -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:22> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+---------------------------- Reporter: zanderpower@… | Owner: mschamschula@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: fixed | Keywords: Port: libgpg-error | ----------------------------+---------------------------- Comment (by zanderpower@…): By the way, it compiled. Thanks to both of you! -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:23> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+---------------------------- Reporter: zanderpower@… | Owner: mschamschula@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: fixed | Keywords: Port: libgpg-error | ----------------------------+---------------------------- Comment (by ryandesign@…): Usually, if there is a file foo.in, then the file foo will be generated from it by the process of running `./configure` or possibly by running `make`. -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:24> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+---------------------------- Reporter: zanderpower@… | Owner: mschamschula@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: fixed | Keywords: Port: libgpg-error | ----------------------------+---------------------------- Comment (by zanderpower@…): One of these days, hopefully soon, I'm going to read the Gnu Make Manual. Thanks again! -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:25> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+---------------------------- Reporter: zanderpower@… | Owner: mschamschula@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: fixed | Keywords: Port: libgpg-error | ----------------------------+---------------------------- Comment (by larryv@…): Replying to [comment:25 zanderpower@…]:
One of these days, hopefully soon, I'm going to read the Gnu Make Manual.
That won’t tell you about `.in` files and makefile generation (although you should still read it). You want the Autotools manuals: - http://www.gnu.org/software/autoconf/manual/autoconf.html - http://www.gnu.org/software/m4/manual/m4.html - http://www.gnu.org/software/automake/manual/automake.html - http://www.gnu.org/software/libtool/manual/libtool.html -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:26> MacPorts <http://www.macports.org/> Ports system for OS X
#44921: libgpg-error upgrade fails during build phase on leopard (10.5.8) on PowerBook G4 (PPC 7450) ----------------------------+---------------------------- Reporter: zanderpower@… | Owner: mschamschula@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.1 Resolution: fixed | Keywords: Port: libgpg-error | ----------------------------+---------------------------- Comment (by zanderpower@…): Great! This will keep me busy for a while :D -- Ticket URL: <https://trac.macports.org/ticket/44921#comment:27> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts