Date: Sun, 5 Apr 2020 19:05:45 +0200 From: Tomasz CEDRO <tomek@cedro.info> To: Ruslan Garipov <ruslanngaripov@gmail.com> Cc: FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>, FreeBSD Stable <freebsd-stable@freebsd.org>, freebsd-ports <freebsd-ports@freebsd.org> Subject: Re: /usr/src/release/release.sh -> ports -> fetch pkg -> Bad system call (core dumped) Message-ID: <CAFYkXj=hZqLnArPxvAfMjhGoRkZoS4JjSUidxiL4g%2BrJfjLn_A@mail.gmail.com> In-Reply-To: <281e95ff-a1c2-c759-2918-783cb8edf1b7@gmail.com> References: <CAFYkXj=p0C7gHmVr1UfkG=SFmgHLn-25sMmOLUShd-fc1SSDUQ@mail.gmail.com> <d08bf3ac-9a3a-f62e-f8b8-23914ebd5de7@gmail.com> <CAFYkXjkChjMvhKEOckudVxtQejJPYXyOvDh=OiiFp1BWT_q_uQ@mail.gmail.com> <281e95ff-a1c2-c759-2918-783cb8edf1b7@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 5, 2020 at 4:59 PM Ruslan Garipov wrote: > I'm sorry, I forgot to ask how do you call /usr/src/release/release.sh? > Do you pass a configuration file to this script? > > By default /usr/src/release/release.sh checks out the source tree for > the CURRENT branch (svn://svn.FreeBSD.org/base/head@rHEAD). In this > case (if you doesn't change it) chrooted environment definitely will > fail to run on STABLE and/or RELEASE. > > May be it's easy for you to use `make release` directly. Case solved! =) I wrongly assumed that release will simply update this svn repo that I am working on.. but it fetches HEAD.. so I was trying to build 13/HEAD/CURRENT on 12/STABLE/RELEASE that have different ABI thus bad syscall.. and I need CURRENT to build CURRENT, right? :-) I will provide a release.conf, make.conf, src.conf and maybe KERNCONF if I need something beyond GENERIC. For now I just need to work with 12-STABLE. Good hint! :-) Thank you Ruslan!! :-) Tomek ps/2: Can I provide a patch that will print out what actually is being fetched by release.sh? That could save some time for first time users :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXj=hZqLnArPxvAfMjhGoRkZoS4JjSUidxiL4g%2BrJfjLn_A>