#888469 aptitude: build-dep gmime fails

Package:
aptitude
Source:
aptitude
Description:
terminal-based package manager
Submitter:
=
Date:
2024-01-20 12:54:09 UTC
Severity:
important
Tags:
#888469#5
Date:
2018-01-25 23:29:54 UTC
From:
To:
Dear Maintainer,

   * What led up to the situation?

I wanted to build gmime from source

I tried (on the shell command-line):

    aptitude build-dep gmime

and got an error message:

    Unable to satisfy the build-depends: Build-Depends: libgpgme11-dev
    Unable to apply some actions, aborting

I then tried

    apt-get build-dep gmime

it completed successfully

"aptitude build-dep gmime" still gives the same error message.

#888469#10
Date:
2018-01-26 01:40:18 UTC
From:
To:
Hi,

= wrote:

This is https://bugs.debian.org/509100 ("aptitude: build-dep fails
when a virtual package is needed"): libgpgme11-dev is a virtual
package.

Hence merging.

		Regards, Axel

#888469#29
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"