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 - procinfo-18-45.fc33 FTBFS: routines.c:149:20: error: 'sys_siglist' undeclared
Summary: procinfo-18-45.fc33 FTBFS: routines.c:149:20: error: 'sys_siglist' undeclared
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: procinfo
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jan Görig
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F33FTBFS
TreeView+ depends on / blocked
 
Reported: 2020-07-23 08:31 UTC by Petr Pisar
Modified: 2020-08-04 23:05 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-08-04 23:05:42 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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


Note You need to log in before you can comment on or make changes to this bug.