#569568 zsh: Missing build dependency

Package:
aptitude
Source:
aptitude
Description:
terminal-based package manager
Submitter:
Daniel Bolton
Date:
2024-01-20 12:54:07 UTC
Severity:
important
Tags:
#569568#5
Date:
2010-02-12 14:14:02 UTC
From:
To:
After running "aptitude build-dep zsh", a ran "apt-get source zsh", entered
the source directory, and attempted to build a package. However, the build
failed: dpkg-checkbuilddeps: Unmet build dependencies: libcap2-dev

It seems that this package should have been pulled in with the first command.

#569568#10
Date:
2010-02-12 20:29:00 UTC
From:
To:
reassign 569568 aptitude
quit

If this is a bug and not an effect of your particular setup, the bug would be
in aptitude.

#569568#17
Date:
2010-02-12 20:42:48 UTC
From:
To:
forcemerge 509100 569568
thanks

Indeed, and it is already known that aptitude does not handle virtual
packages in the build-dep command.

Sven

#569568#24
Date:
2010-02-12 21:02:10 UTC
From:
To:
Ah, I should switch back to libcap-dev.
#569568#45
Date:
2024-01-20 12:50:59 UTC
From:
To:
I found a workaround. If you need to install build dependencies for
package X, just create a fake package, which has "Depends", which are
equal to X's "Build-Depends". Then install this fake package via
aptitude.

Possibility of such workaround means that aptitude already has all
needed machinery. We just need to make aptitude to treat
"Build-Depends" in similar way to "Depends"