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)

main.log (225.7 KB) - added by setok@… 13 years ago.
Full log of openssl build
main.2.log (31.4 KB) - added by cif077@… 13 years ago.
main.3.log (97.6 KB) - added by rios.andy@… 13 years ago.
Another Failed Build on Lion

Download all attachments as: .zip

Change History (6)

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to mww@…

Please attach the log mentioned so we can determine the problem.

Changed 13 years ago by setok@…

Attachment: main.log added

Full log of openssl build

comment:2 Changed 13 years ago by cif077@…

Cc: cif077@… added

Cc Me!

Changed 13 years ago by cif077@…

Attachment: main.2.log added

Changed 13 years ago by rios.andy@…

Attachment: main.3.log added

Another Failed Build on Lion

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: rios.andy@… ryandesign@… added
Resolution: invalid
Status: newclosed

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.

Note: See TracTickets for help on using tickets.