Ticket #13933 (closed defect: fixed)
throttled does not build in 10.5
| Reported by: | dgatwood@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.6.0 |
| Keywords: | Cc: | jmr@… | |
| Port: | throttled |
Description
The throttled port build failed for me on a fresh 10.5 install with the following error:
---> Building throttled Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_throttled/work/throttled-0.4.6/src" && make " returned error 2 Command output: c++ -o throttled -O3 -arch ppc -arch ppc64 -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk throttled.cpp -lpthread ld: library not found for -lcrt1.10.5.o collect2: ld returned 1 exit status ld: library not found for -lcrt1.10.5.o collect2: ld returned 1 exit status ld: library not found for -lcrt1.10.5.o collect2: ld returned 1 exit status lipo: can't open input file: /var/tmp//cckTbZYQ.out (No such file or directory) make: *** [throttled] Error 1
If I change the Makefile so it does not build against the 10.4 SDK, it builds correctly.
On a related note, this port should probably also build for x86_64, as it is already building for ppc64.
Change History
comment:3 Changed 5 years ago by jmr@…
- Cc jmr@… added
- Status changed from new to closed
- Resolution set to wontfix
It doesn't look like throttled would even work on Leopard, since it uses ipfw. I think you'll have to ask upstream for a Leopard-compatible version.
(And BTW, building for multiple architectures when the universal variant is not selected is incorrect.)
comment:5 Changed 5 years ago by raimue@…
- Status changed from closed to reopened
- Resolution wontfix deleted
ipfw is still available on Leopard.
The reporter said, removing the SDK for 10.4u makes it work. Reopening.
comment:6 Changed 5 years ago by jmr@…
OK, so it needs to be patched to only build for the current arch. Not using the SDK will break building on ppc Tiger otherwise.
comment:7 Changed 4 years ago by jmr@…
- Port set to throttled
This actually looks like a MACOSX_DEPLOYMENT_TARGET issue.

