Opened 15 years ago

Closed 15 years ago

#20262 closed defect (worksforme)

Inappropriate file type or format causing failure of multiple builds

Reported by: singh.madhusudan@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: openssl

Description (last modified by nerdling (Jeremy Lavergne))

--->  Building openssl
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_openssl/work/openssl-0.9.8k" && make all " returned error 2
Command output: making all in crypto/asn1...
make[2]: Nothing to be done for `all'.
making all in crypto/pem...
make[2]: Nothing to be done for `all'.
making all in crypto/x509...
make[2]: Nothing to be done for `all'.
making all in crypto/x509v3...
make[2]: Nothing to be done for `all'.
making all in crypto/conf...
make[2]: Nothing to be done for `all'.
making all in crypto/txt_db...
make[2]: Nothing to be done for `all'.
making all in crypto/pkcs7...
make[2]: Nothing to be done for `all'.
making all in crypto/pkcs12...
make[2]: Nothing to be done for `all'.
making all in crypto/comp...
make[2]: Nothing to be done for `all'.
making all in crypto/ocsp...
make[2]: Nothing to be done for `all'.
making all in crypto/ui...
make[2]: Nothing to be done for `all'.
making all in crypto/krb5...
make[2]: Nothing to be done for `all'.
making all in crypto/store...
ar  r ../../libcrypto.a str_err.o str_lib.o str_meth.o str_mem.o
ar: ../../libcrypto.a: Inappropriate file type or format
make[2]: *** [lib] Error 1
make[1]: *** [subdirs] Error 1
make: *** [build_crypto] Error 1

Error: The following dependencies failed to build: py25-boto python25 openssl sqlite3 tk Xft2 xrender xorg-renderproto tcl xorg-libXScrnSaver xorg-libXext xorg-scrnsaverproto py25-gnupg
Error: Status 1 encountered during processing.

Change History (9)

comment:1 Changed 15 years ago by nerdling (Jeremy Lavergne)

Description: modified (diff)

comment:2 Changed 15 years ago by mf2k (Frank Schima)

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

comment:3 Changed 15 years ago by blb@…

What was the exact command you used which resulted in this error?

comment:4 in reply to:  3 Changed 15 years ago by singh.madhusudan@…

Replying to blb@…:

What was the exact command you used which resulted in this error?

A simple sudo port install duplicity ? sudo port install gwyddion does the same (openssl is a dependency of both).

This is a serious code error (maybe the archiver is expecting a different format for the library - a possible makefile issue). Please fix it. Since this is a showstopper, I think that the priority should be set to high, as it was initially.

comment:5 Changed 15 years ago by blb@…

What are your Xcode and OS versions?

comment:6 in reply to:  5 Changed 15 years ago by singh.madhusudan@…

Replying to blb@…:

What are your Xcode and OS versions?

Xcode : 3.1.3

Component versions Xcode IDE: 1191.0 Xcode Core: 1192.0 ToolSupport: 1186.0

OS : Mac OSX 10.5.7

comment:7 Changed 15 years ago by blb@…

Most odd, seems to build fine here (also Xcode 3.1.3 on 10.5.7, Intel). What's really strange is libcrypto.a is being updated, so it almost sounds like it somehow became corrupted during the build.

Maybe try a clean and try again, could have been some odd untraceable event:

sudo port clean --work openssl
sudo port -d install openssl

If it fails again, can you attach (via the Attach file button) the output from that install attempt?

comment:8 in reply to:  7 Changed 15 years ago by singh.madhusudan@…

Replying to blb@…:

Most odd, seems to build fine here (also Xcode 3.1.3 on 10.5.7, Intel). What's really strange is libcrypto.a is being updated, so it almost sounds like it somehow became corrupted during the build.

Maybe try a clean and try again, could have been some odd untraceable event:

sudo port clean --work openssl
sudo port -d install openssl

If it fails again, can you attach (via the Attach file button) the output from that install attempt?

That fixed it ! Both gwyddion and duplicity build now.

comment:9 Changed 15 years ago by blb@…

Resolution: worksforme
Status: newclosed
Note: See TracTickets for help on using tickets.