Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906060 - www-client/elinks-0.16.0 fails to compile – Program or command 'git' not found or not executable
Summary: www-client/elinks-0.16.0 fails to compile – Program or command 'git' not foun...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: Felix Janda
URL:
Whiteboard:
Keywords: PATCH
Depends on: 906818
Blocks:
  Show dependency tree
 
Reported: 2023-05-10 11:47 UTC by Jernej Simončič
Modified: 2023-05-20 09:28 UTC (History)
2 users (show)

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


Attachments
meson-log.txt for elinks-0.16.0 (meson-log.txt,12.68 KB, text/plain)
2023-05-10 12:15 UTC, Jernej Simončič
Details
build.log (build.log,4.45 KB, application/octet-stream)
2023-05-10 12:16 UTC, Jernej Simončič
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jernej Simončič 2023-05-10 11:47:40 UTC
Trying to update elinks results in

meson.build:6:0: ERROR: Program or command 'git' not found or not executable


Reproducible: Always

Steps to Reproduce:
1. emerge elinks

Actual Results:  
# emerge -1 -v elinks

 * IMPORTANT: 18 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] www-client/elinks-0.16.0::gentoo [0.13.5-r100::gentoo] USE="bzip2 mouse nls ssl unicode zlib -X -bittorrent -brotli -debug -finger -ftp -gnutls -gopher -gpm (-guile) -idn -javascript% -lua -lzma% -nntp -perl -samba -test% -tre -xml -zstd (-ipv6%*) (-ruby%)" LUA_SINGLE_TARGET="lua5-1 -lua5-3% -lua5-4% -luajit%" 0 KiB

Total: 1 package (1 upgrade), Size of downloads: 0 KiB


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) www-client/elinks-0.16.0::gentoo
 * elinks-0.16.0.tar.xz BLAKE2B SHA512 size ;-) ...                                                                      [ ok ]
 * Checking whether python3_11 is suitable ...
 *   >=dev-lang/python-3.11.1-r1:3.11 ...                                                                                [ ok ]
 * Using python3.11 to build (via PYTHON_COMPAT iteration)
>>> Unpacking source...
>>> Unpacking elinks-0.16.0.tar.xz to /pub/tmp/portage/www-client/elinks-0.16.0/work
>>> Source unpacked in /pub/tmp/portage/www-client/elinks-0.16.0/work
>>> Preparing source in /pub/tmp/portage/www-client/elinks-0.16.0/work/elinks-0.16.0 ...
 * Applying elinks-0.16.0-fix-tests.patch ...                                                                            [ ok ]
 * Applying elinks-0.16.0-fix-build-mujs.patch ...                                                                       [ ok ]
>>> Source prepared.
>>> Configuring source in /pub/tmp/portage/www-client/elinks-0.16.0/work/elinks-0.16.0 ...
meson setup --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /pub/tmp/portage/www-client/elinks-0.16.0/temp/python3.11/pkgconfig:/usr/share/pkgconfig --pkg-config-path /pub/tmp/portage/www-client/elinks-0.16.0/temp/python3.11/pkgconfig:/usr/share/pkgconfig --native-file /pub/tmp/portage/www-client/elinks-0.16.0/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false --buildtype plain -D88-colors=true -D256-colors=true -Dbittorrent=false -Dbrotli=false -Dbzlib=true -Dfastmem=true -Dfinger=false -Dftp=false -Dfsp=false -Dgemini=false -Dgettext=true -Dgopher=false -Dgpm=false -Dguile=false -Dgssapi=false -Dhtml-highlight=true -Didn=false -Dmujs=false -Dipv6=true -Dleds=true -Dlibev=false -Dlibevent=false -Dluapkg= -Dlzma=false -Dmouse=true -Dnls=true -Dnntp=false -Dperl=false -Dpython=false -Dquickjs=false -Druby=false -Dsmb=false -Dsm-scripting=false -Dspidermonkey=false -Dterminfo=true -Dtest=false -Dtre=false -Dtrue-color=true -Dxbel=false -Dx=false -Dzlib=true -Dzstd=false -Dopenssl=true /pub/tmp/portage/www-client/elinks-0.16.0/work/elinks-0.16.0 /pub/tmp/portage/www-client/elinks-0.16.0/work/elinks-0.16.0-build
The Meson build system
Version: 1.0.1
Source dir: /pub/tmp/portage/www-client/elinks-0.16.0/work/elinks-0.16.0
Build dir: /pub/tmp/portage/www-client/elinks-0.16.0/work/elinks-0.16.0-build
Build type: native build
Project name: elinks
Project version: 0.16.0
C compiler for the host machine: x86_64-pc-linux-gnu-gcc (gcc 11.3.0 "x86_64-pc-linux-gnu-gcc (Gentoo 11.3.0 p4) 11.3.0")
C linker for the host machine: x86_64-pc-linux-gnu-gcc ld.bfd 2.37
C++ compiler for the host machine: x86_64-pc-linux-gnu-g++ (gcc 11.3.0 "x86_64-pc-linux-gnu-g++ (Gentoo 11.3.0 p4) 11.3.0")
C++ linker for the host machine: x86_64-pc-linux-gnu-g++ ld.bfd 2.37
Host machine cpu family: x86_64
Host machine cpu: x86_64

meson.build:6:0: ERROR: Program or command 'git' not found or not executable

A full log can be found at /pub/tmp/portage/www-client/elinks-0.16.0/work/elinks-0.16.0-build/meson-logs/meson-log.txt
 * ERROR: www-client/elinks-0.16.0::gentoo failed (configure phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  122:  Called src_configure
 *   environment, line 2804:  Called meson_src_configure
 *   environment, line 2133:  Called die
 * The specific snippet of code:
 *       "${mesonargs[@]}" ) || die
 *
 * If you need support, post the output of `emerge --info '=www-client/elinks-0.16.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/elinks-0.16.0::gentoo'`.
 * The complete build log is located at '/pub/tmp/portage/www-client/elinks-0.16.0/temp/build.log'.
 * The ebuild environment file is located at '/pub/tmp/portage/www-client/elinks-0.16.0/temp/environment'.
 * Working directory: '/pub/tmp/portage/www-client/elinks-0.16.0/work/elinks-0.16.0'
 * S: '/pub/tmp/portage/www-client/elinks-0.16.0/work/elinks-0.16.0'

>>> Failed to emerge www-client/elinks-0.16.0, Log file:

>>>  '/pub/tmp/portage/www-client/elinks-0.16.0/temp/build.log'

 * Messages for package www-client/elinks-0.16.0:

 * ERROR: www-client/elinks-0.16.0::gentoo failed (configure phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  122:  Called src_configure
 *   environment, line 2804:  Called meson_src_configure
 *   environment, line 2133:  Called die
 * The specific snippet of code:
 *       "${mesonargs[@]}" ) || die
 *
 * If you need support, post the output of `emerge --info '=www-client/elinks-0.16.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=www-client/elinks-0.16.0::gentoo'`.
 * The complete build log is located at '/pub/tmp/portage/www-client/elinks-0.16.0/temp/build.log'.
 * The ebuild environment file is located at '/pub/tmp/portage/www-client/elinks-0.16.0/temp/environment'.
 * Working directory: '/pub/tmp/portage/www-client/elinks-0.16.0/work/elinks-0.16.0'
 * S: '/pub/tmp/portage/www-client/elinks-0.16.0/work/elinks-0.16.0'


Expected Results:  
elinks gets updated

Portage 3.0.38.1 (python 3.10.8-final-0, default/linux/amd64/17.1/no-multilib, gcc-11.3.0, glibc-2.36-r7, 5.15.41-gentoo x86_64)
=================================================================
System uname: Linux-5.15.41-gentoo-x86_64-AMD_Turion-tm-_II_Neo_N40L_Dual-Core_Processor-with-glibc2.36
KiB Mem:     8127596 total,    664988 free
KiB Swap:    8388604 total,   5829416 free
Timestamp of repository gentoo: Sun, 07 May 2023 22:45:01 +0000
Head commit of repository gentoo: 54c06a4eecc22d25c95f01fdf30daccb16a9f0ba
sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.37_p1 p2) 2.37
app-misc/pax-utils:        1.3.5::gentoo
app-shells/bash:           5.1_p16-r2::gentoo
dev-java/java-config:      2.3.1::gentoo
dev-lang/perl:             5.36.0-r2::gentoo
dev-lang/python:           3.8.16_p4::gentoo, 3.9.12::gentoo, 3.10.8_p3::gentoo, 3.11.3::gentoo
dev-util/cmake:            3.25.3::gentoo
dev-util/meson:            1.0.1::gentoo
sys-apps/baselayout:       2.13-r1::gentoo
sys-apps/openrc:           0.46::gentoo
sys-apps/sandbox:          2.29::gentoo
sys-devel/autoconf:        2.71-r5::gentoo
sys-devel/automake:        1.16.5::gentoo
sys-devel/binutils:        2.37_p1-r2::gentoo, 2.38-r2::gentoo, 2.39-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             11.3.0::gentoo, 12.2.1_p20230428-r1::gentoo
sys-devel/gcc-config:      2.10::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/make:            4.4.1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.36-r7::gentoo
Repositories:

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

x-portage
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/lib/unifi /var/lib/unifi-video/system.properties"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="sl_SI"
LC_ALL="sl_SI.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j2"
PKGDIR="/var/cache/binpkgs"
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="/pub/tmp"
SHELL="/bin/bash"
USE="acl amd64 bzip2 cli crypt dri gdbm headless-awt iconv ipv6 libglvnd libtirpc ncurses nls nptl offensive openmp pam pcre readline seccomp split-usr ssl test-rust unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2021" APACHE2_MODULES="actions access authz_dbm auth cgid authn_dbd authz_groupfile auth_anon imagemap dav alias authn_default proxy-ftp case-filter-in vhost_alias mime proxy_balancer case_filter cgi env echo auth_dbm log_config vhost-alias unique_id disk-cache disk_cache ext_filter filter negotiation authz_user asis headers status usertrack include file_cache dir authn_dbm proxy_connect mem_cache authn_anon proxy-http imap dbd proxy-connect proxy cache dav_lock authz_default dav_fs authn_file dav-fs proxy_http rewrite auth_digest authz_host proxy_ajp logio ext-filter auth_basic autoindex setenvif userdir mem-cache speling authz_owner mime-magic cern-meta expires ident unique-id mime_magic charset-lite info file-cache deflate" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4 php8-0" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" QEMU_SOFTMMU_TARGETS="x86_64" RUBY_TARGETS="ruby30" USERLAND="GNU" VIDEO_CARDS="none" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-10 11:48:39 UTC
In future, please do attach the full build.log, as it contains the nice USE summary at the top which is easier for us to use.

Also, can you include /pub/tmp/portage/www-client/elinks-0.16.0/work/elinks-0.16.0-build/meson-logs/meson-log.txt now? Thanks!
Comment 2 Jernej Simončič 2023-05-10 12:15:52 UTC
Created attachment 861428 [details]
meson-log.txt for elinks-0.16.0
Comment 3 Jernej Simončič 2023-05-10 12:16:37 UTC
Created attachment 861429 [details]
build.log
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-05-20 09:28:24 UTC
Stabilisation in bug 906060 will sort it.