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

« First ‹ Previous 1 2 3 4 5 6 7 8 Next › Last »

luukvbaal commented on 2021-03-19 08:03 (UTC) (edited on 2021-03-19 08:04 (UTC) by luukvbaal)

Getting sc-im-0.8.0.tar.gz ... FAILED arch.0.8.0.patch ... Passed ==> ERROR: One or more files did not pass the validity check! please check.

Rhinoceros commented on 2021-02-26 04:08 (UTC)

@crossgear Sorry, I didn't mean the Markdown, but thanks for fixing up the formatting anyway. I actually meant the Warning: sc-im is only available from AUR parts, etc., which I didn't recognise. The "basic" way to install is manually doing makepkg -s, which excludes all the additional things that can go wrong when using an AUR helper to install packages. It's a good fallback test when things go wrong.

Having said that, I don't know anything about Manjaro really, so the issues might be related to different version or defaults of patch? Or more likely the paths where it builds packages? If you can't get it to build, it might be more helpful to ask at a Manjaro forum.

<deleted-account> commented on 2021-02-26 03:45 (UTC)

@Rhinoceros No, I've just never used Markdown before. I was redirected from Github to comment here. Never tried makepkg -s, but I can try. Maybe worth noting that I'm running Manjaro.

Rhinoceros commented on 2021-02-26 03:33 (UTC)

@crossgear I just tried again and it works for me. What is all that extra text you posted? Are you using some AUR helper? Can you test with just a manual makepkg -s?

<deleted-account> commented on 2021-02-26 03:25 (UTC)

When attempting to install, I get this error output:

Warning: sc-im is only available from AUR

Preparing...

Cloning sc-im build files...

Checking sc-im dependencies...

Resolving dependencies...

Checking inter-conflicts...

To build (1):

sc-im 0.7.0-2 AUR

Edit build files : [e]

Apply transaction ? [e/y/N] y

Building sc-im...

==> Making package: sc-im 0.7.0-2 (Wed 24 Feb 2021 07:25:11 PM CST)

==> Checking runtime dependencies...

==> Checking buildtime dependencies...

==> Retrieving sources...

-> Found sc-im-0.7.0.tar.gz

-> Found arch.patch

-> Found 258.patch

==> Validating source files with sha256sums...

sc-im-0.7.0.tar.gz ... Passed

arch.patch ... Passed

258.patch ... Passed

==> Removing existing $srcdir/ directory...

==> Extracting sources...

-> Extracting sc-im-0.7.0.tar.gz with bsdtar

==> Starting prepare()...

can't find file to patch at input line 3

Perhaps you should have used the -p or --strip option?

The text leading up to this was:

--------------------------

|--- Makefile.orig 2017-12-14 04:48:59.000000000 +1100

|+++ Makefile 2017-12-15 09:23:07.776195283 +1100

--------------------------

File to patch:

Skip this patch? [y] y

Skipping patch.

2 out of 2 hunks ignored

==> ERROR: A failure occurred in prepare().

Aborting...

Rhinoceros commented on 2020-06-04 22:59 (UTC)

Thank you @cloudhead. That works perfectly. Package updated.

cloudhead commented on 2020-06-04 13:51 (UTC)

gcc-8 is not needed if the -fcommon flag is passed to gcc. Editing the PKGBUILD build() phase to have:

build() {
  cd "$pkgname-$pkgver/src"
  make CC='gcc -fcommon'
}

Solves the problem for me.

Rhinoceros commented on 2020-05-27 12:22 (UTC) (edited on 2020-05-27 12:22 (UTC) by Rhinoceros)

Thanks @teleportex for all that information! I've updated the PKGBUILD. A few notes:

  • I didn't need to add the -C flag with a clean directory.
  • gcc8 was added to makedepends
  • gnuplot was added to optdepends, because the main functionality of sc-im works without it

Thanks again.

teleportex commented on 2020-05-27 09:44 (UTC) (edited on 2020-05-27 09:46 (UTC) by teleportex)

I have ecnountered 2 problems when building:

  • On issues of the repository i saw there are problems building with gcc 9 it is recomended to build with gcc-8, that worked to me.
  • A problem on locating some file, I compiled it from the package root using -C flag and worked.
  • Gnuplot not found.

Changes to the PKGBUILD:

  • Add gcc8 and gnuplot to dependencies
  • Build stage changed to:
build(){
    cd "$pkgname-$pkgver"
    make -C src CC=gcc-8
}

seifferth commented on 2020-01-20 12:51 (UTC)

@Tymekm: That's true. yacc is provided by bison, which is part of base-devel. base-devel is assumed as an implicit dependency for building any package (see <https://wiki.archlinux.org/index.php/PKGBUILD#makedepends>). This is why bison is not included in the makedepends array. Seeing that you don't seem to have bison installed on your system, you might want to run pacman -S base-devel.

[Sorry for cross-posting from sc-im-git, but this may be useful to know here as well.]