|
From: Scott H. <sha...@us...> - 2025-12-01 23:43:32
|
> On Dec 1, 2025, at 17:47, fi...@sn... 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
>
>
>> Also include the following system information:
>> Package manager version: 0.45.99.git
>> Distribution version: selfupdate-git Mon Dec 1 16:30:32 2025, 14.4, x86_64
>> Trees: local/main stable/main local/injected
>> Xcode.app: 16.2
>> Xcode command-line tools: 16.2.0.0.1.1733547573
>> Max. Fink build jobs: 12
>
> Can you look in the file /opt/sw/src/fink.build/openldap24-2.4.59-3/openldap-2.4.59/config.log (I think I got the full path right) for what's happening around the time it checks for "compatible POSIX regex" ?
>
> Hanspeter
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: $? = 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’t see an implicit conversion or missing identifier. But main is supposed to return an int and regfriee returns a char. Is that the issue?
-Scott
|