tuaris / FreeBSD-Coin-Ports

FreeBSD Ports for Several Alternative Crypto Currencies
BSD 2-Clause "Simplified" License
4 stars 4 forks source link

none of your ports build #1

Open fbettag opened 6 years ago

fbettag commented 6 years ago

Ethererum is missing some json rpc lib that doesn't exist, mintcoin is missing some lib too that doesn't exist.

Every port i tried (bitcoincash, VERGE, Gulden, peercoin, unbreakablecoin, dogecoin) does not build.

Are you using a custom setup? Maybe you could put that in the README.md.

fbettag commented 6 years ago

I almost forgot, after fixing some distinfo related things (size and sha256), still none of it builds :(

tuaris commented 6 years ago

I use this on FreeBSD 10 and 11 release. You'll need an up to date ports tree, at least one no older than a month. You can take a look at some build logs here:

http://pkg.ny-us.morante.net/poudriere/data/11amd64-default-qtwallets/latest-per-pkg/ http://pkg.ny-us.morante.net/poudriere/data/10amd64-default-qtwallets/latest-per-pkg/

http://pkg.ny-us.morante.net/poudriere/data/10amd64-default-wallets/latest-per-pkg/ http://pkg.ny-us.morante.net/poudriere/data/11amd64-default-wallets/latest-per-pkg/

Would you mind posting some of your build logs so I can see where stuff might be failing?

fbettag commented 6 years ago

Weird. I’m pulling updates for ports every day on our buildhost and can only imagine something fishy there as for the compile issues. For the distinfo problems i am still unsure. I’ll try to post some logs tomorrow.

Also you might want to consider hard-setting OPENSSLLIB and include etc in the makefile for base openssl, as libressl won’t build the ports.

I’ll launch some PRs the next couple of days to fix what seemingly broke the builds here.

i already made a nice poudriere config which lets you build dash btc and ltc nicely in a separate repo, so it doesn’t pull in openssl when you install on other systems from that repo. So i could put that in readme.md (and the config) if you’re interested (extra PR)

Sent from my iPhone

On 21. Jan 2018, at 01:07, Daniel Morante notifications@github.com wrote:

I use this on FreeBSD 10 and 11 release. You'll need an up to date ports tree, at least one no older than a month. You can take a look at some build logs here:

http://pkg.ny-us.morante.net/poudriere/data/11amd64-default-qtwallets/latest-per-pkg/ http://pkg.ny-us.morante.net/poudriere/data/10amd64-default-qtwallets/latest-per-pkg/

http://pkg.ny-us.morante.net/poudriere/data/10amd64-default-wallets/latest-per-pkg/ http://pkg.ny-us.morante.net/poudriere/data/11amd64-default-wallets/latest-per-pkg/

Would you mind posting some of your build logs so I can see where stuff might be failing?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

fbettag commented 6 years ago

i just had time before going to bed, here is an example from peercoin buildlogs where something is fishy with the distinfo file.


build started at Mon Jan 22 00:11:02 CET 2018
port directory: /usr/ports/net-p2p/peercoin
package name: peercoin-0.6.1_2
building for: FreeBSD pkg.anycast.io 11.1-RELEASE-p6 FreeBSD 11.1-RELEASE-p6 amd64
maintained by: daniel@morante.net
Makefile ident:
Poudriere version: 3.2.99.20180105_1
Host OSVERSION: 1101001
Jail OSVERSION: 1101001
Job Id: 05

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1101001
UNAME_v=FreeBSD 11.1-RELEASE-p6
UNAME_r=11.1-RELEASE-p6
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=xterm-color
MASTERMNT=/usr/local/poudriere/data/.m/freebsd11-amd64-wallets-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
OLDPWD=/usr/local/poudriere/data/.m/freebsd11-amd64-wallets-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/freebsd11-amd64-wallets-default/ref/.p/pool
MASTERNAME=freebsd11-amd64-wallets-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
P_PYTHON_MAJOR_VER=2
POUDRIERE_VERSION=3.2.99.20180105_1
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
===> The following configuration options are available for peercoin-0.6.1_2:
     QRCODES=off: Build with QR code display
     UPNP=off: Build with UPNP support
     X11=off: X11 (graphics) support
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
daniel@morante.net
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake XDG_DATA_HOME=/wrkdirs/usr/ports/net-p2p/peercoin/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-p2p/peercoin/work  HOME=/wrkdirs/usr/ports/net-p2p/peercoin/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-p2p/peercoin/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net-p2p/peercoin/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net-p2p/peercoin/work  HOME=/wrkdirs/usr/ports/net-p2p/peercoin/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net-p2p/peercoin/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -fno-strict-aliasing"  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector" LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -fno-strict-aliasing  -I/usr/local/include -I/usr/local/include/db48 -Wno-invalid-offsetof"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PORTDOCS="" PORTEXAMPLES="" X11="@comment " HEADLESS="" EXECUTABLE="bin/peercoind"  PORTNAME=peercoin OSREL=11.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/peercoin"  EXAMPLESDIR="share/examples/peercoin"  DATADIR="share/peercoin"  WWWDIR="www/peercoin"  ETCDIR="etc/peercoin"
--End PLIST_SUB--

--SUB_LIST--
PORTNAME=peercoin PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/peercoin DOCSDIR=/usr/local/share/doc/peercoin EXAMPLESDIR=/usr/local/share/examples/peercoin  WWWDIR=/usr/local/www/peercoin ETCDIR=/usr/local/etc/peercoin
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
FORCE_PACKAGE=yes
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# Global options
ALLOW_UNSUPPORTED_SYSTEM=YES
WITH_PKGNG=     YES
WITH_SSP_PORTS=     YES
NO_NIS=         YES
MALLOC_PRODUCTION=  YES
MK_PROFILE=     no

# General
LICENSES_ACCEPTED=EULA NONE
OPTIONS_SET=IPV6 PCRE KQUEUE SSL PORTS_SSL
OPTIONS_UNSET=X11 GTK2 DOCS PYTHON OPENGL XCB
#### /usr/local/etc/poudriere.d/freebsd11-amd64-wallets-make.conf ####
OPTIONS_UNSET=SSL PORTS_SSL
DEFAULT_VERSIONS+= ssl=base "java=1.8+"
#### /usr/ports/Mk/Scripts/ports_env.sh ####
ARCH=amd64
CONFIGURE_MAX_CMD_LEN=262144
HAVE_COMPAT_IA32_KERN=YES
OPSYS=FreeBSD
OSREL=11.1
OSVERSION=1101001
PYTHONBASE=/usr/local
UID=0
_OSRELEASE=11.1-RELEASE-p6
_SMP_CPUS=8
#### Misc Poudriere ####
GID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  12186
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License MIT accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   peercoin-0.6.1_2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.4.txz
[pkg.anycast.io] Installing pkg-1.10.4...
[pkg.anycast.io] Extracting pkg-1.10.4: .......... done
===>   peercoin-0.6.1_2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of peercoin-0.6.1_2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License MIT accepted by the user
=> peercoin-peercoin-v0.6.1ppc_GH0.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://codeload.github.com/peercoin/peercoin/tar.gz/v0.6.1ppc?dummy=/peercoin-peercoin-v0.6.1ppc_GH0.tar.gz
fetch: https://codeload.github.com/peercoin/peercoin/tar.gz/v0.6.1ppc?dummy=/peercoin-peercoin-v0.6.1ppc_GH0.tar.gz: size unknown
fetch: https://codeload.github.com/peercoin/peercoin/tar.gz/v0.6.1ppc?dummy=/peercoin-peercoin-v0.6.1ppc_GH0.tar.gz: size of remote file is not known
peercoin-peercoin-v0.6.1ppc_GH0.tar.gz                   0  B    0  Bps
=> Fetched file size mismatch (expected 3279191, actual 3279193)
=> Trying next site
=> Attempting to fetch http://distcache.FreeBSD.org/ports-distfiles/peercoin-peercoin-v0.6.1ppc_GH0.tar.gz
fetch: http://distcache.FreeBSD.org/ports-distfiles/peercoin-peercoin-v0.6.1ppc_GH0.tar.gz: Not Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /portdistfiles/ and try again.
*** Error code 1

Stop.
make: stopped in /usr/ports/net-p2p/peercoin
=>> Cleaning up wrkdir
===>  Cleaning for peercoin-0.6.1_2
build of net-p2p/peercoin | peercoin-0.6.1_2 ended at Mon Jan 22 00:11:35 CET 2018
build time: 00:00:34
!!! build failure encountered !!!```
fbettag commented 6 years ago

Here is for example the peercoin log after i fixed the distinfo.

freebsd11-amd64-wallets-default.log