[cli-users] Error during bdep init for cli 1.2.0-b.10

Mark Lim mark.lim at broadcom.com
Wed Jul 19 15:23:44 EDT 2023


On Wed, Jul 19, 2023 at 8:22 AM Boris Kolpackov <boris at codesynthesis.com>
wrote:

> Mark Lim <mark.lim at broadcom.com> writes:
>
> > I'm trying to build cli 1.2.0.  It seems to be a prerequisite for
> building
> > libodb-mysql 2.5.0.
>
> The source package of libodb-mysql includes pre-generated CLI files so
> you shouldn't really need it, unless you want to change something.
>
> The step-by-step instructions for building ODB 2.5.0 with build2 from
> source packages can be found here:
>
> https://codesynthesis.com/products/odb/doc/install-build2.xhtml
>
> Having said that:
>
> > I pulled 1.2.0 b 10 from git and simply followed the README.md
> >
> > [lim at localhost cli]$ bdep init @host -d cli
> > [...]
> > error: invalid bool value 'pregenerated/cli/' in variable dist
> >   info: while converting 'pregenerated/cli/'
> > info: while configuring cli
>
> I think you are using an old build2 version. I've just tried this with
> 0.16.0, and it works without any issues.
>

Thanks.  I updated build2 to 0.16 and rebuilt odb and libodb-* and all
built fine.

I noticed that

bpkg install --all --recursive

ended on

info: failed to install dir{libodb-2.5.0-b.25/}
info: failed to install dir{libodb-mysql-2.5.0-b.25/}

which I didn't notice before.  That is what set me on my quest to build
libodb-mysql from scratch.

However

bpkg install libodb  and
bpkg install libodb-mysql

succeeded and did the expected thing.

-- 
Mark Lim
Broadcom Inc

-- 
This electronic communication and the information and any files transmitted 
with it, or attached to it, are confidential and are intended solely for 
the use of the individual or entity to whom it is addressed and may contain 
information that is confidential, legally privileged, protected by privacy 
laws, or otherwise restricted from disclosure to anyone else. If you are 
not the intended recipient or the person responsible for delivering the 
e-mail to the intended recipient, you are hereby notified that any use, 
copying, distributing, dissemination, forwarding, printing, or copying of 
this e-mail is strictly prohibited. If you received this e-mail in error, 
please return the e-mail to the sender, delete it from your computer, and 
destroy any printed copy of it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4197 bytes
Desc: S/MIME Cryptographic Signature
Url : https://codesynthesis.com/pipermail/cli-users/attachments/20230719/5c61174a/smime.bin


More information about the cli-users mailing list