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 1856751 - libtnc-1.25-25.fc33 FTBFS: policy_tree.c:62:77: error: ‘sys_errlist’ undeclared
Summary: libtnc-1.25-25.fc33 FTBFS: policy_tree.c:62:77: error: ‘sys_errlist’ undeclared
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libtnc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tom "spot" Callaway
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F33FTBFS
TreeView+ depends on / blocked
 
Reported: 2020-07-14 11:36 UTC by Petr Pisar
Modified: 2020-07-14 13:45 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-07-14 13:45:21 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2020-07-14 11:36:40 UTC
libtnc-1.25-25.fc3 fails to build in Fedora 33:

libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libxml2 -I../../src/libtnc -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 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -DPIC -c policy_tree.c  -fPIC -DPIC -o .libs/policy_tree.o
policy_tree.c: In function ‘pt_parse_policy’:
policy_tree.c:50:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   50 |     if (file = fopen(filename, "r"))
      |         ^~~~
policy_tree.c:55:2: warning: implicit declaration of function ‘yyparse’ [-Wimplicit-function-declaration]
   55 |  yyparse(&policy);
      |  ^~~~~~~
policy_tree.c:62:77: error: ‘sys_errlist’ undeclared (first use in this function)
   62 |  fprintf(stderr, "OSC_IMV could not open policy file '%s': %s\n", filename, sys_errlist[errno]);
      |                                                                             ^~~~~~~~~~~

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/8577333>. This is probably trigger with upgrading glibc-devel from 2.31.9000-17.fc33 to 2.31.9000-19.fc33.

Comment 1 Tom "spot" Callaway 2020-07-14 13:45:21 UTC
Fixed in libtnc-1.25-26.fc33


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