You are not logged in.

#1 2024-03-20 07:47:29

TheAirBlow
Member
Registered: 2022-07-05
Posts: 46

Weird install issue with makepkg

First, I've had an issue with the osu-lazer package - it would refuse to run and on first glance it looked like an issue with FUSE.
However, it was installed correctly and modprobe didn't do anything. Running it from the terminal, it said something like this:

This doesn't look like a squashfs image.

I downloaded the AppImage from the same URL as specified in the PKGBUILD file and replaced it manually. That worked fine.
I moved on without thinking too much about it, but now I have the same issue but with jetbrains-toolbox. I decided to dig deeper.

$ du -h pkg/jetbrains-toolbox/opt/jetbrains-toolbox/jetbrains-toolbox
184K    pkg/jetbrains-toolbox/opt/jetbrains-toolbox/jetbrains-toolbox
$ du -h src/jetbrains-toolbox-2.2.3.20090/jetbrains-toolbox 
70M     src/jetbrains-toolbox-2.2.3.20090/jetbrains-toolbox

Apparently, the binary in the package was for some reason only 184K in size, when it was supposed to be 70 MB.
Running the install command responsible (copied from PKGBUILD) manually works fine:

$ install -Dm755 src/jetbrains-toolbox-2.2.3.20090/jetbrains-toolbox pkg/jetbrains-toolbox/opt/jetbrains-toolbox/jetbrains-toolbox
$ du -h pkg/jetbrains-toolbox/opt/jetbrains-toolbox/jetbrains-toolbox
70M     pkg/jetbrains-toolbox/opt/jetbrains-toolbox/jetbrains-toolbox

What is happening? This happens every time I run makepkg!

Last edited by TheAirBlow (2024-03-20 07:47:51)

Offline

#2 2024-03-20 08:18:32

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,939
Website

Re: Weird install issue with makepkg

Sounds like the same issue as https://gitlab.archlinux.org/archlinux/ … /issues/19

Mod note: moving to pacman 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

#3 2024-03-20 10:07:11

TheAirBlow
Member
Registered: 2022-07-05
Posts: 46

Re: Weird install issue with makepkg

WorMzy wrote:

Sounds like the same issue as https://gitlab.archlinux.org/archlinux/ … /issues/19

Mod note: moving to pacman issues

Yeah, probably. Seems like AppImage executables also don't use ELF sections.

Offline

Board footer

Powered by FluxBB