Re: Building on OpenBSD

Chris Angelico <[email protected]>
Newsgroups gmane.comp.lang.pike.user
Message-ID <CAPTjJmpMmcPwhLifx729HoywQOcVsXz97OtT6fahZH8apy6Eog@mail.gmail.com>
On Tue, Jan 26, 2016 at 8:38 AM, Bernd Schoeller <[email protected]> wrote:
> Hi -
>
> I am trying to build 8.0.146 on OpenBSD/amd64, but I get the following
> output:
>
>
> Updating modules/modlist.h
> Updating modules/modlist_headers.h
> Updating modules/linker_options
> Graph cycles through pike
> Build for post-modules-stamp aborted
> Build for post_modules/modlist_headers.h aborted
> Build for module.o aborted
> Build for pike aborted
> Build for post_module_objects aborted
> Build for all aborted
> `all' not remade because of errors.
>
> I can't even figure out where to look to debug. Can anybody help me?

Hmm. I just tried to build 8.0.146 on my Debian box, and it worked
fine, but on a BSD VM (and by the way, this is the smallest
install/bootstrap ISO I've used in a long time - 7MB!), got the same
error you saw.

Poking around on the internet showed up a ten-year-old forum post
suggesting the use of gmake instead of make:

http://pike.roxen.narkive.com/UbGuYBhf/pike-on-openbsd

That seems to get past the circular dependency problem, but I ran into
other issues, most notably this:

There's no master to handle the error. Dumping it raw:
({ /* 2 elements */
    "Indexing the NULL value with \"__backend\".\n",
    ({ /* 1 element */
        object(home/zino/hack/pike8-rel/pike/src/builtin.cmod:2450)
    })
})

Seems there's some sort of issue with the Builtins name/module. Anyone
built an 8.x Pike on BSD?

For what it's worth, Pike 7.8.866 builds and runs just fine, although
it spews a ton of debug info at startup and shutdown.

ChrisA
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.