Package Details: nasc-git 0.7.5.r13.ga95d1f8-2

Git Clone URL: (read-only, click to copy)
Package Base: nasc-git
Description: Do maths like a normal person.
Upstream URL:
Licenses: GPL3
Conflicts: nasc, nasc-bzr
Provides: nasc
Submitter: xpt
Maintainer: xpt
Last Packager: xpt
Votes: 13
Popularity: 0.026757
First Submitted: 2017-09-20 23:43 (UTC)
Last Updated: 2021-02-05 14:43 (UTC)

Latest Comments

ghoti commented on 2021-01-08 17:41 (UTC)

I've just got a pull request in the source repo that will fix the build. hopefully this will start working again for people soon.

ghoti commented on 2020-12-31 18:45 (UTC)

I believe you're missing two dependencies. 'webkit2gtk' and 'intltool'. Not sure if these are devdependencies or not.

Regardless. I'm seeing build failures here.

/usr/include/c++/10.2.0/backward/hashtable.h:604:23: error: no match for call to ‘(const hasher {aka const __gnu_cxx::hash<Unit*>}) (Unit* const&)’
  604 |       { return _M_hash(__key) % __n; }
      |                ~~~~~~~^~~~~~~

Here's a Dockerfile that can recreate the issue:

FROM archlinux:latest

# Initial package load
RUN pacman -Syu --noconfirm
RUN pacman -S --needed --noconfirm git base-devel sudo fish

# User
RUN useradd -m user\
 && echo "user ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/user
USER user
WORKDIR /home/user

# Load yay tool
#RUN sudo pacman -S --noconfirm go
RUN ( mkdir src\
 && cd src\
 && git clone\
RUN ( cd src/yay && makepkg -si --noconfirm )

# Test NASC-git
## Declared dependencies
RUN sudo pacman -S --noconfirm 'gtk3' 'libqalculate' 'granite' 'glib2' 'libgee' 'gtksourceview3' 'libsoup'
## Missing dependencies
RUN sudo pacman -S --noconfirm 'webkit2gtk' 'intltool'
#RUN yay -S nasc-git --noconfirm

to run this, make an empty folder then in that folder copy that text into a file called 'Dockerfile', then in that folder run:

docker build -t nasc-build-fail .
docker run --rm -it nasc-build-fail
yay -S nasc-git

I've done my best to debug this but I'm kinda stuck. That error seems to be in an included library. while it was trying to build subprojects/libqalculate/libqalculate/libqalculate.a.p/

I dunno how to fix that :\

vivaeltopo commented on 2020-05-13 07:59 (UTC) (edited on 2020-05-13 08:02 (UTC) by vivaeltopo)

Nasc switched to meson build system, you can use this PKGBUILD:

pkgdesc='Do maths like a normal person.'
arch=('i686' 'x86_64')
depends=('gtk3' 'libqalculate' 'granite' 'glib2' 'libgee' 'gtksourceview3' 'libsoup' )
makedepends=('vala' 'git' 'meson')
conflicts=("nasc" "nasc-bzr")

pkgver() {
  cd ${_pkgname}
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'


build() {
  cd ${_pkgname}
  meson build --prefix=/usr
  ninja -v -C build

package() {
  cd ${_pkgname}
  DESTDIR="$pkgdir" ninja -v -C build install

Tio commented on 2019-12-12 03:52 (UTC)


collect2: error: ld returned 1 exit status
make[2]: *** [CMakeFiles/com.github.parnold-x.nasc.dir/build.make:375: com.github.parnold-x.nasc] Error 1
make[1]: *** [CMakeFiles/Makefile2:124: CMakeFiles/com.github.parnold-x.nasc.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().

PedroHLC commented on 2019-08-05 19:31 (UTC)

Still missing "cln" dependency

mazzolino commented on 2019-03-20 13:19 (UTC)

The "cln" dependency is required as of

ralfhein commented on 2017-12-18 11:10 (UTC)

There is also a dependency on libpthread-stubs ( to build this.

thebodzio commented on 2017-11-02 22:20 (UTC)


mazzolino commented on 2017-10-29 16:41 (UTC)

Well, of course I mean "at the end of the package() function".

mazzolino commented on 2017-10-23 08:36 (UTC)

The installation fails with: nasc-git: /usr/lib64 exists in filesystem Please add something like this at the end of the install() function: mv ${pkgdir}/usr/lib{64,}

eimis commented on 2017-07-27 19:49 (UTC)

build failing

land_or commented on 2017-07-06 11:15 (UTC)

PKGBUILD for git:

skrylar commented on 2017-05-30 09:16 (UTC) (edited on 2017-05-31 00:41 (UTC) by skrylar)

Not sure if the patch took; still getting the transform build error from matma6. Edit: The change was accepted upstream, but it looks like upstream moved over to github for source distribution. Trying to build this will check out an old launchpad instance that doesn't have the fix applied, and will subsequently fail.

phinicota commented on 2017-05-07 17:15 (UTC) (edited on 2017-05-14 03:15 (UTC) by phinicota)

for anyone interested, this quick patch should fix compilation: edit: not needed anymore, merged upstream

matma6 commented on 2016-08-29 23:47 (UTC)

make[3]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. In function ‘char* get_function_arguments(int)’: error: ‘transform’ was not declared in this scope transform (str.begin(), str.end(), str.begin(), (int (*) (int) ) tolower); ^ In function ‘char* get_function_arguments_list(int)’: error: ‘transform’ was not declared in this scope transform (str.begin(), str.end(), str.begin(), (int (*) (int) ) tolower); ^ In function ‘void abort()’: error: declaration of ‘void abort()’ has a different exception specifier void abort() { ^~~~~ In file included from QalculateNasc.h:15:6: note: from previous declaration ‘void abort() throw ()’ void abort(); ^~~~~ In function ‘void abort()’: warning: ‘noreturn’ function does return } ^ make[3]: *** [Makefile:16: QalculateNasc.o] Error 1 make[2]: *** [CMakeFiles/libqalculatenasc.dir/build.make:111: ../libqalculatenasc/src/libqalculatenasc-stamp/libqalculatenasc-build] Error 2 make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/libqalculatenasc.dir/all] Error 2 make: *** [Makefile:128: all] Error 2 ==> ERARO: Malsukceso okazis en build().

vivaeltopo commented on 2015-08-19 08:41 (UTC)

Requires cmake, please add this as dependency to build

gileri commented on 2015-03-22 22:14 (UTC)

It also needs 'cmake' to build (makedepends)

tydell commented on 2015-01-23 08:24 (UTC)

Thanks a lot, dependencies are completed. Now package builds fine.

vasily commented on 2015-01-22 05:22 (UTC)

You also need to add 'vala' and 'bzr' as dependencies.

vivaeltopo commented on 2015-01-21 14:56 (UTC)

Needs 'granite' to build (can be found in [community]) You might want to add this as dependency.