View previous topic :: View next topic |
Author |
Message |
ian848uig n00b

Joined: 21 Sep 2023 Posts: 53 Location: Latin America
|
Posted: Sun May 12, 2024 12:40 am Post subject: sys-fs/btrfs-progs-9999 'm4' does not exist error |
|
|
Hello, I have the problem that when trying to compile sys-fs/btrfs-progs-9999 it says that m4 does not exist, m4 is installed and even recompiling it does not solve the problem, I even updated portage with: Code: | sudo emerge --oneshot sys-apps/portage | .
Even so, the error continues to persist and I don't know what it could be, and it's not the only problem I have, I also have problems with nano-9999, which is paused because it fails to run automake, but that's for another time.
I also want to update some packages to version 9999, knowing that it is not safe but my PC has enough power for gentoo.
Returning to the topic of btrfs-progs-9999, here is the build.log and information:
Code: | *
Package: sys-fs/btrfs-progs-9999:0/0
* Repository: gentoo
* Maintainer: base-system@gentoo.org
* USE: abi_x86_64 amd64 convert elibc_glibc kernel_linux man python_single_target_python3_11 udev zstd
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
Initialized empty Git repository in /var/cache/distfiles/git3-src/kdave_btrfs-progs.git/
* Repository id: kdave_btrfs-progs.git
* To override fetched repository properties, use:
* EGIT_OVERRIDE_REPO_KDAVE_BTRFS_PROGS
* EGIT_OVERRIDE_BRANCH_KDAVE_BTRFS_PROGS
* EGIT_OVERRIDE_COMMIT_KDAVE_BTRFS_PROGS
* EGIT_OVERRIDE_COMMIT_DATE_KDAVE_BTRFS_PROGS
*
* Fetching https://github.com/kdave/btrfs-progs.git ...
git fetch https://github.com/kdave/btrfs-progs.git +refs/heads/devel:refs/heads/devel
remote: Enumerating objects: 36404, done.
remote: Counting objects: 100% (5425/5425), done.
remote: Compressing objects: 100% (1702/1702), done.
remote: Total 36404 (delta 3633), reused 4960 (delta 3422), pack-reused 30979
Receiving objects: 100% (36404/36404), 18.73 MiB | 754.00 KiB/s, done.
Resolving deltas: 100% (25762/25762), done.
From https://github.com/kdave/btrfs-progs
* [new branch] devel -> devel
* [new tag] v0.10 -> v0.10
* [new tag] v0.11 -> v0.11
* [new tag] v0.12 -> v0.12
* [new tag] v0.13 -> v0.13
* [new tag] v0.14 -> v0.14
* [new tag] v0.15 -> v0.15
* [new tag] v0.16 -> v0.16
* [new tag] v0.17 -> v0.17
* [new tag] v0.18 -> v0.18
* [new tag] v0.19 -> v0.19
* [new tag] v0.2 -> v0.2
* [new tag] v0.20-rc1 -> v0.20-rc1
* [new tag] v0.3 -> v0.3
* [new tag] v0.4 -> v0.4
* [new tag] v0.5 -> v0.5
* [new tag] v0.6 -> v0.6
* [new tag] v0.8 -> v0.8
* [new tag] v0.9 -> v0.9
* [new tag] v3.12 -> v3.12
* [new tag] v3.14 -> v3.14
* [new tag] v3.14.1 -> v3.14.1
* [new tag] v3.14.2 -> v3.14.2
* [new tag] v3.16 -> v3.16
* [new tag] v3.16.1 -> v3.16.1
* [new tag] v3.16.2 -> v3.16.2
* [new tag] v3.17 -> v3.17
* [new tag] v3.17.1 -> v3.17.1
* [new tag] v3.17.2 -> v3.17.2
* [new tag] v3.17.3 -> v3.17.3
* [new tag] v3.18 -> v3.18
* [new tag] v3.18.1 -> v3.18.1
* [new tag] v3.18.2 -> v3.18.2
* [new tag] v3.19 -> v3.19
* [new tag] v3.19.1 -> v3.19.1
* [new tag] v4.0 -> v4.0
* [new tag] v4.0.1 -> v4.0.1
* [new tag] v4.1 -> v4.1
* [new tag] v4.1.1 -> v4.1.1
* [new tag] v4.1.2 -> v4.1.2
* [new tag] v4.10 -> v4.10
* [new tag] v4.10.1 -> v4.10.1
* [new tag] v4.10.2 -> v4.10.2
* [new tag] v4.11 -> v4.11
* [new tag] v4.11.1 -> v4.11.1
* [new tag] v4.12 -> v4.12
* [new tag] v4.12.1 -> v4.12.1
* [new tag] v4.13 -> v4.13
* [new tag] v4.13.1 -> v4.13.1
* [new tag] v4.13.2 -> v4.13.2
* [new tag] v4.13.3 -> v4.13.3
* [new tag] v4.14 -> v4.14
* [new tag] v4.14.1 -> v4.14.1
* [new tag] v4.15 -> v4.15
* [new tag] v4.15.1 -> v4.15.1
* [new tag] v4.16 -> v4.16
* [new tag] v4.16.1 -> v4.16.1
* [new tag] v4.17 -> v4.17
* [new tag] v4.17.1 -> v4.17.1
* [new tag] v4.19 -> v4.19
* [new tag] v4.19.1 -> v4.19.1
* [new tag] v4.2 -> v4.2
* [new tag] v4.2.1 -> v4.2.1
* [new tag] v4.2.2 -> v4.2.2
* [new tag] v4.2.3 -> v4.2.3
* [new tag] v4.20 -> v4.20
* [new tag] v4.20.1 -> v4.20.1
* [new tag] v4.20.2 -> v4.20.2
* [new tag] v4.3 -> v4.3
* [new tag] v4.3.1 -> v4.3.1
* [new tag] v4.4 -> v4.4
* [new tag] v4.5 -> v4.5
* [new tag] v4.5.1 -> v4.5.1
* [new tag] v4.5.2 -> v4.5.2
* [new tag] v4.5.3 -> v4.5.3
* [new tag] v4.6 -> v4.6
* [new tag] v4.6.1 -> v4.6.1
* [new tag] v4.7 -> v4.7
* [new tag] v4.7.1 -> v4.7.1
* [new tag] v4.7.2 -> v4.7.2
* [new tag] v4.7.3 -> v4.7.3
* [new tag] v4.8 -> v4.8
* [new tag] v4.8.1 -> v4.8.1
* [new tag] v4.8.2 -> v4.8.2
* [new tag] v4.8.3 -> v4.8.3
* [new tag] v4.8.4 -> v4.8.4
* [new tag] v4.8.5 -> v4.8.5
* [new tag] v4.9 -> v4.9
* [new tag] v4.9.1 -> v4.9.1
* [new tag] v5.1 -> v5.1
* [new tag] v5.1.1 -> v5.1.1
* [new tag] v5.10 -> v5.10
* [new tag] v5.10.1 -> v5.10.1
* [new tag] v5.11 -> v5.11
* [new tag] v5.11.1 -> v5.11.1
* [new tag] v5.12 -> v5.12
* [new tag] v5.12.1 -> v5.12.1
* [new tag] v5.13 -> v5.13
* [new tag] v5.13.1 -> v5.13.1
* [new tag] v5.14 -> v5.14
* [new tag] v5.14.1 -> v5.14.1
* [new tag] v5.14.2 -> v5.14.2
* [new tag] v5.15 -> v5.15
* [new tag] v5.15.1 -> v5.15.1
* [new tag] v5.16 -> v5.16
* [new tag] v5.16.1 -> v5.16.1
* [new tag] v5.16.2 -> v5.16.2
* [new tag] v5.17 -> v5.17
* [new tag] v5.18 -> v5.18
* [new tag] v5.18.1 -> v5.18.1
* [new tag] v5.19 -> v5.19
* [new tag] v5.19.1 -> v5.19.1
* [new tag] v5.2 -> v5.2
* [new tag] v5.2.1 -> v5.2.1
* [new tag] v5.2.2 -> v5.2.2
* [new tag] v5.3 -> v5.3
* [new tag] v5.3.1 -> v5.3.1
* [new tag] v5.4 -> v5.4
* [new tag] v5.4.1 -> v5.4.1
* [new tag] v5.6 -> v5.6
* [new tag] v5.6.1 -> v5.6.1
* [new tag] v5.7 -> v5.7
* [new tag] v5.9 -> v5.9
* [new tag] v6.0 -> v6.0
* [new tag] v6.0.1 -> v6.0.1
* [new tag] v6.0.2 -> v6.0.2
* [new tag] v6.1 -> v6.1
* [new tag] v6.1.1 -> v6.1.1
* [new tag] v6.1.2 -> v6.1.2
* [new tag] v6.1.3 -> v6.1.3
* [new tag] v6.2 -> v6.2
* [new tag] v6.2.1 -> v6.2.1
* [new tag] v6.2.2 -> v6.2.2
* [new tag] v6.3 -> v6.3
* [new tag] v6.3.1 -> v6.3.1
* [new tag] v6.3.2 -> v6.3.2
* [new tag] v6.3.3 -> v6.3.3
* [new tag] v6.5 -> v6.5
* [new tag] v6.5.1 -> v6.5.1
* [new tag] v6.5.2 -> v6.5.2
* [new tag] v6.5.3 -> v6.5.3
* [new tag] v6.6 -> v6.6
* [new tag] v6.6.1 -> v6.6.1
* [new tag] v6.6.2 -> v6.6.2
* [new tag] v6.6.3 -> v6.6.3
* [new tag] v6.7 -> v6.7
* [new tag] v6.7.1 -> v6.7.1
* [new tag] v6.8 -> v6.8
* [new tag] v6.8.1 -> v6.8.1
git symbolic-ref refs/git-r3/sys-fs/btrfs-progs/0/__main__ refs/heads/devel
* Checking out https://github.com/kdave/btrfs-progs.git to /var/tmp/portage/sys-fs/btrfs-progs-9999/work/btrfs-progs-9999 ...
git checkout --quiet devel
GIT NEW branch -->
repository: https://github.com/kdave/btrfs-progs.git
at the commit: cae94956d9f9e9c0a49e888f1a5116c425bd9002
>>> Source unpacked in /var/tmp/portage/sys-fs/btrfs-progs-9999/work
>>> Preparing source in /var/tmp/portage/sys-fs/btrfs-progs-9999/work/btrfs-progs-9999 ...
* : 'm4' does not exist
* Running eautoreconf in '/var/tmp/portage/sys-fs/btrfs-progs-9999/work/btrfs-progs-9999' ...
* : 'm4' does not exist
* Running 'aclocal -I m4 --system-acdir=/var/tmp/portage/sys-fs/btrfs-progs-9999/temp/aclocal' ...
[ ok ]
* : 'm4' does not exist
* : 'm4' does not exist
* Running 'autoconf -I m4 --force' ...
[ ok ]
* : 'm4' does not exist
* Running 'autoheader -I m4' ...
[ ok ]
* Running elibtoolize in: btrfs-progs-9999/
mkdir: cannot create directory ‘config’: File exists
* ERROR: sys-fs/btrfs-progs-9999::gentoo failed (prepare phase):
* (no error message)
*
* Call stack:
* ebuild.sh, line 136: Called src_prepare
* environment, line 3264: Called die
* The specific snippet of code:
* mkdir config || die;
*
* If you need support, post the output of `emerge --info '=sys-fs/btrfs-progs-9999::gentoo'`,
* the complete build log and the output of `emerge -pqv '=sys-fs/btrfs-progs-9999::gentoo'`.
* The complete build log is located at '/var/tmp/portage/sys-fs/btrfs-progs-9999/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/sys-fs/btrfs-progs-9999/temp/environment'.
* Working directory: '/var/tmp/portage/sys-fs/btrfs-progs-9999/work/btrfs-progs-9999'
* S: '/var/tmp/portage/sys-fs/btrfs-progs-9999/work/btrfs-progs-9999'
|
And
Code: |
Portage 3.0.64 (python 3.11.9-final-0, default/linux/amd64/23.0/split-usr/desktop/plasma, gcc-13, glibc-2.39-r5, 6.8.9-gentoo-x86_64 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.8.9-gentoo-x86_64-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.39
KiB Mem: 65760152 total, 60355288 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Sat, 11 May 2024 23:00:00 +0000
Head commit of repository gentoo: 22323203396019f71de495c91f852d33bf6a2deb
Timestamp of repository guru: Sat, 11 May 2024 06:55:19 +0000
Head commit of repository guru: 230b078cc5ea77d67daca13a4262cbd85d2123d3
Timestamp of repository kde: Thu, 09 May 2024 01:48:35 +0000
Head commit of repository kde: 7d59498cd872ba7c7821d9429e1b9b9bbf953f11
Timestamp of repository wayland-desktop: Wed, 08 May 2024 18:51:53 +0000
Head commit of repository wayland-desktop: 10fda048b1bb44d44c8dbdf89fda6a1bb1d85550
sh bash 5.2_p26-r3
ld GNU ld (Gentoo 2.42 p3) 2.42.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p26-r3::gentoo
dev-build/autoconf: 2.72-r1::gentoo
dev-build/automake: 1.16.5-r2::gentoo, 9999::gentoo
dev-build/cmake: 3.29.3::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r1::gentoo
dev-build/meson: 1.4.0-r1::gentoo
dev-lang/perl: 5.38.2-r5::gentoo
dev-lang/python: 3.11.9::gentoo, 3.12.3::gentoo, 3.13.0_beta1_p1::gentoo
dev-lang/rust-bin: 1.77.1::gentoo
sys-apps/baselayout: 2.15::gentoo
sys-apps/openrc: 0.54::gentoo
sys-apps/sandbox: 2.38::gentoo
sys-devel/binutils: 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc: 13.2.1_p20240503::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/llvm: 17.0.6::gentoo, 18.1.5::gentoo
sys-kernel/linux-headers: 6.8-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.39-r5::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
guru
location: /var/db/repos/guru
sync-type: git
sync-uri: https://github.com/gentoo-mirror/guru.git
masters: gentoo
volatile: False
kde
location: /var/db/repos/kde
sync-type: git
sync-uri: https://github.com/gentoo-mirror/kde.git
masters: gentoo
volatile: False
wayland-desktop
location: /var/db/repos/wayland-desktop
sync-type: git
sync-uri: https://github.com/gentoo-mirror/wayland-desktop.git
masters: gentoo
volatile: False
Installed sets: @kde-plasma-5.27
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE @EULA @BINARY-REDISTRIBUTABLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-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/sandbox.d /etc/terminfo"
CXXFLAGS="-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="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live 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="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j32 -l32"
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="X a52 aac acl acpi activities alsa amd amd64 bluetooth branding browser-integration bzip2 cairo cdda cdr cet crash-handler crypt cups dbus declarative display-manager dist-kernel dri dts dvd dvdr egl elogind encode exif firewall flac gdbm gif gpm gtk gui iconv icu initramfs ipv6 jpeg kde kwallet lcms libnotify libtirpc m4 mad mng modules-compress mp3 mp4 mpeg multilib ncurses networkmanager nls ogg opengl openmp openrc pam pango pcre pdf persistenced pipewire plasma png policykit ppds pulseaudio qml qt5 qt6 readline screencast sddm sdl seccomp semantic-desktop sound spell split-usr ssl startup-notification svg test-rust tiff tkip truetype udev udisks unicode upower usb vorbis vulkan wayland wep widgets wxwidgets x264 x86_64 xattr xcb xft xml xv xvid zlib" 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="mmx mmxext sse sse2" 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="synaptics libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="nvidia d3d12" 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
=================================================================
Package Settings
=================================================================
sys-fs/btrfs-progs-6.8::gentoo was built with the following:
USE="convert man udev zstd -python -reiserfs -static -static-libs -verify-sig" ABI_X86="(64)" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync 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"
|
If you need me to upload something else just tell me, for example make.conf.
Also, if I have to do some steps to make the 9999 packages functional, tell me.
I will wait for answers, and I will respond in time. _________________ I like everything that is Linux, free and open source software. I am a teenager |
|
Back to top |
|
 |
ian848uig n00b

Joined: 21 Sep 2023 Posts: 53 Location: Latin America
|
Posted: Tue May 14, 2024 3:24 am Post subject: |
|
|
I tried a direct access to /usr/local/bin/m4, but it didn't work, it still gives the same message _________________ I like everything that is Linux, free and open source software. I am a teenager |
|
Back to top |
|
 |
rab0171610 Guru

Joined: 24 Dec 2022 Posts: 478
|
Posted: Tue May 14, 2024 7:12 am Post subject: |
|
|
I appreciate that you are testing very unstable versions of software. That being said, I would read:
https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Autotools_failures
to get a better understanding of this:
Code: | AT_M4DIR="m4" eautoreconf |
Now if you really want to install that version of the software, there are two things within the ebuild that would need to be changed to get it to successfully install. I am not an expert in this, so someone else may be able to explain what is actually going on better than me and what effect the solution might have on the installed package.
FIrst, in the sys-fs/btrfs-progs/btrfs-progs-9999.ebuild which you can read on your system or here:
https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-fs/btrfs-progs/btrfs-progs-9999.ebuild
Lines 125 and 126:
Code: | if [[ ${PV} == 9999 ]]; then
AT_M4DIR="m4" eautoreconf |
This says to look for .m4 (automate or autom4te) files in the m4 directory. For this particular version of btrfs-progs, these files will be found in the config directory instead. The files are named ax_check_compile_flag.m4 ax_check_define.m4 and ax_gcc_builtin.m4.
So if you keep a local repository and change the ebuild to "config" instead of "m4":
Code: | if [[ ${PV} == 9999 ]]; then
AT_M4DIR="config" eautoreconf |
That will fix the m4 not found error.
The main cause of the failure is what the ebuild has on line 128:
Code: | mkdir config || die |
This is actually what is causing the ebuild to fail (or die during source prepare) to install. This is because the config directory already exists and you will get an error message," mkdir: cannot create directory ‘config’: File exists". Removing or commenting out that line in the ebuild allows it to install without error.
I can't say for sure if there is a problem with the offical ebuild that would call for a bug report or not. Someone else may be able to advise you.
Good Luck. |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23129
|
Posted: Tue May 14, 2024 12:09 pm Post subject: |
|
|
Live ebuilds are inherently prone to bit rot like this. That mkdir probably made sense when it was added, but then a later commit upstream made the mkdir invalid. Upstream might write a commit tomorrow that makes the mkdir necessary again, and then invalid again the day after.
Adding -p to mkdir will allow it to treat "Directory exists" as a non-error condition, while still failing if upstream were to create a file named config. |
|
Back to top |
|
 |
ian848uig n00b

Joined: 21 Sep 2023 Posts: 53 Location: Latin America
|
Posted: Wed May 15, 2024 1:48 am Post subject: |
|
|
The idea of putting -p in mkdir, and changing m4 to config, worked. but I had to use the --digest option because of the "Digest verification failed" error, but surely there is a way so that I don't have to use the --digest option daily _________________ I like everything that is Linux, free and open source software. I am a teenager |
|
Back to top |
|
 |
rab0171610 Guru

Joined: 24 Dec 2022 Posts: 478
|
|
Back to top |
|
 |
ian848uig n00b

Joined: 21 Sep 2023 Posts: 53 Location: Latin America
|
Posted: Wed May 15, 2024 3:07 am Post subject: |
|
|
Can you make a pull request to fix the problem where the config directory exists? For me, the maintainers would have to be aware of these errors, even so I will make a local repository following the guide. _________________ I like everything that is Linux, free and open source software. I am a teenager |
|
Back to top |
|
 |
Hu Administrator

Joined: 06 Mar 2007 Posts: 23129
|
Posted: Wed May 15, 2024 11:55 am Post subject: |
|
|
Anyone with a GitHub account and the time to work through the pull request process can submit a pull request to make this change. You do not need to delegate it to any particular user on the forum. The maintainers may not be aware of the error, if they have not attempted to rebuild the live ebuild using a commit after where upstream made the change that broke this. That is the peril of live ebuilds: they can be perfectly correct when their author merges them into Gentoo's repository, then later be made incorrect through activity outside the author's control or awareness. |
|
Back to top |
|
 |
|
|
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
|
|