Package Details: spooles 2.2-8

Git Clone URL: https://aur.archlinux.org/spooles.git (read-only, click to copy)
Package Base: spooles
Description: SParse Object Oriented Linear Equations Solver
Upstream URL: https://www.netlib.org/linalg/spooles
Licenses: GPL
Submitter: None
Maintainer: gborzi
Last Packager: gborzi
Votes: 13
Popularity: 0.55
First Submitted: 2008-11-04 08:29 (UTC)
Last Updated: 2024-09-03 02:17 (UTC)

Latest Comments

1 2 3 Next › Last »

cwoelf commented on 2026-06-16 17:21 (UTC) (edited on 2026-06-16 17:23 (UTC) by cwoelf)

Hi, could you please consider adding this patch to your spooles.patch:

https://build.opensuse.org/projects/science/packages/spooles/files/patch-spooles-I2Ohash-from-debian?expand=1

Without this, spooles segfaults in some workloads:

            Stack trace of thread 69795:
            #0  0x00007f7439f0ddef I2Ohash_insert (libspooles.so.2.2 + 0x81def)
            #1  0x00007f7439efa26d FrontMtx_splitUpperMatrices (libspooles.so.2.2 + 0x6e26d)
            #2  0x00007f7439ef411a FrontMtx_postProcess (libspooles.so.2.2 + 0x6811a)
            #3  0x00005567c39fe4f5 factor_MT (CalculiX + 0x1e14f5)
            #4  0x00005567c39fe837 spooles_factor (CalculiX + 0x1e1837)
            #5  0x00005567c3b84d60 compfluidfem (CalculiX + 0x367d60)
            #6  0x00005567c39c2363 nonlingeo (CalculiX + 0x1a5363)
            #7  0x00005567c3825aac main (CalculiX + 0x8aac)
            #8  0x00007f743a027741 n/a (libc.so.6 + 0x27741)
            #9  0x00007f743a027879 __libc_start_main (libc.so.6 + 0x27879)
            #10 0x00005567c3830475 _start (CalculiX + 0x13475)

I rebuild with the patch added and confirmed the segfault is fixed.

Dunadan commented on 2021-07-16 00:39 (UTC)

Thank you, I have compiled the package successfully.

gborzi commented on 2021-06-08 22:48 (UTC)

I've been finally able to reproduce the problem and fix it. The default option for CFLAGS in makepkg.conf includes a "-Werror=format-security" which stops the compilation. So, I deactivated it in the CFLAGS with:

make CFLAGS="$CFLAGS -Wno-error=format-security" lib

and now it compiles.

Dunadan commented on 2021-06-02 10:15 (UTC)

Yes, I am using gcc version 11.1.0.

gborzi commented on 2021-05-31 02:08 (UTC)

I'm starting to think it's related to the gcc version. I have gcc version 10.2.0, perhaps you have 11.1.0?

Dunadan commented on 2021-05-30 20:25 (UTC)

Unfortunately, the same error occurs after building again normally. I also built it with the CFLAGS environment variable set to -Wno-error, and the error still shows up. I then tried physically setting the variable in the PKGBUILD to -Wno-error and the package built, but I do not think that this is the best solution as it does not allow for use of the environment variable.

gborzi commented on 2021-05-30 16:30 (UTC)

I've added a patch that removes the compilation warnings. Please try it.

Dunadan commented on 2021-05-30 07:10 (UTC)

I tried building in clean chroot and the same error message turns up. @gborzi, I can see why you think it is related to the CFLAGS values, however, I have no value assigned to the CFLAGS environment variable.

gborzi commented on 2021-05-29 13:26 (UTC)

I still think it's related to CFLAGS values in makepkg.conf.

haawda commented on 2021-05-29 13:17 (UTC)

Builds for me in a clean chroot.