dev branch should build with gcc15. main branch should get updated in a couple of days. thanks for maintaining this package.
Search Criteria
Package Details: sc-im 0.8.4-3
Package Actions
Git Clone URL: | https://aur.archlinux.org/sc-im.git (read-only, click to copy) |
---|---|
Package Base: | sc-im |
Description: | A ncurses vim-like terminal spreadsheet program, based on SC |
Upstream URL: | https://github.com/andmarti1424/sc-im |
Licenses: | BSD-4-clause |
Conflicts: | sc-im-git |
Submitter: | Rhinoceros |
Maintainer: | blackthorne |
Last Packager: | blackthorne |
Votes: | 61 |
Popularity: | 0.040899 |
First Submitted: | 2015-09-05 01:44 (UTC) |
Last Updated: | 2025-05-08 02:31 (UTC) |
Dependencies (12)
- glibc (glibc-gitAUR, glibc-linux4AUR, glibc-eacAUR)
- ncurses (ncurses-gitAUR)
- gcc14 (make)
- gnuplot (gnuplot4AUR, gnuplot-gitAUR, gnuplot-noguiAUR, gnuplot-headlessAUR) (optional) – create graphs
- libxlsxwriterAUR (optional) – export to xlsx. Requires rebuild of sc-im
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR) (optional) – for xlsx import support
- libzip (libzip-gitAUR) (optional) – for ods import support
- lua (optional) – for lua scripting
- python-xlsxwriter (optional) – for xlsx export support
- tmux (tmux-sixel-gitAUR, tmux-gitAUR) (optional) – clipboard support
- wl-clipboard (wl-clipboard-gitAUR, wl-clipboard-rs-gitAUR, wl-clipboard-rsAUR) (optional) – clipboard support
- xclip (wl-clipboard-x11AUR, xclip-gitAUR) (optional) – clipboard support
Required by (0)
Sources (2)
andmarti1424 commented on 2025-05-08 11:21 (UTC)
blackthorne commented on 2025-05-08 01:05 (UTC)
yup sorry i thought i had already done that
m040601 commented on 2025-05-07 21:34 (UTC)
... i've changed the PKGBUILD to use gcc14 until upstream fixes a couple of gcc14->15 transition bugs.
11 depends=('libxml2' 'libzip' 'ncurses' 'gcc14')
Shouldnt gcc14 be a "makedepends" instead of "depends" ?
Why do you need too keep an old version of gcc after "sc-im" has been built and installed ?
blackthorne commented on 2025-05-07 06:53 (UTC) (edited on 2025-05-07 06:55 (UTC) by blackthorne)
package should be working now. the build failure was because the program won't compile properly with gcc15. i've changed the PKGBUILD to use gcc14 until upstream fixes a couple of gcc14->15 transition bugs.
andmarti1424 commented on 2025-05-05 11:39 (UTC)
please change line.c:2040 line to void * do_autobackup(void* vp) { and retry.
m040601 commented on 2025-05-02 12:00 (UTC) (edited on 2025-05-02 17:30 (UTC) by m040601)
Fails to start as of 2025-05-02 ,
$ sc-im
sc-im: error while loading shared libraries: libxml2.so.2: cannot open shared object file: No such file or directory
Fails to build as of 2025-05-02 ,
/usr/include/features.h:435:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp]
435 | # warning _FORTIFY_SOURCE requires compiling with optimization (-O)
| ^~~~~~~
file.c: In function ‘handle_backup’:
file.c:2091:62: error: passing argument 3 of ‘pthread_create’ from incompatible pointer type [-Wincompatible-pointer-types]
2091 | pthread_exists = (pthread_create(&fthread, NULL, do_autobackup, NULL) == 0) ? 1 : 0;
| ^~~~~~~~~~~~~
| |
| void * (*)(void)
In file included from file.c:87:
/usr/include/pthread.h:204:36: note: expected ‘void * (*)(void *)’ but argument is of type ‘void * (*)(void)’
204 | void *(*__start_routine) (void *),
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
file.c:2033:8: note: ‘do_autobackup’ declared here
2033 | void * do_autobackup() {
| ^~~~~~~~~~~~~
make: *** [<builtin>: file.o] Error 1
==> ERROR: A failure occurred in build().
Aborting...
-> error making: sc-im-exit status 4
-> Failed to install the following packages. Manual intervention is required:
sc-im - exit status 4
I am speculating here. Maybe related to the recent Archlinux official "libxml2" update from 2.13 to 2.14 ??? It triggered a lot of rebuilds
yay -Si sc-im
Name : sc-im
Version : 0.8.4-1
Depends On : libxml2 libzip
Optional Deps : libxlsxwriter gnuplot
Conflicts With : scim-spreadsheet sc-im-git
Last Modified : Tue 20 Aug 2024 03:26:58 PM WEST
Maintainer : TwoFinger
pacman -Si libxml2
Name : libxml2
Version : 2.14.2-2
Provides : libxml2.so=16-64
Depends On : bash glibc icu readline xz zlib
Packager : Jan Alexander Steffens (heftig) <heftig@archlinux.org>
Build Date : Sat 26 Apr 2025 11:57:54 PM WEST
pacman -Ql libxml2
....
libxml2 /usr/lib/libxml2.so
libxml2 /usr/lib/libxml2.so.16
libxml2 /usr/lib/libxml2.so.16.0.2
....
locate libxml2.so
/usr/lib/libxml2.so /usr/lib/libxml2.so.16 /usr/lib/libxml2.so.16.0.2
So there is no "libxml2.so.2" in a recent "libmxl2". Notice the .2 at
the end. Could it be somewhere else ?
pacman -F libxml2.so.2
extra/libxml2-legacy 2.13.8-1 usr/lib/libxml2-legacy/lib/libxml2.so.2 usr/lib/libxml2.so.2
Seems it moved into this "legacy" one ?
https://wiki.archlinux.org/title/System_maintenance#Be_careful_with_unofficial_packages
https://archlinux.org/packages/?name=rebuild-detector
$ checkrebuild -v
foreign rdrview-git foreign sc-im
ldd /usr/bin/rdrview
libxml2.so.2 => not found
ldd /usr/bin/sc-im
libxml2.so.2 => not found
```
andmarti1424 commented on 2024-08-03 11:04 (UTC)
I maintain the app but cannot maintain the package on arch. Sorry
alowain commented on 2024-08-03 06:18 (UTC)
Although the issue has been fixed (release pending) if you want you could just append the following to the end of sc-im_arch_0.8.3.patch
:
+++ formats/ods.c
@@ -50,6 +50,7 @@
#include <errno.h>
#include <zip.h>
#include <libxml/parser.h>
+#include <stdlib.h>
#include "../tui.h"
#include "../cmds/cmds.h"
and skip the SHA-256 checksums (beware! don't do this as this is a security concern).
Also thank you Rhinoceros for your previous work.
alureon commented on 2024-07-31 07:50 (UTC)
Define "soon"
plg commented on 2024-05-20 12:07 (UTC)
It's an upstream issue with a simple fix that will be merged soon, see https://github.com/andmarti1424/sc-im/issues/872
Pinned Comments
blackthorne commented on 2025-05-07 06:53 (UTC) (edited on 2025-05-07 06:55 (UTC) by blackthorne)
package should be working now. the build failure was because the program won't compile properly with gcc15. i've changed the PKGBUILD to use gcc14 until upstream fixes a couple of gcc14->15 transition bugs.