From mark.lim at broadcom.com Tue Jul 18 20:06:44 2023 From: mark.lim at broadcom.com (Mark Lim) Date: Tue Jul 18 19:58:09 2023 Subject: [cli-users] Error during bdep init for cli 1.2.0-b.10 Message-ID: I'm trying to build cli 1.2.0. It seems to be a prerequisite for building libodb-mysql 2.5.0. On Oracle Linux 8. g++ 8.5.0, make 4.2.1. build 0.3 and build 2 from codesynthesis already installed in /usr/local I pulled 1.2.0 b 10 from git and simply followed the README.md [lim@localhost cli]$ bdep init @host -d cli initializing in project //cli/ fetching git:codesynthesis.com/libcutl/libcutl##HEAD (prerequisite of dir://cli) querying https://git.codesynthesis.com/libcutl/libcutl.git fetching from https://git.codesynthesis.com/libcutl/libcutl.git remote: Counting objects: 1303, done. remote: Compressing objects: 100% (926/926), done. remote: Total 1303 (delta 574), reused 747 (delta 342) Receiving objects: 100% (1303/1303), 891.26 KiB | 1.17 MiB/s, done. Resolving deltas: 100% (574/574), done. synchronizing: new libcutl/1.11.0-b.9+1 (required by cli) new cli/1.2.0-b.10+1 config.cli.develop=true (user configuration) distributing libcutl/1.11.0-b.9+1 error: invalid bool value 'pregenerated/cli/' in variable dist info: while converting 'pregenerated/cli/' info: while configuring cli -- 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/20230718/5d7f0a53/smime.bin From boris at codesynthesis.com Wed Jul 19 11:23:01 2023 From: boris at codesynthesis.com (Boris Kolpackov) Date: Wed Jul 19 11:13:38 2023 Subject: [cli-users] Error during bdep init for cli 1.2.0-b.10 In-Reply-To: References: Message-ID: Mark Lim 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@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. From mark.lim at broadcom.com Wed Jul 19 15:23:44 2023 From: mark.lim at broadcom.com (Mark Lim) Date: Wed Jul 19 15:15:10 2023 Subject: [cli-users] Error during bdep init for cli 1.2.0-b.10 In-Reply-To: References: Message-ID: On Wed, Jul 19, 2023 at 8:22?AM Boris Kolpackov wrote: > Mark Lim 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@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