-
Notifications
You must be signed in to change notification settings - Fork 38
Closed
Labels
Sev 3 - MediumFunctional issue, but not very criticalFunctional issue, but not very criticalbugSomething isn't workingSomething isn't working
Description
Description
While attempting to build glibport from source, I am getting this error
Generating ZOSLIB Environment Hooks
VERBOSE: ibm-clang64 -DNSIG=42 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE -D_OPEN_SYS_FILE_EXT=1 -D_AE_BIMODAL=1 -D_ENHANCED_ASCII_EXT=0xFFFFFFFF -D__XPLAT=1 -D_POSIX_C_SOURCE=200809L -DZOSLIB_OVERRIDE_CLIB=1 -DZOSLIB_OVERRIDE_CLIB_GETENV=1 -DZOSLIB_OVERRIDE_CLIB_LOCALE_FORCE=1 -std=gnu11 -fzos-le-char-mode=ascii -mnocsect -fno-short-enums -m64 -mzos-target=zosv2r5 -march=z13 -O3 -I/u/pyzoda/valonzo/zopen/usr/local/zopen/curl/curl-8.15.0.20250728_192752.zos/include -I/u/pyzoda/valonzo/zopen/usr/local/zopen/libpsl/libpsl-master.20250604_154033.zos/include -I/u/pyzoda/valonzo/zopen/usr/local/zopen/libssh2/libssh2-1.11.0.20240103_144102.zos/include -I/u/pyzoda/valonzo/zopen/usr/local/zopen/openssl/openssl-3.5.1.20250709_113621.zos/include -I/u/pyzoda/valonzo/zopen/usr/local/zopen/gettext/gettext-0.21.20250806_160232.zos/include -I/u/pyzoda/valonzo/zopen/usr/local/zopen/ncurses/ncurses-6.5.20250819_155443.zos/include -I/u/pyzoda/valonzo/zopen/usr/local/zopen/libiconv/libiconv-1.18.20250610_024109.zos/include -mzos-target=zosv2r5 -march=z13 -I/u/pyzoda/valonzo/zopen/usr/local/zopen/libpcre2/pcre2-10.42.20250806_121837.zos/include -I/u/pyzoda/valonzo/zopen/usr/local/zopen/libxml2/libxml2-2.9.12.20250730_092544.zos/include -I/u/pyzoda/valonzo/zopen/usr/local/zopen/libxml2/libxml2-2.9.12.20250730_092544.zos/include/libxml2 -I/u/pyzoda/valonzo/zopen/usr/local/zopen/zlib/zlib-v1.3.1.20250721_154923.zos/include -isystem /u/pyzoda/valonzo/zopen/usr/local/zopen/zoslib/zoslib-zopen2.20250825_142938.zos/include -include /u/pyzoda/valonzo/zopen/usr/local/zopen/zoslib/zoslib-zopen2.20250825_142938.zos/include/zos-v2r5-symbolfixes.h -DNSIG=42 -D_XOPEN_SOURCE=600 -D_ALL_SOURCE -D_OPEN_SYS_FILE_EXT=1 -D_AE_BIMODAL=1 -D_ENHANCED_ASCII_EXT=0xFFFFFFFF -D__XPLAT=1 -D_POSIX_C_SOURCE=200809L -DZOSLIB_OVERRIDE_CLIB=1 -DZOSLIB_OVERRIDE_CLIB_GETENV=1 -DZOSLIB_OVERRIDE_CLIB_LOCALE_FORCE=1 -DPATH_MAX=1024 -c zoslib_env_hook.c -o zoslib_env_hook.c.o
In file included from zoslib_env_hook.c:3:
In file included from /u/pyzoda/valonzo/zopen/usr/local/zopen/zoslib/zoslib-zopen2.20250825_142938.zos/include/string.h:20:
/usr/include/string.h:309:25: error: redefinition of 'stpcpy' as different kind of symbol
309 | __new4302(char *, stpcpy, (char *, const char *));
| ^
/usr/include/string.h:309:25: note: previous definition is here
/usr/include/string.h:310:25: error: redefinition of 'stpncpy' as different kind of symbol
310 | __new4302(char *, stpncpy, (char *, const char *, size_t));
| ^
/usr/include/string.h:310:25: note: previous definition is here
In file included from zoslib_env_hook.c:3:
/u/pyzoda/valonzo/zopen/usr/local/zopen/zoslib/zoslib-zopen2.20250825_142938.zos/include/string.h:40:19: error: redefinition of 'strnlen' as different kind of symbol
40 | __Z_EXPORT size_t strnlen(const char *, size_t );
| ^
/usr/include/string.h:308:25: note: previous definition is here
308 | __new4302(size_t, strnlen, (const char *, size_t));
| ^
In file included from zoslib_env_hook.c:3:
/u/pyzoda/valonzo/zopen/usr/local/zopen/zoslib/zoslib-zopen2.20250825_142938.zos/include/string.h:44:18: error: redefinition of 'strsignal' as different kind of symbol
44 | __Z_EXPORT char *strsignal(int );
| ^
/usr/include/string.h:311:25: note: previous definition is here
311 | __new4302(char *, strsignal, (int));
| ^
4 errors generated.
***ERROR: Compiler command for zoslib_env_hook.c failed to compile
I am building from branch bump-glib-version-2.86.0
I mentioned this issue here https://ibm-systems-z.slack.com/archives/C039TNSH9J5/p1757525542517459
Severity
Sev 3 - Medium
Expected Behavior
No response
Actual Behavior
No response
z/OS Version
OS/390 AQTS 30.00 05 9175
zopen package manager version
zopen-version (zopen tools) 0.8.4
Additional Information (Optional)
No response
Network or Security Configuration (Optional)
No response
Metadata
Metadata
Assignees
Labels
Sev 3 - MediumFunctional issue, but not very criticalFunctional issue, but not very criticalbugSomething isn't workingSomething isn't working