You are not logged in.

#1 2018-05-15 22:15:18

semeion
Member
From: Brazil
Registered: 2008-10-20
Posts: 65

[REQUEST] Haven

Can someone create a PKGBUILD to this project?
https://github.com/havenprotocol/haven

I tried to compile manually w/ no success, the logs are here:
https://github.com/havenprotocol/haven/issues/24

Thanks in advance,

semeion

# Maintainer: Your Name <youremail@domain.com>
pkgname=haven
pkgver=VERSION
pkgrel=1
pkgdesc=""
arch=()
url=""
license=('custom')
groups=()
depends=()
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(https://github.com/havenprotocol/haven.git)
noextract=()
md5sums=() #autofill using updpkgsums

build() {
  cd "$pkgname-$pkgver"

  ./configure --prefix=/usr
  make
}

package() {
  cd "$pkgname-$pkgver"

  make DESTDIR="$pkgdir/" install
}

Last edited by semeion (2018-05-16 15:55:14)

Offline

#2 2018-05-15 23:01:45

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: [REQUEST] Haven

https://github.com/monero-project/monero/issues/3797
https://github.com/monero-project/monero/pull/3800
Edit:
You already have an upstream issue report https://github.com/havenprotocol/haven/issues/24 once upstream has fixed the code it copied it should compile under gcc 8.1
In the mean time you can work on fixing the PKGBUILD such as changing the source array to include a download location for the source.

Last edited by loqs (2018-05-15 23:15:27)

Offline

#3 2018-05-16 01:45:53

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,523
Website

Re: [REQUEST] Haven

loqs wrote:

In the mean time you can work on fixing the PKGBUILD such as changing the source array to include a download location for the source.

Among other things.  It seems you attempted to follow these guidelines:

Dusty's Sticky wrote:

a. Before posting a package request, collect as much information of the package as possible. For the information needed, please see the PKGBUILD prototype linked to at point 2a. Please note that it is extremely important to collect this information because you are the one who wants to get help, so the least you can do is collect this information!

But note that it does not say to just post the prototype linked from 2a - we all know what that is.  Make *some* effort to fill in what you can (and eliminate empty variables that will not be needed).

[off topic silliness]
The apostrophe above in "Dusty's Sticky" is for the possessive implying a stickied thread created by Dusty, not a contraction implying that Dusty is sticky
[/off topic silliness]

Last edited by Trilby (2018-05-16 01:46:10)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#4 2018-05-16 14:10:52

loqs
Member
Registered: 2014-03-06
Posts: 17,323

Re: [REQUEST] Haven

As a workaround until upstream resolves the gcc 8.1 issues
make CXXFLAGS="-Wno-error=class-memaccess"
edit:
drop CFLAGS as it is a C++ issue.

Last edited by loqs (2018-05-16 14:32:27)

Offline

#5 2018-05-16 17:22:32

semeion
Member
From: Brazil
Registered: 2008-10-20
Posts: 65

Re: [REQUEST] Haven

loqs wrote:

As a workaround until upstream resolves the gcc 8.1 issues
make CXXFLAGS="-Wno-error=class-memaccess"
edit:
drop CFLAGS as it is a C++ issue.

Oh! Thank you for the tip, it worked for me!

Offline

Board footer

Powered by FluxBB