Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 743541 - app-crypt/libsecret-0.20.3 fails to emerge, lots of "error: unexpected end of file"
Summary: app-crypt/libsecret-0.20.3 fails to emerge, lots of "error: unexpected end of...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-19 10:39 UTC by Kristaps Kaupe
Modified: 2020-09-19 12:49 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 Kristaps Kaupe 2020-09-19 10:39:48 UTC
When emerging libsecret, it goes normally until this error which is followed by the last error in example going in forever loop (allowed it go for some ten hours):

/usr/bin/vapigen-0.36  --library libsecret-1 --metadatadir /mnt/kaka/var_tmp/portage/app-crypt/libsecret-0.20.3/work/libsecret-0.20.3/libsecret   --pkg glib-2.0 --pkg gio-2.0 Secret-1.gir
Secret-1.gir:21.7-22.27: error: expected start element of `type'

** (vapigen-0.36:6610): CRITICAL **: 13:33:58.139: vala_gir_parser_parse_type_from_gir_name: assertion 'type_name != NULL' failed
Secret-1.gir:22.28-22.28: warning: expected end element of `type'
                       line="96"/>
                           ^
Secret-1.gir:25.5-31.47: warning: expected end element of `type'
Secret-1.gir:421.5-425.53: warning: expected end element of `type'
Secret-1.gir:456.5-459.24: warning: expected end element of `type'
Secret-1.gir:790.5-792.22: warning: expected end element of `type'
Secret-1.gir:813.5-815.22: warning: expected end element of `type'
Secret-1.gir:823.5-825.22: warning: expected end element of `type'
Secret-1.gir:833.5-835.64: warning: expected end element of `type'
Secret-1.gir:844.5-846.22: warning: expected end element of `type'
Secret-1.gir:854.5-856.64: warning: expected end element of `type'
Secret-1.gir:866.5-872.41: warning: expected end element of `type'
Secret-1.gir:2343.5-2345.32: warning: expected end element of `type'
Secret-1.gir:2363.5-2366.68: warning: expected end element of `type'
Secret-1.gir:2379.5-2382.56: warning: expected end element of `type'
Secret-1.gir:2403.5-2405.14: warning: expected end element of `type'
Secret-1.gir:2409.5-2412.39: warning: expected end element of `type'
Secret-1.gir:2446.5-2448.22: warning: expected end element of `type'
Secret-1.gir:2456.5-2458.22: warning: expected end element of `type'
Secret-1.gir:2466.5-2468.22: warning: expected end element of `type'
Secret-1.gir:2476.5-2478.22: warning: expected end element of `type'
Secret-1.gir:2486.5-2488.22: warning: expected end element of `type'
Secret-1.gir:2496.5-2498.22: warning: expected end element of `type'
Secret-1.gir:2506.5-2508.22: warning: expected end element of `type'
Secret-1.gir:2516.5-2518.22: warning: expected end element of `type'
Secret-1.gir:2526.5-2526.39: warning: expected end element of `type'
    <function-macro name="ITEM" c:identifier="SECRET_ITEM" introspectable="0">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Secret-1.gir:2534.5-2536.22: warning: expected end element of `type'
Secret-1.gir:2544.5-2546.22: warning: expected end element of `type'
Secret-1.gir:2554.5-2560.29: warning: expected end element of `type'
Secret-1.gir:3963.5-3965.20: warning: expected end element of `type'
Secret-1.gir:3983.5-3986.56: warning: expected end element of `type'
Secret-1.gir:4007.5-4010.44: warning: expected end element of `type'
Secret-1.gir:4031.5-4031.65: warning: expected end element of `type'
    <record name="ItemPrivate" c:type="SecretItemPrivate" disguised="1">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Secret-1.gir:4035.5-4035.75: warning: expected end element of `type'
    <constant name="MAJOR_VERSION" value="0" c:type="SECRET_MAJOR_VERSION">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Secret-1.gir:4043.5-4043.75: warning: expected end element of `type'
    <constant name="MICRO_VERSION" value="3" c:type="SECRET_MICRO_VERSION">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Secret-1.gir:4051.5-4051.77: warning: expected end element of `type'
    <constant name="MINOR_VERSION" value="20" c:type="SECRET_MINOR_VERSION">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Secret-1.gir:4059.5-4061.22: warning: expected end element of `type'
Secret-1.gir:4069.5-4071.22: warning: expected end element of `type'
Secret-1.gir:4079.5-4081.22: warning: expected end element of `type'
Secret-1.gir:4089.5-4095.33: warning: expected end element of `type'
Secret-1.gir:4335.5-4337.24: warning: expected end element of `type'
Secret-1.gir:4355.5-4355.73: warning: expected end element of `type'
    <record name="PromptPrivate" c:type="SecretPromptPrivate" disguised="1">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Secret-1.gir:4359.5-4365.55: warning: expected end element of `type'
Secret-1.gir:4731.5-4734.24: warning: expected end element of `type'
Secret-1.gir:4822.5-4824.22: warning: expected end element of `type'
Secret-1.gir:4832.5-4834.22: warning: expected end element of `type'
Secret-1.gir:4842.5-4844.22: warning: expected end element of `type'
Secret-1.gir:4852.5-4857.24: warning: expected end element of `type'
Secret-1.gir:5095.5-5099.44: warning: expected end element of `type'
Secret-1.gir:5118.5-5121.67: warning: expected end element of `type'
Secret-1.gir:5152.5-5155.48: warning: expected end element of `type'
Secret-1.gir:5177.5-5181.49: warning: expected end element of `type'
Secret-1.gir:5204.5-5207.48: warning: expected end element of `type'
Secret-1.gir:5244.5-5250.35: warning: expected end element of `type'
Secret-1.gir:9617.5-9619.26: warning: expected end element of `type'
Secret-1.gir:9802.5-9805.50: warning: expected end element of `type'
Secret-1.gir:9837.5-9837.77: warning: expected end element of `type'
    <record name="ServicePrivate" c:type="SecretServicePrivate" disguised="1">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Secret-1.gir:9841.5-9845.22: warning: expected end element of `type'
Secret-1.gir:10083.5-10085.16: warning: expected end element of `type'
Secret-1.gir:10121.5-10123.16: warning: expected end element of `type'
Secret-1.gir:10159.5-10162.26: warning: expected end element of `type'
Secret-1.gir:10215.5-10219.16: warning: expected end element of `type'
Secret-1.gir:10241.5-10243.44: warning: expected end element of `type'
Secret-1.gir:10250.5-10252.26: warning: expected end element of `type'
Secret-1.gir:10276.5-10279.16: warning: expected end element of `type'
Secret-1.gir:10341.5-10343.16: warning: expected end element of `type'
Secret-1.gir:10365.5-10368.16: warning: expected end element of `type'
Secret-1.gir:10420.5-10422.42: warning: expected end element of `type'
Secret-1.gir:10487.5-10490.16: warning: expected end element of `type'
Secret-1.gir:10539.5-10541.16: warning: expected end element of `type'
Secret-1.gir:10567.5-10570.16: warning: expected end element of `type'
Secret-1.gir:10632.5-10636.16: warning: expected end element of `type'
Secret-1.gir:10658.5-10661.16: warning: expected end element of `type'
Secret-1.gir:10710.5-10712.16: warning: expected end element of `type'
Secret-1.gir:10734.5-10737.16: warning: expected end element of `type'
Secret-1.gir:10759.5-10761.16: warning: expected end element of `type'
Secret-1.gir:10814.5-10817.16: warning: expected end element of `type'
Secret-1.gir:10870.5-10872.44: warning: expected end element of `type'
Secret-1.gir:10937.5-10941.16: warning: expected end element of `type'
Secret-1.gir:10990.5-10993.16: warning: expected end element of `type'
Secret-1.gir:11043.5-11046.16: warning: expected end element of `type'
Secret-1.gir:11096.5-11100.16: warning: expected end element of `type'
Secret-1.gir:11166.5-11169.16: warning: expected end element of `type'
Secret-1.gir:11193.5-11197.16: warning: expected end element of `type'
Secret-1.gir:11258.5-11261.26: warning: expected end element of `type'
Secret-1.gir:11330.5-11334.16: warning: expected end element of `type'
Secret-1.gir:11392.5-11395.16: warning: expected end element of `type'
Secret-1.gir:11483.5-11487.16: warning: expected end element of `type'
Secret-1.gir:11566.5-11570.16: warning: expected end element of `type'
Secret-1.gir:11639.5-11641.16: warning: expected end element of `type'
Secret-1.gir:11662.5-11665.16: warning: expected end element of `type'
Secret-1.gir:11743.5-11745.42: warning: expected end element of `type'
Secret-1.gir:11836.5-11839.26: warning: expected end element of `type'
Secret-1.gir:11924.5-11928.16: warning: expected end element of `type'
Secret-1.gir:11997.5-12000.16: warning: expected end element of `type'
Secret-1.gir:12075.5-12075.72: warning: expected end element of `type'
    <function name="password_wipe" c:identifier="secret_password_wipe">
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Secret-1.gir:12096.3-12096.2: warning: expected end element of `type'
  </namespace>
  
Secret-1.gir:12098.1-12098.0: warning: expected end element of `type'


Secret-1.gir:12098.1-12098.0: error: unexpected end of file


Secret-1.gir:12098.1-12098.0: warning: expected end element of `type'


Secret-1.gir:12098.1-12098.0: error: unexpected end of file


Secret-1.gir:12098.1-12098.0: warning: expected end element of `type'


Secret-1.gir:12098.1-12098.0: error: unexpected end of file


Secret-1.gir:12098.1-12098.0: warning: expected end element of `type'


Secret-1.gir:12098.1-12098.0: error: unexpected end of file


Secret-1.gir:12098.1-12098.0: warning: expected end element of `type'


Secret-1.gir:12098.1-12098.0: error: unexpected end of file



Reproducible: Always

Steps to Reproduce:
emerge --oneshot libsecret
Actual Results:  
Emerge goes into forever loop and never ends.


 # emerge --info
Portage 3.0.4 (python 3.7.8-final-0, default/linux/amd64/17.0/desktop, gcc-9.2.0, glibc-2.30-r8, 4.19.86-gentoo x86_64)
=================================================================
System uname: Linux-4.19.86-gentoo-x86_64-Intel-R-_Core-TM-_i7-8550U_CPU_@_1.80GHz-with-gentoo-2.6
KiB Mem:     8055776 total,    826908 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Sat, 19 Sep 2020 09:45:01 +0000
Head commit of repository gentoo: 07a422bff856cb6e03984589cace1ed2e92d5e2f
sh bash 5.0_p17
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
ccache version 3.7.6 [disabled]
app-shells/bash:          5.0_p17::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r1::gentoo, 3.6.11-r2::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo
dev-util/ccache:          3.7.6::gentoo
dev-util/cmake:           3.9.6::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-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo
sys-devel/gcc:            9.2.0-r2::gentoo, 9.3.0::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r8::gentoo
Repositories:

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

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

bitcoin
    location: /var/lib/layman/bitcoin
    masters: gentoo
    priority: 50

dotnet
    location: /var/lib/layman/dotnet
    masters: gentoo
    priority: 50

is-overlay
    location: /var/lib/layman/is-overlay
    masters: gentoo
    priority: 50

raiagent
    location: /var/lib/layman/raiagent
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-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/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask"
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="-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 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="lv_LV.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
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 a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif gtk gui iconv icu ipv6 jack jpeg lastfm lcms libglvnd libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp spell split-usr ssl startup-notification svg tcpd tiff tor truetype udev udisks unicode upower usb v4l vim-syntax vorbis wxwidgets x264 xattr xcb xinerama xml xv xvid zlib" ABI_X86="32 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="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt 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" INPUT_DEVICES="libinput" KERNEL="linux" L10N="en en-GB lv" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jonas Stein gentoo-dev 2020-09-19 12:49:48 UTC
Nex time, please *attach* the logs 
as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket