[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Mozilla Software on Sparc64/Linux



Hello Adrian,

it took a few more steps to get sbuild to get over missing dependencies...i had to go into the chroot again, import repo keys or it wouldn't let me execute apt-get update.
apt-get update was needed to resolve some more dependencies where packages presumedly changed in the middle of my chroot installation.

One example was:
libdrm2 : Depends: libdrm-common (>= 2.4.108-1) but 2.4.107-8 is to be installed

Now it fails during configure:

checking for llvm-config... not found
ERROR: Could not find LLVM/Clang installation for compiling stylo build-time
bindgen.  Please specify the 'LLVM_CONFIG' environment variable
(recommended), pass the '--with-libclang-path' and '--with-clang-path'
options to configure, or put 'llvm-config' in your PATH.  Altering your
PATH may expose 'clang' as well, potentially altering your compiler,
which may not be what you intended.
make[1]: *** [debian/rules:205: stamps/configure-browser] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:321: build-arch] Error 2
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2
--------------------------------------------------------------------------------

What can i do here?

Regards,
Connor


On Wed, Nov 17, 2021 at 2:40 PM John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de> wrote:
Hello!

On 11/17/21 00:33, Connor McLaughlan wrote:
> i  had also to replace python-minimal in the config.in it seems, otherwise
> it would show up again with the original package.

Yes, you're right. debian/control is generated from debian/control.in (not config.in).

> Now it is missing those dependencies:
>
> The following packages have unmet dependencies:
>  sbuild-build-depends-main-dummy : Depends: llvm-6.0-dev but it is not
> installable
>                                    Depends: libclang-6.0-dev but it is not
> installable
>                                    Depends: clang-6.0 but it is not
> installable
>

Try replacing the following in debian/control.in:

               llvm-6.0-dev,
               libclang-6.0-dev,
               clang-6.0,

with:

               llvm-11-dev,
               libclang-11-dev,
               clang-11,

Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913


Reply to: