Error with boost174 libs package

Not sure how to fix the following error, Package just won’t build:

Resolving dependencies…
Checking inter-conflicts…
Edit boost174 build files

Checking boost174-libs dependencies…
Warning: garuda-settings-manager: local (1.0.2-5) is newer than garuda (1.0.2-3)
Warning: garuda-settings-manager-kcm: local (1.0.2-5) is newer than garuda (1.0.2-3)
Resolving dependencies…
Checking inter-conflicts…

Building boost174…
==> ERROR: PKGBUILD does not exist.

Also providing inxi:

reggie@garudaK in ~
╰─λ garuda-inxi
System:
Kernel: 6.6.10-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
clocksource: tsc available: hpet,acpi_pm
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=d5f354c6-7622-48a6-bcef-bc670f2bd476 rw rootflags=subvol=@
quiet loglevel=3 ibt=off
Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12 wm: kwin_x11 vt: 2
dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Vmware System: VMware product: VMware Virtual Platform v: N/A
serial: Chassis: No Enclosure type: 1
serial:
Mobo: Intel model: 440BX Desktop Reference Platform
serial: BIOS: Phoenix v: 6.00 date: 11/12/2020
CPU:
Info: model: 11th Gen Intel Core i9-11900H bits: 64 type: MCP SMP
arch: Tiger Lake gen: core 11 level: v4 note: check built: 2020
process: Intel 10nm family: 6 model-id: 0x8D (141) stepping: 1
microcode: 0x4E
Topology: cpus: 2x cores: 4 smt: cache:
L1: 2x 320 KiB (640 KiB) desc: d-4x48 KiB; i-4x32 KiB L2: 2x 5 MiB (10 MiB)
desc: 4x1.2 MiB L3: 2x 24 MiB (48 MiB) desc: 1x24 MiB
Speed (MHz): avg: 2496 min/max: N/A cores: 1: 2496 2: 2496 3: 2496 4: 2496
5: 2496 6: 2496 7: 2496 8: 2496 bogomips: 39936
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3
Vulnerabilities:
Graphics:
Device-1: VMware SVGA II Adapter driver: vmwgfx v: 2.20.0.0 ports:
active: Virtual-1 empty: Virtual-2, Virtual-3, Virtual-4, Virtual-5,
Virtual-6, Virtual-7, Virtual-8 bus-ID: 00:0f.0 chip-ID: 15ad:0405
class-ID: 0300
Display: x11 server: X.Org v: 21.1.10 with: Xwayland v: 23.2.3
compositor: kwin_x11 driver: X: loaded: vmware unloaded: modesetting
alternate: fbdev,vesa dri: vmwgfx gpu: vmwgfx display-ID: :0 screens: 1
Screen-1: 0 s-res: 1918x998 s-dpi: 96 s-size: 505x263mm (19.88x10.35")
s-diag: 569mm (22.42")
Monitor-1: Virtual-1 mapped: Virtual1 res: 1918x998 hz: 60 size: N/A
modes: max: 1918x998 min: 640x480
API: EGL v: 1.5 platforms: device: 0 egl: 1.4 drv: vmwgfx device: 1
drv: swrast gbm: egl: 1.4 drv: vmwgfx surfaceless: egl: 1.4 drv: vmwgfx x11:
egl: 1.4 drv: vmwgfx inactive: wayland
API: OpenGL v: 4.5 compat-v: 4.3 vendor: vmware mesa v: 23.3.2-arch1.2
glx-v: 1.4 direct-render: yes renderer: SVGA3D; build: RELEASE; LLVM;
device-ID: 15ad:0405 memory: 1000 KiB unified: no
API: Vulkan Message: No Vulkan data available.
Audio:
Device-1: Ensoniq ES1371/ES1373 / Creative Labs CT2518 driver: snd_ens1371
v: kernel bus-ID: 02:02.0 chip-ID: 1274:1371 class-ID: 0401
API: ALSA v: k6.6.10-zen1-1-zen status: kernel-api tools: N/A
Server-1: PipeWire v: 1.0.0 status: active with: 1: pipewire-pulse
status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
4: pw-jack type: plugin tools: pactl,pw-cat,pw-cli,wpctl
Network:
Device-1: Intel 82371AB/EB/MB PIIX4 ACPI vendor: VMware Virtual Machine
type: network bridge driver: N/A modules: i2c_piix4 port: N/A
bus-ID: 00:07.3 chip-ID: 8086:7113 class-ID: 0680
Device-2: Intel 82545EM Gigabit Ethernet vendor: VMware PRO/1000 MT
Single Port driver: e1000 v: kernel port: 2000 bus-ID: 02:01.0
chip-ID: 8086:100f class-ID: 0200
IF: ens33 state: up speed: 1000 Mbps duplex: full mac:
Bluetooth:
Device-1: VMware Virtual Bluetooth Adapter driver: btusb v: 0.8 type: USB
rev: 2.0 speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-2.1:4
chip-ID: 0e0f:0008 class-ID: e001 serial:
Report: btmgmt ID: hci0 rfk-id: 0 state: up address: N/A
Drives:
Local Storage: total: 40 GiB used: 31.97 GiB (79.9%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda maj-min: 8:0 vendor: VMware model: Virtual S size: 40 GiB
block-size: physical: 512 B logical: 512 B tech: N/A serial: N/A fw-rev: 1.0
scheme: MBR
Partition:
ID-1: / raw-size: 39.99 GiB size: 39.99 GiB (100.00%)
used: 31.97 GiB (79.9%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
ID-2: /home raw-size: 39.99 GiB size: 39.99 GiB (100.00%)
used: 31.97 GiB (79.9%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
ID-3: /var/log raw-size: 39.99 GiB size: 39.99 GiB (100.00%)
used: 31.97 GiB (79.9%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
ID-4: /var/tmp raw-size: 39.99 GiB size: 39.99 GiB (100.00%)
used: 31.97 GiB (79.9%) fs: btrfs dev: /dev/sda1 maj-min: 8:1
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default) zswap: no
ID-1: swap-1 type: zram size: 9.53 GiB used: 1.05 GiB (11.0%)
priority: 100 comp: zstd avail: lzo,lzo-rle,lz4,lz4hc,842 max-streams: 8
dev: /dev/zram0
Sensors:
Src: lm-sensors+/sys Message: No sensor data found using /sys/class/hwmon
or lm-sensors.
Info:
Processes: 378 Uptime: 46m wakeups: 0 Memory: total: 9.88 GiB
available: 9.53 GiB used: 5.18 GiB (54.4%) Init: systemd v: 255
default: graphical tool: systemctl Compilers: gcc: 13.2.1 Packages: 1435
pm: pacman pkgs: 1417 libs: 371 tools: gnome-software,octopi,pamac,paru
pm: flatpak pkgs: 18 Shell: fish v: 3.7.0 running-in: konsole inxi: 3.3.31
Garuda (2.6.22-1):
System install date: 2023-11-10
Last full system update: 2024-01-11
Is partially upgraded: No
Relevant software: snapper NetworkManager dracut
Windows dual boot:
Failed units:

╭─reggie@garudaK in ~ took 8s

THis is an issue on multiple computers which run Garuda.

Also adding output from bauh:

git clone https://aur.archlinux.org/boost174.git --depth=1 /tmp/bauh@reggie/arch/build_1705004263/boost174

Cloning into ‘/tmp/bauh@reggie/arch/build_1705004263/boost174’…

Using custom makepkg.conf → /home/reggie/.config/bauh/arch/makepkg.conf

makepkg -ALcfm --check --noarchive --nobuild --noprepare --nodeps -p /tmp/bauh@reggie/arch/build_1705004263/boost174/PKGBUILD_CUSTOM --config=/home/reggie/.config/bauh/arch/makepkg.conf

/tmp/bauh@reggie/arch/build_1705004263/boost174/PKGBUILD_CUSTOM: line 5: boost174: command not found

/tmp/bauh@reggie/arch/build_1705004263/boost174/PKGBUILD_CUSTOM: line 6: boost174-libs: command not found

/tmp/bauh@reggie/arch/build_1705004263/boost174/PKGBUILD_CUSTOM: line 7: syntax error near unexpected token `)’

/tmp/bauh@reggie/arch/build_1705004263/boost174/PKGBUILD_CUSTOM: line 7: `)’

==> ERROR: Failed to source /tmp/bauh@reggie/arch/build_1705004263/boost174/PKGBUILD_CUSTOM

makepkg -ALcsmf --skipchecksums --nodeps -p /tmp/bauh@reggie/arch/build_1705004263/boost174/PKGBUILD_CUSTOM

/tmp/bauh@reggie/arch/build_1705004263/boost174/PKGBUILD_CUSTOM: line 5: boost174: command not found

/tmp/bauh@reggie/arch/build_1705004263/boost174/PKGBUILD_CUSTOM: line 6: boost174-libs: command not found

/tmp/bauh@reggie/arch/build_1705004263/boost174/PKGBUILD_CUSTOM: line 7: syntax error near unexpected token `)’

/tmp/bauh@reggie/arch/build_1705004263/boost174/PKGBUILD_CUSTOM: line 7: `)’

==> ERROR: Failed to source /tmp/bauh@reggie/arch/build_1705004263/boost174/PKGBUILD_CUSTOM

rm -rf /tmp/bauh@reggie/arch/build_1705004263

Package “boost174-libs” upgrade failed

  • The operation logs can be found at “/tmp/bauh@reggie/logs/upgrade/upgrade_2024111_1705004263.log”

  • The upgrade summary can be found at “/tmp/bauh@reggie/logs/upgrade/upgrade_2024111_1705004263_summary.txt”

Can you please use “code tags” (~~~, or the </> button) on the terminal text?

Is it some code that needs boost 1.74 rather than the 1.83.0-4 from extra?
Is it about boost or boost-libs?

Using custom makepkg.conf → /home/reggie/.config/bauh/arch/makepkg.conf

What’s in there?

PKGBUILD_CUSTOM

What’s in there?


Now trying to build the 174 from git clone https://aur.archlinux.org/boost174.git, will be a long while but the build already begun compiling, so I guess it’s a local problem with the makepkg.conf.

Summary
fish❯ git clone https://aur.archlinux.org/boost174.git
Cloning into 'boost174'...
remote: Enumerating objects: 23, done.
remote: Counting objects: 100% (23/23), done.
remote: Compressing objects: 100% (21/21), done.
remote: Total 23 (delta 1), reused 23 (delta 1), pack-reused 0
Receiving objects: 100% (23/23), 18.43 KiB | 3.07 MiB/s, done.
Resolving deltas: 100% (1/1), done.

fish❯ cd boost174/

fish❯ makepkg
==> Making package: boost174 1.74.0-5 (gio 11 gen 2024, 21:46:49)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading boost_1_74_0.tar.bz2...
  % 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  104M  100  104M    0     0   419k      0  0:04:15  0:04:15 --:--:--  636k
  -> Downloading boost174-ublas-c++20-allocator-patch1.patch...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  3427  100  3427    0     0  10253      0 --:--:-- --:--:-- --:--:-- 10322
  -> Downloading boost174-ublas-c++20-allocator-patch2.patch...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 11337  100 11337    0     0  29380      0 --:--:-- --:--:-- --:--:-- 29523
  -> Downloading boost174-ublas-c++20-iterator.patch...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  2590  100  2590    0     0   7616      0 --:--:-- --:--:-- --:--:--  7662
  -> Found python311-compatibility.patch
==> Validating source files with sha256sums...
    boost_1_74_0.tar.bz2 ... Passed
    boost174-ublas-c++20-allocator-patch1.patch ... Passed
    boost174-ublas-c++20-allocator-patch2.patch ... Passed
    boost174-ublas-c++20-iterator.patch ... Passed
    python311-compatibility.patch ... Passed
==> Extracting sources...
  -> Extracting boost_1_74_0.tar.bz2 with bsdtar
==> Starting prepare()...
patching file boost/numeric/ublas/storage.hpp
patching file boost/numeric/ublas/matrix.hpp
patching file boost/numeric/ublas/storage.hpp
patching file boost/numeric/ublas/storage_sparse.hpp
patching file boost/numeric/ublas/vector.hpp
patching file libs/numeric/ublas/test/Jamfile
Hunk #1 succeeded at 252 with fuzz 1.
patching file libs/numeric/ublas/test/minimal_allocator_test.cpp
patching file boost/numeric/ublas/detail/iterator.hpp
patching file boost/python/detail/wrap_python.hpp
patching file boost/python/object/make_instance.hpp
patching file libs/python/src/exec.cpp
patching file libs/python/src/object/class.cpp
patching file libs/python/src/object/enum.cpp
patching file libs/python/src/object/function.cpp
patching file libs/python/src/object/life_support.cpp
==> Starting build()...
/.mnt/data/.share/Projects/temp/boost174/src/boost_1_74_0/tools/build /.mnt/data/.share/Projects/temp/boost174/src
Building the B2 engine..

###
###
### Using 'gcc' toolset.
###
###

> g++ --version
g++ (GCC) 13.2.1 20230801
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


###
###

> g++ -x c++ -std=c++11 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS -O2 -s -DNDEBUG builtins.cpp class.cpp command.cpp compile.cpp constants.cpp cwd.cpp debug.cpp debugger.cpp execcmd.cpp filesys.cpp frames.cpp function.cpp glob.cpp hash.cpp hcache.cpp hdrmacro.cpp headers.cpp jam.cpp jamgram.cpp lists.cpp make.cpp make1.cpp md5.cpp mem.cpp modules.cpp native.cpp object.cpp option.cpp output.cpp parse.cpp pathsys.cpp regexp.cpp rules.cpp scan.cpp search.cpp jam_strings.cpp startup.cpp subst.cpp sysinfo.cpp timestamp.cpp variable.cpp w32_getreg.cpp modules/order.cpp modules/path.cpp modules/property-set.cpp modules/regex.cpp modules/sequence.cpp modules/set.cpp execunix.cpp fileunix.cpp pathunix.cpp -o b2

...

(takes ages and I killed the compile midway)


I advise to reinstall them to avoid potential problems with those two.

2 Likes

appreciate the response but the first part of the response looks a bit foreign to me. could you please break it down just a bit more. the way I see it I’m thinking i need to open up a file in this case “makepkg.conf” via an editor to look through it. Am I on the right path or no?

Yes, you’re on the right path.

I never used bauh so I don’t know if it creates that file by itself, I assumed (mother of all you-know-what LOL) that you did.
So yes, check the /home/reggie/.config/bauh/arch/makepkg.conf, if you can’t find any error post it here I’ll take a look but I don’t promise to understand it.

I have never seen a PKGBUILD_CUSTOM either but there are clearly errors in there:

/tmp/bauh@reggie/arch/build_1705004263/boost174/PKGBUILD_CUSTOM: line 5: boost174: command not found

/tmp/bauh@reggie/arch/build_1705004263/boost174/PKGBUILD_CUSTOM: line 6: boost174-libs: command not found

/tmp/bauh@reggie/arch/build_1705004263/boost174/PKGBUILD_CUSTOM: line 7: syntax error near unexpected token `)’

/tmp/bauh@reggie/arch/build_1705004263/boost174/PKGBUILD_CUSTOM: line 7: `)’

==> ERROR: Failed to source /tmp/bauh@reggie/arch/build_1705004263/boost174/PKGBUILD_CUSTOM

the packages have a PKGBUILD (without _CUSTOM) and it works.


and please, please, use those ~~~ code tags it makes it so much easier to read thanks.


Anyways. 99 bottles on the wall, take one down and pass it around.

Is it some code that needs boost 1.74 rather than the 1.83.0-4 from extra?

I mean, do you really need to build an old version when there’s a more recent one available? I’ll assume guess it’s a dependecy of something else?

1 Like

OK thanks will check it out. If I can’t figure it out will just eliminate the package which requires Boost.

I’m sure there’s an alternative to VPN Unlimited.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.