You are not logged in.

#1 2022-02-17 20:55:20

navailable
Member
From: Localhost
Registered: 2021-12-19
Posts: 25
Website

[Solved] pamac build error "Segmentation fault (core dumped)"

When I try to build anything AUR package by "pamac build" it fails.

Versions of pamac and libs I got;

pamac-aur     10.3.0-4
libpamac-aur     11.2.0-5
archlinux-appstream-data-pamac     1:20220107-1

I'm guessing it's the pamac-aur because of the version.

Last edited by navailable (2022-02-18 02:51:53)


We live in a kingdom of b#shit.

Offline

#2 2022-02-17 21:11:27

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,737

Offline

#3 2022-02-17 21:11:59

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,361
Website

Re: [Solved] pamac build error "Segmentation fault (core dumped)"

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 2022-02-17 21:22:25

navailable
Member
From: Localhost
Registered: 2021-12-19
Posts: 25
Website

Re: [Solved] pamac build error "Segmentation fault (core dumped)"

Core was generated by `pamac build protonvpn'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f7480b066ee in __strcmp_sse2_unaligned () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7f7476ffd640 (LWP 9377))]
(gdb) bt
#0  0x00007f7480b066ee in __strcmp_sse2_unaligned () at /usr/lib/libc.so.6
#1  0x00007f7480d5700e in g_str_equal () at /usr/lib/libglib-2.0.so.0
#2  0x00007f7480d3eb17 in g_ptr_array_find_with_equal_func () at /usr/lib/libglib-2.0.so.0
#3  0x00007f7480cdeb8a in pamac_alpm_utils_trans_check_prepare () at /usr/lib/libpamac.so.11
#4  0x00007f7480cb80a4 in ____lambda50__gthread_func () at /usr/lib/libpamac.so.11
#5  0x00007f7480da4845 in  () at /usr/lib/libglib-2.0.so.0
#6  0x00007f7480aeb5c2 in start_thread () at /usr/lib/libc.so.6
#7  0x00007f7480b70584 in clone () at /usr/lib/libc.so.6

We live in a kingdom of b#shit.

Offline

#5 2022-02-17 21:27:17

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,737

Re: [Solved] pamac build error "Segmentation fault (core dumped)"

pacman -Q glibc

If it says "2.35", did you rebuild pamac after updating glibc?

Offline

#6 2022-02-17 21:42:32

navailable
Member
From: Localhost
Registered: 2021-12-19
Posts: 25
Website

Re: [Solved] pamac build error "Segmentation fault (core dumped)"

It's glibc 2.35-2 I did not re-build pamac after updating. So only package I need to re-build is pamac-aur? Or with also libpamac-aur?


We live in a kingdom of b#shit.

Offline

#7 2022-02-17 21:45:09

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,737

Re: [Solved] pamac build error "Segmentation fault (core dumped)"

libpamac-aur is probably more relevant, but you should rebuild both.

Offline

#8 2022-02-17 22:38:38

navailable
Member
From: Localhost
Registered: 2021-12-19
Posts: 25
Website

Re: [Solved] pamac build error "Segmentation fault (core dumped)"

Updated both got same issue;

Core was generated by `pamac build protonvpn'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fca1a2b06ee in __strcmp_sse2_unaligned () from /usr/lib/libc.so.6
[Current thread is 1 (Thread 0x7fca14a03640 (LWP 1177))]
(gdb) bt
#0  0x00007fca1a2b06ee in __strcmp_sse2_unaligned () at /usr/lib/libc.so.6
#1  0x00007fca1a50100e in g_str_equal () at /usr/lib/libglib-2.0.so.0
#2  0x00007fca1a4e8b17 in g_ptr_array_find_with_equal_func ()
    at /usr/lib/libglib-2.0.so.0
#3  0x00007fca1a488b8a in pamac_alpm_utils_trans_check_prepare ()
    at /usr/lib/libpamac.so.11
#4  0x00007fca1a4620a4 in ____lambda50__gthread_func ()
    at /usr/lib/libpamac.so.11
#5  0x00007fca1a54e845 in  () at /usr/lib/libglib-2.0.so.0
#6  0x00007fca1a2955c2 in start_thread () at /usr/lib/libc.so.6
#7  0x00007fca1a31a584 in clone () at /usr/lib/libc.so.6

I also have libxcrypt-compat installed is that has anything to do with the error?


We live in a kingdom of b#shit.

Offline

#9 2022-02-18 02:51:17

navailable
Member
From: Localhost
Registered: 2021-12-19
Posts: 25
Website

Re: [Solved] pamac build error "Segmentation fault (core dumped)"

Well, I just gave up on pamac. It's way more fun cloning and building manually each package. smile


We live in a kingdom of b#shit.

Offline

#10 2022-02-18 07:45:31

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 73,737

Re: [Solved] pamac build error "Segmentation fault (core dumped)"

Offline

#11 2022-03-16 13:39:57

navailable
Member
From: Localhost
Registered: 2021-12-19
Posts: 25
Website

Re: [Solved] pamac build error "Segmentation fault (core dumped)"

Well I found the cause of problem. When I use "archlinux-appstream-data-pamac" pamac crashes. But using "archlinux-appstream-data" instead of pamac version of it, it does not crash.

So all the problem was archlinux-appstream-data-pamac  https://aur.archlinux.org/packages/arch … data-pamac

I hope they are already aware of the problem.


We live in a kingdom of b#shit.

Offline

Board footer

Powered by FluxBB