Ticket #33608 (closed defect: invalid)
apr-util build failure
| Reported by: | jblumenkopf@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.4 |
| Keywords: | Cc: | jblumenkopf@… | |
| Port: | apr-util |
Description
mac os 10.7.3 Xcode 4.3.1. macports returned
Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Log for apr-util is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apr-util/apr-util/main.log Error: Status 1 encountered during processing.
Attachments
Change History
comment:2 Changed 15 months ago by jblumenkopf@…
I tried both default and llvm-gcc-4.2 and apple-gcc42 and none worked.
comment:3 follow-up: ↓ 4 Changed 15 months ago by dluke@…
- Status changed from new to closed
- Resolution set to invalid
Well, the problem is that it's trying to run /Developer/usr/bin/clang -E as the preprocessor (and that doesn't exist with Xcode 4.3).
That's almost certainly happening because you have apr built/installed from an earlier Xcode, if you rebuild/reinstall apr, it should fix the apr-util build.
comment:4 in reply to: ↑ 3 Changed 15 months ago by jblumenkopf@…
- Status changed from closed to reopened
- Resolution invalid deleted
Replying to dluke@…:
Well, the problem is that it's trying to run /Developer/usr/bin/clang -E as the preprocessor (and that doesn't exist with Xcode 4.3).
That's almost certainly happening because you have apr built/installed from an earlier Xcode, if you rebuild/reinstall apr, it should fix the apr-util build.
I already cleaned and uninstalled it and then installed it.
comment:5 follow-up: ↓ 7 Changed 15 months ago by dluke@…
What exactly did you do to do that?
I just verified both that that exact error happens when you have a pre 4.3 Xcode built apr and try to build apr-util with Xcode 4.3, and that rebuilding/reinstalling apr fixes the issue.
comment:6 Changed 15 months ago by dluke@…
One thing you can check (if you want) is that the files in /opt/local/share/apr-1/build/ reference the current path to clang (and not one in /Developer)
comment:7 in reply to: ↑ 5 Changed 15 months ago by jblumenkopf@…
Replying to dluke@…:
What exactly did you do to do that?
I just verified both that that exact error happens when you have a pre 4.3 Xcode built apr and try to build apr-util with Xcode 4.3, and that rebuilding/reinstalling apr fixes the issue.
Sorry, I misunderstood your instructions. I thought you mean apr-util, not apr. I uninstalled and reinstalled apr and then apr-util installed. Please close ticket.
comment:8 Changed 15 months ago by dluke@…
- Status changed from reopened to closed
- Resolution set to invalid
comment:9 Changed 14 months ago by mp@…
- Status changed from closed to reopened
- Resolution invalid deleted
This one caught me as well.
I tried uninstalling and re-installing apr several times but that did not resolve the issue until I tried a source install ("install -s") and now it works.
I may be mislead, but might it be that the pre-compiled package contains the wrong path to /Developer?
comment:10 Changed 14 months ago by dluke@…
- Status changed from reopened to closed
- Resolution set to invalid
Macports isn't currently building 10.7 binaries (and the 10.6 machine has Xcode 4.2 installed). Perhaps you had set up your own packages repository.
In any event, there isn't anything we can do in the apr-util port (or apr port) to 'fix' this.


log file