Bug 1856775 - racoon2-20100526a-41.fc33 FTBFS: ikev1/pfkey.c:60:10: fatal error: sys/sysctl.h: No such file or directory
Summary: racoon2-20100526a-41.fc33 FTBFS: ikev1/pfkey.c:60:10: fatal error: sys/sysctl...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: racoon2
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
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 12:40 UTC by Petr Pisar
Modified: 2020-09-25 17:00 UTC (History)
1 user (show)

Fixed In Version: racoon2-20100526a-44.fc34 racoon2-20100526a-44.fc33
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-25 17:00:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2020-07-14 12:40:55 UTC
racoon2-20100526a-41.fc33 fails to build in Fedora 33:

gcc -c -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 -Wall -g  -I/usr/include -I. -I./missing -I../lib  -DRACOON2_CONFIG_DIR=\"/etc/racoon2\" -DDEBUG -DDEBUG_TRACE -DHAVE_CONFIG_H -o ikev1/pfkey.o ikev1/pfkey.c
ikev1/pfkey.c:60:10: fatal error: sys/sysctl.h: No such file or directory
   60 | #include <sys/sysctl.h>
      |          ^~~~~~~~~~~~~~
compilation terminated.
make[1]: *** [Makefile:107: ikev1/pfkey.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory '/builddir/build/BUILD/racoon2-20100526a/iked'

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/8235958>. This is very probably triggered by upgrading glibc-devel from 2.31.9000-6.fc33 to 2.31.9000-9.fc33. From glibc changelog:

* Wed Apr 15 2020 Patsy Griffin <patsy> - 2.31.9000-9
- Auto-sync with upstream branch master,
  commit 076f09afbac1aa57756faa7a8feadb7936a724e4.
- Linux: Remove <sys/sysctl.h> and the sysctl function

Comment 1 Ben Cotton 2020-08-11 13:47:15 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.

Comment 2 Petr Pisar 2020-09-17 13:25:50 UTC
I applied a fix from a <https://github.com/zoulasc/racoon2> tree.

Comment 3 Fedora Update System 2020-09-17 13:32:57 UTC
FEDORA-2020-a090486e04 has been submitted as an update to Fedora 33. https://bodhi.fedoraproject.org/updates/FEDORA-2020-a090486e04

Comment 4 Fedora Update System 2020-09-17 17:56:43 UTC
FEDORA-2020-a090486e04 has been pushed to the Fedora 33 testing repository.
In short time you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2020-a090486e04`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2020-a090486e04

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2020-09-25 17:00:28 UTC
FEDORA-2020-a090486e04 has been pushed to the Fedora 33 stable repository.
If problem still persists, please make note of it in this bug report.


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