Bug 2434821 - mingw-wpcap: FTBFS in Fedora rawhide/f44
Summary: mingw-wpcap: FTBFS in Fedora rawhide/f44
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: mingw-wpcap
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Thomas Sailer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F44FTBFS
TreeView+ depends on / blocked
 
Reported: 2026-01-28 21:53 UTC by Fedora Release Engineering
Modified: 2026-01-31 07:47 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2026-01-30 11:42:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2026-01-28 21:53 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2026-01-28 21:53 UTC, Fedora Release Engineering
no flags Details
state.log (1.69 KB, text/plain)
2026-01-28 21:54 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2026-01-28 21:53:45 UTC
mingw-wpcap failed to build from source in Fedora rawhide/f44

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


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
Please fix mingw-wpcap 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,
mingw-wpcap will be orphaned. Before branching of Fedora 45,
mingw-wpcap 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 2026-01-28 21:53:51 UTC
Created attachment 2126282 [details]
build.log

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

Comment 2 Fedora Release Engineering 2026-01-28 21:53:57 UTC
Created attachment 2126284 [details]
root.log

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

Comment 3 Fedora Release Engineering 2026-01-28 21:54:01 UTC
Created attachment 2126285 [details]
state.log

Comment 4 Richard W.M. Jones 2026-01-29 08:43:59 UTC
I built this locally and the failure is in the dos2unix command, when it is
asked to convert binary files.  For example:

dos2unix: Binary symbol 0x00 found at line 1
dos2unix: Skipping binary file ./wpcap/Win32-Extensions/version.aps

Although it skips the files, it returns an error at the end.  From the dos2unix changelog:

    - Update to 7.5.3
      * Fix: Exit with non-zero code if the conversion is aborted due to a binary file
      * Fix: Exit with zero code when an unicode conversion error occurs in quiet mode

(https://sourceforge.net/p/dos2unix/bugs/21/)

I looked at the dos2unix code and there seems to be no flag that can be used to
restore the previous behaviour.

I guess this will break a few mingw packages.

Not exactly sure what to do about this.  We could either completely ignore the return
value from dos2unix (slightly dangerous), or we could only apply dos2unix to files which
should be text files, such as files called '*.c|*.h|Makefile', which will likely miss some
files, but perhaps that is not important.

Comment 6 Richard W.M. Jones 2026-01-31 07:47:34 UTC
Looks like the dos2unix guy took my bug report seriously (too seriously!) and
actually reverted the behaviour change completely:

https://sourceforge.net/p/dos2unix/bugs/21/


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