Thanks everyone for testing it out.

I think the errors related to build failures in arrow-flight are related to
the upgrade of a dependent library called prost [1], which is used for
generating protobuf code. Previously prost bundled the protobuf compiler,
but now requires it to be installed locally[2] .

On debian like systems the compiler can be installed like this:

apt-get install -y protobuf-compiler

On mac I installed it with

brew install protobuf

If someone can confirm this fixes their problems, I will try and make a PR
to add the information to the build instruction

@Andy Grove <andygrov...@gmail.com>  your error about

"protoc failed: Unknown flag:
--experimental_allow_proto3_optional\n" }*

suggests maybe you have protoc installed but a version that isn't
compatible. If it keeps happening I'll file a ticket to investigate.

Andrew

[1] https://github.com/apache/arrow-rs/pull/1510
[2] https://docs.rs/prost-build/latest/prost_build/#sourcing-protoc

On Fri, Apr 15, 2022 at 8:54 PM Andy Grove <andygrov...@gmail.com> wrote:

> I ran into a problem running the release verification script. I will try
> and debug tomorrow .. perhaps it is a local environmental issue or maybe I
> just need to upgrade the version of protoc that is installed.
>
>
>
>
>
>
>
>
>
> *error: failed to run custom build command for `arrow-flight v12.0.0
> (/tmp/arrow-12.0.0.PitgR/apache-arrow-rs-12.0.0/arrow-flight)`Caused by:
> process didn't exit successfully:
>
> `/tmp/arrow-12.0.0.PitgR/apache-arrow-rs-12.0.0/target/debug/build/arrow-flight-32d1e9d97d680e87/build-script-build`
> (exit status: 1)  --- stdout
> cargo:rerun-if-changed=../format/Flight.proto  --- stderr  Error: Custom {
> kind: Other, error: "protoc failed: Unknown flag:
> --experimental_allow_proto3_optional\n" }*
>
> On Fri, Apr 15, 2022 at 6:08 PM Matthew Turner <
> matthew.m.tur...@outlook.com>
> wrote:
>
> > +1
> >
> > Verified on M1 Macbook.
> >
> > Thanks, Andrew.
> >
> > From: Andrew Lamb <al...@influxdata.com>
> > Date: Friday, April 15, 2022 at 6:51 PM
> > To: dev <dev@arrow.apache.org>
> > Subject: [VOTE][RUST] Release Apache Arrow Rust 12.0.0 RC1
> > Hi,
> >
> > I would like to propose a release of Apache Arrow Rust Implementation,
> > version 12.0.0.
> >
> > This release candidate is based on commit:
> > dbc47e030c3038d40dbef39fbf3b39ae41f9e98a [1]
> >
> > The proposed release tarball and signatures are hosted at [2].
> >
> > The changelog is located at [3].
> >
> > Please download, verify checksums and signatures, run the unit tests,
> > and vote on the release. There is a script [4] that automates some of
> > the verification.
> >
> > The vote will be open for at least 72 hours.
> >
> > [ ] +1 Release this as Apache Arrow Rust
> > [ ] +0
> > [ ] -1 Do not release this as Apache Arrow Rust  because...
> >
> > [1]:
> >
> >
> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Farrow-rs%2Ftree%2Fdbc47e030c3038d40dbef39fbf3b39ae41f9e98a&amp;data=04%7C01%7C%7C8838fa89c26944712e0a08da1f327163%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637856598750713755%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=EeqyzdE%2F0CzS3%2BamBUEnNRFgggWGtKSHYkLWISOs1DE%3D&amp;reserved=0
> > [2]:
> >
> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdist.apache.org%2Frepos%2Fdist%2Fdev%2Farrow%2Fapache-arrow-rs-12.0.0-rc1&amp;data=04%7C01%7C%7C8838fa89c26944712e0a08da1f327163%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637856598750713755%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=IwEBz24eiZZ11LbEjP3%2B64PI0MgJ%2Fk44q3dB4PcSUoM%3D&amp;reserved=0
> > [3]:
> >
> >
> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Farrow-rs%2Fblob%2Fdbc47e030c3038d40dbef39fbf3b39ae41f9e98a%2FCHANGELOG.md&amp;data=04%7C01%7C%7C8838fa89c26944712e0a08da1f327163%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637856598750713755%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=GQw2y4mZtPHbfo2E12nnA%2FvOqkn2%2F6RjGGhqhfRBcdA%3D&amp;reserved=0
> > [4]:
> >
> >
> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fapache%2Farrow-rs%2Fblob%2Fmaster%2Fdev%2Frelease%2Fverify-release-candidate.sh&amp;data=04%7C01%7C%7C8838fa89c26944712e0a08da1f327163%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637856598750713755%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&amp;sdata=rwlZbembNc13vr3jh1Muex6kpqmInAIUp4B6S7ejw74%3D&amp;reserved=0
> >
>

Reply via email to