pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/54200: devel/talloc build failure
The following reply was made to PR pkg/54200; it has been noted by GNATS.
From: Leonardo Taccari <leot%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/54200: devel/talloc build failure
Date: Mon, 13 May 2019 14:20:08 +0200
Hello Benjamin,
ben@pocket.services writes:
>
> Using PYTHON_VERSION_DEFAULT=37 in case it matters.
>
In pkgsrc-current it should not matter: it is already the default.
> ===> Building for talloc-2.2.0nb1
> --- all ---
> PYTHONHASHSEED=1 WAF_MAKE=1 /usr/pkg/bin/python3.7 /home/bjjl/8.99/pkgsrc/devel/talloc/work/talloc-2.2.0/buildtools/bin/waf build
> Traceback (most recent call last):
> File "/home/bjjl/8.99/pkgsrc/devel/talloc/work/talloc-2.2.0/third_party/waf/waflib/Scripting.py", line 158, in waf_entry_point
> run_commands()
> File "/home/bjjl/8.99/pkgsrc/devel/talloc/work/talloc-2.2.0/third_party/waf/waflib/Scripting.py", line 247, in run_commands
> parse_options()
> File "/home/bjjl/8.99/pkgsrc/devel/talloc/work/talloc-2.2.0/third_party/waf/waflib/Scripting.py", line 216, in parse_options
> ctx.execute()
> File "/home/bjjl/8.99/pkgsrc/devel/talloc/work/talloc-2.2.0/third_party/waf/waflib/Options.py", line 340, in execute
> self.parse_args()
> File "/home/bjjl/8.99/pkgsrc/devel/talloc/work/talloc-2.2.0/third_party/waf/waflib/Options.py", line 331, in parse_args
> options, commands, envvars = self.parse_cmd_args()
> File "./buildtools/wafsamba/samba_utils.py", line 545, in wafsamba_options_parse_cmd_args
> CHECK_MAKEFLAGS(options)
> File "./buildtools/wafsamba/samba_utils.py", line 536, in CHECK_MAKEFLAGS
> options.jobs = int(jobs)
> ValueError: invalid literal for int() with base 10: '_PKGSRCDIR=/home/bjjl/8.99/pkgsrc'
> *** [all] Error code 2
> [...]
Can you please share the value of MAKEFLAGS?:
% cd pkgsrc/devel/talloc
% make show-var VARNAME=MAKEFLAGS
...and can you please add a debug print() to check if such offending
options are passed?, i.e.:
% cd pkgsrc/devel/talloc
% make patch
...and then:
% $EDITOR `make show-var VARNAME=WRKSRC`/buildtools/wafsamba/samba_utils.py
modify from:
543 cwd=cwd,
544 allow_unknown=allow_unknown)
545 CHECK_MAKEFLAGS(options)
546 if options.jobs == 1:
547 #
to (add the extra `print('XXX: ' ...)'):
543 cwd=cwd,
544 allow_unknown=allow_unknown)
545 print('XXX: ' + str(options))
546 CHECK_MAKEFLAGS(options)
547 if options.jobs == 1:
548 #
Thanks!
(JFTR: At least on NetBSD-current and pkgsrc-current I could not
reproduce that neither with `MAKE_JOBS= 8' nor with `MAKE_JOBS'
undefined.)
Home |
Main Index |
Thread Index |
Old Index