You are not logged in.

#1 2024-06-18 00:07:47

RegicidalBomb
Member
Registered: 2024-06-17
Posts: 16
Website

Can't build most packages

Hello, so as the subject states I cannot seem to build most AUR packages (because `debtap` worked for some reason, used it as a test).
Using `yay` for testing.

Using `makepkg -si`:

==> Making package: yay 12.3.5-1 (Mon 17 Jun 2024 07:03:26 PM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found yay-12.3.5.tar.gz
==> Validating source files with sha256sums...
    yay-12.3.5.tar.gz ... Passed
==> Extracting sources...
  -> Extracting yay-12.3.5.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
make: Nothing to be done for 'build'.
==> Entering fakeroot environment...
==> Starting package()...
install -Dm755 yay /home/regicidalbomb/yay/pkg/yay/usr/bin/yay
install -Dm644 doc/yay.8 /home/regicidalbomb/yay/pkg/yay/usr/share/man/man8/yay.8
install -Dm644 completions/bash /home/regicidalbomb/yay/pkg/yay/usr/share/bash-completion/completions/yay
install -Dm644 completions/zsh /home/regicidalbomb/yay/pkg/yay/usr/share/zsh/site-functions/_yay
install -Dm644 completions/fish /home/regicidalbomb/yay/pkg/yay/usr/share/fish/vendor_completions.d/yay.fish
for lang in ca cs de en es eu fr_FR he id it_IT ja ko pl_PL pt_BR pt ru_RU ru sv tr uk zh_CN zh_TW; do \
        install -Dm644 po/${lang}.mo /home/regicidalbomb/yay/pkg/yay/usr/share/locale/$lang/LC_MESSAGES/yay.mo; \
done
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
strip: ./usr/bin/yay: file format not recognized
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "yay"...
  -> Generating .PKGINFO file...

And hangs there. No matter how long I wait.

Using `pkgctl build` (w/ `devtools` installed):

==> Updating pacman database cache
:: Synchronizing package databases...
 core downloading...
 extra downloading...
 multilib downloading...
==> Building yay
==> WARNING: invalid architecture, not building for: i686
==> WARNING: invalid architecture, not building for: pentium4
==> WARNING: invalid architecture, not building for: arm
==> WARNING: invalid architecture, not building for: armv7h
==> WARNING: invalid architecture, not building for: armv6h
==> WARNING: invalid architecture, not building for: aarch64
==> WARNING: invalid architecture, not building for: riscv64
  ->   repo: extra
  ->   arch: x86_64
  -> worker: regicidalbomb-1
==> Building yay for [extra] (x86_64)
[sudo] privilege escalation -- enter password:               
==> ERROR: '/var/lib/archbuild/extra-x86_64/root' does not appear to be an Arch chroot.
==> ERROR: Aborting...

However, `ls`ing the directory gives error:

ls: cannot access '/var/lib/archbuild/extra-x86_64/root': No such file or directory

Using `extra-x86_64-build` (again, w/ `devtools` installed):

==> ERROR: '/var/lib/archbuild/extra-x86_64/root' does not appear to be an Arch chroot.
==> ERROR: Aborting...

Last edited by RegicidalBomb (2024-06-18 18:13:21)

Offline

#2 2024-06-18 01:20:56

cryptearth
Member
Registered: 2024-02-03
Posts: 411

Re: Can't build most packages

what's the output of a regular system update
pacman -Syu

Offline

#3 2024-06-18 07:34:31

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 12,149
Website

Re: Can't build most packages

Please edit your post to use code tags rather than markdown.

https://wiki.archlinux.org/title/Genera … s_and_code

Mod note: moving to AUR Issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2024-06-18 07:35:58

seth
Member
Registered: 2012-09-03
Posts: 54,484

Re: Can't build most packages

cannot seem to build most AUR packages … `debtap` worked … Using `yay` for testing.

==> Starting build()...
make: Nothing to be done for 'build'.
cat /home/regicidalbomb/yay/PKGBUILD

and try this with a fresh clone from the AUR into an empty path.

Offline

#5 2024-06-18 18:10:34

RegicidalBomb
Member
Registered: 2024-06-17
Posts: 16
Website

Re: Can't build most packages

cryptearth wrote:

what's the output of a regular system update
pacman -Syu

[sudo] privilege escalation -- enter password:               
:: Synchronizing package databases...
 core                                            121.0 KiB   432 KiB/s 00:00 [###########################################] 100%
 extra                                             7.9 MiB  28.5 MiB/s 00:00 [###########################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (7) cryptsetup-2.7.3-1  libxml2-2.13.0-4  python-3.12.4-1  python-jaraco.text-3.12.1-1  systemd-256-3
             systemd-libs-256-3  systemd-sysvcompat-256-3

Total Download Size:    23.68 MiB
Total Installed Size:  111.79 MiB
Net Upgrade Size:        1.68 MiB

:: Proceed with installation? [Y/n] 
:: Retrieving packages...
 python-3.12.4-1-x86_64                           12.6 MiB  30.4 MiB/s 00:00 [###########################################] 100%
 systemd-256-3-x86_64                              8.5 MiB  37.8 MiB/s 00:00 [###########################################] 100%
 systemd-libs-256-3-x86_64                      1129.8 KiB  27.6 MiB/s 00:00 [###########################################] 100%
 libxml2-2.13.0-4-x86_64                         817.8 KiB  22.2 MiB/s 00:00 [###########################################] 100%
 cryptsetup-2.7.3-1-x86_64                       750.8 KiB  20.4 MiB/s 00:00 [###########################################] 100%
 python-jaraco.text-3.12.1-1-any                  19.7 KiB   758 KiB/s 00:00 [###########################################] 100%
 systemd-sysvcompat-256-3-x86_64                   6.0 KiB   232 KiB/s 00:00 [###########################################] 100%
 Total (7/7)                                      23.7 MiB  24.3 MiB/s 00:01 [###########################################] 100%
(7/7) checking keys in keyring                                               [###########################################] 100%
(7/7) checking package integrity                                             [###########################################] 100%
(7/7) loading package files                                                  [###########################################] 100%
(7/7) checking for file conflicts                                            [###########################################] 100%
(7/7) checking available disk space                                          [###########################################] 100%
:: Processing package changes...
(1/7) upgrading systemd-libs                                                 [###########################################] 100%
(2/7) upgrading cryptsetup                                                   [###########################################] 100%
(3/7) upgrading libxml2                                                      [###########################################] 100%
(4/7) upgrading python                                                       [###########################################] 100%
(5/7) upgrading python-jaraco.text                                           [###########################################] 100%
(6/7) upgrading systemd                                                      [###########################################] 100%
:: This is a systemd feature update. You may want to have a look at
   NEWS for what changed, or if you observe unexpected behavior:
     /usr/share/doc/systemd/NEWS
(7/7) upgrading systemd-sysvcompat                                           [###########################################] 100%
:: Running post-transaction hooks...
( 1/12) Creating system user accounts...
( 2/12) Updating journal message catalog...
( 3/12) Reloading system manager configuration...
( 4/12) Reloading user manager configuration...
( 5/12) Updating udev hardware database...
( 6/12) Applying kernel sysctl settings...
( 7/12) Creating temporary files...
( 8/12) Reloading device manager configuration...
( 9/12) Arming ConditionNeedsUpdate...
(10/12) Updating the MIME type database...
(11/12) Updating linux initcpios...
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'default'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux.img
==> Starting build: '6.9.5-arch1-1'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
==> Building image from preset: /etc/mkinitcpio.d/linux.preset: 'fallback'
==> Using default configuration file: '/etc/mkinitcpio.conf'
  -> -k /boot/vmlinuz-linux -g /boot/initramfs-linux-fallback.img -S autodetect
==> Starting build: '6.9.5-arch1-1'
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [microcode]
  -> Running build hook: [modconf]
  -> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
  -> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
  -> Running build hook: [keymap]
  -> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
  -> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'wd719x'
  -> Running build hook: [filesystems]
  -> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
  -> Early uncompressed CPIO image generation successful
==> Initcpio image generation successful
(12/12) Reloading system bus configuration...

Offline

#6 2024-06-18 18:13:33

RegicidalBomb
Member
Registered: 2024-06-17
Posts: 16
Website

Re: Can't build most packages

WorMzy wrote:

Please edit your post to use code tags rather than markdown.

https://wiki.archlinux.org/title/Genera … s_and_code

Mod note: moving to AUR Issues.

Done, sorry.

Last edited by RegicidalBomb (2024-06-18 18:13:42)

Offline

#7 2024-06-18 18:21:26

RegicidalBomb
Member
Registered: 2024-06-17
Posts: 16
Website

Re: Can't build most packages

seth wrote:

cannot seem to build most AUR packages … `debtap` worked … Using `yay` for testing.

==> Starting build()...
make: Nothing to be done for 'build'.
cat /home/regicidalbomb/yay/PKGBUILD

and try this with a fresh clone from the AUR into an empty path.

PKGBUILD contents:

# Maintainer: Jguer <pkgbuilds at jguer.space>
pkgname=yay
pkgver=12.3.5
pkgrel=1
pkgdesc="Yet another yogurt. Pacman wrapper and AUR helper written in go."
arch=('i686' 'pentium4' 'x86_64' 'arm' 'armv7h' 'armv6h' 'aarch64' 'riscv64')
url="https://github.com/Jguer/yay"
options=(!lto)
license=('GPL-3.0-or-later')
depends=(
  'pacman>6.1'
  'git'
)
optdepends=(
  'sudo: privilege elevation'
  'doas: privilege elevation'
)
makedepends=('go>=1.21')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/Jguer/yay/archive/v${pkgver}.tar.gz")
sha256sums=('2fb6121a6eb4c5e6afaf22212b2ed15022500a4bc34bb3dc0f9782c1d43c3962')

build() {
  export GOPATH="$srcdir"/gopath
  export CGO_CPPFLAGS="${CPPFLAGS}"
  export CGO_CFLAGS="${CFLAGS}"
  export CGO_CXXFLAGS="${CXXFLAGS}"
  export CGO_LDFLAGS="${LDFLAGS}"
  export CGO_ENABLED=1

  cd "$srcdir/$pkgname-$pkgver"
  make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr" build
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make VERSION=$pkgver DESTDIR="$pkgdir" PREFIX="/usr" install
}

Same thing happens with fresh clone.

Offline

#8 2024-06-18 18:25:07

seth
Member
Registered: 2012-09-03
Posts: 54,484

Re: Can't build most packages

Try to build the package w/

/usr/bin/bash -x /usr/bin/makepkg |& tee /tmp/makepkg.trace

/tmp/makepkg.trace will then hopefully reveal what's going on at the tail

Offline

#9 2024-06-18 18:47:25

RegicidalBomb
Member
Registered: 2024-06-17
Posts: 16
Website

Re: Can't build most packages

seth wrote:

Try to build the package w/

/usr/bin/bash -x /usr/bin/makepkg |& tee /tmp/makepkg.trace

/tmp/makepkg.trace will then hopefully reveal what's going on at the tail

Posted output at http://0x0.st/XTBj.txt
Note: it is cut off as it hangs on the final line.

Offline

#10 2024-06-18 19:00:00

seth
Member
Registered: 2012-09-03
Posts: 54,484

Re: Can't build most packages

+ cd /home/regicidalbomb/yay/src/yay-12.3.5
+ make VERSION=12.3.5 DESTDIR=/home/regicidalbomb/yay/pkg/yay PREFIX=/usr build
make: Nothing to be done for 'build'.

This wasn't from a clean source tree? You're NOT getting this warning on a fresh build?

Tails at

++ dirsize
++ local file inode
++ declare -A files
++ find . -type f -links 1 -exec cat '{}' +
++ wc -c

What kind of filesystem is your $HOME on?
What happens if you try to build the package in /tmp ?

Offline

#11 2024-06-19 05:36:44

RegicidalBomb
Member
Registered: 2024-06-17
Posts: 16
Website

Re: Can't build most packages

It is, I think I ran the command twice though. So I don't get that warning on a *fresh* build.

Filesystem is btrfs.

Nothing changes on `makepkg` when I run it, but here's the debug log:
https://0x0.st/XTQA.trace

Offline

#12 2024-06-19 07:22:34

seth
Member
Registered: 2012-09-03
Posts: 54,484

Re: Can't build most packages

Well, let's see whether this hangs on manual invocation:

cd /tmp/yay/pkg/yay
find . -type f -links 1 -exec cat '{}' +

Offline

#13 2024-06-19 14:47:52

RegicidalBomb
Member
Registered: 2024-06-17
Posts: 16
Website

Re: Can't build most packages

No, it does not hang. In fact, it's constantly printing and seems to be using the terminal alarm bell over and over. It also allocated the rest of the memory, which surprises me that Linux didn't OOM-kill it. (Linux did kill my web browser while I was typing this after I killed the old process, though.) I would upload the output but it's way too large even for a pastebin.

Offline

#14 2024-06-19 14:54:33

seth
Member
Registered: 2012-09-03
Posts: 54,484

Re: Can't build most packages

Ok, that's the same as a "hang" (makepkg "hangs" because the output of the find gets piped into wc)
The bell is likely because whatever get's "cat" there.

Does this here behave? (Should™ not) and can you post parts of its output resp. compare it to "ls -lR"?

cd /tmp/yay/pkg/yay
find . -type f -links 1

Offline

#15 2024-06-19 20:51:24

RegicidalBomb
Member
Registered: 2024-06-17
Posts: 16
Website

Re: Can't build most packages

"resp."?

Yes it does. (If by that you mean it returns correctly.)

./.bash_logout
./.bash_profile
./.bashrc
./.local/share/kwalletd/kdewallet.salt
./.local/share/kwalletd/kdewallet_attributes.json
./.local/share/kwalletd/kdewallet.kwl
./.local/share/sddm/xorg-session.log
./.local/share/sddm/wayland-session.log
./.local/share/baloo/index-lock
./.local/share/baloo/index
./.local/share/kactivitymanagerd/resources/test-backup/database
./.local/share/kactivitymanagerd/resources/test-backup/database-wal
./.local/share/kactivitymanagerd/resources/test-backup/database-shm
./.local/share/kactivitymanagerd/resources/working-backup/database
./.local/share/kactivitymanagerd/resources/working-backup/database-wal
./.local/share/kactivitymanagerd/resources/working-backup/database-shm
./.local/share/kactivitymanagerd/resources/database
./.local/share/kactivitymanagerd/resources/database-wal
./.local/share/kactivitymanagerd/resources/database-shm
./.local/share/kactivitymanagerd/resources/errors.log
./.local/share/flatpak/repo/config
./.local/share/flatpak/.changed
./.local/share/kscreen/outputs/dc90b5bd56952cebae9b297151fa606f
./.local/share/kscreen/outputs/0f24678c8dbab595bd150721b25c9d16
./.local/share/kscreen/170fe86f1d0d5f4fee85b4b944587a7c
./.local/share/systemsettings/systemsettingsstaterc
-------
cal/share/knewstuff3/icons.knsregistry
./.local/share/knewstuff3/wallpaper.knsregistry
./.local/share/knewstuff3/lookandfeel.knsregistry
./.local/share/knewstuff3/xcursor.knsregistry
./.local/share/plasma/plasmoids/org.kde.windowtitle/CHANGELOG.md
./.local/share/plasma/plasmoids/org.kde.windowtitle/LICENSE
./.local/share/plasma/plasmoids/org.kde.windowtitle/metadata.json
./.local/share/plasma/plasmoids/org.kde.windowtitle/README.md
./.local/share/plasma/plasmoids/org.kde.windowtitle/contents/config/config.qml
./.local/share/plasma/plasmoids/org.kde.windowtitle/contents/config/main.xml
./.local/share/plasma/plasmoids/org.kde.windowtitle/contents/tools/Tools.js
./.local/share/plasma/plasmoids/org.kde.windowtitle/contents/ui/ActionsMouseArea.qml
./.local/share/plasma/plasmoids/org.kde.windowtitle/contents/ui/main.qml
./.local/share/plasma/plasmoids/org.kde.windowtitle/contents/ui/PlasmaTasksModel.qml
./.local/share/plasma/plasmoids/org.kde.windowtitle/contents/ui/TitleLayout.qml
./.local/share/plasma/plasmoids/org.kde.windowtitle/contents/ui/config/ConfigAppearance.qml
./.local/share/plasma/plasmoids/org.kde.windowtitle/contents/ui/config/ConfigBehavior.qml
./.local/share/plasma/plasmoids/org.kde.windowtitle/contents/ui/config/CustomComboBox.qml
./.local/share/plasma/plasmoids/org.kde.windowtitle/contents/ui/config/LockItem.qml
./.local/share/plasma/plasmoids/org.kde.windowtitle/contents/ui/config/SlidingBox.qml
./.local/share/plasma/plasmoids/org.kde.windowtitle/contents/ui/config/SubstitutionsPopup.qml
./.local/share/plasma/look-and-feel/archsimpleblue/AUTHORS
------
./.local/share/plasma/look-and-feel/archsimpleblue/contents/previews/splash.png
./.local/share/plasma/look-and-feel/archsimpleblue/contents/splash/Splash.qml
./.local/share/plasma/look-and-feel/archsimpleblue/contents/splash/Splash.qmlc
./.local/share/plasma/look-and-feel/archsimpleblue/contents/splash/images/archlogo.png
./.local/share/plasma/look-and-feel/archsimpleblue/contents/splash/images/background.png
./.local/share/plasma/look-and-feel/archsimpleblue/contents/splash/images/busy01.svg
./.local/share/plasma/look-and-feel/archsimpleblue/contents/splash/images/busy02.svg
./.local/share/plasma/look-and-feel/archsimpleblue/contents/splash/images/busy03.svg
./.local/share/plasma/look-and-feel/archsimpleblue/contents/splash/images/busy04.svg
./.local/share/plasma/look-and-feel/archsimpleblue/contents/splash/images/busy05.svg
./.local/share/plasma/look-and-feel/Amethyst/metadata.desktop
./.local/share/plasma/look-and-feel/Amethyst/metadata.json
./.local/share/plasma/look-and-feel/Amethyst/contents/defaults
./.local/share/plasma/look-and-feel/Amethyst/contents/components/ActionButton.qml
./.local/share/plasma/look-and-feel/Amethyst/contents/components/Battery.qml
./.local/share/plasma/look-and-feel/Amethyst/contents/components/Clock.qml
./.local/share/plasma/look-and-feel/Amethyst/contents/components/KeyboardLayoutButton.qml
./.local/share/plasma/look-and-feel/Amethyst/contents/components/SessionManagementScreen.qml
./.local/share/plasma/look-and-feel/Amethyst/contents/components/UserDelegate.qml
./.local/share/plasma/look-and-feel/Amethyst/contents/components/UserList.qml
./.local/share/plasma/look-and-feel/Amethyst/contents/components/VirtualKeyboard.qml
./.local/share/plasma/look-and-feel/Amethyst/contents/components/WallpaperFader.qml
./.local/share/plasma/look-and-feel/Amethyst/contents/components/artwork/logout_primary.svgz
./.local/share/plasma/look-and-feel/Amethyst/contents/components/artwork/README.txt
./.local/share/plasma/look-and-feel/Amethyst/contents/components/artwork/restart_primary.svgz

How much specifically do you need?

Offline

#16 2024-06-19 21:20:46

seth
Member
Registered: 2012-09-03
Posts: 54,484

Re: Can't build most packages

"…pectively"

Is that the contents of /tmp/yay/pkg/yay ????
Looks more like your $HOME?

Offline

#17 2024-06-23 23:56:33

RegicidalBomb
Member
Registered: 2024-06-17
Posts: 16
Website

Re: Can't build most packages

Okay, that’s what I thought it stood for.
Yes, those are the contents, I’m sure. Or I ran a command wrong somewhere.

I’m going to be home tomorrow, I’m almost never home on the weekends. The machine in question is at home.

Offline

#18 2024-06-24 05:43:45

seth
Member
Registered: 2012-09-03
Posts: 54,484

Re: Can't build most packages

I’m going to be home tomorrow

lol
No -  the directory listing looks like your $HOME directory, "~", /home/regicidalbomb wink
But not what you'd expect to see in /tmp/yay/pkg/yay at all

Offline

#19 2024-06-24 06:22:03

cryptearth
Member
Registered: 2024-02-03
Posts: 411

Re: Can't build most packages

Although I lost track on this - to avoid flashbacks from my old windows days: Is it really worth to keep digging into this instead of just wipe the OS and start from a fresh install?
To me this sounds something got really messed up - in such a way a) it usualy shouldn't be possible and b) the effort to fix it already overshot the effort to just setup a fresh OS by a mile.

Offline

#20 2024-06-24 06:24:42

seth
Member
Registered: 2012-09-03
Posts: 54,484

Re: Can't build most packages

The OP might either simply have posted the wrong directory or added a recursive symlink somewhere into that yay/build directory - if you're gonna re-install everytime yay fucks up something  you'll end up re-installing a lot.

Plus the defect would remain in the OPs $HOME across any re-installation

Offline

#21 2024-06-24 09:31:12

cryptearth
Member
Registered: 2024-02-03
Posts: 411

Re: Can't build most packages

Oh, good point. Yes, an error in home can even ptevent a fresh reinstall - happend to me once in a VM: Can't remember the specific error but I was not able to successfully install a new fresh base system when /home was mounted during pacstrap.
I can hardly relate to such issues. I'm lucky until now that my install survived my last hardware migration (from AM3+ to AM4) and I not encountered such severe issues that I had to reinstall the base OS. I even run win10 along without any issues.

Offline

#22 2024-06-25 00:30:12

RegicidalBomb
Member
Registered: 2024-06-17
Posts: 16
Website

Re: Can't build most packages

I'll see what outputs I can get outta this. This isn't really a big issue, but in the forums etiquette wiki page thing I read that you should always try solving the issue anyway (or something tongue).
I'm also planning on installing a new OS in Arch's place anyway, but again, the rule thingy.

Also, even wiping the disk won't get rid of the defect???? (Assuming going to that extent does, but tongue)

Last edited by RegicidalBomb (2024-06-25 00:39:34)

Offline

#23 2024-06-25 00:44:03

RegicidalBomb
Member
Registered: 2024-06-17
Posts: 16
Website

Re: Can't build most packages

Alright, finally got some data:

regicidalbomb@Computer-I-Guess /tmp % git clone --depth 1 https://aur.archlinux.org/yay
Cloning into 'yay'...
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint:   git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint:   git branch -m <name>
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 5 (delta 0), reused 5 (delta 0), pack-reused 0 (from 0)
Receiving objects: 100% (5/5), done.
regicidalbomb@Computer-I-Guess /tmp % cd yay
regicidalbomb@Computer-I-Guess /tmp/yay (git)-[master] % makepkg -si
==> Making package: yay 12.3.5-1 (Mon 24 Jun 2024 07:40:43 PM CDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading yay-12.3.5.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  444k  100  444k    0     0   779k      0 --:--:-- --:--:-- --:--:--  779k
==> Validating source files with sha256sums...
    yay-12.3.5.tar.gz ... Passed
==> Extracting sources...
  -> Extracting yay-12.3.5.tar.gz with bsdtar
==> Starting build()...
go build -trimpath -mod=readonly -modcacherw -ldflags '-X "main.yayVersion=12.3.5" -X "main.localePath=/usr/share/locale/" -linkmode=external -compressdwarf=false' -buildmode=pie -o yay
go: downloading github.com/Jguer/aur v1.2.3
go: downloading github.com/Morganamilo/go-srcinfo v1.0.0
go: downloading github.com/deckarep/golang-set/v2 v2.6.0
go: downloading github.com/leonelquinteros/gotext v1.5.2
go: downloading golang.org/x/sys v0.18.0
go: downloading github.com/Jguer/go-alpm/v2 v2.2.2
go: downloading github.com/Jguer/votar v1.0.0
go: downloading github.com/Morganamilo/go-pacmanconf v0.0.0-20210502114700-cff030e927a5
go: downloading github.com/adrg/strutil v0.3.1
go: downloading github.com/hashicorp/go-multierror v1.1.1
go: downloading golang.org/x/term v0.18.0
go: downloading github.com/itchyny/gojq v0.12.14
go: downloading github.com/mitchellh/mapstructure v1.5.0
go: downloading github.com/ohler55/ojg v1.21.4
go: downloading golang.org/x/text v0.14.0
go: downloading github.com/hashicorp/errwrap v1.1.0
go: downloading github.com/itchyny/timefmt-go v0.1.5
==> Entering fakeroot environment...
==> Starting package()...
msgfmt po/ca.po -o po/ca.mo
msgfmt po/cs.po -o po/cs.mo
msgfmt po/de.po -o po/de.mo
msgfmt po/en.po -o po/en.mo
msgfmt po/es.po -o po/es.mo
msgfmt po/eu.po -o po/eu.mo
msgfmt po/fr_FR.po -o po/fr_FR.mo
msgfmt po/he.po -o po/he.mo
msgfmt po/id.po -o po/id.mo
msgfmt po/it_IT.po -o po/it_IT.mo
msgfmt po/ja.po -o po/ja.mo
msgfmt po/ko.po -o po/ko.mo
msgfmt po/pl_PL.po -o po/pl_PL.mo
msgfmt po/pt_BR.po -o po/pt_BR.mo
msgfmt po/pt.po -o po/pt.mo
msgfmt po/ru_RU.po -o po/ru_RU.mo
msgfmt po/ru.po -o po/ru.mo
msgfmt po/sv.po -o po/sv.mo
msgfmt po/tr.po -o po/tr.mo
msgfmt po/uk.po -o po/uk.mo
msgfmt po/zh_CN.po -o po/zh_CN.mo
msgfmt po/zh_TW.po -o po/zh_TW.mo
install -Dm755 yay /tmp/yay/pkg/yay/usr/bin/yay
install -Dm644 doc/yay.8 /tmp/yay/pkg/yay/usr/share/man/man8/yay.8
install -Dm644 completions/bash /tmp/yay/pkg/yay/usr/share/bash-completion/completions/yay
install -Dm644 completions/zsh /tmp/yay/pkg/yay/usr/share/zsh/site-functions/_yay
install -Dm644 completions/fish /tmp/yay/pkg/yay/usr/share/fish/vendor_completions.d/yay.fish
for lang in ca cs de en es eu fr_FR he id it_IT ja ko pl_PL pt_BR pt ru_RU ru sv tr uk zh_CN zh_TW; do \
        install -Dm644 po/${lang}.mo /tmp/yay/pkg/yay/usr/share/locale/$lang/LC_MESSAGES/yay.mo; \
done
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
strip: ./usr/bin/yay: file format not recognized
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "yay"...
  -> Generating .PKGINFO file...
^C
==> ERROR: Aborted by user! Exiting...

makepkg -si  14.39s user 6.16s system 16% cpu 2:07.05 total
130 regicidalbomb@Computer-I-Guess /tmp/yay (git)-[master] % cd /tmp/yay/pkg/yay
find . -type f -links 1
./usr/bin/yay
./usr/share/man/man8/yay.8.gz
./usr/share/bash-completion/completions/yay
./usr/share/zsh/site-functions/_yay
./usr/share/fish/vendor_completions.d/yay.fish
./usr/share/locale/ca/LC_MESSAGES/yay.mo
./usr/share/locale/cs/LC_MESSAGES/yay.mo
./usr/share/locale/de/LC_MESSAGES/yay.mo
./usr/share/locale/en/LC_MESSAGES/yay.mo
./usr/share/locale/es/LC_MESSAGES/yay.mo
./usr/share/locale/eu/LC_MESSAGES/yay.mo
./usr/share/locale/fr_FR/LC_MESSAGES/yay.mo
./usr/share/locale/he/LC_MESSAGES/yay.mo
./usr/share/locale/id/LC_MESSAGES/yay.mo
./usr/share/locale/it_IT/LC_MESSAGES/yay.mo
./usr/share/locale/ja/LC_MESSAGES/yay.mo
./usr/share/locale/ko/LC_MESSAGES/yay.mo
./usr/share/locale/pl_PL/LC_MESSAGES/yay.mo
./usr/share/locale/pt_BR/LC_MESSAGES/yay.mo
./usr/share/locale/pt/LC_MESSAGES/yay.mo
./usr/share/locale/ru_RU/LC_MESSAGES/yay.mo
./usr/share/locale/ru/LC_MESSAGES/yay.mo
./usr/share/locale/sv/LC_MESSAGES/yay.mo
./usr/share/locale/tr/LC_MESSAGES/yay.mo
./usr/share/locale/uk/LC_MESSAGES/yay.mo
./usr/share/locale/zh_CN/LC_MESSAGES/yay.mo
./usr/share/locale/zh_TW/LC_MESSAGES/yay.mo
./.PKGINFO
regicidalbomb@Computer-I-Guess /tmp/yay/pkg/yay (git)-[master] % ls -lR
.:
total 0
drwxr-xr-x 4 regicidalbomb regicidalbomb 80 Jun 24 19:40 usr

./usr:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb  60 Jun 24 19:40 bin
drwxr-xr-x 7 regicidalbomb regicidalbomb 140 Jun 24 19:40 share

./usr/bin:
total 4
-rwxr-xr-x 1 regicidalbomb regicidalbomb 62 Jun 24 19:40 yay

./usr/share:
total 0
drwxr-xr-x  3 regicidalbomb regicidalbomb  60 Jun 24 19:40 bash-completion
drwxr-xr-x  3 regicidalbomb regicidalbomb  60 Jun 24 19:40 fish
drwxr-xr-x 24 regicidalbomb regicidalbomb 480 Jun 24 19:40 locale
drwxr-xr-x  3 regicidalbomb regicidalbomb  60 Jun 24 19:40 man
drwxr-xr-x  3 regicidalbomb regicidalbomb  60 Jun 24 19:40 zsh

./usr/share/bash-completion:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 completions

./usr/share/bash-completion/completions:
total 8
-rw-r--r-- 1 regicidalbomb regicidalbomb 4236 Jun 24 19:40 yay

./usr/share/fish:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 vendor_completions.d

./usr/share/fish/vendor_completions.d:
total 20
-rw-r--r-- 1 regicidalbomb regicidalbomb 17467 Jun 24 19:40 yay.fish

./usr/share/locale:
total 0
drwxr-xr-x 3 regicidalbomb regicidalbomb 60 Jun 24 19:40 ca
drwxr-xr-x 3 regicidalbomb regicidalbomb 60 Jun 24 19:40 cs
drwxr-xr-x 3 regicidalbomb regicidalbomb 60 Jun 24 19:40 de
drwxr-xr-x 3 regicidalbomb regicidalbomb 60 Jun 24 19:40 en
drwxr-xr-x 3 regicidalbomb regicidalbomb 60 Jun 24 19:40 es
drwxr-xr-x 3 regicidalbomb regicidalbomb 60 Jun 24 19:40 eu
drwxr-xr-x 3 regicidalbomb regicidalbomb 60 Jun 24 19:40 fr_FR
drwxr-xr-x 3 regicidalbomb regicidalbomb 60 Jun 24 19:40 he
drwxr-xr-x 3 regicidalbomb regicidalbomb 60 Jun 24 19:40 id
drwxr-xr-x 3 regicidalbomb regicidalbomb 60 Jun 24 19:40 it_IT
drwxr-xr-x 3 regicidalbomb regicidalbomb 60 Jun 24 19:40 ja
drwxr-xr-x 3 regicidalbomb regicidalbomb 60 Jun 24 19:40 ko
drwxr-xr-x 3 regicidalbomb regicidalbomb 60 Jun 24 19:40 pl_PL
drwxr-xr-x 3 regicidalbomb regicidalbomb 60 Jun 24 19:40 pt
drwxr-xr-x 3 regicidalbomb regicidalbomb 60 Jun 24 19:40 pt_BR
drwxr-xr-x 3 regicidalbomb regicidalbomb 60 Jun 24 19:40 ru
drwxr-xr-x 3 regicidalbomb regicidalbomb 60 Jun 24 19:40 ru_RU
drwxr-xr-x 3 regicidalbomb regicidalbomb 60 Jun 24 19:40 sv
drwxr-xr-x 3 regicidalbomb regicidalbomb 60 Jun 24 19:40 tr
drwxr-xr-x 3 regicidalbomb regicidalbomb 60 Jun 24 19:40 uk
drwxr-xr-x 3 regicidalbomb regicidalbomb 60 Jun 24 19:40 zh_CN
drwxr-xr-x 3 regicidalbomb regicidalbomb 60 Jun 24 19:40 zh_TW

./usr/share/locale/ca:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 LC_MESSAGES

./usr/share/locale/ca/LC_MESSAGES:
total 16
-rw-r--r-- 1 regicidalbomb regicidalbomb 14396 Jun 24 19:40 yay.mo

./usr/share/locale/cs:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 LC_MESSAGES

./usr/share/locale/cs/LC_MESSAGES:
total 16
-rw-r--r-- 1 regicidalbomb regicidalbomb 14324 Jun 24 19:40 yay.mo

./usr/share/locale/de:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 LC_MESSAGES

./usr/share/locale/de/LC_MESSAGES:
total 16
-rw-r--r-- 1 regicidalbomb regicidalbomb 14328 Jun 24 19:40 yay.mo

./usr/share/locale/en:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 LC_MESSAGES

./usr/share/locale/en/LC_MESSAGES:
total 4
-rw-r--r-- 1 regicidalbomb regicidalbomb 223 Jun 24 19:40 yay.mo

./usr/share/locale/es:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 LC_MESSAGES

./usr/share/locale/es/LC_MESSAGES:
total 16
-rw-r--r-- 1 regicidalbomb regicidalbomb 14392 Jun 24 19:40 yay.mo

./usr/share/locale/eu:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 LC_MESSAGES

./usr/share/locale/eu/LC_MESSAGES:
total 12
-rw-r--r-- 1 regicidalbomb regicidalbomb 9460 Jun 24 19:40 yay.mo

./usr/share/locale/fr_FR:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 LC_MESSAGES

./usr/share/locale/fr_FR/LC_MESSAGES:
total 16
-rw-r--r-- 1 regicidalbomb regicidalbomb 14854 Jun 24 19:40 yay.mo

./usr/share/locale/he:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 LC_MESSAGES

./usr/share/locale/he/LC_MESSAGES:
total 16
-rw-r--r-- 1 regicidalbomb regicidalbomb 15382 Jun 24 19:40 yay.mo

./usr/share/locale/id:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 LC_MESSAGES

./usr/share/locale/id/LC_MESSAGES:
total 16
-rw-r--r-- 1 regicidalbomb regicidalbomb 14327 Jun 24 19:40 yay.mo

./usr/share/locale/it_IT:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 LC_MESSAGES

./usr/share/locale/it_IT/LC_MESSAGES:
total 16
-rw-r--r-- 1 regicidalbomb regicidalbomb 14659 Jun 24 19:40 yay.mo

./usr/share/locale/ja:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 LC_MESSAGES

./usr/share/locale/ja/LC_MESSAGES:
total 12
-rw-r--r-- 1 regicidalbomb regicidalbomb 10635 Jun 24 19:40 yay.mo

./usr/share/locale/ko:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 LC_MESSAGES

./usr/share/locale/ko/LC_MESSAGES:
total 16
-rw-r--r-- 1 regicidalbomb regicidalbomb 14448 Jun 24 19:40 yay.mo

./usr/share/locale/pl_PL:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 LC_MESSAGES

./usr/share/locale/pl_PL/LC_MESSAGES:
total 12
-rw-r--r-- 1 regicidalbomb regicidalbomb 9105 Jun 24 19:40 yay.mo

./usr/share/locale/pt:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 LC_MESSAGES

./usr/share/locale/pt/LC_MESSAGES:
total 16
-rw-r--r-- 1 regicidalbomb regicidalbomb 14298 Jun 24 19:40 yay.mo

./usr/share/locale/pt_BR:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 LC_MESSAGES

./usr/share/locale/pt_BR/LC_MESSAGES:
total 16
-rw-r--r-- 1 regicidalbomb regicidalbomb 14421 Jun 24 19:40 yay.mo

./usr/share/locale/ru:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 LC_MESSAGES

./usr/share/locale/ru/LC_MESSAGES:
total 20
-rw-r--r-- 1 regicidalbomb regicidalbomb 17695 Jun 24 19:40 yay.mo

./usr/share/locale/ru_RU:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 LC_MESSAGES

./usr/share/locale/ru_RU/LC_MESSAGES:
total 16
-rw-r--r-- 1 regicidalbomb regicidalbomb 13188 Jun 24 19:40 yay.mo

./usr/share/locale/sv:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 LC_MESSAGES

./usr/share/locale/sv/LC_MESSAGES:
total 16
-rw-r--r-- 1 regicidalbomb regicidalbomb 14017 Jun 24 19:40 yay.mo

./usr/share/locale/tr:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 LC_MESSAGES

./usr/share/locale/tr/LC_MESSAGES:
total 16
-rw-r--r-- 1 regicidalbomb regicidalbomb 13606 Jun 24 19:40 yay.mo

./usr/share/locale/uk:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 LC_MESSAGES

./usr/share/locale/uk/LC_MESSAGES:
total 16
-rw-r--r-- 1 regicidalbomb regicidalbomb 13070 Jun 24 19:40 yay.mo

./usr/share/locale/zh_CN:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 LC_MESSAGES

./usr/share/locale/zh_CN/LC_MESSAGES:
total 16
-rw-r--r-- 1 regicidalbomb regicidalbomb 13320 Jun 24 19:40 yay.mo

./usr/share/locale/zh_TW:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 LC_MESSAGES

./usr/share/locale/zh_TW/LC_MESSAGES:
total 16
-rw-r--r-- 1 regicidalbomb regicidalbomb 12893 Jun 24 19:40 yay.mo

./usr/share/man:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 man8

./usr/share/man/man8:
total 8
-rw-r--r-- 1 regicidalbomb regicidalbomb 5767 Jun 24 19:40 yay.8.gz

./usr/share/zsh:
total 0
drwxr-xr-x 2 regicidalbomb regicidalbomb 60 Jun 24 19:40 site-functions

./usr/share/zsh/site-functions:
total 20
-rw-r--r-- 1 regicidalbomb regicidalbomb 19461 Jun 24 19:40 _yay

Offline

#24 2024-06-25 05:42:20

cryptearth
Member
Registered: 2024-02-03
Posts: 411

Re: Can't build most packages

RegicidalBomb wrote:

I'll see what outputs I can get outta this. This isn't really a big issue, but in the forums etiquette wiki page thing I read that you should always try solving the issue anyway (or something tongue).
I'm also planning on installing a new OS in Arch's place anyway, but again, the rule thingy.

Also, even wiping the disk won't get rid of the defect???? (Assuming going to that extent does, but tongue)

well - what seth refers to is this: as you likely want to keep your /home partition there's a chance that some config on it could be the root cause of the issue - and hence would get dragged along onto a fresh install
or to put it this way: in typical windows-style it coukd berequired to backup personal data to an externa media, wioe everything and start from scratch without re-using old configs

sure I do appreciate the efforts to find the root cause and rather fix it so others may can benefit from it - but by all the time spent already at least I already would had lost patience and reinstalled the OS

my point is this: building packages from source is one of the base functions of an arch system - if it's no longer possible either something went really bad or some user error caused some weird config stuck somewhere in /home so like a uefi-rootkit it dould "survive" even a reinstall of the os
back on windows when a system got damaged so secerely it often was the simplest and most only option to get all user data off the system (unless they already were on a second drive) and just wipe windows and do a fresh clean install
I'm aware that modern OSs are way more resilient and that linux should be recoverable once one understand what broke - but sometimes the best solution just is the simplest one

Offline

#25 2024-06-25 06:08:22

seth
Member
Registered: 2012-09-03
Posts: 54,484

Re: Can't build most packages

  -> Generating .PKGINFO file...
^C
==> ERROR: Aborted by user! Exiting...

THe path now looks clean and find gets you the correct result … what if you don't abort the build at this point?

Offline

Board footer

Powered by FluxBB