-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
rhel-10.0
-
None
-
None
-
rhel-virt-windows
-
None
-
False
-
False
-
-
None
-
None
-
None
-
None
-
Unspecified
-
Unspecified
-
Unspecified
-
None
What were you trying to do that didn't work?
Trying to test building the RPM on Konflux.
What is the impact of this issue to you?
The package cannot be onboarded to Konflux. Also, builds are failing for c10s on Koji. So technically until this is fixed, RPMs cant be built for x86-64
Please provide the package NVR for which the bug is seen:
NA
How reproducible is this bug?:
Reproducible every time.
Steps to reproduce
- Make a code change or dummy change to spec file.
- Push an MR to https://gitlab.com/redhat/centos-stream/rpms/mingw-termcap
- Watch status of Konflux/Koji build via Gitlab pipeline logs
- Sample MR - https://gitlab.com/redhat/centos-stream/rpms/mingw-termcap/-/merge_requests/4
Expected results
Package should be built for all archs as per spec file
Actual results
rpmbuild failing on x86-64 with the following error:
make: Entering directory '/builddir/build/BUILD/termcap-1.3.1/build_win32' i686-w64-mingw32-gcc -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DTERMCAP_FILE=\"/etc/termcap\" -I. -I.. -g ../termcap.c i686-w64-mingw32-gcc -c -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_STRING_H=1 -DHAVE_UNISTD_H=1 -DTERMCAP_FILE=\"/etc/termcap\" -I. -I.. -g ../tparam.c ../termcap.c: In function 'xmalloc': ../tparam.c: In function 'xmalloc': ../tparam.c:60:1: warning: old-style function definition [-Wold-style-definition] 60 | xmalloc (size) | ^~~~~~~ ../tparam.c: In function 'xrealloc': ../tparam.c:71:1: warning: old-style function definition [-Wold-style-definition] 71 | xrealloc (ptr, size) | ^~~~~~~~ ../tparam.c: In function 'tparam': ../tparam.c:99:1: warning: old-style function definition [-Wold-style-definition] 99 | tparam (string, outstring, len, arg0, arg1, arg2, arg3) | ^~~~~~ ../tparam.c:111:10: error: too many arguments to function 'tparam1'; expected 0, have 6 111 | return tparam1 (string, outstring, len, NULL, NULL, arg);