Opened 16 months ago
Closed 11 months ago
#67766 closed defect (wontfix)
legacysupport: improve building and running tests on Tiger
Reported by: | kencu (Ken) | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | mascguy (Christopher Nielsen), fhgwright (Fred Wright) | |
Port: | legacysupport |
Description
currently building legacysupport standalone (outside of MacPorts), and running the tests, fails on Tiger as there is no native "copyfile.h" to include_next.
And come to think of it, all the files in the "tiger_only/include" directory that need to be included in the build as system files are not being included.
To make it build and run (Tiger only), you have to add an -isystem to the build line like this:
CC="/opt/local/bin/gcc-apple-4.2 -isystem tiger_only/include " CXX="/opt/local/bin/g++-apple-4.2 -isystem tiger_only/include " make test
and then it will work. We might be able to incorporate that into the Makefile somehow.
Change History (5)
comment:1 Changed 16 months ago by mascguy (Christopher Nielsen)
Cc: | mascguy added |
---|
comment:2 Changed 12 months ago by kencu (Ken)
Summary: | legacysupport: building and running tests on Tiger → legacysupport: improve building and running tests on Tiger |
---|
comment:3 Changed 11 months ago by fhgwright (Fred Wright)
Cc: | fhgwright added |
---|
comment:4 Changed 11 months ago by fhgwright (Fred Wright)
comment:5 Changed 11 months ago by kencu (Ken)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Yah, you're right. Go ahead and make a doc for the project if you like.
Note: See
TracTickets for help on using
tickets.
What the Portfile actually does is way more elaborate than that, so either the Portfile is being excessive or the above is inadequate.
In any case, a doc file in the project would be a lot more discoverable than this ticket. :-)
BTW, a meta-issue is that trac lacks a "Component" for legacy-support. This ticket has it set to "ports", which isn't really correct but it's the best under the circumstances.