Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 788322 - sys-devel/gettext-0.21: ./convert-archive dir git '/var/tmp/portage/sys-devel/gettext-0.21/work/gettext-0.21/gettext-tools/misc'/archive.dir.tar archive.git.tar.gz
Summary: sys-devel/gettext-0.21: ./convert-archive dir git '/var/tmp/portage/sys-devel...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-05 11:24 UTC by Michiel Hazelhof
Modified: 2021-05-09 01:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michiel Hazelhof 2021-05-05 11:24:52 UTC
gettext fails to emerge

Reproducible: Always

Steps to Reproduce:
emerge gettext
Actual Results:  
Making all in misc
make[4]: Entering directory '/var/tmp/portage/sys-devel/gettext-0.21/work/gettext-0.21-abi_x86_64.amd64/gettext-tools/misc'
./convert-archive dir git '/var/tmp/portage/sys-devel/gettext-0.21/work/gettext-0.21/gettext-tools/misc'/archive.dir.tar archive.git.tar.gz
fatal: cannot update the ref 'HEAD': unable to append to '.git/logs/HEAD': Bad file descriptor
fatal: Failed to resolve 'HEAD' as a valid ref.
convert-archive: *** git init failed
convert-archive: *** Stop.
make[4]: *** [Makefile:2439: archive.git.tar.gz] Error 1
make[4]: Leaving directory '/var/tmp/portage/sys-devel/gettext-0.21/work/gettext-0.21-abi_x86_64.amd64/gettext-tools/misc'
make[3]: *** [Makefile:2355: all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/sys-devel/gettext-0.21/work/gettext-0.21-abi_x86_64.amd64/gettext-tools'
make[2]: *** [Makefile:2223: all] Error 2
make[2]: Leaving directory '/var/tmp/portage/sys-devel/gettext-0.21/work/gettext-0.21-abi_x86_64.amd64/gettext-tools'
make[1]: *** [Makefile:403: all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/sys-devel/gettext-0.21/work/gettext-0.21-abi_x86_64.amd64'
make: *** [Makefile:359: all] Error 2
 ^[[31;01m*^[[0m ERROR: sys-devel/gettext-0.21::gentoo failed (compile phase):
 ^[[31;01m*^[[0m   emake failed
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=sys-devel/gettext-0.21::gentoo'`,
 ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=sys-devel/gettext-0.21::gentoo'`.
 ^[[31;01m*^[[0m The complete build log is located at '/var/log/portage/sys-devel:gettext-0.21:20210505-111037.log'.
 ^[[31;01m*^[[0m For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-devel/gettext-0.21/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/sys-devel/gettext-0.21/temp/environment'.
 ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/sys-devel/gettext-0.21/work/gettext-0.21-abi_x86_64.amd64'
 ^[[31;01m*^[[0m S: '/var/tmp/portage/sys-devel/gettext-0.21/work/gettext-0.21'
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =gettext-0.21



Portage 3.0.18 (python 3.8.9-final-0, default/linux/amd64/17.1/no-multilib/hardened, gcc-11.1.0, glibc-2.33, 5.11.12-gentoo-x86_64 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.11.12-gentoo-x86_64-x86_64-Intel-R-_Pentium-R-_Silver_J5005_CPU_@_1.50GHz-with-glibc2.2.5
KiB Mem:     7989292 total,   1498024 free
KiB Swap:    8388600 total,   7956460 free
Head commit of repository gentoo: fbe48947f3be2710b758e11a9ffc52d159542615

sh bash 5.1_p4
ld GNU ld (Gentoo 2.36.1 p3) 2.36.1
app-shells/bash:          5.1_p4::gentoo
dev-lang/perl:            5.32.1::gentoo
dev-lang/python:          3.8.9_p2::gentoo, 3.9.4_p1::gentoo
dev-lang/rust:            1.51.0-r2::gentoo
dev-util/cmake:           3.20.2::gentoo
sys-apps/baselayout:      2.7-r2::gentoo
sys-apps/sandbox:         2.23::gentoo
sys-devel/autoconf:       2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.36.1-r1::gentoo
sys-devel/gcc:            11.1.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.12::gentoo (virtual/os-headers)
sys-libs/glibc:           2.33::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: git://github.com/gentoo/gentoo.git
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -flto=auto -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-nest-optimize -fgraphite-identity -ftree-vectorize -fuse-linker-plugin -fipa-pta -fno-semantic-interposition -fdevirtualize-at-ltrans"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.0/ext-active/ /etc/php/cgi-php8.0/ext-active/ /etc/php/cli-php8.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe -flto=auto -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-nest-optimize -fgraphite-identity -ftree-vectorize -fuse-linker-plugin -fipa-pta -fno-semantic-interposition -fdevirtualize-at-ltrans"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--load-average 2.0"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS="-march=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance clean-logs 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="-march=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-march=native -O2 -pipe -flto=auto -floop-interchange -ftree-loop-distribution -floop-strip-mine -floop-nest-optimize -fgraphite-identity -ftree-vectorize -fuse-linker-plugin -fipa-pta -fno-semantic-interposition -fdevirtualize-at-ltrans -fuse-linker-plugin"
LINGUAS="en"
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="/var/tmp"
USE="64bit aio amd64 apache2 bash-completion bcmath boost btrfs bzip2 cli crypt curl cxx default-lld deflate dnscrypt down-root ecs exif fpm gd git gmp graphite grub gzip hardened hddtemp headless-awt hostonly hsts http2 iconv idn igbinary imagemagick initramfs innodb inotify intl iproute2 jemalloc jit libglvnd libidn2 libtirpc lto lz4 lzma lzo mysql mysqli ncurses nftables nls nptl opcache openmp openssl pam pcntl pcre pdo pie python readline redis regex resolvconf sasl sctp seccomp sftp sharedmem split-usr sqlite ssl ssp symlink systemd sysv-utils threads tls-heartbeat truetype unicode urandom verify-sig vhost-net xattr xmlreader xmlwriter xtables xtpax zip zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="unixd http2 remoteip dir proxy proxy_wstunnel proxy_fcgi cache_disk proxy proxy_http proxy_http2 unixd cgid actions alias auth_digest authn_anon authn_core authn_default authn_file authz_core authz_default authz_groupfile authz_host authz_owner authz_user cache deflate disk_cache env expires ext_filter file_cache filter headers ident include info log_config logio mem_cache negotiation rewrite setenvif so socache_shmcb status unique_id vhost_alias mime" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes mmx mmxext pclmul popcnt sha sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="efi-64" 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="php8-0" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" QEMU_SOFTMMU_TARGETS="arm x86_64" QEMU_USER_TARGETS="x86_64" RUBY_TARGETS="ruby26" USERLAND="GNU" VIDEO_CARDS="intel i965" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

=================================================================
                        Package Settings
=================================================================

sys-devel/gettext-0.21::gentoo was built with the following:
USE="cxx git ncurses nls openmp -acl -cvs -doc -emacs -java -static-libs"


Expected Results:  
Succesfull compilation
Comment 1 Ionen Wolkens gentoo-dev 2021-05-09 00:54:05 UTC
fatal: cannot update the ref 'HEAD': unable to append to '.git/logs/HEAD': Bad file descriptor

Not familiar with the issue but I think this may happen either if there's permission issues or with some FUSE-based filesystems (perhaps others).

What filesystem is used for /var/tmp?

I don't think(?) this is an issue with sys-devel/gettext and is just happening because USE=git happens to use git.
Comment 2 Ionen Wolkens gentoo-dev 2021-05-09 01:45:20 UTC
This may be better suited to discuss on support venues[1] first, it's difficult to help properly on bugzilla.

USE=git works for me, but USE=-git may help if can't figure out the cause.

That you're using rather custom optimizations (which I assume dev-vcs/git was built with) may also be playing a role.

[1] https://www.gentoo.org/support/