I have pushed an update on themartiancompany's http ur mirror while we wait for my secondary keys to be unsuspended.
Search Criteria
Package Details: python2-libxml2 2.9.14-1
Git Clone URL: | https://aur.archlinux.org/python2-libxml2.git (read-only, click to copy) |
---|---|
Package Base: | python2-libxml2 |
Description: | XML parsing library, version 2 |
Upstream URL: | https://gitlab.gnome.org/GNOME/libxml2/-/wikis/home |
Licenses: | MIT |
Submitter: | tallero |
Maintainer: | tallero (truocolo) |
Last Packager: | tallero |
Votes: | 4 |
Popularity: | 0.43 |
First Submitted: | 2022-01-04 02:16 (UTC) |
Last Updated: | 2023-07-03 13:20 (UTC) |
Dependencies (8)
- icu (icu-gitAUR)
- libxml2 (libxml2-gitAUR, libxml2-2.9AUR)
- ncurses (ncurses-gitAUR)
- python2AUR (python2-binAUR)
- readline (readline-gitAUR)
- xz (xz-gitAUR)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compatAUR)
- git (git-gitAUR) (make)
Required by (1)
Sources (3)
tallero commented on 2024-03-18 00:16 (UTC) (edited on 2024-03-18 00:16 (UTC) by tallero)
florosus commented on 2024-02-26 16:19 (UTC) (edited on 2024-02-26 16:22 (UTC) by florosus)
I finally got it to work (I mean python2 can actually import the darn library, not just that it compiles without errors)
Install libxml2-2.9
and
add --libdir=/usr/lib/libxml2-2.9/libxml2
to _configure_opts
in the PKGBUILD.
bidulock's change appears unnecessary, as do the custom cflags and ldflags.
bidulock commented on 2023-09-26 08:11 (UTC)
I got this to work with this change:
diff --git a/PKGBUILD b/PKGBUILD
index 78429a5..9febb7b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -27,7 +27,7 @@ depends=(
icu
ncurses
"${_py}"
- "${_pkg}=${_pkgver}"
+ "${_pkg}-2.9=${_pkgver}"
readline
xz
zlib
florosus commented on 2023-07-20 16:17 (UTC)
Doesn't seem to work with the libxml2-2.9
package, throws version error.
drws commented on 2023-07-02 21:38 (UTC)
It appears there is something wrong with the source URL in the latest PKGBUILD. Build is failing with:
==> ERROR: .../build/python2-libxml2/ is not a clone of https://gitlab.gnome.org/GNOME/libxml2.git
freedomsha commented on 2022-08-09 14:01 (UTC) (edited on 2022-08-10 12:21 (UTC) by freedomsha)
erreur : la validation de la transaction a échoué (conflit de fichiers ) python2-libxml2 : /usr/lib/python2.7/site-packages/libxml2.pyc est déjà présent dans le système de fichiers Des erreurs se sont produites, aucun paquet n’a été mis à jour. ==> ATTENTION : Paquets conservés dans ~/tmp/yaourt-tmp-sylvain cp : voulez-vous écraser '~/tmp/yaourt-tmp-sylvain/python2-libxml2-2.9.14-1-x86_64.pkg.tar.zst' ? O
solution: ajouter la ligne rm -rf "${pkgdir}/usr/lib/python2.7/site-packages/libxml2.pyc"
samueldy commented on 2022-06-08 19:51 (UTC)
Note that if you have custom Perl packages installed alongside the official distribution you may get an error like this:
Applying patch no-fuzz.diff...
Applied patch to 'Makefile.am' cleanly.
IO.c: loadable library and perl binaries are mismatched (got first handshake key 0xeb00080, needed 0xeb80080)
==> ERROR: A failure occurred in prepare().
Aborting...
-> error making: python2-libxml2
I was able to bypass the error by unsetting $PERL5LIB and and $PERL_LOCAL_LIB_ROOT when upgrading, like this:
env PERL5LIB= PERL_LOCAL_LIB_ROOT= yay --aur -Syu
Bakasura commented on 2022-05-02 16:18 (UTC)
@tallero Can you check if it is possible to lower the test time of the suite that is executed in the "check" function of PKGBUILD? At this time the installation of the package has taken more than 6 hours and counting
Thxs!
MarsSeed commented on 2022-04-21 11:48 (UTC) (edited on 2022-04-21 11:50 (UTC) by MarsSeed)
@gameslayer, there is nothing wrong with the W3C XML test suite link on my end. makepkg
is able to download and verify all the sources.
Pinned Comments
tallero commented on 2024-03-18 00:16 (UTC) (edited on 2024-03-18 00:16 (UTC) by tallero)
I have pushed an update on themartiancompany's http ur mirror while we wait for my secondary keys to be unsuspended.