Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
gelöst: pax-utils & scanelf
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
henry
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2002
Posts: 149

PostPosted: Sun May 14, 2023 3:56 pm    Post subject: gelöst: pax-utils & scanelf Reply with quote

Hallo Freunde,

ich habe ein Problem

emerge pax-utils

Code:

>>> Emerging (1 of 1) app-misc/pax-utils-1.3.5::gentoo
 * pax-utils-1.3.5.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                                              [ ok ]
 * Using python3.11 to build
>>> Unpacking source...
>>> Unpacking pax-utils-1.3.5.tar.xz to /var/tmp/portage/app-misc/pax-utils-1.3.5/work
>>> Source unpacked in /var/tmp/portage/app-misc/pax-utils-1.3.5/work
>>> Preparing source in /var/tmp/portage/app-misc/pax-utils-1.3.5/work/pax-utils-1.3.5 ...
 * Applying pax-utils-1.3.5-man-reorder-xmlto-arguments.patch ...                                                                                                                                                                                                                                  [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-misc/pax-utils-1.3.5/work/pax-utils-1.3.5 ...
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson-format-array: no python-exec wrapped executable found in /usr/lib/python-exec.
meson setup --libdir lib64 --localstatedir /var/lib --prefix /usr --sysconfdir /etc --wrap-mode nodownload --build.pkg-config-path /var/tmp/portage/app-misc/pax-utils-1.3.5/temp/python3.11/pkgconfig:/usr/share/pkgconfig --pkg-config-path /var/tmp/portage/app-misc/pax-utils-1.3.5/temp/python3.11/pkgconfig:/usr/share/pkgconfig --native-file /var/tmp/portage/app-misc/pax-utils-1.3.5/temp/meson.x86_64-pc-linux-gnu.amd64.ini -Db_pch=false -Dwerror=false --buildtype plain -Dlddtree_implementation=python -Duse_libcap=disabled -Dbuild_manpages=enabled -Duse_seccomp=false -Dtests=false -Duse_fuzzing=false /var/tmp/portage/app-misc/pax-utils-1.3.5/work/pax-utils-1.3.5 /var/tmp/portage/app-misc/pax-utils-1.3.5/work/pax-utils-1.3.5-build
Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/mesonbuild/mesonmain.py", line 194, in run
    return options.run_func(options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mesonbuild/msetup.py", line 318, in run
    app.generate()
  File "/usr/lib/python3.11/site-packages/mesonbuild/msetup.py", line 189, in generate
    env = environment.Environment(self.source_dir, self.build_dir, self.options)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mesonbuild/environment.py", line 508, in __init__
    config = coredata.parse_machine_files(self.coredata.config_files)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mesonbuild/coredata.py", line 1013, in parse_machine_files
    parser = MachineFileParser(filenames)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mesonbuild/coredata.py", line 968, in __init__
    self.sections[s] = self._parse_section(s)
                       ^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/site-packages/mesonbuild/coredata.py", line 980, in _parse_section
    res = self._evaluate_statement(ast.lines[0])
                                   ~~~~~~~~~^^^
IndexError: list index out of range

ERROR: Unhandled python exception

    This is a Meson bug and should be reported!
 * ERROR: app-misc/pax-utils-1.3.5::gentoo failed (configure phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 2432:  Called meson_src_configure
 *   environment, line 1755:  Called die
 * The specific snippet of code:
 *       "${mesonargs[@]}" ) || die
 *
 * If you need support, post the output of `emerge --info '=app-misc/pax-utils-1.3.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-misc/pax-utils-1.3.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-misc/pax-utils-1.3.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-misc/pax-utils-1.3.5/temp/environment'.
 * Working dire * S: '/var/tmp/portage/app-misc/pax-utils-1.3.5/work/pax-utils-1.3.5'

>>> Failed to emerge app-misc/pax-utils-1.3.5, Log file:

>>>  '/var/tmp/portage/app-misc/pax-utils-1.3.5/temp/build.log'

 * Messages for package app-misc/pax-utils-1.3.5:

 * ERROR: app-misc/pax-utils-1.3.5::gentoo failed (configure phase):
 *   (no error message)
 *
 * Call stack:
 *     ebuild.sh, line  136:  Called src_configure
 *   environment, line 2432:  Called meson_src_configure
 *   environment, line 1755:  Called die
 * The specific snippet of code:
 *       "${mesonargs[@]}" ) || die
 *
 * If you need support, post the output of `emerge --info '=app-misc/pax-utils-1.3.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-misc/pax-utils-1.3.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-misc/pax-utils-1.3.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-misc/pax-utils-1.3.5/temp/environment'.
 * Working directory: '/var/tmp/portage/app-misc/pax-utils-1.3.5/work/pax-utils-1.3.5'
 * S: '/var/tmp/portage/app-misc/pax-utils-1.3.5/work/pax-utils-1.3.5'
ctory: '/var/tmp/portage/app-misc/pax-utils-1.3.5/work/pax-utils-1.3.5'


und bei eix-sync

Code:

sent 500,34K bytes  received 62,66M bytes  3,08M bytes/sec
total size is 188,72M  speedup is 2,99
!!! Unable to verify: gemato-14.5+ is required

Action: sync for repo: gentoo, returned code = 127


 * emerge --sync schlug fehl


und /usr/bin/scanelf nicht vorhanden

Code:

 * Verifying compiled files for python3.11
/usr/lib/portage/python3.10/estrip: Zeile 101: scanelf: Kommando nicht gefunden.
/usr/lib/portage/python3.10/estrip: Zeile 414: scanelf: Kommando nicht gefunden.


Ich war schon langen nicht im Forum. Hoffe alles richtig gemacht zu haben.

Danke für Eure Hilfe.

73 Henry


Last edited by henry on Mon May 15, 2023 9:35 am; edited 1 time in total
Back to top
View user's profile Send private message
fndark
Tux's lil' helper
Tux's lil' helper


Joined: 05 Aug 2012
Posts: 107
Location: irgendwo in Sachsen

PostPosted: Sun May 14, 2023 7:30 pm    Post subject: Reply with quote

Hi,

ich bin zwar nicht der mit haufen Ahnung von Linux oder gar Gentoo, aber da ich neugierig bin hab ich mal bei meiner Systemkonfiguration und Gentooinstallation geschaut...

Ich hab mal ein emerge -s pax-utils gemacht mit folgender Ausgabe
Quote:
app-misc/pax-utils
Latest version available: 1.3.5
Latest version installed: 1.3.5
Size of files: 117 KiB
Homepage: https://wiki.gentoo.org/index.php?title=Project:Hardened/PaX_Utilities
Description: ELF utils that can check files for security relevant properties
License: GPL-2

Bei mir ist die Installation somit fehlerfrei durchgelaufen.
Da die Fehlermeldung (so denke ich) mit Python 3.11 zu tun hat, hab ich mal geschaut was mir ein eselect python list ergibt
Quote:
GENTOO-Server ~ # eselect python list
Available Python interpreters, in order of preference:
[1] python3.11
[2] python3.10 (fallback)
GENTOO-Server ~ #

Somit hab mal explizit (ich hoffe ich mach mir keinen) ein eselect python set 1 getan und ein emerge pax-utils hinterher getan, um es zu Reinstallieren und es lief durch.

Nun ist die Ausage von Gemato was ich daraufhin Installiert habe weil ich es nicht hatte, mit dem Ergebnis das Gemato-20.1 Erfolgreich Instaslliert wurde.
Dann gibt es bei dir ein Scanelf wo ich als Unwissender nichts mit Anfangen kann - mein Gentoo allerdings auch nicht denn bei Emerge -s scanelf sagt es
Quote:
GENTOO-Server ~ # emerge -s scanelf
[ Results for search key : scanelf ]
Searching...

* net-misc/secpanel
Latest version available: 0.6.1-r1
Latest version installed: [ Not Installed ]
Size of files: 51 KiB
Homepage: https://themediahost.de/secpanel/
Description: Graphical frontend for managing and running SSH and SCP connections
License: GPL-2

[ Applications found : 1 ]

GENTOO-Server ~ #


Ich will nur helfen und nicht Klugschei.... aber irgendwie hab ich den Eindruck als wenn es an deiner Systemkonfig oder ähnlichem liegt.
Vielleicht helfen auch Info's wie Emerge --info welche ich immer dazu gebe da hier auch Useflag und Co dabei sind - vielmals ist es tatsächlich ein Konfigproblem.

Es heist bei dir auch
Quote:
und bei eix-sync

Code:

sent 500,34K bytes received 62,66M bytes 3,08M bytes/sec
total size is 188,72M speedup is 2,99
!!! Unable to verify: gemato-14.5+ is required

Action: sync for repo: gentoo, returned code = 127


* emerge --sync schlug fehl


Was für mich heist das irgendwas bei dir gemato-14.5+ Vorraussetzt aber nicht vorhanden ist, installiere ich Gemato neu wird Version Gemato-20.1 Installiert, so denke ich.
UPDATE

Hab bei mir auf Python 3.10 per Eselect python set 2 umgestellt und es laufen auch hier Pax-utils und auch Gemato ohne Probleme durch.
Lg, Sven
_________________
Wortmann Terra Server Hardwareinfos

[url=http://www.sysprofile.de/id57101][img]http://www.sysprofile.de/images/userbar.png[/img]
Back to top
View user's profile Send private message
sMueggli
Guru
Guru


Joined: 03 Sep 2022
Posts: 542

PostPosted: Mon May 15, 2023 9:04 am    Post subject: Reply with quote

Was ergibt
Code:
emerge --ask --oneshot sys-apps/portage
? Im Falle eines Fehlschlages, poste bitte das gesamte build.log.

/usr/bin/scanelf ist Teil von app-misc/pax-utils. Das Problem wird vermutlich durch die fehlschlagende pax-utils Installation verursacht.

Ich würde darauf tippen, dass dein System nicht richtig auf Python 3.11 migriert wurde.
Back to top
View user's profile Send private message
henry
Tux's lil' helper
Tux's lil' helper


Joined: 09 Aug 2002
Posts: 149

PostPosted: Mon May 15, 2023 9:35 am    Post subject: Reply with quote

Hallo Ihr Beiden,

danke für .Eure Mühe.

Es ist natürlich ein Python-3.11-problem.
Mein System läuft schon mehrere Jahre.
Deshalb sind solche Perl- oder Pythonupgrades immer etwas tricky.

Die Lösung:

ich habe mir das portage-ebuild angeschaut und
alle Abhängigkeiten per Hand compiliert.

Danach lief alles sauber durch.

Es hat mir einfach keine Ruhe gelassen, dass mein System nicht okay ist.
Also war ich Nachts nochmals dran.

Danke für Eure Mühe.

73 Henry
Back to top
View user's profile Send private message
fndark
Tux's lil' helper
Tux's lil' helper


Joined: 05 Aug 2012
Posts: 107
Location: irgendwo in Sachsen

PostPosted: Mon May 15, 2023 10:44 am    Post subject: Reply with quote

Hi,

mich persönlich würden die Abhängigkeiten interessieren welche Du kompiliert hast!? Ist aber nur Interessehalber zwecks meiner wenigen Linuxkenntnisse

Lg, Sven
_________________
Wortmann Terra Server Hardwareinfos

[url=http://www.sysprofile.de/id57101][img]http://www.sysprofile.de/images/userbar.png[/img]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) 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