Opened 10 years ago
Closed 2 years ago
#46837 closed defect (fixed)
kerberos5 fails to build on 10.4ppc
Reported by: | dsmithhfx@… | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | tiger powerpc | Cc: | herzog-bernd, evilmoo@…, p3k (Tobi Schäfer) |
Port: | kerberos5 |
Description
Hi,
I've tried this a couple of ways: "sudo port install kerberos5", and "sudo port install kerberos5 configure.compiler=apple-gcc-4.2", both failed during build. I scanned the log but can't figure out where the problem is.
Port version 2.3.3. Tiger 10.4.11 G5ppc
Attaching log (clang build)
Thanks
Attachments (1)
Change History (15)
Changed 10 years ago by dsmithhfx@…
Attachment: | mainlog-kerberos5.txt added |
---|
comment:1 Changed 10 years ago by mf2k (Frank Schima)
Keywords: | tiger powerpc added; Tiger ppc removed |
---|
comment:3 Changed 10 years ago by dsmithhfx@…
comment:4 Changed 10 years ago by dsmithhfx@…
Not a developer, but fwiw (probably nothing) something struck me as odd while checking ports for kerberos5 dependency, to see if I can skip the installation and still run port upgrade outdated:
Using port info, kerberos5 is listed as a library dependency of cyrus-sasl2, and cyrus-sasl2 is listed as a library dependency of kerberos5.
Unfortunately, cyrus-sasl2 is also a dependency of subversion, which (I understand) is a core macports function. AFAICT, kerberos5 was not previously port installed on my system.
comment:5 Changed 10 years ago by larryv (Lawrence Velázquez)
If you’d rather just work around the problem, you can install Cyrus SASL without Kerberos support, if you know that you don’t need it.
$ sudo port clean cyrus-sasl2 kerberos $ sudo port install cyrus-sasl2 -kerberos
comment:6 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to ryandesign@… |
---|---|
Status: | new → assigned |
comment:7 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | herzog@… added |
---|
Has duplicate #48387.
comment:9 Changed 9 years ago by evilmoo@…
I hacked around this by finding the two .dylib files it is trying to link (within /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_kerberos5/ ) and manually copying them into /opt/local/lib and then restarting the build. I'm not sure how to integrate this step into the build process.
comment:11 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
That hack cannot be integrated into the build process because MacPorts prevents ports from modifying locations outside of the work directory during the build. Only MacPorts itself may make such modifications, during the activation phase.
The correct solution might be to use the DYLD_LIBRARY_PATH environment variable in the build somewhere, though that wouldn't explain why the port can be installed successfully on versions of OS X later than Tiger.
comment:13 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
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.
comment:14 Changed 2 years ago by kencu (Ken)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
fixed at some point:
$ port -v installed kerberos5 The following ports are currently installed: kerberos5 @1.19.2_1 requested_variants='' platform='darwin 8' archs='ppc' date='2022-02-21T14:58:53-0800' kerberos5 @1.20_0 requested_variants='' platform='darwin 8' archs='ppc' date='2022-08-17T17:48:48-0700' kerberos5 @1.20.1_0 (active) requested_variants='' platform='darwin 8' archs='ppc' date='2022-11-28T14:37:13-0800'
main.log (default compiler)