[Bug 1612860] New: perl-Net-Pcap-0.18-9.fc29 FTBFS: stubs.inc:357:8: error : redefinition of 'struct pcap_rmtauth'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
          Reporter: ppisar@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: ddick@xxxxxxxx, iarnell@xxxxxxxxx,
                    jplesnik@xxxxxxxxxx,
                    perl-devel@xxxxxxxxxxxxxxxxxxxxxxx,
                    sindrepb@xxxxxxxxxxxxxxxxx



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.
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/perl-devel@xxxxxxxxxxxxxxxxxxxxxxx/message/MDJPEROBKG45YEOQLMGSPKYD5ANIOIAF/




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]

  Powered by Linux