pkgsrc-Users archive

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

Re: How to have build system type and host system type as expected?



Hi,

Hung Nguyen Gia <gh_origin%zohomail.com@localhost> writes:

> Still stuck. This is the error message:
>
> ===> Patching for cwrappers-20180325
> ===> Creating toolchain wrappers for cwrappers-20180325
> ===> Configuring for cwrappers-20180325
> => Configuring and building libnbcompat
> checking build system type... x86_64-unknown-midnightbsd2.0.3
> checking host system type... config.sub: invalid option -unknown-freebsd11.4
> Try `config.sub --help' for more information.
> configure: error: /bin/sh ./config.sub -unknown-freebsd11.4 failed
> *** Error code 1
>
> Stop.
> bmake[1]: stopped in /usr/home/gh/pkgsrc/pkgtools/cwrappers
> *** Error code 1
>
> Stop.
> bmake: stopped in /usr/home/gh/pkgsrc/pkgtools/cwrappers
> ===> exited with status 1
> aborted.
>
> Here is the lines I added in bsd.prefs.mk:
>
> .elif ${OPSYS} == "MidnightBSD"
> OS_VERSION=             11
> MACHINE_PLATFORM=       FreeBSD-${OS_VERSION}-${MACHINE_ARCH}
> NATIVE_MACHINE_PLATFORM=${MACHINE_PLATFORM}
> LOWER_OPSYS?=           freebsd
> LOWER_OPSYS_VERSUFFIX=  11.4
> .  if ${MACHINE_ARCH} == "i386"
> LOWER_VENDOR?=          pc
> .  endif
> LOWER_VENDOR?=          unknown
>
> The expected build system type and host system type both are x86_64-unknown-freebsd11.4
>
> Please help. Thanks.

I have no trouble about pkgtools/cwrappers under MidnightBSD/amd64 2.0.6.

I have just added preliminary MidnightBSD support to pkgsrc.
Could you try bootstrap pkgsrc for your MidnightBSD system.

Thank you.

-- 
Ryo ONODERA // ryo%tetera.org@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index