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: 12
Popularity: 0.000000
First Submitted: 2017-09-20 23:43
Last Updated: 2021-02-05 14:43

Latest Comments

1 2 Next › Last »

ghoti commented on 2021-01-08 17:41

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

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

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


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

Still missing "cln" dependency

mazzolino commented on 2019-03-20 13:19

The "cln" dependency is required as of

ralfhein commented on 2017-12-18 11:10

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

thebodzio commented on 2017-11-02 22:20


mazzolino commented on 2017-10-29 16:41

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

mazzolino commented on 2017-10-23 08:36

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,}