Package Details: avro-c 1.12.0-1

Git Clone URL: https://aur.archlinux.org/avro-c.git (read-only, click to copy)
Package Base: avro-c
Description: C bindings for Avro data serialization framework
Upstream URL: https://github.com/apache/avro
Licenses: Apache
Submitter: atweiden
Maintainer: dharrigan
Last Packager: dharrigan
Votes: 2
Popularity: 0.000000
First Submitted: 2016-01-10 22:14 (UTC)
Last Updated: 2024-08-26 08:15 (UTC)

Dependencies (7)

Sources (1)

Latest Comments

leonamS commented on 2024-07-23 07:20 (UTC) (edited on 2024-07-23 07:22 (UTC) by leonamS)

Worked using this.

AGTT commented on 2024-07-13 03:05 (UTC)

Hi @leonamS, Welcome to Linux!

I tried a plain compilation and it succeeded for me. That error should normally just be a warning, and it should not stop the compilation. I'm thinking that the bug could be in yay. Would you be able to try this to test it (for example)? (This is taken from PKGBUILD:build()):

$ wget -O /tmp/avro-1.11.3.tar.gz https://github.com/apache/avro/archive/refs/tags/release-1.11.3.tar.gz; $ tar -f /tmp/avro-1.11.3.tar.gz -C /tmp -x; $ mkdir /tmp/avro-c-1.11-3-build; $ cd /tmp/avro-c-1.11.3-build; $ cmake ../avro-release-1.11.3/lang/c -DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_PREFIX=/usr -DTHREADSAFE=true -Wno-dev; $ make;

It this successfully compiles, then the problem could be in yay, and the next step would be to try to compile and create the AUR package by using makepkg and to try to install the created package by using pacman as described in the Wiki: https://wiki.archlinux.org/title/Arch_User_Repository#Installing_and_upgrading_packages

I hope this helps! If you need more help, I would say post a more detailed discussion in the forums (for example, in the Newbie Corner: https://bbs.archlinux.org/viewforum.php?id=23)? Post the link here to follow-up, if you would like. See you there!

leonamS commented on 2024-07-11 11:16 (UTC)

Hi. Linux newbie here :)

I'm having this error below when I try to install kcat/avro-c. Someone can help? $ yay avro-c (cmd) " [ 59%] Building C object examples/CMakeFiles/quickstop.dir/quickstop.c.o In file included from /var/tmp/pamac-build-myyser/avro-c/src/avro-release-1.11.3/lang/c/src/avro/legacy.h:33, from /var/tmp/pamac-build-myyser/avro-c/src/avro-release-1.11.3/lang/c/src/avro/io.h:31, from /var/tmp/pamac-build-myyser/avro-c/src/avro-release-1.11.3/lang/c/src/avro/consumer.h:30, from /var/tmp/pamac-build-myyser/avro-c/src/avro-release-1.11.3/lang/c/src/avro.h:28, from /var/tmp/pamac-build-myyser/avro-c/src/avro-release-1.11.3/lang/c/examples/quickstop.c:18: /var/tmp/pamac-build-myyser/avro-c/src/avro-release-1.11.3/lang/c/examples/quickstop.c: In function ‘print_person’: /var/tmp/pamac-build-myyser/avro-c/src/avro-release-1.11.3/lang/c/examples/quickstop.c:123:61: error: passing argument 3 of ‘first_value.iface->get_string’ from incompatible pointer type [-Wincompatible-pointer-types] 123 | avro_value_get_string(&first_value, &p, &size); | ^~ | | | int32_t ** {aka int **} "

ps: I don't know if here is the right place for this question.

dharrigan commented on 2023-01-16 09:05 (UTC)

Hi!

Thanks for your suggestion. Did you do anything special for building, or did you just add in the aarch64 directive to the PKGBUILD? I would be happy to encorporate anything you did to PKGBUILD if you have something that you can share :-)

discord commented on 2023-01-13 21:16 (UTC)

I was able to add aarch64 and make the package. @dharrigan will you please add it ?

depau commented on 2020-06-16 16:25 (UTC)

Package updated to 1.9.2 and updated according to the CMake package guidelines. Therefore it's not building with -fPIC any longer, but with -fPIE and with the standard makepkg flags for reproducible builds.

depau commented on 2019-09-29 23:09 (UTC)

Done, thank you

mawcomw commented on 2019-09-26 16:58 (UTC)

Can you please add (-DCMAKE_C_FLAGS=-fPIC -DCMAKE_CXX_FLAGS=-fPIC) CMake flags to the package build function?

depau commented on 2019-01-18 13:36 (UTC) (edited on 2019-01-18 13:36 (UTC) by depau)

@AGTT I adopted the package and fixed the issue. They probably moved the tag and force-pushed it.

AGTT commented on 2018-02-24 15:40 (UTC)

It appears that the included sha256sum is not corresponding to https://codeload.github.com/apache/avro/tar.gz/release-1.8.2 . In addition, files from http://www.apache.org/dyn/closer.cgi/avro/ (for example http://mirror.stjschools.org/public/apache/avro/avro-1.8.2/avro-src-1.8.2.tar.gz , http://www.trieuvan.com/apache/avro/avro-1.8.2/c/avro-c-1.8.2.tar.gz), are not corresponding as well. Would anyone be able to confirm this, please?