python distutils without setup.py?

2019-12-04 Thread Matthew Seaman

I'm looking at updating sysutils/py-ansible-lint
(https://github.com/ansible/ansible-lint) and it's got me scratching my
head.  Seems there's now no setup.py included in the source code, and
that makes the ports sad:

```
lucid-nonsense:~...ports/sysutils/py-ansible-lint:% make
===>  License MIT accepted by the user
===>   py37-ansible-lint-4.2.0 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by py37-ansible-lint-4.2.0 for building
===>  Extracting for py37-ansible-lint-4.2.0
=> SHA256 Checksum OK for ansible-lint-4.2.0.tar.gz.
===>  Patching for py37-ansible-lint-4.2.0
===>   py37-ansible-lint-4.2.0 depends on package:
py37-setuptools_scm_git_archive>0 - found
===>   py37-ansible-lint-4.2.0 depends on package: py37-setuptools>0 - found
===>   py37-ansible-lint-4.2.0 depends on file: /usr/local/bin/python3.7
- found
===>  Configuring for py37-ansible-lint-4.2.0
Traceback (most recent call last):
  File "", line 1, in 
FileNotFoundError: [Errno 2] No such file or directory: 'setup.py'
*** Error code 1

Stop.
make: stopped in /home/matthew/work/ports/sysutils/py-ansible-lint
```

There's a comment in the ChangeLog:

   * Fully depend on Pip having PEP 517 implementation #607

and the associated merge:

   https://github.com/ansible/ansible-lint/pull/607/files

has the removal of setup.py.  The docs now say that to install from
source, you should run:

   pip install git+https://github.com/ansible/ansible-lint.git

Do we have support in the ports for python modules setup in this way?
Is there a similar example I can copy from?

Cheers,

Matthew




signature.asc
Description: OpenPGP digital signature


ERROR: Cannot find cbindgen on RPI2 running 12-stable

2019-12-04 Thread bob prohaska
In trying to compile firefox on an RPI2 running 12-stable the system reports
ERROR: Cannot find cbindgen. Please run `mach bootstrap`,
`cargo install cbindgen`, ensure that `cbindgen` is on your PATH,
or point at an executable with `CBINDGEN`.

Attempts to follow the instructions produce a chain of errors, starting
with "permission denied" at running mach. Making mach executable causes
a furthter chain of file not found errors.

Uname -a reports
12.1-STABLE r355279 RPI2

Ports are at 518859

Thanks for reading,

bob prohaska
 
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: "math/openblas" will not build under poudriere

2019-12-04 Thread Naram Qashat

On 2019-12-04 09:27, Carmel NY wrote:

Attempting to build "math/openblas" using poudriere results in this
error message: Ignoring: has to be built manually: Optimizes for the
build machine. I can build it manually, however. Is this a bug or a
design feature?


Just a quick glance at the Makefile for math/openblas shows that if the 
DYNAMIC_ARCH option is turned off, then that message would happen. It 
should be default, though, from what I can tell.



The complete log of the failed poudriere build follows.

build started at Wed Dec  4 09:10:51 EST 2019
port directory: /usr/ports/math/openblas
package name: openblas-0.2.20_11,1
building for: FreeBSD amd64-default 11.3-RELEASE-p5 FreeBSD
11.3-RELEASE-p5 amd64 maintained by: phd_kimberl...@yahoo.co.jp
Makefile ident:  $FreeBSD: head/math/openblas/Makefile 516146
2019-10-31 13:21:45Z arrowd $ Poudriere version: 3.3.99.20190828
Host OSVERSION: 1103000
Jail OSVERSION: 1103000
Job Id:

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1103000
UNAME_v=FreeBSD 11.3-RELEASE-p5
UNAME_r=11.3-RELEASE-p5
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.99.20190828
MASTERMNT=/usr/local/poudriere/data/.m/amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=xterm-color
PWD=/usr/local/poudriere/data/.m/amd64-default/ref/.p
P_PYTHON_MAJOR_VER=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/tmp
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
P_PYTHON3_DEFAULT=3.6
P_PYTHON_DEFAULT_VERSION=
---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
openblas-0.2.20_11,1: AVX=off: Support Advanced Vector Extensions (AVX)
 AVX2=off: Support Advanced Vector Extensions 2 (AVX2)
 DYNAMIC_ARCH=off: Support multiple CPU types on i386 and amd64
 INTERFACE64=off: Use 8 byte integers on 64-bit architectures
 OPENMP=off: Use OpenMP for threading
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
phd_kimberl...@yahoo.co.jp
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
F77="gfortran9" FC="gfortran9" FFLAGS="-O
-Wl,-rpath=/usr/local/lib/gcc9"
FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc9" MAKE=gmake
ac_cv_path_PERL=/usr/local/bin/perl
ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1
XDG_DATA_HOME=/wrkdirs/usr/ports/math/openblas/work
XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/openblas/work
HOME=/wrkdirs/usr/ports/math/openblas/work TMPDIR="/tmp"
PATH=/wrkdirs/usr/ports/math/openblas/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--
F77="gfortran9" FC="gfortran9" FFLAGS="-O
-Wl,-rpath=/usr/local/lib/gcc9"
FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc9" PERL_USE_UNSAFE_INC=1
XDG_DATA_HOME=/wrkdirs/usr/ports/math/openblas/work
XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/openblas/work
HOME=/wrkdirs/usr/ports/math/openblas/work TMPDIR="/tmp"
PATH=/wrkdirs/usr/ports/math/openblas/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 ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar"
AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt"
GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld"
NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy"
OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib"
READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size"
STRINGS="/usr/local/bin/strings" PREFIX=/usr/local
LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe
-fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""
LDFLAGS=" -Wl,-rpath=/usr/local/lib/gcc9  -L/usr/local/lib/gcc9
-B/usr/local/bin -fstack-protector-strong " LIBS=""  CXX="c++"
CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "
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--
 DYNARCH="@comment " OSREL=11.3 PREFIX=%D LOCALBASE=/usr/local
RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.30.1  PERL_VER=5.30
PERL5_MAN1=lib/perl5/site_perl/man/man1
PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl
SITE_ARCH=lib/perl5/site_perl/mach/5.30 DOCSDIR="share/doc/openblas"
EXAMPLESDIR="share/examples/openblas"  DATADIR="share/openblas"
WWWDIR="www/openblas"  ETCDIR="etc/openblas" --End PLIST_SUB--

--SUB_LIST--
 PREFIX=/usr/local LOCALBASE=/usr/local

"math/openblas" will not build under poudriere

2019-12-04 Thread Carmel NY
Attempting to build "math/openblas" using poudriere results in this
error message: Ignoring: has to be built manually: Optimizes for the
build machine. I can build it manually, however. Is this a bug or a
design feature?

The complete log of the failed poudriere build follows.

build started at Wed Dec  4 09:10:51 EST 2019
port directory: /usr/ports/math/openblas
package name: openblas-0.2.20_11,1
building for: FreeBSD amd64-default 11.3-RELEASE-p5 FreeBSD
11.3-RELEASE-p5 amd64 maintained by: phd_kimberl...@yahoo.co.jp
Makefile ident:  $FreeBSD: head/math/openblas/Makefile 516146
2019-10-31 13:21:45Z arrowd $ Poudriere version: 3.3.99.20190828
Host OSVERSION: 1103000
Jail OSVERSION: 1103000
Job Id: 

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1103000
UNAME_v=FreeBSD 11.3-RELEASE-p5
UNAME_r=11.3-RELEASE-p5
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.99.20190828
MASTERMNT=/usr/local/poudriere/data/.m/amd64-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=xterm-color
PWD=/usr/local/poudriere/data/.m/amd64-default/ref/.p
P_PYTHON_MAJOR_VER=3
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/tmp
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
P_PYTHON3_DEFAULT=3.6
P_PYTHON_DEFAULT_VERSION=
---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
openblas-0.2.20_11,1: AVX=off: Support Advanced Vector Extensions (AVX)
 AVX2=off: Support Advanced Vector Extensions 2 (AVX2)
 DYNAMIC_ARCH=off: Support multiple CPU types on i386 and amd64
 INTERFACE64=off: Use 8 byte integers on 64-bit architectures
 OPENMP=off: Use OpenMP for threading
===> Use 'make config' to modify these settings
---End OPTIONS List---

--MAINTAINER--
phd_kimberl...@yahoo.co.jp
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
F77="gfortran9" FC="gfortran9" FFLAGS="-O
-Wl,-rpath=/usr/local/lib/gcc9"
FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc9" MAKE=gmake
ac_cv_path_PERL=/usr/local/bin/perl
ac_cv_path_PERL_PATH=/usr/local/bin/perl  PERL_USE_UNSAFE_INC=1
XDG_DATA_HOME=/wrkdirs/usr/ports/math/openblas/work
XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/openblas/work
HOME=/wrkdirs/usr/ports/math/openblas/work TMPDIR="/tmp"
PATH=/wrkdirs/usr/ports/math/openblas/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--
F77="gfortran9" FC="gfortran9" FFLAGS="-O
-Wl,-rpath=/usr/local/lib/gcc9"
FCFLAGS="-Wl,-rpath=/usr/local/lib/gcc9" PERL_USE_UNSAFE_INC=1
XDG_DATA_HOME=/wrkdirs/usr/ports/math/openblas/work
XDG_CONFIG_HOME=/wrkdirs/usr/ports/math/openblas/work
HOME=/wrkdirs/usr/ports/math/openblas/work TMPDIR="/tmp"
PATH=/wrkdirs/usr/ports/math/openblas/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 ADDR2LINE="/usr/local/bin/addr2line" AR="/usr/local/bin/ar"
AS="/usr/local/bin/as" CPPFILT="/usr/local/bin/c++filt"
GPROF="/usr/local/bin/gprof" LD="/usr/local/bin/ld"
NM="/usr/local/bin/nm" OBJCOPY="/usr/local/bin/objcopy"
OBJDUMP="/usr/local/bin/objdump" RANLIB="/usr/local/bin/ranlib"
READELF="/usr/local/bin/readelf" SIZE="/usr/local/bin/size"
STRINGS="/usr/local/bin/strings" PREFIX=/usr/local
LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe
-fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""
LDFLAGS=" -Wl,-rpath=/usr/local/lib/gcc9  -L/usr/local/lib/gcc9
-B/usr/local/bin -fstack-protector-strong " LIBS=""  CXX="c++"
CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "
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--
 DYNARCH="@comment " OSREL=11.3 PREFIX=%D LOCALBASE=/usr/local
RESETPREFIX=/usr/local LIB32DIR=lib PERL_VERSION=5.30.1  PERL_VER=5.30
PERL5_MAN1=lib/perl5/site_perl/man/man1
PERL5_MAN3=lib/perl5/site_perl/man/man3  SITE_PERL=lib/perl5/site_perl
SITE_ARCH=lib/perl5/site_perl/mach/5.30 DOCSDIR="share/doc/openblas"
EXAMPLESDIR="share/examples/openblas"  DATADIR="share/openblas"
WWWDIR="www/openblas"  ETCDIR="etc/openblas" --End PLIST_SUB--

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

---Begin make.conf---