Bug 2341424

Summary: tcpreplay: FTBFS in Fedora rawhide/f42
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: tcpreplayAssignee: Bojan Smojver <bojan>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bojan
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-01-26 00:06:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2300528    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2025-01-22 22:06:16 UTC
tcpreplay failed to build from source in Fedora rawhide/f42

https://koji.fedoraproject.org/koji/taskinfo?taskID=128153025


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
Please fix tcpreplay at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
tcpreplay will be orphaned. Before branching of Fedora 43,
tcpreplay will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/

Comment 1 Fedora Release Engineering 2025-01-22 22:06:19 UTC
Created attachment 2072792 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2025-01-22 22:06:20 UTC
Created attachment 2072793 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2025-01-22 22:06:21 UTC
Created attachment 2072794 [details]
state.log

Comment 4 Bojan Smojver 2025-01-25 05:06:20 UTC
This is what's left after initial fixes:

In file included from ../../src/common/txring.h:47,
                 from ../../src/common/sendpacket.h:43,
                 from ../../src/common.h:42,
                 from get.c:23:
/usr/include/linux/if_packet.h:14:8: error: redefinition of ‘struct sockaddr_ll’
   14 | struct sockaddr_ll {
      |        ^~~~~~~~~~~
In file included from ../../src/common/sendpacket.h:39:
/usr/include/netpacket/packet.h:22:8: note: originally defined here
   22 | struct sockaddr_ll
      |        ^~~~~~~~~~~
/usr/include/linux/if_packet.h:297:8: error: redefinition of ‘struct packet_mreq’
  297 | struct packet_mreq {
      |        ^~~~~~~~~~~
/usr/include/netpacket/packet.h:69:8: note: originally defined here
   69 | struct packet_mreq
      |        ^~~~~~~~~~~
In file included from ../../src/common/txring.h:47,
                 from ../../src/common/sendpacket.h:43,
                 from ../../src/common.h:42,
                 from err.c:47:
/usr/include/linux/if_packet.h:14:8: error: redefinition of ‘struct sockaddr_ll’
   14 | struct sockaddr_ll {
      |        ^~~~~~~~~~~
In file included from ../../src/common/sendpacket.h:39:
/usr/include/netpacket/packet.h:22:8: note: originally defined here
   22 | struct sockaddr_ll
      |        ^~~~~~~~~~~
In file included from ../../src/common/txring.h:47,
                 from ../../src/common/sendpacket.h:43,
                 from ../../src/common.h:42,
                 from list.c:29:
/usr/include/linux/if_packet.h:14:8: error: redefinition of ‘struct sockaddr_ll’
   14 | struct sockaddr_ll {
      |        ^~~~~~~~~~~
In file included from ../../src/common/sendpacket.h:39:
/usr/include/netpacket/packet.h:22:8: note: originally defined here
   22 | struct sockaddr_ll
      |        ^~~~~~~~~~~
/usr/include/linux/if_packet.h:297:8: error: redefinition of ‘struct packet_mreq’
  297 | struct packet_mreq {
      |        ^~~~~~~~~~~
/usr/include/netpacket/packet.h:69:8: note: originally defined here
   69 | struct packet_mreq
      |        ^~~~~~~~~~~
/usr/include/linux/if_packet.h:297:8: error: redefinition of ‘struct packet_mreq’
  297 | struct packet_mreq {
      |        ^~~~~~~~~~~
/usr/include/netpacket/packet.h:69:8: note: originally defined here
   69 | struct packet_mreq
      |        ^~~~~~~~~~~
In file included from ../../src/common/txring.h:47,
                 from ../../src/common/sendpacket.h:43,
                 from ../../src/common.h:42,
                 from services.c:23:
/usr/include/linux/if_packet.h:14:8: error: redefinition of ‘struct sockaddr_ll’
   14 | struct sockaddr_ll {
      |        ^~~~~~~~~~~
In file included from ../../src/common/sendpacket.h:39:
/usr/include/netpacket/packet.h:22:8: note: originally defined here
   22 | struct sockaddr_ll
      |        ^~~~~~~~~~~
/usr/include/linux/if_packet.h:297:8: error: redefinition of ‘struct packet_mreq’
  297 | struct packet_mreq {
      |        ^~~~~~~~~~~
/usr/include/netpacket/packet.h:69:8: note: originally defined here
   69 | struct packet_mreq
      |        ^~~~~~~~~~~
In file included from ../../src/common/txring.h:47,
                 from ../../src/common/sendpacket.h:43,
                 from ../../src/common.h:42,
                 from cidr.c:23:
/usr/include/linux/if_packet.h:14:8: error: redefinition of ‘struct sockaddr_ll’
   14 | struct sockaddr_ll {
      |        ^~~~~~~~~~~
In file included from ../../src/common/sendpacket.h:39:
/usr/include/netpacket/packet.h:22:8: note: originally defined here
   22 | struct sockaddr_ll
      |        ^~~~~~~~~~~
/usr/include/linux/if_packet.h:297:8: error: redefinition of ‘struct packet_mreq’
  297 | struct packet_mreq {
      |        ^~~~~~~~~~~
/usr/include/netpacket/packet.h:69:8: note: originally defined here
   69 | struct packet_mreq
      |        ^~~~~~~~~~~
In file included from ../../src/common/txring.h:47,
                 from ../../src/common/sendpacket.h:43,
                 from ../../src/common.h:42,
                 from cache.c:23:
/usr/include/linux/if_packet.h:14:8: error: redefinition of ‘struct sockaddr_ll’
   14 | struct sockaddr_ll {
      |        ^~~~~~~~~~~
In file included from ../../src/common/sendpacket.h:39:
/usr/include/netpacket/packet.h:22:8: note: originally defined here
   22 | struct sockaddr_ll
      |        ^~~~~~~~~~~
/usr/include/linux/if_packet.h:297:8: error: redefinition of ‘struct packet_mreq’
  297 | struct packet_mreq {
      |        ^~~~~~~~~~~
/usr/include/netpacket/packet.h:69:8: note: originally defined here
   69 | struct packet_mreq
      |        ^~~~~~~~~~~