Opened 8 years ago
Closed 8 years ago
#52061 closed defect (duplicate)
kerberos5: build failed on tiger
Reported by: | rickyzhang82 (Ricky Zhang) | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.4 |
Keywords: | tiger | Cc: | |
Port: | kerberos5 |
Description (last modified by mf2k (Frank Schima))
I tried to install git on Tiger 10.4 PPC. But it failed on building kerberos5 dependency. See attached log
Attachments (2)
Change History (10)
Changed 8 years ago by rickyzhang82 (Ricky Zhang)
comment:1 Changed 8 years ago by rickyzhang82 (Ricky Zhang)
comment:2 Changed 8 years ago by mf2k (Frank Schima)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Port: | kerberos5 added |
In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainers (port info --maintainers kerberos5
), if any.
comment:3 Changed 8 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Keywords: | tiger powerpc added |
Summary: | kerbos5-1.14.3_0.darwin_8.ppc build failed → kerberos5: build failed on tiger |
comment:4 Changed 8 years ago by rickyzhang82 (Ricky Zhang)
Thanks for your modification. I will read the rule later.
Changed 8 years ago by rickyzhang82 (Ricky Zhang)
Attachment: | patch-shlib-conf-tiger.patch added |
---|
patch 0 compatibility_version
comment:5 Changed 8 years ago by rickyzhang82 (Ricky Zhang)
I patched it to conditional handle compatibility_version.
But it still failed to compile due to libmajor and libminor version number is 0.
I wrote a Python script to manual assign non zero number to LIBMAJOR. But it still compiled failed.
Why git needs this kerberos5? I found several tickets on kerberbos5, which act like a showstopper.
Are there any workaround?
comment:6 Changed 8 years ago by rickyzhang82 (Ricky Zhang)
I confirmed that once I
- changed configure.compiler=gcc, gcc is 4.0.1 from Apple XCode
- manually copy dylib from work lib to /opt/local/lib
First of all, macport gcc doesn't work. I have to change ues gcc 4.01 from Apple Xcode After that I got missing dylib issues. Copy dylib to opt folder. It did get plugin test compile through.
The log does show it takes relative library location -L../../lib. But there is no symlink is created. So a dirty fix to create a symlink to work lib should fix the issues as well. I found symlink in work. I don't know why it doesn't find it.
comment:7 Changed 8 years ago by rickyzhang82 (Ricky Zhang)
It is possible that apple-gcc42 I have is +bootstrap variant. Reinstall apple-gcc42 to remove boostrap variant seem to make it works.
But I can't confirm this. Because I have manually fixed it.
comment:8 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | powerpc removed |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Duplicate of #48437.
Error:
:info:build + /opt/local/bin/gcc-apple-4.2 -undefined error -dead_strip -dynamiclib -compatibility_version 0 -current_version 0.0 -install_name /opt/local/lib/libkrad.0.0.dylib -exported_symbols_list darwin.exports -pipe -Os -arch ppc -fno-common -o libkrad.0.0.dylib attr.so attrset.so client.so code.so packet.so remote.so -L../../lib -lkrb5 -lk5crypto -lcom_err -lkrb5support -lcrypto -lintl -lresolv -lverto -Wl,-headerpad_max_install_names -arch ppc -Wl,-search_paths_first
:info:build /usr/bin/ld: -dylib_compatibility_version must be greater than zero
:info:build collect2: ld returned 1 exit status