Trying to install dev-ada/gps. Seems to be a problem with the ebuild? These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-ada/gps-2018::gentoo USE="gnat_2018%* -gnat_2017%" PYTHON_TARGETS="python2_7" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] y >>> Verifying ebuild manifests >>> Emerging (1 of 1) dev-ada/gps-2018::gentoo * gps-gpl-2018-src.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] * libadalang-tools-gpl-2018-src.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking gps-gpl-2018-src.tar.gz to /var/tmp/portage/dev-ada/gps-2018/work >>> Unpacking libadalang-tools-gpl-2018-src.tar.gz to /var/tmp/portage/dev-ada/gps-2018/work >>> Source unpacked in /var/tmp/portage/dev-ada/gps-2018/work >>> Preparing source in /var/tmp/portage/dev-ada/gps-2018/work/gps-gpl-2018-src ... * Applying gps-2018-gentoo.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ada/gps-2018/work/gps-gpl-2018-src ... * econf: updating gps-gpl-2018-src/config.guess with /usr/share/gnuconfig/config.guess * econf: updating gps-gpl-2018-src/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --docdir=/usr/share/doc/gps-2018 --htmldir=/usr/share/doc/gps-2018/html --libdir=/usr/lib64 GNATMAKE=/usr/bin/gnatmake-7.3.1 GNATDRV=/usr/bin/gnat-7.3.1 --with-clang=/usr/lib64/llvm/6/lib64 configure: loading site script /usr/share/config.site checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking target system type... x86_64-pc-linux-gnu checking for xmlada.gpr... yes checking for gnatcoll_build... not specified checking for gtkada.gpr... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for library containing strerror... none required checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for gnatmake... /usr/bin/gnatmake-7.3.1 checking that your gnat compiler works with a simple example... yes checking whether make sets $(MAKE)... yes checking for a BSD-compatible install... /usr/lib/portage/python3.6/ebuild-helpers/xattr/install -c checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for gawk... gawk checking for dvips... dvips checking for makeinfo... makeinfo checking for texi2dvi... texi2dvi checking for pkg-config... /usr/bin/pkg-config checking for default gtk+ version... 3.0 checking for gtk+ 3.0... /usr checking for gtkada.gpr... yes checking GTK GLIB ATK PANGO prefix... /usr /usr /usr /usr /usr checking for gnat... /usr/bin/gnat-7.3.1 checking for GtkAda - version >= 17.0... yes checking for python... /usr/bin/python checking for python >= 2.0... yes (version 3.6.5.final.0) checking if can link with Python library... File "<stdin>", line 3 print 'PYTHON_VERSION=%s' % get_config_var("VERSION") ^ SyntaxError: invalid syntax no checking for pygobject... yes (3.0) [rest cut] I'm not sure why it wants to used python 2.7 at the beginning and a v3 later.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87e01740dd6729fb907939330455f1132cadf8c3 commit 87e01740dd6729fb907939330455f1132cadf8c3 Author: Tupone Alfredo <tupone@gentoo.org> AuthorDate: 2018-12-17 13:40:45 +0000 Commit: Tupone Alfredo <tupone@gentoo.org> CommitDate: 2018-12-17 13:40:45 +0000 dev-ada/gps: Explicity call python pkg_setup Closes: https://bugs.gentoo.org/673264 Signed-off-by: Alfredo Tupone <tupone@gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 dev-ada/gps/gps-2018.ebuild | 1 + 1 file changed, 1 insertion(+)
Thanks, compiles now, but other issues with package remain (missing line numbers, not highlighted when selecting text). Should I report that here or on Gentoo forums? Thanks, Ian
(In reply to Ian Douglas from comment #2) > Thanks, compiles now, but other issues with package remain (missing line > numbers, not highlighted when selecting text). > > Should I report that here or on Gentoo forums? > > Thanks, Ian If you think it is a bug then here or upstream (adacore). If it is a request for help, forum