Noble variant=fakechroot fails on Noble (mawk fails to install)

Bug #2052392 reported by Ken Sharp
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
mawk (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

$ fakechroot fakeroot debootstrap --variant=fakechroot noble noble

From log (attached):

dpkg: base-files: dependency problems, but configuring anyway as you requested:
 base-files depends on awk; however:
  Package awk is not installed.
  Package mawk which provides awk is not configured yet.

Setting up base-files (13ubuntu6) ...
Setting up bash (5.2.21-2ubuntu1) ...
update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode
Processing triggers for libc-bin (2.38-3ubuntu1) ...
Errors were encountered while processing:
 mawk

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: debootstrap 1.0.134ubuntu1
ProcVersionSignature: Ubuntu 6.5.0-15.15~22.04.1-generic 6.5.3
Uname: Linux 6.5.0-15-generic x86_64
ApportVersion: 2.27.0-0ubuntu6
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Sun Feb 4 17:59:12 2024
PackageArchitecture: all
ProcEnviron:
 LD_LIBRARY_PATH=<set>
 LD_PRELOAD=<set>
 PATH=(custom, no user)
 SHELL=/bin/bash
 TERM=xterm-256color
SourcePackage: debootstrap
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Ken Sharp (kennybobs) wrote :
Revision history for this message
Stephen Street (stephen-redrocketcomputing) wrote :

I have the identical problem using:

$fakeroot -fakechroot debootstrap --variant=fakechroot noble $PWD/noble

Any progress?

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in debootstrap (Ubuntu):
status: New → Confirmed
Revision history for this message
Ken Sharp (kennybobs) wrote :

I can work around the mawk failure with --exclude=mawk (I add --include=gawk), but then I'm hit with Bug #2065679

summary: - Noble variant=fakechroot fails on Noble
+ Noble variant=fakechroot fails on Noble (mawk fails to install)
affects: debootstrap (Ubuntu) → mawk (Ubuntu)
Revision history for this message
Ken Sharp (kennybobs) wrote :

Setting up mawk (1.3.4.20240123-1build1) ...
*** buffer overflow detected ***: terminated
Aborted (core dumped)

I suspect this is caused by fakeroot. Will update.

Revision history for this message
Sebastian Unger (sebunger44) wrote :

Definitely not mawk related. I have other programs (e.g. tar) failing under fakeroot/fakechroot as well.

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.