pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: samba4 tdb dependency fails to build on NetBSD 8.0-STABLE



> I'm getting the following errors trying to build samba4:
> 
> PYTHONHASHSEED=1 WAF_MAKE=1 /usr/pkg/bin/python2.7 /pkg_comp/obj/pkgsrc/databases/tdb/default/tdb-1.3.17/buildtools/bin/waf build
> Traceback (most recent call last):
>  File "/pkg_comp/obj/pkgsrc/databases/tdb/default/tdb-1.3.17/third_party/waf/waflib/Scripting.py", line 158, in waf_entry_point
>    run_commands()
>  File "/pkg_comp/obj/pkgsrc/databases/tdb/default/tdb-1.3.17/third_party/waf/waflib/Scripting.py", line 247, in run_commands
>    parse_options()
>  File "/pkg_comp/obj/pkgsrc/databases/tdb/default/tdb-1.3.17/third_party/waf/waflib/Scripting.py", line 216, in parse_options
>    ctx.execute()
>  File "/pkg_comp/obj/pkgsrc/databases/tdb/default/tdb-1.3.17/third_party/waf/waflib/Options.py", line 340, in execute
>    self.parse_args()
>  File "/pkg_comp/obj/pkgsrc/databases/tdb/default/tdb-1.3.17/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 500, in wafsamba_options_parse_cmd_args
>    CHECK_MAKEFLAGS(options)
>  File "./buildtools/wafsamba/samba_utils.py", line 491, in CHECK_MAKEFLAGS
>    options.jobs = int(jobs)^M
> ValueError: invalid literal for int() with base 10: '_PATH_ORIG=/usr/pkg/java/openjdk8/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/local/bin'^M
> gmake: *** [Makefile:7: all] Error 2^M
> 
> Not quite sure how this is happening unless its getting confused by the --jobs={MAKE_JOBS} passed into configure. I did try getting rid of that from the package makefile but it made no difference.
> 
> Any suggestions?
> 
> Mike

What is the output of this:

cd databases/tdb
make -V '${MAKE_JOBS}'

Kind regards,
Adam


Home | Main Index | Thread Index | Old Index