View previous topic :: View next topic |
Author |
Message |
Phane n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 04 Mar 2023 Posts: 1
|
Posted: Sat Mar 04, 2023 11:05 am Post subject: Webmin on vmacs overlay dont intall on x86 |
|
|
Hi All
I tried to install webmin on an old pentium laptop from vmacs overlay
as x86 is on testing phase I did install with this command :
sudo emerge --ask --autounmask=y --autounmask-write webmin
but the file /var/tmp/portage/app-admin/webmin-1.996/temp/environment use function _systemd_get_systemunitdir on line 1935 that is not defined.
on others gentoo overlay I fond this fuction defined as this(might be an inspiration for the correction)
Code: | ----------------------------------------------------------------------------------
# @FUNCTION: _systemd_get_unitdir
# @INTERNAL
# @DESCRIPTION:
# Get unprefixed unitdir.
_systemd_get_systemunitdir() {
_systemd_get_dir systemdsystemunitdir /usr/lib/systemd/system
}
----------------------------------------------------------------------------------
|
my CPU
from lshw :
Code: | *-cpu
description: CPU
produit: Intel(R) Pentium(R) M processor 1.70GHz
fabriquant: Intel Corp.
identifiant matériel: 400
information bus: cpu@0
version: 6.13.6
emplacement: Microprocessor
taille: 1700MHz
capacité: 1700MHz
bits: 32 bits
horloge: 133MHz
fonctionnalités: fpu fpu_exception wp vme de pse tsc msr mce cx8 sep mtrr pge mca cmov clflush dts acpi mmx fxsr sse sse2 ss tm pbe bts cpuid est tm2 cpufreq
configuration: microcode=24
|
My emerge
sudo emerge --info
Code: |
Portage 3.0.43 (python 3.10.10-final-0, default/linux/x86/17.0/hardened, gcc-11, glibc-2.36-r5, 5.15.59-gentoo i686)
=================================================================
System uname: Linux-5.15.59-gentoo-i686-Intel-R-_Pentium-R-_M_processor_1.70GHz-with-glibc2.36
KiB Mem: 1020372 total, 118820 free
KiB Swap: 2097148 total, 2092892 free
Timestamp of repository gentoo: Fri, 03 Mar 2023 10:30:01 +0000
Head commit of repository gentoo: 08f00553ef33c01d81426315df59778ef626f2af
Timestamp of repository vmacs: Sun, 19 Feb 2023 19:48:25 +0000
Head commit of repository vmacs: be5ccc69f9c03862ef4f0d4abaf2f9e5166b5725
sh bash 5.1_p16-r2
ld GNU ld (Gentoo 2.39 p5) 2.39.0
app-misc/pax-utils: 1.3.5::gentoo
app-shells/bash: 5.1_p16-r2::gentoo
dev-lang/perl: 5.36.0-r1::gentoo
dev-lang/python: 3.10.10_p2::gentoo, 3.11.2_p1::gentoo
dev-util/cmake: 3.25.2::gentoo
dev-util/meson: 1.0.0::gentoo
sys-apps/baselayout: 2.9::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.39-r4::gentoo
sys-devel/binutils-config: 5.4.1::gentoo
sys-devel/gcc: 11.3.1_p20221209::gentoo
sys-devel/gcc-config: 2.8::gentoo
sys-devel/libtool: 2.4.7-r1::gentoo
sys-devel/make: 4.3::gentoo
sys-kernel/linux-headers: 6.1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.36-r5::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
volatile: True
sync-rsync-extra-opts:
sync-rsync-verify-max-age: 24
sync-rsync-verify-metamanifest: yes
sync-rsync-verify-jobs: 1
vmacs
location: /var/db/repos/vmacs
sync-type: git
sync-uri: https://github.com/gentoo-mirror/vmacs.git
masters: gentoo
volatile: True
koo
location: /var/lib/layman/koo
masters: gentoo
priority: 50
volatile: True
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="@BINARY-REDISTRIBUTABLE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
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="-O3 -march=i686 -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="-O3 -march=i686 -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="-O3 -march=i686 -pipe"
GENTOO_MIRRORS="ftp://ftp.free.fr/mirrors/ftp.gentoo.org/"
LANG="fr_FR.utf8"
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="/var/tmp"
SHELL="/bin/bash"
USE="acl apm bzip2 cli crypt dri fortran gdbm hardened iconv ipv6 libglvnd libtirpc ncurses nls nptl openmp pam pcre pic pie readline seccomp split-usr ssl ssp test-rust threads unicode x86 xattr xtpax zlib" ABI_X86="32" ADA_TARGET="gnat_2021" 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="mmx mmxext sse sse2" 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_10" PYTHON_TARGETS="python3_10" RUBY_TARGETS="ruby27 ruby30" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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, 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, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
|
The Build
cat /var/tmp/portage/app-admin/webmin-1.996/temp/build.log
Code: |
* Package: app-admin/webmin-1.996:0
* Repository: vmacs
* USE: abi_x86_32 elibc_glibc kernel_linux userland_GNU x86
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking webmin-1.996.tar.gz to /var/tmp/portage/app-admin/webmin-1.996/work
>>> Source unpacked in /var/tmp/portage/app-admin/webmin-1.996/work
>>> Preparing source in /var/tmp/portage/app-admin/webmin-1.996/work/webmin-1.996 ...
* Fixing perl path in source files ... [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-admin/webmin-1.996/work/webmin-1.996 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-admin/webmin-1.996/work/webmin-1.996 ...
>>> Source compiled.
>>> Test phase [not enabled]: app-admin/webmin-1.996
>>> Install app-admin/webmin-1.996 into /var/tmp/portage/app-admin/webmin-1.996/image
/var/tmp/portage/app-admin/webmin-1.996/temp/environment: line 1935: _systemd_get_systemunitdir: command not found
sed: can't read /var/tmp/portage/app-admin/webmin-1.996/image/webmin.service: No such file or directory
* ERROR: app-admin/webmin-1.996::vmacs failed (install phase):
* Failed to patch the webmin systemd service file
*
* Call stack:
* ebuild.sh, line 136: Called src_install
* environment, line 1935: Called die
* The specific snippet of code:
* sed -i -e "s:%exe%:${EROOT}/usr/libexec/webmin/miniserv.pl:" -e "s:%pid%:${EROOT}/var/run/webmin.pid:" -e "s:%conf%:${EROOT}/etc/webmin/miniserv.conf:" -e "s:%config%:${EROOT}/etc/webmin/config:" -e "s:%perllib%:${EROOT}/usr/libexec/webmin:" "${ED}$(_systemd_get_systemunitdir)/webmin.service" || die "Failed to patch the webmin systemd service file";
*
* If you need support, post the output of `emerge --info '=app-admin/webmin-1.996::vmacs'`,
* the complete build log and the output of `emerge -pqv '=app-admin/webmin-1.996::vmacs'`.
* The complete build log is located at '/var/tmp/portage/app-admin/webmin-1.996/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-admin/webmin-1.996/temp/environment'.
* Working directory: '/var/tmp/portage/app-admin/webmin-1.996/work/webmin-1.996'
* S: '/var/tmp/portage/app-admin/webmin-1.996/work/webmin-1.996'
* QA Notice: command not found:
*
* /var/tmp/portage/app-admin/webmin-1.996/temp/environment: line 1935: _systemd_get_systemunitdir: command not found
|
regards,
Stéphane
[Moderator edit: added [code] tags to preserve output layout. -Hu] |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
fedeliallalinea Administrator
![Administrator Administrator](/images/ranks/rank-admin.gif)
![](images/avatars/161653968057192eb39329f.jpg)
Joined: 08 Mar 2003 Posts: 31168 Location: here
|
Posted: Sat Mar 04, 2023 11:47 am Post subject: |
|
|
Moved from Installing Gentoo to Unsupported Software. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
SkyviewGuru n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 08 Apr 2023 Posts: 1
|
Posted: Sat Apr 08, 2023 3:08 pm Post subject: |
|
|
Thanks for the report. This was reproduced on my system but I was unable to address the problem at the time of the report as I was about to leave for a trip.
I've returned, determined the cause, and pushed an updated ebuild to the overlay. Please advise if there is still an issue on your side. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
MoonWalker Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/gallery/TV Stars/geordi1.jpg)
Joined: 04 Jul 2002 Posts: 511
|
Posted: Wed Jul 24, 2024 5:52 pm Post subject: |
|
|
SkyviewGuru wrote: | Thanks for the report. This was reproduced on my system but I was unable to address the problem at the time of the report as I was about to leave for a trip.
I've returned, determined the cause, and pushed an updated ebuild to the overlay. Please advise if there is still an issue on your side. |
Hey @SkyviewGuru, it appears you are the owner of the vmacs repo, in which case I like to inform you there is a Manifest problem with the latest webmin-2.111 ebuild added recently.
emerge gives this:
Code: | [ebuild U ] app-admin/webmin-2.111 [2.021]
[ebuild rR ] dev-db/mysql-8.0.37
Would you like to merge these packages? [Yes/No] y
>>> Verifying ebuild manifests
!!! A file listed in the Manifest could not be found: /var/db/repos/vmacs/app-admin/webmin/files/gentoo-setup-2.021
|
So it appears you either didn't update the Manifest, or you did it while 2.021 still were present but then removed the old ebuild from the repo.
The quick fix for anyone running into this is:
Code: | # cd /var/db/repos/vmacs/app-admin/webmin/ |
(if that's the path you get in error message)
Then execute:
Code: | # ebuild webmin-2.111.ebuild manifest |
Now you can succesfully emerge the updated package. _________________ /Joakim
Living on earth is expensive, but it includes a free trip around the sun
every year. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|
|
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
|
|