Re: Failed: phase compiling: openldap24-2.4.59-3 failed
"Daniel E. Macks" <[email protected]> Tue, 2 Dec 2025 03:23:18 -0000 (UTC)
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
Scott Hannahs via Fink-users <[email protected]> said: >> On Dec 1, 2025, at 17:47, [email protected] wrote: >> On 2025-12-01 15:36, Franchetti, Giuliano Dr. wrote: >>> Hello, >>> openldap24-2.4.59-3 fails to compile. See below. >>> Giuliano >>> . >>> checking for regex.h... yes >>> checking for library containing regfree... none required >>> checking for compatible POSIX regex... no >>> configure: error: broken POSIX regex! >>> ### execution of ./configure failed, exit code 1 >>> ### execution of /tmp/fink.RTVlM failed, exit code 1 >>> Removing runtime build-lock... >>> Removing build-lock package... >>> /opt/sw/bin/dpkg-lockwait -r fink-buildlock-openldap24-2.4.59-3 >>> (Reading database ... 256499 files and directories currently = > installed.) >>> Removing fink-buildlock-openldap24-2.4.59-3 (2025.12.01-22.33.25) ... >>> Failed: phase compiling: openldap24-2.4.59-3 failed > > It is the usual undefined main() issue is my guess. > > configure:14679: checking for compatible POSIX regex > configure:14714: cc -o conftest -g -O2 -I/opt/sw/include/db5 = > -DBIND_8_COMPAT -I/opt/sw/include -Wl,-dead_strip_dylibs = > -Wl,-headerpad_max_install_names conftest.c -lkrb5 -L/opt/sw/lib = > -ldb-5.3 >&5 > conftest.c:84:1: error: type specifier missing, defaults to 'int'; ISO = > C99 and later do not support implicit int [-Wimplicit-int] > 84 | main() > | ^ > | int > 1 error generated. > configure:14714: $? =3D 1 > configure: program exited with status 1 > configure: failed program was: >| /* confdefs.h */ > > I think the relevant codes is what follows (from configure): > char regfree (); > int > main () > { > return regfree (); > ; > return 0; > } > > I don=E2=80=99t see an implicit conversion or missing identifier. But = > main is supposed to return an int and regfriee returns a char. Is that = > the issue? There were a ton of that and similar situations. I pushed a fix. dan _______________________________________________ Fink-users mailing list [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-users/ Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-users