testing

file-5.48-1.fc45

FEDORA-2026-412ea7bd7b created by vmihalko 4 weeks ago for Fedora 45

Automatic update for file-5.48-1.fc45.

Changelog
* Fri Jul  3 2026 FeRD (Frank Dana) <ferdnyc@gmail.com> - 5.48-1
- New upstream release 5.48; drop upstreamed patches
- Fixes zipfile detection (rhbz#2427330)

This update was automatically created

4 weeks ago

This update's test gating status has been changed to 'waiting'.

4 weeks ago

This update's test gating status has been changed to 'failed'.

4 weeks ago
User Icon nixuser commented & provided feedback 3 weeks ago
karma

Look OK in Rawhide also.

User Icon adamwill commented & provided feedback 3 weeks ago

This failed tests, the failure looks pretty legit to me. It indicates that file -z and file --uncompress on a test bzip2 file do not work as expected:

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   --uncompress
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 11:12:47 ] :: [  BEGIN   ] :: Running 'file dummy_file.bz2 | grep -q 'ASCII text''
:: [ 11:12:47 ] :: [   PASS   ] :: Command 'file dummy_file.bz2 | grep -q 'ASCII text'' (Expected 1, got 1)
:: [ 11:12:47 ] :: [  BEGIN   ] :: Checking -z :: actually running 'file -z dummy_file.bz2 | grep -q 'ASCII text''
:: [ 11:12:47 ] :: [   FAIL   ] :: Checking -z (Expected 0, got 1)
:: [ 11:12:47 ] :: [  BEGIN   ] :: Checking --uncompress :: actually running 'file --uncompress dummy_file.bz2 | grep -q 'ASCII text''
:: [ 11:12:47 ] :: [   FAIL   ] :: Checking --uncompress (Expected 0, got 1)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 0s
::   Assertions: 1 good, 2 bad
::   RESULT: FAIL (--uncompress)

@vmihalko can you please look into this? Thanks.

User Icon adamwill commented & provided feedback 3 weeks ago
karma

I can reproduce the failure locally:

[adamw@toolbx fedora-toolbox-44 tmp]$ echo "hello world" > test
[adamw@toolbx fedora-toolbox-44 tmp]$ bzip2 test
[adamw@toolbx fedora-toolbox-44 tmp]$ rpm -q file
file-5.46-10.fc44.x86_64
[adamw@toolbx fedora-toolbox-44 tmp]$ file -z test.bz2
test.bz2: ASCII text (bzip2 compressed data, block size = 900k)
[adamw@toolbx fedora-toolbox-44 tmp]$ file --uncompress test.bz2
test.bz2: ASCII text (bzip2 compressed data, block size = 900k)
<dnf update file>
[adamw@toolbx fedora-toolbox-44 tmp]$ rpm -q file
file-5.48-1.fc44.x86_64
[adamw@toolbx fedora-toolbox-44 tmp]$ file --uncompress test.bz2
test.bz2: ERROR:[bzip2: Cannot posix_spawn `bzip2', Permission denied] (bzip2 compressed data, block size = 900k)
[adamw@toolbx fedora-toolbox-44 tmp]$ file -z test.bz2
test.bz2: ERROR:[bzip2: Cannot posix_spawn `bzip2', Permission denied] (bzip2 compressed data, block size = 900k)

This does not affect gzip, but does affect at least bzip2 and xz.


Please log in to add feedback.

Metadata
Type
unspecified
Karma
0
Signed
Content Type
RPM
Test Gating
Autopush Settings
Unstable by Karma
-3
Stable by Karma
disabled
Stable by Time
0 days
Thresholds
Minimum Karma
+0
Minimum Testing
0 days
Dates
submitted
4 weeks ago
in testing
4 weeks ago
BZ#2427330 file command can't detect large ZIP archive's file type
0
0

Automated Test Results