perl-Net-Pcap-0.18-9.fc29 fails to build in F29: gcc -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Wwrite-strings -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -DVERSION=\"0.18\" -DXS_VERSION=\"0.18\" -fPIC "-I/usr/lib64/perl5/CORE" -DHAVE_BLANK -DHAVE_PCAP_LIB_VERSION -DHAVE_PCAP_BREAKLOOP -DHAVE_PCAP_COMPILE_NOPCAP -DHAVE_PCAP_DATALINK_NAME_TO_VAL -DHAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION -DHAVE_PCAP_DATALINK_VAL_TO_NAME -DHAVE_PCAP_DUMP_FILE -DHAVE_PCAP_DUMP_FLUSH -DHAVE_PCAP_FINDALLDEVS -DHAVE_PCAP_GETNONBLOCK -DHAVE_PCAP_GET_SELECTABLE_FD -DHAVE_PCAP_LIB_VERSION -DHAVE_PCAP_NEXT_EX -DHAVE_PCAP_OFFLINE_FILTER -DHAVE_PCAP_OPEN_DEAD -DHAVE_PCAP_SENDPACKET -DHAVE_PCAP_SETNONBLOCK -DHAVE_PCAP_SET_DATALINK Pcap.c In file included from Pcap.xs:43: stubs.inc:187:2: warning: #warning "the function pcap_list_datalinks() is not available" [-Wcpp] #warning "the function pcap_list_datalinks() is not available" ^~~~~~~ stubs.inc:322:2: warning: #warning "the function pcap_createsrcstr() is not available" [-Wcpp] #warning "the function pcap_createsrcstr() is not available" ^~~~~~~ stubs.inc:337:2: warning: #warning "the function pcap_parsesrcstr() is not available" [-Wcpp] #warning "the function pcap_parsesrcstr() is not available" ^~~~~~~ stubs.inc:352:2: warning: #warning "the function pcap_open() is not available" [-Wcpp] #warning "the function pcap_open() is not available" ^~~~~~~ stubs.inc:357:8: error: redefinition of 'struct pcap_rmtauth' struct pcap_rmtauth { ^~~~~~~~~~~~ In file included from /usr/include/pcap.h:43, from Pcap.xs:32: /usr/include/pcap/pcap.h:788:8: note: originally defined here struct pcap_rmtauth ^~~~~~~~~~~~ In file included from Pcap.xs:43: stubs.inc:363:10: error: conflicting types for 'pcap_open' pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err); ^~~~~~~~~ In file included from /usr/include/pcap.h:43, from Pcap.xs:32: /usr/include/pcap/pcap.h:835:18: note: previous declaration of 'pcap_open' was here PCAP_API pcap_t *pcap_open(const char *source, int snaplen, int flags, ^~~~~~~~~ In file included from Pcap.xs:43: stubs.inc:364:10: error: conflicting types for 'pcap_open' pcap_t * pcap_open(const char *source, int snaplen, int flags, int read_timeout, struct pcap_rmtauth *auth, char *err) { ^~~~~~~~~ In file included from /usr/include/pcap.h:43, from Pcap.xs:32: /usr/include/pcap/pcap.h:835:18: note: previous declaration of 'pcap_open' was here PCAP_API pcap_t *pcap_open(const char *source, int snaplen, int flags, ^~~~~~~~~ A difference between last passing and first failing build root is <https://apps.fedoraproject.org/koschei/build/5086267>. This seems to be caused by upgrading libpcap-devel from 14:1.8.1-11.fc29 to 14:1.9.0-1.fc29.
This bug appears to have been reported against 'rawhide' during the Fedora 29 development cycle. Changing version to '29'.
I confirm
Created attachment 1485429 [details] fix build with libpcap 1.9.0
perl-Net-Pcap-0.18-10.fc29 has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2018-247760a32d
perl-Net-Pcap-0.18-10.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-247760a32d
The new 1.9.0 libcap is now in all Fedoras.
perl-Net-Pcap-0.18-8.fc28 has been submitted as an update to Fedora 28. https://bodhi.fedoraproject.org/updates/FEDORA-2018-b29814d978
perl-Net-Pcap-0.18-7.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-f4fa442797
perl-Net-Pcap-0.18-7.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-f4fa442797
perl-Net-Pcap-0.18-8.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-b29814d978
This message is a reminder that Fedora 27 is nearing its end of life. On 2018-Nov-30 Fedora will stop maintaining and issuing updates for Fedora 27. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as EOL if it remains open with a Fedora 'version' of '27'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version. Thank you for reporting this issue and we are sorry that we were not able to fix it before Fedora 27 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora, you are encouraged change the 'version' to a later Fedora version prior this bug is closed as described in the policy above. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete.
perl-Net-Pcap-0.18-10.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.
perl-Net-Pcap-0.18-8.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.
perl-Net-Pcap-0.18-7.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.