Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708472 - dev-ada/libadalang-2019-r1 - gprbuild: >>> unknown project file: "gnatcoll_gmp"
Summary: dev-ada/libadalang-2019-r1 - gprbuild: >>> unknown project file: "gnatcoll_gmp"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Gentoo Linux ADA team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-06 14:53 UTC by mycatlovemetoo
Modified: 2020-02-09 21:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_708472.txt,4.27 KB, text/plain)
2020-02-06 14:54 UTC, mycatlovemetoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description mycatlovemetoo 2020-02-06 14:53:42 UTC
Cannot compile dev-ada/libadalang-2019-r1 on my system.

Reproducible: Didn't try

Steps to Reproduce:
What I am wanted at first place is to compile gps on system with no dev-ada before.

Use flags:
dev-ada/* python_single_target_python2_7 ada_target_gnat_2019 shared 
dev-ada/libadalang static-libs
dev-ada/libgpr static-libs
dev-ada/xmlada static-libs

dev-ada/gnatcoll-db gnatinspect xref db2ada sqlite db2ada sql
dev-ada/gnatcoll-bindings python iconv static-libs
dev-ada/gnatcoll-core static-libs

Packages installation stoped at libadalang step



/var/tmp/portage/dev-ada/libadalang-2019-r1/temp/build.log

* Package:    dev-ada/libadalang-2019-r1
 * Repository: gentoo
 * Maintainer: ada@gentoo.org
 * USE:        abi_x86_64 ada_target_gnat_2019 amd64 elibc_glibc kernel_linux python_single_target_python2_7 python_targets_python2_7 shared
 static-libs userland_GNU
 * FEATURES:   network-sandbox nostrip preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking libadalang-2019-20190510-19916-src.tar.gz to /var/tmp/portage/dev-ada/libadalang-2019-r1/work
>>> Source unpacked in /var/tmp/portage/dev-ada/libadalang-2019-r1/work
>>> Preparing source in /var/tmp/portage/dev-ada/libadalang-2019-r1/work/libadalang-2019-20190510-19916-src ...
 * Applying libadalang-2019-gentoo.patch ...
 [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-ada/libadalang-2019-r1/work/libadalang-2019-20190510-19916-src ...

... 

Generation complete!
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-ada/libadalang-2019-r1/work/libadalang-2019-20190510-19916-src ...
Building the generated source code
Executing: gprbuild -p -j6 -P/var/tmp/portage/dev-ada/libadalang-2019-r1/work/libadalang-2019-20190510-19916-src/build/lib/gnat/libadalang.gpr -vl -XBUILD_MODE=prod -XLIBRARY_TYPE=relocatable -XGPR_BUILD=relocatable -XGNATCOLL_GMP_BUILD=relocatable -XXMLADA_BUILD=relocatable -XLIBADALANG_WARNINGS=true

==============Messages for file: /var/tmp/portage/dev-ada/libadalang-2019-r1/work/libadalang-2019-20190510-19916-src/build/lib/gnat/libadalang.gpr
     5. with "gnatcoll_gmp";
             |
        >>> unknown project file: "gnatcoll_gmp"
gprbuild: "/var/tmp/portage/dev-ada/libadalang-2019-r1/work/libadalang-2019-20190510-19916-src/build/lib/gnat/libadalang.gpr" processing failed
Build failed: error while running gprbuild -p -j6 -P/var/tmp/portage/dev-ada/libadalang-2019-r1/work/libadalang-2019-20190510-19916-src/build/lib/gnat/libadalang.gpr -vl -XBUILD_MODE=prod -XLIBRARY_TYPE=relocatable -XGPR_BUILD=relocatable -XGNATCOLL_GMP_BUILD=relocatable -XXMLADA_BUILD=relocatable -XLIBADALANG_WARNINGS=true:
    Command '['gprbuild', '-p', '-j6', '-P/var/tmp/portage/dev-ada/libadalang-2019-r1/work/libadalang-2019-20190510-19916-src/build/lib/gnat/libadalang.gpr', '-vl', '-XBUILD_MODE=prod', '-XLIBRARY_TYPE=relocatable', '-XGPR_BUILD=relocatable', '-XGNATCOLL_GMP_BUILD=relocatable', '-XXMLADA_BUILD=relocatable', '-XLIBADALANG_WARNINGS=true']' returned non-zero exit status 4
 * ERROR: dev-ada/libadalang-2019-r1::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 125:  Called src_compile
 *   environment, line 2368:  Called die
 * The specific snippet of code:
 *       ada/manage.py -v --library-types $libtype build --build-mode='prod' || die
 * 







emerge --info:

Portage 2.3.84 (python 3.6.9-final-0, default/linux/amd64/17.0, gcc-9.2.0, glibc-2.29-r7, 4.19.27-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.19.27-gentoo-r1-x86_64-AMD_Ryzen_5_1600X_Six-Core_Processor-with-gentoo-2.6
KiB Mem:    16427508 total,  10478020 free
KiB Swap:   16776188 total,  16776188 free
Timestamp of repository gentoo: Thu, 06 Feb 2020 09:30:01 +0000
Head commit of repository gentoo: 8bc674b28e5efabdcf907a98fa91b2e40b4b3f32
sh bash 5.0_p11
ld GNU ld (Gentoo 2.32 p2) 2.32.0
app-shells/bash:          5.0_p11::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17::gentoo, 3.6.9::gentoo, 3.7.5-r1::gentoo
dev-util/cmake:           3.14.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.1-r2::gentoo
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.5::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r7::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver1 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=znver1 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-march=znver1 -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news nostrip parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-march=znver1 -O2 -pipe"
GENTOO_MIRRORS="rsync://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://mirror.dkm.cz/gentoo/ ftp://gentoo.mirror.web4u.cz/ https://mirror.eu.oneandone.net/linux/distributions/gentoo/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirror.netcologne.de/gentoo/ https://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.fau.de/gentoo https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ https://gentoo-mirror.alexxy.name/ rsync://gentoo.bloodhost.ru/gentoo-distfiles https://mirror.yandex.ru/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j7"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa amd64 dbus dri3 egl gallium gbm glamor introspection llvm lm_sensors opencl pulseaudio regex split-usr threads udev vulkan xorg" ABI_X86="64" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LLVM_TARGETS="X86" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 mycatlovemetoo 2020-02-06 14:54:58 UTC
Created attachment 612082 [details]
emerge --info
Comment 2 mycatlovemetoo 2020-02-06 15:08:26 UTC
Problem solved by adding gmp use flag to dev-ada/gnatcoll-bindings.
This flag must be requirement, but it does not
Comment 3 Larry the Git Cow gentoo-dev 2020-02-09 21:38:23 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=76fddc52844f1553ce86c9e1dbabcc0b6c183525

commit 76fddc52844f1553ce86c9e1dbabcc0b6c183525
Author:     Tupone Alfredo <tupone@gentoo.org>
AuthorDate: 2020-02-09 21:37:59 +0000
Commit:     Tupone Alfredo <tupone@gentoo.org>
CommitDate: 2020-02-09 21:37:59 +0000

    dev-ada/libadalang: fix dependency
    
    Closes: https://bugs.gentoo.org/708472
    Package-Manager: Portage-2.3.79, Repoman-2.3.16
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>

 dev-ada/libadalang/libadalang-2019-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)