synth force
with every package? LiveSystem-make.conf
I haveDEFAULT_VERSIONS+= php=7.1
/etc/make.conf
ind the jail:WRKDIRPREFIX= /var/ports
DISTDIR= /var/ports/distfiles
PACKAGES= /var/ports/packages
INDEXDIR= /var/ports
WITH_OPENSSL_PORT= yes
DEFAULT_VERSIONS= php=7.1
DEFAULT_VERSIONS+= mysql=10.1m
/usr/local/etc/synth/LiveSystem-make.conf
in the base system:#MAKE_JOBS_UNSAFE=yes
DEFAULT_VERSIONS= mysql=10.1m
DEFAULT_VERSIONS+= ssl=libressl
DEFAULT_VERSIONS+= php=7.1
DEFAULT_VERSIONS+= python3=3.6
IGNORE_WITH_PHP= 70
is defined -- meaning; if you already have the lang/php56-extentions installed, pkg delete lang/php56-extensions
Ahh. Thanks.Chris_H :
I just realized that autocorrect made "png" out of "pkg". Sorry for the misunderstanding – I corrected it in my post.
IMHO I think this will simply be an exersize in foot shooting. Meaning; Synth will dutifully attempt to grant your request.As I said I don't have any PHP versions installed on the base system synth is running in.
But in my list of packages I build for all my jails, there also is php56 and php70 (and their extensions)…
Thanks for the input!Ahh. Thanks.
IMHO I think this will simply be an exersize in foot shooting. Meaning; Synth will dutifully attempt to grant your request.
But will likely find during the build session, that both php56 && php7x can't be fully satisfied, and will
simply fail on some of your list entries. I think you have to make a choice between php56, or php7x.
That's what I would do, if I were in your situation.
Good luck!
--Chris
In file included from buffer.c:36:
In file included from ./va_private.h:35:
/usr/local/include/va/va_backend.h:33:10: fatal error: 'linux/videodev2.h' file not found
#include <linux/videodev2.h>
^
In file included from config.c:35:
In file included from ./va_private.h:35:
/usr/local/include/va/va_backend.h:33:10: fatal error: 'linux/videodev2.h' file not found
#include <linux/videodev2.h>
^
In file included from context.c:37:
In file included from ./va_private.h:35:
/usr/local/include/va/va_backend.h:33:10: fatal error: 'linux/videodev2.h' file not found
#include <linux/videodev2.h>
^
1 error generated.
gmake[5]: *** [Makefile:689: buffer.lo] Error 1
gmake[5]: *** Waiting for unfinished jobs....
1 error generated.
1 error generated.
gmake[5]: *** [Makefile:689: context.lo] Error 1
gmake[5]: *** [Makefile:689: config.lo] Error 1
gmake[5]: Leaving directory '/construction/xports/graphics/dri/work/mesa-17.0.3/src/gallium/state_trackers/va'
gmake[4]: *** [Makefile:606: all-recursive] Error 1
gmake[4]: Leaving directory '/construction/xports/graphics/dri/work/mesa-17.0.3/src/gallium'
gmake[3]: *** [Makefile:860: all-recursive] Error 1
gmake[3]: Leaving directory '/construction/xports/graphics/dri/work/mesa-17.0.3/src'
gmake[2]: *** [Makefile:651: all] Error 2
gmake[2]: Leaving directory '/construction/xports/graphics/dri/work/mesa-17.0.3/src'
gmake[1]: *** [Makefile:648: all-recursive] Error 1
gmake[1]: Leaving directory '/construction/xports/graphics/dri/work/mesa-17.0.3'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1
Stop.
make: stopped in /xports/graphics/dri
[…]
/usr/local/include/luajit-2.0 -I objs -I src/http -I src/http/modules -I src/http/v2 -I /construction/xports/www/nginx-devel/work/ngx_devel_kit-0.3.0/src -I /construction/xports/www/nginx-devel/work/ngx_devel_kit-0.3.0/src -I /construction/xports/www/nginx-devel/work/ngx_devel_kit-0.3.0/objs -I objs/addon/ndk -o objs/addon/src/ngx_http_lua_ssl_ocsp.o /construction/xports/www/nginx-devel/work/lua-nginx-module-0.10.8/src/ngx_http_lua_ssl_ocsp.c
/construction/xports/www/nginx-devel/work/lua-nginx-module-0.10.8/src/ngx_http_lua_ssl_ocsp.c:493:15: error: no member named 'tlsext_status_expected' in 'struct ssl_st'; did you mean 'tlsext_status_type'?
ssl_conn->tlsext_status_expected = 1;
^~~~~~~~~~~~~~~~~~~~~~
tlsext_status_type
/usr/local/include/openssl/ssl.h:864:6: note: 'tlsext_status_type' declared here
int tlsext_status_type;
^
1 error generated.
*** Error code 1
Stop.
make[2]: stopped in /construction/xports/www/nginx-devel/work/nginx-1.12.0
*** Error code 1
Stop.
make[1]: stopped in /construction/xports/www/nginx-devel/work/nginx-1.12.0
*** Error code 1
Stop.
make: stopped in /xports/www/nginx-devel
--------------------------------------------------
-- Termination
--------------------------------------------------
portsnap cron update && synth just-build /usr/local/etc/synth/jail_ports.txt && synth prepare-system && ezjail-admin update -P
/usr/local/etc/synth/LiveSystem-environment
:TERM=dumb
TERM=xterm
[…]
Building new INDEX files... done.
Please define TERM in environment first and retry.
Please define TERM in environment first and retry.
[…]
[…]
--------------------------------------------------------------------------------
-- Phase: package
--------------------------------------------------------------------------------
===> Building package for pecl-judy-1.0.2_1
pkg-static: Warning: @exec is deprecated, please use @[pre|post][un]exec
file sizes/checksums [10]: . done
packing files [10]: . done
packing directories [0]: . done
--------------------------------------------------
-- Termination
--------------------------------------------------
I asked him before. The answer was about my 'outdated portmaster thinking', so I use portmaster as wellDear synth developer, could you please make synth finally be a replacement for portmaster by making it first scan through make configs of the ports to be built and if there is either no saved config or saved config is outdated (new options appeared, some options got obsoleted) - it would run a series of make config prompts prior to starting the building queue.
I guess that would need to be run recursively, since checking new options may increase the build queue and thus the new port-dependencies need to also be scanned for make config first and they also may increase the build queue... and so on.
Unfortunately, I still have to use portmaster from time to time because synth is just not capable of that.
@exec
. poudriere
but throws the same warning. portlint
error. synth
.. @unexec
and @exec
synth
, but this is a question to all synth
users, if there are more failures like this.Turns out it doesn't build because it only builds with php56. I have only php70 in my list.The error with devel/pecl-judy is a little
bit strange cause there is no pkg-plist and the Makefile contains no@exec
.
It installs with port andpoudriere
but throws the same warning.
I guess this is aportlint
error.
I opened PR 218695.
Edit: seems it is caused by /usr/ports/Mk/Uses/php.mk (line 278-284) and seems misinterpreted bysynth
..
~ # ❯❯❯ cat /var/log/synth/03_ignored_list.log
00:00:13 devel/pecl-judy: cannot be installed: doesn't work with lang/php70 port (doesn't support PHP 7.0 7.1)
TERM
not being defined…Already did, thanks though.Maybe it isncurses
. Try disablencurses
.
But I still don't understand the problem withTERM
not being defined…