Package Details: protobuf3.12 3.12.4-3

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: AWhetter
Votes: 1
Popularity: 0.147538
First Submitted: 2022-12-06 21:49 (UTC)
Last Updated: 2024-07-06 06:40 (UTC)

Latest Comments

furegato commented on 2024-09-08 18:16 (UTC) (edited on 2024-09-08 18:17 (UTC) by furegato)

I'm getting this error when I try to install this repo:

checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... configure: error: in '/home/deck/Downloads/protobuf3.12/src/protobuf-3.12.4':
configure: error: cannot run C compiled programs.
If you meant to cross compile, use '--host'.
See 'config.log' for more details
==> ERROR: A failure occurred in build().
    Aborting...
(4)(deck@steamdeck protobuf3.12)$ pacman -R protobu

Any idea on how to fix it? Cheers!

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).