Package: libcacard-dev
Version: 1:2.6.1-1

Alex Bennée <alex.ben...@linaro.org> writes:

> Alex Bennée <alex.ben...@linaro.org> writes:
>
>> Renzo Davoli <re...@cs.unibo.it> writes:
>>
>>> Alex,
>>>     we have tried to replicate the problem.... with no luck.
> <snip>
>>
<snip>
>
> Hmm on my dev machine I still get:
>
>   18:17:40 [root@zen:~] # apt build-dep -a arm64 qemu
>   Reading package lists... Done
>   Reading package lists... Done
>   Building dependency tree
>   Reading state information... Done
>   Some packages could not be installed. This may mean that you have
>   requested an impossible situation or if you are using the unstable
>   distribution that some required packages have not yet been created
>   or been moved out of Incoming.
>   The following information may help to resolve the situation:
>
>   The following packages have unmet dependencies:
>    builddeps:qemu:arm64 : Depends: libcacard-dev:arm64 but it is not going to 
> be installed
>                           Depends: libvdeplug-dev:arm64 but it is not going 
> to be installed
>                           Depends: xfslibs-dev:arm64 but it is not going to 
> be installed
>   E: Unable to correct problems, you have held broken packages.
>
> But I suspect that asking for the arm64 build-deps at the same time as
> the native build-deps is probably a bit too much for the system. Should
> not being able to have side by side deps for the same package be
> considered a bug?

With a minimal docker test case the failure I get is:

  The following packages have unmet dependencies:
   builddeps:qemu:arm64 : Depends: libcacard-dev:arm64 but it is not going to 
be installed
  E: Unable to correct problems, you have held broken packages.

The steps are:

  #
  # On its own you can't build much but the docker-foo-cross targets
  # build on top of the base debian image.
  #
  FROM debian:buster-slim

  # Duplicate deb line as deb-src
  RUN cat /etc/apt/sources.list | sed "s/^deb\ /deb-src /" >> 
/etc/apt/sources.list

  # Install common build utilities
  RUN apt update
  RUN DEBIAN_FRONTEND=noninteractive apt install -yy eatmydata
  RUN DEBIAN_FRONTEND=noninteractive eatmydata apt dist-upgrade -yy
  RUN DEBIAN_FRONTEND=noninteractive eatmydata \
      apt install -y --no-install-recommends \
          bison \
          build-essential \
          ca-certificates \
          clang \
          flex \
          gettext \
          git \
          pkg-config \
          psmisc \
          python \
          texinfo \
          $(apt-get -s build-dep qemu | egrep ^Inst | fgrep '[all]' | cut -d\  
-f2)
  RUN DEBIAN_FRONTEND=noninteractive eatmydata \
      apt-get build-dep -yy qemu
  RUN dpkg --add-architecture arm64
  RUN apt update
  RUN DEBIAN_FRONTEND=noninteractive eatmydata \
      apt-get install -y --no-install-recommends \
          crossbuild-essential-arm64
  RUN DEBIAN_FRONTEND=noninteractive eatmydata \
      apt-get build-dep -yy -a arm64 qemu


--
Alex Bennée

Reply via email to