Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#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: jmroot (Joshua Root)
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 (9)

comment:1 Changed 17 years ago by jmpalacios (Juan Manuel Palacios)

Milestone: Port Bugs

comment:2 Changed 17 years ago by gjznituv@…

same problem for me.

comment:3 Changed 17 years ago by jmroot (Joshua Root)

Cc: jmr@… added
Resolution: wontfix
Status: newclosed

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:4 Changed 17 years ago by jmroot (Joshua Root)

Immediate error message for Leopard added in r34853.

comment:5 Changed 17 years ago by raimue (Rainer Müller)

Resolution: wontfix
Status: closedreopened

ipfw is still available on Leopard.

The reporter said, removing the SDK for 10.4u makes it work. Reopening.

comment:6 Changed 17 years ago by jmroot (Joshua Root)

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 16 years ago by jmroot (Joshua Root)

Port: throttled added

This actually looks like a MACOSX_DEPLOYMENT_TARGET issue.

comment:8 Changed 16 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: reopenedclosed

Fixed in r43731. (Was actually using the 10.4u SDK on 10.5, where MDT is normally 10.5, that was the problem.)

comment:9 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.