[MacPorts] #38506: tmux fails to compile on powerpc
#38506: tmux fails to compile on powerpc ----------------------+-------------------------------- Reporter: 200309@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: | Port: tmux ----------------------+-------------------------------- Tried to: port install tmux And it failed. 10.4.11 PowerBook G3 Pismo 500MHz Does it require a newer system? or? see attached main.log Bill -- Ticket URL: <https://trac.macports.org/ticket/38506> MacPorts <http://www.macports.org/> Ports system for OS X
#38506: tmux fails to compile on powerpc -----------------------+-------------------------------- Reporter: 200309@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -----------------------+-------------------------------- Comment (by egall@…): This seems like the key part of the log: {{{ :info:build osdep-darwin.c:23:21: error: libproc.h: No such file or directory :info:build osdep-darwin.c: In function ‘osdep_get_cwd’: :info:build osdep-darwin.c:57: error: storage size of ‘pathinfo’ isn’t known :info:build osdep-darwin.c:64: warning: implicit declaration of function ‘proc_pidinfo’ :info:build osdep-darwin.c:65: error: ‘PROC_PIDVNODEPATHINFO’ undeclared (first use in this function) :info:build osdep-darwin.c:65: error: (Each undeclared identifier is reported only once :info:build osdep-darwin.c:65: error: for each function it appears in.) :info:build make: *** [osdep-darwin.o] Error 1 }}} -- Ticket URL: <https://trac.macports.org/ticket/38506#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#38506: tmux fails to compile on powerpc -----------------------+-------------------------------- Reporter: 200309@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -----------------------+-------------------------------- Comment (by egall@…): My libproc.h is in /usr/include and the comment block at the top says {{{ * Copyright (c) 2006, 2007, 2010 Apple Inc. All rights reserved. }}} Leopard wasn't released until 2007, so I don't see why Tiger wouldn't have it, too... -- Ticket URL: <https://trac.macports.org/ticket/38506#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#38506: tmux fails to compile on powerpc -----------------------+-------------------------------- Reporter: 200309@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -----------------------+-------------------------------- Comment (by egall@…): Actually looking at it again, all the function prototypes have `__OSX_AVAILABLE_STARTING` and then either `__MAC_10_5`, `__MAC_10_6`, or `__MAC_10_7` in them... You might be out of luck here... -- Ticket URL: <https://trac.macports.org/ticket/38506#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#38506: tmux fails to compile on powerpc -----------------------+-------------------------------- Reporter: 200309@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -----------------------+-------------------------------- Comment (by 200309@…): Is there a way to determine if a port will compile on PowerPC 10.4? That is, what are system requirements for a particular port? -- Ticket URL: <https://trac.macports.org/ticket/38506#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#38506: tmux fails to compile on powerpc -----------------------+-------------------------------- Reporter: 200309@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -----------------------+-------------------------------- Comment (by egall@…): Replying to [comment:4 200309@…]:
Is there a way to determine if a port will compile on PowerPC 10.4?
That is, what are system requirements for a particular port?
It's normally up to the portfile author to put something like the following code block in their portfile: {{{ pre-fetch { if {${os.platform} == "darwin" && ${os.major} < 9} { ui_error "${name} is only supported on OS X 10.5 Leopard or later." return -code error "unsupported platform version" } } }}} Although I'd like it if this were handled by base though... -- Ticket URL: <https://trac.macports.org/ticket/38506#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#38506: tmux fails to compile on powerpc -----------------------+-------------------------------- Reporter: 200309@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -----------------------+-------------------------------- Comment (by 200309@…): Replying to [comment:3 egall@…]:
Actually looking at it again, all the function prototypes have `__OSX_AVAILABLE_STARTING` and then either `__MAC_10_5`, `__MAC_10_6`, or `__MAC_10_7` in them... You might be out of luck here...
ok tried to compile 10.5 PPC and it works ---> Cleaning tmux[[BR]] ---> Updating database of binaries: 100.0%[[BR]] ---> Scanning binaries for linking errors: 100.0%[[BR]] ---> No broken files found.[[BR]] -- Ticket URL: <https://trac.macports.org/ticket/38506#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#38506: tmux fails to compile on powerpc -----------------------+-------------------------------- Reporter: 200309@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -----------------------+-------------------------------- Comment (by 200309@…): Replying to [comment:5 egall@…]:
Replying to [comment:4 200309@…]:
Is there a way to determine if a port will compile on PowerPC 10.4?
That is, what are system requirements for a particular port?
It's normally up to the portfile author to put something like the following code block in their portfile: {{{ pre-fetch { if {${os.platform} == "darwin" && ${os.major} < 9} { ui_error "${name} is only supported on OS X 10.5 Leopard or later." return -code error "unsupported platform version" } } }}} Although I'd like it if this were handled by base though... Edit: made a new ticket for that idea: #38508
Oh yes! That would be great. Rather than waiting for a compile to finish, I would know right away whether I am using a supported platform. -- Ticket URL: <https://trac.macports.org/ticket/38506#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#38506: tmux: does not build on 10.4 -----------------------+--------------------- Reporter: 200309@… | Owner: yeled@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -----------------------+--------------------- Changes (by larryv@…): * owner: macports-tickets@… => yeled@… Old description:
Tried to: port install tmux
And it failed.
10.4.11 PowerBook G3 Pismo 500MHz
Does it require a newer system? or?
see attached main.log
Bill
New description: Tried to: {{{ port install tmux }}} And it failed. 10.4.11\\ PowerBook G3 Pismo 500MHz Does it require a newer system? or? see attached main.log Bill -- Comment: Replying to [comment:7 200309@…]:
Although I'd like it if this were handled by base though... Edit: made a new ticket for that idea: #38508
Oh yes! That would be great.
Rather than waiting for a compile to finish, I would know right away whether I am using a supported platform.
That would not have helped because tmux upstream doesn’t list supported platforms; a MacPorts user would have had to run into problems for us to even know. I guess you won that particular lottery. -- Ticket URL: <https://trac.macports.org/ticket/38506#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#38506: tmux: does not build on 10.4 -----------------------+--------------------- Reporter: 200309@… | Owner: yeled@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -----------------------+--------------------- Comment (by jmr@…): libproc.h is part of dtrace, which was added in 10.5. Apparently tmux uses proc_pidinfo to find out some stuff. Who knows how it would have done it in the olden days before dtrace... -- Ticket URL: <https://trac.macports.org/ticket/38506#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#38506: tmux: does not build on 10.4 -----------------------+--------------------- Reporter: 200309@… | Owner: yeled@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -----------------------+--------------------- Comment (by egall@…): After tmux was updated to 1.8 in r104642, it looks like Snow Leopard started seeing a similar issue to this one: #38588 -- Ticket URL: <https://trac.macports.org/ticket/38506#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#38506: tmux: does not build on 10.4 -----------------------+--------------------- Reporter: 200309@… | Owner: yeled@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -----------------------+--------------------- Comment (by yeled@…): Hi I've committed r105099 Can you test, please? -- Ticket URL: <https://trac.macports.org/ticket/38506#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
#38506: tmux: does not build on 10.4 -----------------------+--------------------- Reporter: 200309@… | Owner: yeled@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tmux | -----------------------+--------------------- Comment (by 200309@…): Replying to [comment:12 yeled@…]:
Hi I've committed r105099
Can you test, please?
ok... failed. see attached main.log -- Ticket URL: <https://trac.macports.org/ticket/38506#comment:13> MacPorts <http://www.macports.org/> Ports system for OS X
#38506: tmux: does not build on 10.4 -----------------------+--------------------- Reporter: 200309@… | Owner: yeled@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: tiger Port: tmux | -----------------------+--------------------- Changes (by jmr@…): * keywords: => tiger -- Ticket URL: <https://trac.macports.org/ticket/38506#comment:15> MacPorts <http://www.macports.org/> Ports system for OS X
#38506: tmux: does not build on 10.4 -----------------------+------------------------ Reporter: 200309@… | Owner: tessarek@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: tiger Port: tmux | -----------------------+------------------------ Changes (by mf2k@…): * owner: yeled@… => tessarek@… Comment: Assigning to current maintainer. -- Ticket URL: <https://trac.macports.org/ticket/38506#comment:17> MacPorts <http://www.macports.org/> Ports system for OS X
#38506: tmux: does not build on 10.4 -----------------------+------------------------ Reporter: 200309@… | Owner: tessarek@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: tiger Port: tmux | -----------------------+------------------------ Comment (by tessarek@…): I took over the maintenance of tmux when 1.9a came out. As for this particular issue: I don't have a 10.4 system to do any tests or development. My oldest system is 10.6.8. Please tell me what you expect me to do? -- Ticket URL: <https://trac.macports.org/ticket/38506#comment:18> MacPorts <http://www.macports.org/> Ports system for OS X
#38506: tmux: does not build on 10.4 -----------------------+------------------------ Reporter: 200309@… | Owner: tessarek@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: tiger Port: tmux | -----------------------+------------------------ Comment (by 200309@…): I do not expect you to do anything. When I tried compiling tmux on 10.4, it did not work, so reported the issue. I still use 10.4 as I support clients with legacy hardware. But... tmux is no longer important to me. Thank you for the response. -- Ticket URL: <https://trac.macports.org/ticket/38506#comment:19> MacPorts <http://www.macports.org/> Ports system for OS X
#38506: tmux: does not build on 10.4 -----------------------+------------------------ Reporter: 200309@… | Owner: tessarek@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: tiger Port: tmux | -----------------------+------------------------ Comment (by tessarek@…): I'm not saying that I don't want to fix it, I just don't have the means. If someone gave me access to a 10.4 box, I could have a look. I can't promise anything, since I don't know, if it's even possible, but at least I could try. If you don't need tmux anymore, please close the ticket. It seems that I'm missing a few permissions on this Trac system, which means I can't close the ticket. -- Ticket URL: <https://trac.macports.org/ticket/38506#comment:20> MacPorts <http://www.macports.org/> Ports system for OS X
#38506: tmux: does not build on 10.4 -----------------------+------------------------ Reporter: 200309@… | Owner: tessarek@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: tiger Port: tmux | -----------------------+------------------------ Comment (by 200309@…): What kind of access would you need? ssh? I can set up a Mac with 10.4, dev tools, macports, and give you ssh access. Would you want to do that? If you are near Santa Cruz, California, I could loan you the Mac. -- Ticket URL: <https://trac.macports.org/ticket/38506#comment:21> MacPorts <http://www.macports.org/> Ports system for OS X
#38506: tmux: does not build on 10.4 -----------------------+------------------------ Reporter: 200309@… | Owner: tessarek@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: tiger Port: tmux | -----------------------+------------------------ Comment (by tessarek@…): Yep, ssh is perfect. For the moment I only need the OS and the dev tools (gcc or clang, automake, autoconf, and the typical libs like glibc). If I am able to compile tmux plus its dependencies manually, we can proceed to the installation of MacPorts, although when I think about it, the installation of MacPorts doesn't really take that long anyway. First I need to figure out, if tmux (libevent2 and ncurses) do even compile on 10.4. It might be possible that there are certain requirements which I can't fix by patching tmux. -- Ticket URL: <https://trac.macports.org/ticket/38506#comment:22> MacPorts <http://www.macports.org/> Ports system for OS X
#38506: tmux: does not build on 10.4 -----------------------+------------------------ Reporter: 200309@… | Owner: tessarek@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: tiger Port: tmux | -----------------------+------------------------ Comment (by tessarek@…): With help of the OP I was able to create a fix for this problem. See Ticket #44552. This ticket can be closed. -- Ticket URL: <https://trac.macports.org/ticket/38506#comment:23> MacPorts <http://www.macports.org/> Ports system for OS X
#38506: tmux: does not build on 10.4 -----------------------+------------------------ Reporter: 200309@… | Owner: tessarek@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: fixed | Keywords: tiger Port: tmux | -----------------------+------------------------ Changes (by cal@…): * status: new => closed * resolution: => fixed Comment: Fix from #44552 committed in r123176. -- Ticket URL: <https://trac.macports.org/ticket/38506#comment:24> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts