Package Details: sc-im 0.8.4-1

Git Clone URL: https://aur.archlinux.org/sc-im.git (read-only, click to copy)
Package Base: sc-im
Description: A spreadsheet program based on SC
Upstream URL: https://github.com/andmarti1424/sc-im
Licenses: BSD
Conflicts: sc-im-git, scim-spreadsheet
Submitter: Rhinoceros
Maintainer: TwoFinger
Last Packager: TwoFinger
Votes: 61
Popularity: 1.20
First Submitted: 2015-09-05 01:44 (UTC)
Last Updated: 2024-08-20 14:26 (UTC)

Dependencies (4)

Required by (0)

Sources (2)

Pinned Comments

Latest Comments

1 2 3 4 5 6 .. 8 Next › Last »

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

Rhinoceros commented on 2024-05-14 11:28 (UTC)

@XXXJJJPPP I can replicate this on my machine, although I didn't try a clean chroot. You might give that a try.

I actually don't use this program any more, so I'm disowning.

If you can't solve the issue, then you could try posting upstream. Good luck!

XXXJJJPPP commented on 2024-05-14 10:55 (UTC)

In file included from formats/ods.c:51: /usr/include/zip.h:389:67: note: declared here 389 | ZIP_DEPRECATED("use 'zip_error_strerror' instead") ZIP_EXTERN int zip_error_to_str(char _Nonnull, zip_uint64_t, int, int); | ^~~~ formats/ods.c:97:28: error: implicit declaration of function ‘malloc’ [-Wimplicit-function-declaration] 97 | content = (char ) malloc(sb_content.size); | ^~ formats/ods.c:58:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’ 57 | #include "../utils/string.h" +++ |+#include <stdlib.h> 58 | #endif formats/ods.c:97:28: warning: incompatible implicit declaration of built-in function ‘malloc’ [-Wbuiltin-declaration-mismatch] 97 | content = (char ) malloc(sb_content.size); | ^~ formats/ods.c:97:28: note: include ‘<stdlib.h>’ or provide a declaration of ‘malloc’ formats/ods.c:101:13: error: implicit declaration of function ‘free’ [-Wimplicit-function-declaration] 101 | free(content); | ^~ formats/ods.c:101:13: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’ formats/ods.c:101:13: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] formats/ods.c:101:13: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’ formats/ods.c:120:30: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 120 | if (content != NULL) free(content); | ^~ formats/ods.c:120:30: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’ formats/ods.c:168:24: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 168 | free(strf); | ^~~~ formats/ods.c:168:24: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’ formats/ods.c:211:35: error: implicit declaration of function ‘atof’ [-Wimplicit-function-declaration] 211 | double l = atof((char ) value); | ^~ formats/ods.c:223:20: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 223 | free(st); | ^~ formats/ods.c:223:20: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’ formats/ods.c:243:5: warning: incompatible implicit declaration of built-in function ‘free’ [-Wbuiltin-declaration-mismatch] 243 | free(content); | ^~~~ formats/ods.c:243:5: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’ make: *** [<builtin>: formats/ods.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 encounted this error installing sc-im using yay both on wsl2 and local machine
after using archinstall(My English is poor, hope you can understand my meaning : )

Rhinoceros commented on 2024-03-23 01:20 (UTC)

Thanks @AlcovesSap. I've edited the PKGBUILD with a change that hopefully fixes this.

AlcovesSap commented on 2024-03-22 15:53 (UTC) (edited on 2024-03-22 16:01 (UTC) by AlcovesSap)

In latest pacman upgrade,the /etc/makepkg.conf has

CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions \
        -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security \

as default.(Commit 71d2dd10 RFC 17: Increase _FORTIFY_SOURCE level to 3)

I believe the flag -D_FORTIFY_SOURCE=3 makes sc-im easy to crash. In my case with

***buffer overflow detected***:terminated
Aborted (core dumped)

Changing the flag back to -D_FORTIFY_SOURCE=2 and rebuild sc-im save my problem.

If anyone has the same issue.Hope this will help. :)

Rhinoceros commented on 2021-11-05 00:37 (UTC)

@nesk_aur base-devel, which includes bison and patch, is assumed to be installed when building packages. As per the wiki, this should not be in the makedepends array.

Thanks for the information on aarch64. I've added it to the PKGBUILD.

nesk_aur commented on 2021-11-04 20:31 (UTC) (edited on 2021-11-04 20:31 (UTC) by nesk_aur)

Additional build-time deps: bison, patch. This pkg builds fine on aarch64.