[krbdev.mit.edu #9195] Porting issues on Solaris
Martin Řehák via RT
rt-comment at krbdev.mit.edu
Tue Feb 10 11:33:29 EST 2026
Tue Feb 10 11:33:29 2026: Request 9195 was acted upon.
Transaction: Ticket created by rehak at tekkirk.org
Queue: krb5
Subject: Porting issues on Solaris
Owner: Nobody
Requestors: rehak at tekkirk.org
Status: new
Ticket <URL: https://krbdev.mit.edu/rt/Ticket/Display.html?id=9195 >
Hello,
during build of krb5-1.22.2 I have hit following issues:
1.
/bin/sh: syntax error at line 1: `&&' unexpected
make[3]: *** [Makefile:933: libkrb5support.so.0.1] Error 3
make[3]: Leaving directory
'/builds/mrehak/krb5/components/krb5/build/i86/util/support'
2.
/opt/developerstudio12.6/bin/cc -KPIC -DSHARED -DHAVE_CONFIG_H
-DLIBDIR=\"/usr/lib\" -DBINDIR=\"/usr/bin/i86\"
-DSBINDIR=\"/usr/sbin/i86\" -I../../../include
-I/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/include
-DKRB5_DEPRECATED=1 -DKRB5_PRIVATE -m32 -I/usr/include/openldap -m32
-KPIC -DPIC -xO4 -xchip=pentium -xregs=no%frameptr -mt -xcheck=no%stkovf
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -KPIC -DPIC -errtags=yes
-errwarn=%all -errwarn=no%E_STATEMENT_NOT_REACHED
-errwarn=no%E_NO_IMPLICIT_DECL_ALLOWED
-errwarn=no%E_EMPTY_TRANSLATION_UNIT -errwarn=no%E_EMPTY_INITIALIZER
-errwarn=no%E_EMPTY_DECLARATION -errwarn=no%E_ENUM_VAL_OVERFLOWS_INT_MAX
-errwarn=no%E_DEPRECATED_ATT -errwarn=no%E_INIT_SIGN_EXTEND
-Werror=unknown-warning-option -D_POSIX_PTHREAD_SEMANTICS -mt -c
/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/lib/krb5/os/init_os_ctx.c
-o init_os_ctx.so.o && mv -f init_os_ctx.so.o init_os_ctx.so
"/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/lib/krb5/os/addr.c",
line 65: syntax error before or at: 1
"/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/lib/krb5/os/addr.c",
line 67: left operand of "->" must be pointer to struct/union
"/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/lib/krb5/os/addr.c",
line 68: left operand of "->" must be pointer to struct/union
cc: acomp failed for
/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/lib/krb5/os/addr.c
make[4]: *** [Makefile:898: addr.so] Error 2
make[4]: *** Waiting for unfinished jobs....
"/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/lib/krb5/os/hostrealm.c",
line 251: warning: statement not reached (E_STATEMENT_NOT_REACHED)
make[4]: Leaving directory
'/builds/mrehak/krb5/components/krb5/build/i86/lib/krb5/os'
3.
/opt/developerstudio12.6/bin/cc -KPIC -DSHARED -DHAVE_CONFIG_H
-I../../../include
-I/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/include
-DKRB5_DEPRECATED=1 -DKRB5_PRIVATE -m32 -I/usr/include/openldap -m32
-KPIC -DPIC -xO4 -xchip=pentium -xregs=no%frameptr -mt -xcheck=no%stkovf
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -KPIC -DPIC -errtags=yes
-errwarn=%all -errwarn=no%E_STATEMENT_NOT_REACHED
-errwarn=no%E_NO_IMPLICIT_DECL_ALLOWED
-errwarn=no%E_EMPTY_TRANSLATION_UNIT -errwarn=no%E_EMPTY_INITIALIZER
-errwarn=no%E_EMPTY_DECLARATION -errwarn=no%E_ENUM_VAL_OVERFLOWS_INT_MAX
-errwarn=no%E_DEPRECATED_ATT -errwarn=no%E_INIT_SIGN_EXTEND
-Werror=unknown-warning-option -D_POSIX_PTHREAD_SEMANTICS -mt -c
/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c
-o pkinit_crypto_openssl.so.o && mv -f pkinit_crypto_openssl.so.o
pkinit_crypto_openssl.so
rm -f ../pkinit.so
(cd .. && ln -s `basename plugins/preauth/pkinit`/pkinit.so .)
"/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/plugins/preauth/pkinit/pkinit_constants.c",
line 62: initializer does not fit or is out of range: 134
(E_INIT_DOES_NOT_FIT)
"/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/plugins/preauth/pkinit/pkinit_constants.c",
line 67: initializer does not fit or is out of range: 134
(E_INIT_DOES_NOT_FIT)
"/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/plugins/preauth/pkinit/pkinit_constants.c",
line 72: initializer does not fit or is out of range: 134
(E_INIT_DOES_NOT_FIT)
"/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/plugins/preauth/pkinit/pkinit_constants.c",
line 83: initializer does not fit or is out of range: 134
(E_INIT_DOES_NOT_FIT)
"/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/plugins/preauth/pkinit/pkinit_constants.c",
line 83: initializer does not fit or is out of range: 134
(E_INIT_DOES_NOT_FIT)
"/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/plugins/preauth/pkinit/pkinit_constants.c",
line 83: initializer does not fit or is out of range: 247
(E_INIT_DOES_NOT_FIT)
"/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/plugins/preauth/pkinit/pkinit_constants.c",
line 88: initializer does not fit or is out of range: 134
(E_INIT_DOES_NOT_FIT)
"/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/plugins/preauth/pkinit/pkinit_constants.c",
line 88: initializer does not fit or is out of range: 134
(E_INIT_DOES_NOT_FIT)
"/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/plugins/preauth/pkinit/pkinit_constants.c",
line 88: initializer does not fit or is out of range: 247
(E_INIT_DOES_NOT_FIT)
"/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/plugins/preauth/pkinit/pkinit_constants.c",
line 94: initializer does not fit or is out of range: 134
(E_INIT_DOES_NOT_FIT)
"/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/plugins/preauth/pkinit/pkinit_constants.c",
line 94: initializer does not fit or is out of range: 206
(E_INIT_DOES_NOT_FIT)
"/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/plugins/preauth/pkinit/pkinit_constants.c",
line 100: initializer does not fit or is out of range: 134
(E_INIT_DOES_NOT_FIT)
"/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/plugins/preauth/pkinit/pkinit_constants.c",
line 100: initializer does not fit or is out of range: 206
(E_INIT_DOES_NOT_FIT)
"/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/plugins/preauth/pkinit/pkinit_constants.c",
line 106: initializer does not fit or is out of range: 134
(E_INIT_DOES_NOT_FIT)
"/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/plugins/preauth/pkinit/pkinit_constants.c",
line 106: initializer does not fit or is out of range: 206
(E_INIT_DOES_NOT_FIT)
"/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/plugins/preauth/pkinit/pkinit_constants.c",
line 112: initializer does not fit or is out of range: 134
(E_INIT_DOES_NOT_FIT)
"/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/plugins/preauth/pkinit/pkinit_constants.c",
line 112: initializer does not fit or is out of range: 206
(E_INIT_DOES_NOT_FIT)
cc: acomp failed for
/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/plugins/preauth/pkinit/pkinit_constants.c
make[2]: *** [Makefile:826: pkinit_constants.so] Error 2
make[2]: *** Waiting for unfinished jobs....
"/builds/mrehak/krb5/components/krb5/krb5-1.22.2/src/plugins/preauth/pkinit/pkinit_crypto_openssl.c",
line 1071: warning: initializer will be sign-extended: -1
(E_INIT_SIGN_EXTEND)
make[2]: Leaving directory
'/builds/mrehak/krb5/components/krb5/build/i86/plugins/preauth/pkinit'
Attaching a patch to resolve the issues. Please consider integration to
main.
Thank you,
m.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: porting.patch
Type: text/x-patch
Size: 10035 bytes
Desc: not available
URL: <http://mailman.mit.edu/pipermail/krb5-bugs/attachments/20260210/03257502/attachment-0001.bin>
More information about the krb5-bugs
mailing list