#47630 closed defect (worksforme)
openldap @2.4.40_1 does not build on PPC Leopard, Mac OS X 10.5.8, presumingly when another Berkeley DB is present
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | barracuda156, evanmiller (Evan Miller) | |
Port: | openldap |
Description
checking db.h usability... yes checking db.h presence... yes checking for db.h... yes checking for Berkeley DB major version in db.h... 4 checking for Berkeley DB minor version in db.h... 8 checking if Berkeley DB version supported by BDB/HDB backends... yes checking for Berkeley DB link (-ldb-4.8)... no checking for Berkeley DB link (-ldb48)... no checking for Berkeley DB link (-ldb-48)... no checking for Berkeley DB link (-ldb-4-8)... no checking for Berkeley DB link (-ldb-4)... yes checking for Berkeley DB library and header version match... Berkeley DB version mismatch header: Berkeley DB 4.8.30: (April 9, 2010) library: Berkeley DB 4.6.21: (January 1, 2014) no configure: error: Berkeley DB version mismatch Command failed: cd "/opt/local/var/macports/build/_opt_mports_trunk_dports_databases_openldap/openldap/work/openldap-2.4.40" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --localstatedir=/opt/local/var --with-cyrus-sasl --with-tls --enable-crypt --enable-wrappers --enable-syncprov --enable-ipv6 --disable-mdb
I have installed:
db46 @4.6.21_9 (active) db48 @4.8.30_4+java (active)
The command port echo rdepof:db48
lists only db_select
, so it should work to uninstall db48
and db_select
– though the question is: Why did port first install them?
Attachments (3)
Change History (25)
Changed 10 years ago by ballapete (Peter "Pete" Dyballa)
comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)
Cc: | landonf@… removed |
---|---|
Owner: | changed from macports-tickets@… to landonf@… |
Summary: | OpenLDAP 2.4.40 does not build on PPC Leopard, Mac OS X 10.5.8, presumingly when another Berkeley DB is present → openldap @2.4.40_1 does not build on PPC Leopard, Mac OS X 10.5.8, presumingly when another Berkeley DB is present |
comment:2 Changed 9 years ago by ballapete (Peter "Pete" Dyballa)
Trying to uninstall db48 finally reveals what's needing it:
root 334 /\ port uninstall db48 Note: It is not recommended to uninstall/deactivate a port that has dependents as it breaks the dependents. The following ports will break: python27 @2.7.9_0 Continue? [y/N]: y Warning: Uninstall forced. Proceeding despite dependencies. ---> Deactivating db48 @4.8.30_4+java ---> Cleaning db48 ---> Uninstalling db48 @4.8.30_4+java ---> Cleaning db48
comment:3 Changed 7 years ago by mf2k (Frank Schima)
Owner: | landonf@… deleted |
---|---|
Status: | new → assigned |
comment:4 Changed 2 years ago by mascguy (Christopher Nielsen)
Owner: | set to mascguy |
---|
comment:5 follow-ups: 6 8 Changed 2 years ago by mascguy (Christopher Nielsen)
Cc: | barracuda156 evanmiller added |
---|
Are any of you folks having issues with the latest version of openldap
, on PPC?
comment:6 follow-up: 7 Changed 2 years ago by ballapete (Peter "Pete" Dyballa)
Replying to mascguy:
On PPC Leopard, Mac OS X 10.5.8, the package built. I should build it again and see whether tests/checks succeed.
comment:7 follow-up: 9 Changed 2 years ago by ballapete (Peter "Pete" Dyballa)
Replying to mascguy:
Tests cannot be performed because _posix_memalign
is missing…
comment:8 Changed 2 years ago by barracuda156
Replying to mascguy:
Are any of you folks having issues with the latest version of
openldap
, on PPC?
10:~ svacchanda$ port -v installed openldap The following ports are currently installed: openldap @2.6.3_0 (active) requested_variants='' platform='darwin 10' archs='ppc' date='2022-07-29T20:40:58+0545'
comment:9 follow-up: 11 Changed 2 years ago by mascguy (Christopher Nielsen)
Replying to ballapete:
Tests cannot be performed because
_posix_memalign
is missing…
I just ran tests on 10.5 PPC, and I'm not seeing any such errors. Have you modified your portfile?
comment:10 Changed 2 years ago by mascguy (Christopher Nielsen)
Resolution: | → worksforme |
---|---|
Status: | assigned → closed |
comment:11 follow-up: 12 Changed 2 years ago by ballapete (Peter "Pete" Dyballa)
Replying to mascguy:
Of course! To perform the tests --enable-mdb
has to be set as configure
option instead of --disable-mdb
. This change produces the error.
Right now I am updating Tiger, which can take a few days. Then I shall boot again into Leopard. (The unix-util
port also does not build because it is missing something…)
comment:12 follow-ups: 14 15 16 Changed 2 years ago by mascguy (Christopher Nielsen)
Replying to ballapete:
Of course! To perform the tests
--enable-mdb
has to be set asconfigure
option instead of--disable-mdb
. This change produces the error.
Use of portgroup legacysupport
allows enabling of MDB on 10.5 PPC, and all tests pass.
I'll update openldap
and openldap-devel
shortly.
comment:13 Changed 2 years ago by Christopher Nielsen <mascguy@…>
comment:14 Changed 2 years ago by barracuda156
Replying to mascguy:
I'll update
openldap
andopenldap-devel
shortly.
Builds fine on 10.6.8 Rosetta.
comment:15 Changed 2 years ago by ballapete (Peter "Pete" Dyballa)
Changed 2 years ago by ballapete (Peter "Pete" Dyballa)
Attachment: | patch-fix_date_-d_invocation.diff added |
---|
Fixes invocation of 'date -d' to 'gdate -d' which works – when coreutils are installed…
comment:16 Changed 2 years ago by ballapete (Peter "Pete" Dyballa)
Replying to mascguy:
Test ran almost 30 minutes. No unexpected failure or success.
comment:17 Changed 2 years ago by ballapete (Peter "Pete" Dyballa)
On PPC Leoprad, Mac OS X 10.5.8, the tests fail:
>>>>> 00:11:48 Starting test056-monitor for mdb... running defines.sh Starting slapd on TCP/IP port ... Using ldapsearch to check that slapd is running... Using ldapsearch to read connection monitor entries... Filtering ldapsearch results... Filtering expected data... Comparing filter output... comparison failed - connection monitor output is not correct >>>>> 00:11:50 Failed test056-monitor for mdb after 2 seconds (exit 1) make[2]: *** [mdb-yes] Error 1 make[1]: *** [test] Error 2 make: *** [test] Error 2 Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_databases_openldap/openldap/work/openldap-2.6.3" && /usr/bin/make check
I'll retry!
Changed 2 years ago by barracuda156
Attachment: | openldap_2.6.3_10.6.8_PPC_tests.log added |
---|
On Rosetta tests pass, apparently.
comment:19 follow-up: 22 Changed 2 years ago by mascguy (Christopher Nielsen)
@barracuda, that's great news, thanks for checking!
I also reran the tests on 10.5 PPC a 2nd time. And once again, they passed without any failures. (Apart from the issue with dates, which I'll patch shortly.)
Pete, is that patch the only change you've made to your port? I want to be sure we're comparing apples-to-apples.
comment:20 Changed 2 years ago by Christopher Nielsen <mascguy@…>
comment:21 Changed 2 years ago by Christopher Nielsen <mascguy@…>
comment:22 Changed 2 years ago by ballapete (Peter "Pete" Dyballa)
Replying to mascguy:
Pete, is that patch the only change you've made to your port? I want to be sure we're comparing apples-to-apples.
Yes!
main.log