Bug#995672: cockpit-machines: 253-1 fails to build via apt-src

2021-10-04 Thread Martin Pitt
Control: severity -1 normal
Control: tag -1 unreproducible moreinfo

Hello Friedemann,

Friedemann Schorer [2021-10-03 23:40 +0200]:
> Severity: serious

That feels inflated to me. The package builds fine in official buildds [1], in
upstream CI (which uses pbuilder) and locally in a debian-sid container, and it
is really quite harmless -- the build is more or less "install a bunch of
files". Also, the error message below doesn't even get to the point where it
even attempts to build c-machines, it seems to fail early in apt-src's
name-to-location mapping? So that's certainly not a regression compared to the
testing version.

[1] https://buildd.debian.org/status/package.php?p=cockpit-machines

> Got the latest source packages for cockpit-machines 253-1, unpacked them
> locally via 'dpkg-source -x', made the source known to apt-src ('apt-src
> import cockpit-machines --location cockpit-machines-253') and tried to
> build it.
> Here's the output:
> 
>  ~/build: apt-src list
>  
> i   cockpit-machin 253-1  /home/frschorer/build/cockpit-machines-253  
>  
>  ~/build: apt-src build cockpit-machines  
> 
> E: Not installed
> 
> When I import the sourcetree of cockpit 254-1 from unstable sources,
> too,  and then try to build cockpit-machines apt-src builds the other cockpit 
> packages instead.

I never used apt-src, so I'm trying to reproduce this:

  sudo apt install -y apt-src
  cd /tmp 
  apt-get source cockpit-machines
  apt-src import cockpit-machines --location cockpit-machines-253/
  apt-src build cockpit-machines
  
the latter works:

> dpkg-buildpackage: info: source package cockpit-machines
> dpkg-buildpackage: info: source version 253-1
> [...]
> dpkg-deb: building package 'cockpit-machines' in 
> '../cockpit-machines_253-1_all.deb'.
> dpkg-buildpackage: info: binary-only upload (no source included)
> I: Successfully built in /tmp/cockpit-machines-253

Do these exact commands work for you? What did you do differently? How does your
~/.apt-src/status file look like? If you move it away, or try this as a
different user, what result do you get?

Thanks,

Martin



Bug#995672: cockpit-machines: 253-1 fails to build via apt-src

2021-10-03 Thread Friedemann Schorer
Package: cockpit-machines
Version: 253-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source

Dear Maintainer,

Got the latest source packages for cockpit-machines 253-1, unpacked them
locally via 'dpkg-source -x', made the source known to apt-src ('apt-src
import cockpit-machines --location cockpit-machines-253') and tried to
build it.
Here's the output:

 ~/build: apt-src list  
   
i   cockpit-machin 253-1  /home/frschorer/build/cockpit-machines-253   
 ~/build: apt-src build cockpit-machines
  
E: Not installed

When I import the sourcetree of cockpit 254-1 from unstable sources,
too,  and then try to build cockpit-machines apt-src builds the other cockpit 
packages instead.

I build a few packages through apt-src and never had this problem with any 
source package before, neither cockpit related packages nor others.

Pls let me know if you need additional info - I'd be happy to provide it
if possible.

-- System Information:
Debian Release: 10.10
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable-proposed-updates'), 
(500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-0.bpo.8-amd64 (SMP w/12 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), 
LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages cockpit-machines depends on:
ii  cockpit-bridge 254-1
ii  libvirt-clients5.0.0-4+deb10u1
ii  libvirt-daemon-system  5.0.0-4+deb10u1
ii  libvirt-dbus   1.3.0-1

Versions of packages cockpit-machines recommends:
ii  gir1.2-libosinfo-1.0  1.2.0-1
ii  python3-gi3.30.4-1
pn  qemu-block-extra  
pn  virtinst  

cockpit-machines suggests no packages.

-- no debconf information