You are not logged in.

#1 2019-06-16 09:49:47

_JZA_
Member
Registered: 2014-08-28
Posts: 27

Analog to header or dev packages in Arch

I am having an issue with some Arch packages not having the binaries, even after several reinstalls the binaries show but they are blank, I wonder if I can compile the package, so I wonder if there are header packages or dev packages, that include the header sources which can make it easier to compile at installation. Something similar to the RPMS

I know the contributed packages have the PKGBUILD, however is it possible to get it through pacman or a command that allows me to add the PKGBUILD.

Regards.

Last edited by _JZA_ (2019-06-16 09:55:03)

Offline

#2 2019-06-16 10:31:55

Allan
Member
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,909
Website

Re: Analog to header or dev packages in Arch

All headers etc are included in a package.  Arch generally does not split its package.

But "blank" binaries is something your should figure out rather than work around.   What do you mean by blank?

Offline

#3 2019-06-16 12:29:22

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 22,372
Website

Re: Analog to header or dev packages in Arch

I'm also curious what you mean by blank binaries - solve the actual problem, don't just try to sweep it under the rug.

But for your actual question as stated, it sounds like you are not looking for the equivalent of dev packages: e.g., cairo-dev on a debian system does not give you the source files to build cairo, it just gives you headers for other projects to be compiled against cairo.  In arch, the headers are included in the cairo package, so if cairo is installed, you can write and compile code that links to cairo.  But if you want to rebuild cairo itself, you need the source files, not just headers.

To rebuild a package, use the ABS.  The tool you are looking for is asp:
https://wiki.archlinux.org/index.php/Arch_Build_System


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2019-06-17 05:21:45

_JZA_
Member
Registered: 2014-08-28
Posts: 27

Re: Analog to header or dev packages in Arch

This issue has been noted on the forum, but I havent been able to solve it with the solutions mentioned on the forum. However, I will give it a new try. The issue Iam facing is that the libqt5.so point to empty libraries.

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: libQt5Core.so.5: cannot open shared object file: No such file or directory

althought:

-rww-r--r-- 1 jza jza    1128 Apr 24 01:27 /usr/lib/libQt5Core.prl
lrwxrwxrwx 1 jza jza      20 Apr 24 01:27 /usr/lib/libQt5Core.so -> libQt5Core.so.5.12.3
lrwxrwxrwx 1 jza jza      20 Apr 24 01:27 /usr/lib/libQt5Core.so.5 -> libQt5Core.so.5.12.3
lrwxrwxrwx 1 jza jza      20 Apr 24 01:27 /usr/lib/libQt5Core.so.5.12 -> libQt5Core.so.5.12.3
-rwxr-xr-x 1 jza jza 5426824 Apr 24 01:27 /usr/lib/libQt5Core.so.5.12.3

Offline

#5 2019-06-17 06:46:00

seth
Member
Registered: 2012-09-03
Posts: 13,062

Re: Analog to header or dev packages in Arch

What has been noted where? This looks like a python fuckup (library path or whatever, there's no way near enough information provided to actually say)

Offline

#6 2019-06-17 07:33:08

Allan
Member
From: Brisbane, AU
Registered: 2007-06-09
Posts: 10,909
Website

Re: Analog to header or dev packages in Arch

_JZA_ wrote:
-rww-r--r-- 1 jza jza    1128 Apr 24 01:27 /usr/lib/libQt5Core.prl
lrwxrwxrwx 1 jza jza      20 Apr 24 01:27 /usr/lib/libQt5Core.so -> libQt5Core.so.5.12.3
lrwxrwxrwx 1 jza jza      20 Apr 24 01:27 /usr/lib/libQt5Core.so.5 -> libQt5Core.so.5.12.3
lrwxrwxrwx 1 jza jza      20 Apr 24 01:27 /usr/lib/libQt5Core.so.5.12 -> libQt5Core.so.5.12.3
-rwxr-xr-x 1 jza jza 5426824 Apr 24 01:27 /usr/lib/libQt5Core.so.5.12.3

Why does your user own those files and not root?

Offline

#7 2019-06-17 07:43:22

arojas
Developer
From: Spain
Registered: 2011-10-09
Posts: 1,645

Re: Analog to header or dev packages in Arch

Which kernel are you using?

Online

Board footer

Powered by FluxBB