Opened 13 years ago
Closed 13 years ago
#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 (1)
Change History (11)
Changed 13 years ago by jblumenkopf@…
comment:2 Changed 13 years ago by jblumenkopf@…
I tried both default and llvm-gcc-4.2 and apple-gcc42 and none worked.
comment:3 follow-up: 4 Changed 13 years ago by danielluke (Daniel J. Luke)
Resolution: | → invalid |
---|---|
Status: | new → closed |
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 Changed 13 years ago by jblumenkopf@…
Resolution: | invalid |
---|---|
Status: | closed → reopened |
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 13 years ago by danielluke (Daniel J. Luke)
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 13 years ago by danielluke (Daniel J. Luke)
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 Changed 13 years 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 13 years ago by danielluke (Daniel J. Luke)
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
comment:9 Changed 13 years ago by mp@…
Resolution: | invalid |
---|---|
Status: | closed → reopened |
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 13 years ago by danielluke (Daniel J. Luke)
Resolution: | → invalid |
---|---|
Status: | reopened → closed |
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