Package Details: lib32-raptor 2.0.16-2

Git Clone URL: https://aur.archlinux.org/lib32-raptor.git (read-only, click to copy)
Package Base: lib32-raptor
Description: A C library that parses RDF/XML/N-Triples into RDF triples (32 bit)
Upstream URL: https://librdf.org/raptor
Keywords: lib32
Licenses: GPL2, Apache, LGPL2.1
Submitter: rafaelff
Maintainer: rodrigo21
Last Packager: rodrigo21
Votes: 12
Popularity: 0.000000
First Submitted: 2012-01-26 02:14 (UTC)
Last Updated: 2023-12-19 13:20 (UTC)

Latest Comments

Elmario commented on 2023-07-25 10:38 (UTC)

Thanks! I know I could download the sources, apply this patch and buidl it myself. But I don't know the standard procedure to have the next update, which hopefully has this issue fixed, update the lib from the repo again... I think would have to check for the library being updated in the repo manualyl all the time until it's done, then remove the selfbuild library (however this is working the right way) and then install the library from the repo again to have it automatically update in the future again, wouldn't I?

erenoit commented on 2023-07-25 00:24 (UTC)

It cannot be compiled because of changes in libxml2 2.11.0. There is a fix in the upstream:

diff --git a/src/raptor_libxml.c b/src/raptor_libxml.c
index 538c2c8e..8bcee139 100644
--- a/src/raptor_libxml.c
+++ b/src/raptor_libxml.c
@@ -246,10 +246,11 @@ raptor_libxml_getEntity(void* user_data, const xmlChar *name)

     ret->owner = 1;

-#if LIBXML_VERSION >= 20627
+#if LIBXML_VERSION >= 20627 && LIBXML_VERSION < 21100
     /* Checked field was released in 2.6.27 on 2006-10-25
      * http://git.gnome.org/browse/libxml2/commit/?id=a37a6ad91a61d168ecc4b29263def3363fff4da6
      *
+     * and was later removed in version 2.11.0
      */

     /* Mark this entity as having been checked - never do this again */
-- 
2.41.0

Elmario commented on 2023-07-19 10:36 (UTC)

Thanks for confirming. (I assume you mean the upstream repository?) Hwo could I mitigate this issue until the release has been updated? The sources have been fixed from the github link, and I built the latest from git and installed. But trying to install and build all the dependent 32 bit gstreamer plugins for running 32 bit Wine applications still fails, so it seemingly is using only the old version.

rodrigo21 commented on 2023-07-15 12:46 (UTC)

Updated lib32-libxml2 2.11 breaks it.

Even the package on the repo is broken.

Elmario commented on 2023-07-15 07:01 (UTC) (edited on 2023-07-15 07:04 (UTC) by Elmario)

It doesn't build currently. I don't know why. Possibly it's code related?


libtool: compile:  gcc -m32 -DHAVE_CONFIG_H -I. -DLIBRDFA_IN_RAPTOR -I../librdfa -DRAPTOR_INTERNAL=1 -I/usr/include/libxml2 -I/usr/include/libxml2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -MT sort_r.lo -MD -MP -MF .deps/sort_r.Tpo -c sort_r.c  -fPIC -DPIC -o .libs/sort_r.o
mv -f .deps/sort_r.Tpo .deps/sort_r.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -m32 -DHAVE_CONFIG_H -I.   -DLIBRDFA_IN_RAPTOR -I../librdfa -DRAPTOR_INTERNAL=1 -I/usr/include/libxml2     -I/usr/include/libxml2  -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -MT raptor_libxml.lo -MD -MP -MF .deps/raptor_libxml.Tpo -c -o raptor_libxml.lo raptor_libxml.c
libtool: compile:  gcc -m32 -DHAVE_CONFIG_H -I. -DLIBRDFA_IN_RAPTOR -I../librdfa -DRAPTOR_INTERNAL=1 -I/usr/include/libxml2 -I/usr/include/libxml2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -MT raptor_libxml.lo -MD -MP -MF .deps/raptor_libxml.Tpo -c raptor_libxml.c  -fPIC -DPIC -o .libs/raptor_libxml.o
raptor_libxml.c: In function 'raptor_libxml_getEntity':
raptor_libxml.c:256:12: error: 'xmlEntity' {aka 'struct _xmlEntity'} has no member named 'checked'
  256 |     if(!ret->checked)
      |            ^~
raptor_libxml.c:257:10: error: 'xmlEntity' {aka 'struct _xmlEntity'} has no member named 'checked'
  257 |       ret->checked = 1;
      |          ^~
make[2]: *** [Makefile:977: raptor_libxml.lo] Fehler 1
make[2]: Verzeichnis „/var/tmp/pamac-build-ladmin/lib32-raptor/src/raptor2-2.0.16/src“ wird verlassen
make[1]: *** [Makefile:802: all] Fehler 2
make[1]: Verzeichnis „/var/tmp/pamac-build-ladmin/lib32-raptor/src/raptor2-2.0.16/src“ wird verlassen
make: *** [Makefile:530: all-recursive] Fehler 1
==> FEHLER: Ein Fehler geschah in build().
    Breche ab...

<deleted-account> commented on 2023-05-13 11:38 (UTC)

Sooo, I've tried to build it and it had troubles to download the package from aria2 because of the redirects, I suggest to change the urls to "https://download.librdf.org/source/$_name-$pkgver.tar.gz{,.asc}"

francescoz96 commented on 2022-04-28 16:59 (UTC)

Doesn't build, complains that the file

raptor-2.0.15-CVE-2017-18926.patch

doesn't pass security check.

GordonGR commented on 2014-08-09 11:22 (UTC)

Adopted and updated.