Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emaint shows strange output
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
iniTeX
n00b
n00b


Joined: 23 Jul 2003
Posts: 17
Location: Germany

PostPosted: Tue Aug 06, 2024 7:46 am    Post subject: emaint shows strange output Reply with quote

Hi, everyone.

syncing with emaint works but shows additional strange (to me) output:

Code:
root@maxwell:~ # emaint sync --repo science
>>> Syncing repository 'science' into '/var/db/repos/science'...
/usr/bin/git fetch origin --depth 1
warning: redirecting to https://anongit.gentoo.org/git/proj/sci.git/
remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
/usr/bin/git reset --merge refs/remotes/origin/master
=== Sync completed for science
Traceback (most recent call last):
  File "/usr/lib/python3.12/site-packages/portage/util/_async/AsyncFunction.py", line 41, in _target_wrapper
    result = target(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/portage/sync/controller.py", line 178, in sync
    get_repo_revision_history(self.settings["EROOT"], [repo])
  File "/usr/lib/python3.12/site-packages/portage/sync/revision_history.py", line 67, in get_repo_revision_history
    return _maybe_update_revisions(eroot, items)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/site-packages/portage/sync/revision_history.py", line 98, in _maybe_update_revisions
    previous_revisions = json.load(f)
                         ^^^^^^^^^^^^
  File "/usr/lib/python3.12/json/__init__.py", line 293, in load
    return loads(fp.read(),
           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/json/__init__.py", line 346, in loads
    return _default_decoder.decode(s)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Action: sync for repo: science, returned code = 1


root@maxwell:~ #


Here is my emerge info:

Code:
root@maxwell:~ # emerge --info
Portage 3.0.65 (python 3.12.3-final-0, default/linux/amd64/23.0/desktop/plasma, gcc-13, glibc-2.39-r6, 6.6.38-gentoo-GGL x86_64)
=================================================================
System uname: Linux-6.6.38-gentoo-GGL-x86_64-AMD_Ryzen_7_3800X_8-Core_Processor-with-glibc2.39
KiB Mem:    65750536 total,  18806488 free
KiB Swap:  134217724 total, 134215420 free
Timestamp of repository gentoo: Mon, 05 Aug 2024 22:30:00 +0000
Head commit of repository gentoo: 7c6ee070ca997ab290b979b5b0d7e753b5e784fd
Timestamp of repository emacs: Mon, 15 Jul 2024 07:34:30 +0000
Head commit of repository emacs: 3c9f7627b2d174a3c0c789b241a5b3c8fa01ac62

Head commit of repository science: d59ebbf101a5aa302a02f751eef761427679e394

sh bash 5.2_p26-r6
ld GNU ld (Gentoo 2.42 p3) 2.42.0
distcc 3.4 x86_64-pc-linux-gnu [disabled]
ccache version 4.9.1 [disabled]
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r6::gentoo
dev-build/autoconf:        2.71-r7::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.28.5::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.1::gentoo
dev-java/java-config:      2.3.4::gentoo
dev-lang/perl:             5.38.2-r3::gentoo
dev-lang/python:           3.11.9-r1::gentoo, 3.12.3-r1::gentoo
dev-lang/rust-bin:         1.79.0::gentoo
dev-util/ccache:           4.9.1-r1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54.2::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           17.0.6::gentoo, 18.1.8::gentoo
sys-devel/gcc:             13.3.1_p20240614::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/llvm:            17.0.6::gentoo, 18.1.8-r1::gentoo
sys-kernel/linux-headers:  6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-metamanifest: yes

emacs
    location: /var/db/repos/emacs
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/emacs.git
    masters: gentoo
    volatile: False

local
    location: /var/db/repos/local
    masters: gentoo
    volatile: False

science
    location: /var/db/repos/science
    sync-type: git
    sync-uri: https://cgit.gentoo.org/proj/sci.git/
    masters: gentoo
    volatile: False

Binary Repositories:

binhost
    priority: 9999
    sync-uri: https://ftp.tu-ilmenau.de/mirror/gentoo/releases/amd64/binpackages/23.0/x86-64-v3

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=znver2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /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-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=znver2 -O2 -pipe"
DISTDIR="/var/cache/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="-march=znver2 -O2 -pipe -fallow-argument-mismatch"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live candy clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted 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=znver2 -O2 -pipe -fallow-argument-mismatch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j16"
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"
SHELL="/bin/bash"
USE="3d 7z 7zip R X Xaw3d a52 aac acl acpi activities afs allegro alsa alsa-plugin amd64 anacron appindicator arping athena audiofile bash-completion bazaar bcmath bindist blas boost branding bzip2 cairo calendar caps ccache cdda cddb cdr cdrom cet cg cgns clamav clamdtop clang client complex-scalars conntrack context convert corefonts creds crypt cryptsetup cuda cups curl cvs cxsparse cxx dbus declarative designer dhcpcd djvu dnd dot drafts dri dri3 dts dvd dvdr egl elfutils elogind encode eolconv eps epspdf eselect-ldso europe evdev exif extra fbcon ffmpeg fftw flac fontconfig fortran freeimage freetype full-support games gcrypt gd gdal gdbm georeferencer geos geotiff gif gimp git gles2 glut gmp gmttria gnuplot gnutls gphoto2 gpm graph graphics graphviz grass gssapi gstreamer gtk gui hdf5 hdri heif highlight hl hpcups hpijs humanities hwloc iconv icu ide idn imaging inspector int64 introspection ipv6 jadetex jbig jpeg jpeg2k jumbo-build kde kf6compat kms kpathsea kwallet lapack lapacke las latex lcms ldap libffi libkms libnotify libsamplerate libtirpc libudev libusb0 lm-sensors lqr luatex lz4 lzma lzo mad maildir manpager mapserver mathml matplotlib med mercurial metadata-analysis-api metapost metis mng mod modplug moodbar motif mount mp3 mp4 mpeg mpi mpi-threads mule multilib mumps musicbrainz natspec ncurses neXt netcdf netgen netlink networkmanager nfs nfsdcld nfsidmap nfsv4 nfsv41 nftables nls nsplugin ntfs ntfsdecrypt ntfsprogs numpy nvcontrol nvidia ocamlopt ocr octave offensive ogg opencl openexr opengl openmp openssl openvdb pam pango partition pbkdf2 pcap pcre pcre32 pdal pdf pdfannotextractor perl pgo php pipewire pipewire-alsa plasma plugins png png-images policykit positioning postgres postscript ppds preview-latex printsupport pstricks publishers pulseaudio python q32 qhull qml qrupdate qt5 qt6 qtplugininfo raw readline romio rpc rustfmt samba sasl scanner science scotch screencast sdl seccomp semantic-desktop sensord serial serialport sftp sha2 shared sift sound sparse spell sqlite ssl startup-notification subversion svg symlink syslog szip tcl tcmalloc tesseract test-rust tex4ht texi2html theora threads thumbnail tiff tk toolbar tools truetype udev udisks umfpack unicode unsupported upower usb utils vaapi vala vdpau verify-sig views vim vim-syntax vorbis voro vpx vtk vtkm vulkan vulkan-overlay wayland webchannel webp widgets wifi wmf wxwidgets x11extras x264 x265 xa xattr xcb xemacs xetex xft xinetd xml xorg xpm xv xvfb xvid zeroconf zip zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio 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 rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 ntrip navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" INPUT_DEVICES="evdev libinput" KERNEL="linux" L10N="de de-DE en en-US en-GB" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PERL_FEATURES="ithreads quadmath" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby31 ruby32" VIDEO_CARDS="nvidia vga vesa d3d12 amdgpu dummy fbdev mga virtualbox vmware zink" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto 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, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS

root@maxwell:~ #


syncing seems to work. I can install new updates. We had 2 power shortages last week (in Germany 8O ) yielding in 2 crashes of my box and fsck's on reboot.
How can I get rid of these outputs?
_________________
dashi delegs
Back to top
View user's profile Send private message
Banana
Moderator
Moderator


Joined: 21 May 2004
Posts: 1721
Location: Germany

PostPosted: Tue Aug 06, 2024 8:03 am    Post subject: Reply with quote

It could be a out of date/emerge problem. Maybe a re-emerge of emaint could help to update is dependencies to python.
Or, if you have, a problem with pythin in general. Maybe a emerge -uUDpv @world could help.

As of now, accessing https://anongit.gentoo.org/git/proj/sci.git/ does not resolve? (using a browser)
_________________
Forum Guidelines

PFL - Portage file list - find which package a file or command belongs to.
My delta-labs.org snippets do expire
Back to top
View user's profile Send private message
sam_
Developer
Developer


Joined: 14 Aug 2020
Posts: 1949

PostPosted: Tue Aug 06, 2024 8:51 am    Post subject: Reply with quote

Please file a bug for this at bugs.gentoo.org with that output you included here. It looks like a bug with a recently added feature (repo revisions) in Portage.
Back to top
View user's profile Send private message
iniTeX
n00b
n00b


Joined: 23 Jul 2003
Posts: 17
Location: Germany

PostPosted: Tue Aug 06, 2024 9:56 am    Post subject: Reply with quote

Hi.
I re-emerged portage. "Problem" still exists. I updated world (emerge -uUDv @world). "Problem" still exists.
Then I downgraded portage to version 3.0.63-r2 (from version 3.0.65-r1) and the output (of the emaint command I mentioned in the original post) is gone.
Thanks sam_
I will file a bug for this in the next minutes as you suggested.
_________________
dashi delegs
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum