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

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

Latest Comments

1 2 Next › Last »

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 https://aur.archlinux.org/yay.git\
 )
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/Calculator-definitions.cc.o

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:

pkgname=nasc-git
_pkgname=nasc
pkgver=0.5.4.r23.g75c730f
pkgrel=1
pkgdesc='Do maths like a normal person.'
arch=('i686' 'x86_64')
url='http://parnold-x.github.io/nasc/'
license=('GPL3')
depends=('gtk3' 'libqalculate' 'granite' 'glib2' 'libgee' 'gtksourceview3' 'libsoup' )
optdepends=()
makedepends=('vala' 'git' 'meson')
provides=("nasc")
conflicts=("nasc" "nasc-bzr")
install="${pkgname%-*}.install"
source=('git+https://github.com/parnold-x/nasc')
sha256sums=('SKIP')

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)

Error:

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().
    Aborting...

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 https://github.com/parnold-x/nasc/commit/ed7d8de6cd942344905f4305a1f5d5789797b002

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

There is also a dependency on libpthread-stubs (https://aur.archlinux.org/packages/libpthread-stubs/) to build this.

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

+1

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