sometimes builds fail saying that changelog is not a directory

Bug #1951104 reported by Dimitri John Ledkov

This bug report was marked for expiration 241 days ago. (find out why)

6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
debhelper (Ubuntu)
Incomplete
Undecided
Unassigned
strip-nondeterminism (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Can't cd to (debian/ubuntu-core-initramfs/usr/share/doc/ubuntu-core-initramfs/) changelog: Not a directory
 at /usr/bin/dh_strip_nondeterminism line 86.
   dh_compress -a -O--buildsystem=meson\+ninja -O--sourcedirectory=vendor/systemd
 cd debian/ubuntu-core-initramfs
 chmod a-x usr/share/doc/ubuntu-core-initramfs/changelog
 gzip -9nf usr/share/doc/ubuntu-core-initramfs/changelog
gzip: usr/share/doc/ubuntu-core-initramfs/changelog is a directory -- ignored
dh_compress: error: gzip -9nf usr/share/doc/ubuntu-core-initramfs/changelog returned exit code 2
dh_compress: error: Aborting due to earlier error

Periodically, on various architectures, I am experiencing the above FTBFS.

it feels like somehow changelog is not a real file, but a directory, which one cannot cd into. sounds really weird.

I kind of what to blame strip-nodeterminism, or umask or something of the sort.

Tags: focal ftbfs
tags: added: focal ftbfs
Revision history for this message
Mattia Rizzolo (mapreri) wrote :

ISTR this being debugged back then and the culprit being tracked down, however I don't remember anymore what was found.

Did you see this error again recently? Else I'd be tempted to just close this.

Changed in debhelper (Ubuntu):
status: New → Incomplete
Changed in strip-nondeterminism (Ubuntu):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.