Opened 13 years ago
Closed 13 years ago
#31509 closed defect (invalid)
openssl fails to compile
Reported by: | setok@… | Owned by: | mww@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.3 |
Keywords: | Cc: | cif077@…, rios.andy@…, ryandesign (Ryan Carsten Schmidt) | |
Port: | openssl |
Description
Was installing Django which failed on openssl compilation. Here is what the log says:
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/openssl/work/openssl-1.0.0e' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/openssl/work/openssl-1.0.0e" && /usr/bin/make -w all " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for openssl): org.macports.install org.macports.build org.macports.destroot :notice:build Log for openssl is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/openssl/main.log
XCode is 4.1 Build 4B110, on OS X Lion (10.7.1)
Attachments (3)
Change History (6)
comment:1 Changed 13 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to mww@… |
---|
Changed 13 years ago by cif077@…
Attachment: | main.2.log added |
---|
comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | rios.andy@… ryandesign@… added |
---|---|
Resolution: | → invalid |
Status: | new → closed |
Three different people have attached logs to this ticket. I'll examine them one by one.
main.log attached by setok says:
ignoring file /opt/local/lib/libz.dylib, file was built for unsupported file format which is not the architecture being linked (x86_64)
Why is your libz.dylib the wrong architecture? Did you migrate to Lion and forget to rebuild all ports? See wiki:Migration. At minimum, you need to rebuild zlib:
sudo port clean zlib openssl sudo port -n upgrade --force zlib
main.2.log attached by cif077 is incomplete (contains lines saying "Skipping completed") so we can't really tell what happened but it may be the same problem. If the above steps help you, then you're fixed; if not, you have a different error and should file a new ticket.
main.3.log attached by rios.andy is unrelated and was turned into a separate ticket #33177.
Please attach the log mentioned so we can determine the problem.