Package Details: protobuf3.12 3.12.4-2

Git Clone URL: https://aur.archlinux.org/protobuf3.12.git (read-only, click to copy)
Package Base: protobuf3.12
Description: Protocol Buffers - Google's data interchange format
Upstream URL: https://developers.google.com/protocol-buffers/
Licenses: BSD
Submitter: AWhetter
Maintainer: AWhetter (Torxed)
Last Packager: Torxed
Votes: 1
Popularity: 0.188482
First Submitted: 2022-12-06 21:49 (UTC)
Last Updated: 2024-02-01 13:39 (UTC)

Latest Comments

Torxed commented on 2024-02-01 13:38 (UTC)

The build issues should now be fixed. Please poke me if it still doesn't build.

michimussato commented on 2024-01-14 00:18 (UTC)

I fail to manually install protobuf3.12 as suggested by nonprogiz:

cd protobuf-3.12.4
./configure --prefix=/usr --program-suffix=3.12
make
cd python/
python setup.py build --cpp_implementation
[...]
error: command '/usr/bin/gcc' failed with exit code 1
$ /usr/bin/gcc --version
gcc (GCC) 13.2.1 20230801
Copyright (C) 2023 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I'm stuck.

nonprogiz commented on 2023-11-16 01:38 (UTC) (edited on 2023-11-16 01:39 (UTC) by nonprogiz)

This package seems to fail to compile on the machines I've tried it on with:

google/protobuf/pyext/descriptor.cc:108:18: error: invalid use of incomplete type ‘PyFrameObject’ {aka ‘struct _frame’}
...
(lots of other errors)
...
error: command '/usr/bin/gcc' failed with exit code 1
==> ERROR: A failure occurred in build().
Aborting...

Manually getting the source provided here and compiling it with GCC works fine though.

If you need this package for pcoip-client and are getting similar errors, build and install protobuf yourself and you should be able to edit the pcoip-client build files to remove the dependency for protobuf3.

I see the comment to ignore the deprecation warnings but it seems this is beyond just those warnings...

mrueg commented on 2023-08-18 16:10 (UTC)

This seems to conflict with the main protobuf 23.4-1 package. You get error messages /usr/lib/libprotobuf-lite.so.23 exists in the file system (as well as /usr/lib/libprotobuf.so.23 and /usr/lib/libprotoc.so.23).