Opened 12 years ago
Closed 10 years ago
#38506 closed defect (fixed)
tmux: does not build on 10.4
Reported by: | 200309@… | Owned by: | tessus (Helmut K. C. Tessarek) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.3 |
Keywords: | tiger | Cc: | anddam (Andrea D'Amore), cooljeanius (Eric Gallager) |
Port: | tmux |
Description (last modified by larryv (Lawrence Velázquez))
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
Attachments (3)
Change History (26)
Changed 12 years ago by 200309@…
comment:1 Changed 12 years ago by cooljeanius (Eric Gallager)
comment:2 Changed 12 years ago by cooljeanius (Eric Gallager)
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...
Changed 12 years ago by cooljeanius (Eric Gallager)
libproc.h as it exists on Lion
comment:3 follow-up: 6 Changed 12 years ago by cooljeanius (Eric Gallager)
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...
comment:4 follow-up: 5 Changed 12 years ago 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?
comment:5 follow-up: 7 Changed 12 years ago by cooljeanius (Eric Gallager)
Replying to 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
comment:6 Changed 12 years ago by 200309@…
Replying to 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 ---> Updating database of binaries: 100.0% ---> Scanning binaries for linking errors: 100.0% ---> No broken files found.
comment:7 follow-up: 8 Changed 12 years ago by 200309@…
Replying to egall@…:
Replying to 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.
comment:8 Changed 12 years ago by larryv (Lawrence Velázquez)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to yeled@… |
Summary: | tmux fails to compile on powerpc → tmux: does not build on 10.4 |
Replying to 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.
comment:9 Changed 12 years ago by jmroot (Joshua Root)
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...
comment:10 Changed 12 years ago by cooljeanius (Eric Gallager)
comment:12 follow-up: 13 Changed 12 years ago by yeled@…
Hi I've committed r105099
Can you test, please?
comment:13 Changed 12 years ago by 200309@…
Changed 12 years ago by 200309@…
Attachment: | main.2.log added |
---|
comment:15 Changed 11 years ago by jmroot (Joshua Root)
Keywords: | tiger added |
---|
comment:17 Changed 10 years ago by mf2k (Frank Schima)
Owner: | changed from yeled@… to tessarek@… |
---|
Assigning to current maintainer.
comment:18 Changed 10 years ago by tessus (Helmut K. C. 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?
comment:19 Changed 10 years ago 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.
comment:20 Changed 10 years ago by tessus (Helmut K. C. 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.
comment:21 Changed 10 years ago 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.
comment:22 Changed 10 years ago by tessus (Helmut K. C. 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.
comment:23 Changed 10 years ago by tessus (Helmut K. C. Tessarek)
With help of the OP I was able to create a fix for this problem. See Ticket #44552. This ticket can be closed.
comment:24 Changed 10 years ago by neverpanic (Clemens Lang)
Resolution: | → fixed |
---|---|
Status: | new → closed |
This seems like the key part of the log: