Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1859870

Summary: procinfo-18-45.fc33 FTBFS: routines.c:149:20: error: 'sys_siglist' undeclared
Product: [Fedora] Fedora Reporter: Petr Pisar <ppisar>
Component: procinfoAssignee: Jan Görig <fedora>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: fedora, jaromir.capik, vascom2
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://koschei.fedoraproject.org/package/procinfo?collection=f33
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-04 23:05:42 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1803234    

Description Petr Pisar 2020-07-23 08:31:56 UTC
procinfo-18-45.fc33 fails to build in Fedora 33:

gcc -Wall -Wstrict-prototypes -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/include/ncurses   -c -o routines.o routines.c
routines.c: In function 'quit':
routines.c:149:20: error: 'sys_siglist' undeclared (first use in this function)
  149 |  printf ("[%s]\n", sys_siglist[i]);
      |                    ^~~~~~~~~~~

A difference between passing and faling build root is at <https://koschei.fedoraproject.org/build/8588322>. It is probably triggered by upgrading glibc-devel from 2.31.9000-17 to 2.31.9000-19.

Comment 1 Vasiliy Glazov 2020-07-27 09:56:10 UTC
You should just change sys_siglist[i] to strsignal(i)

Comment 2 Miro Hrončok 2020-08-04 23:05:42 UTC
The following builds were made after this report was opened: procinfo-18-47.fc33