https://bugzilla.redhat.com/show_bug.cgi?id=1612860
Bug ID: 1612860
Summary: perl-Net-Pcap-0.18-9.fc29 FTBFS: stubs.inc:357:8:
error: redefinition of 'struct pcap_rmtauth'
Product: Fedora
Version: rawhide
Component: perl-Net-Pcap
Assignee: jplesnik(a)redhat.com
Reporter: ppisar(a)redhat.com
QA Contact: extras-qa(a)fedoraproject.org
CC: ddick(a)cpan.org, iarnell(a)gmail.com,
jplesnik(a)redhat.com,
perl-devel(a)lists.fedoraproject.org,
sindrepb(a)fedoraproject.org
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.
--
You are receiving this mail because:
You are on the CC list for the bug.