Package Details: mingw-w64-libxml2 2.9.8-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-libxml2.git (read-only)
Package Base: mingw-w64-libxml2
Description: XML parsing library, version 2 (mingw-w64)
Upstream URL: http://www.xmlsoft.org/
Licenses: LGPL
Submitter: brcha
Maintainer: xantares
Last Packager: xantares
Votes: 15
Popularity: 0.081032
First Submitted: 2012-06-13 19:59
Last Updated: 2018-03-09 17:41

Latest Comments

FreddieChopin commented on 2018-02-08 17:43

The package does not build now... Any ideas how to fix it?

-- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 --

==> Starting prepare()...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in '.'.
libtoolize: copying file './ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/bin/autoconf --force
autoreconf: running: /usr/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:53: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated.  For more info, see:
configure.ac:53: <http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation>
configure.ac:61: installing './compile'
configure.ac:53: installing './missing'
Makefile.am: installing './depcomp'
doc/Makefile.am:21: warning: wildcard tutorial/*.html: non-POSIX variable name
doc/Makefile.am:21: (probably a GNU make extension)
doc/Makefile.am:21: warning: wildcard tutorial/*.c: non-POSIX variable name
doc/Makefile.am:21: (probably a GNU make extension)
doc/Makefile.am:21: warning: wildcard tutorial/*.pdf: non-POSIX variable name
doc/Makefile.am:21: (probably a GNU make extension)
doc/Makefile.am:21: warning: wildcard tutorial/images/*.png: non-POSIX variable name
doc/Makefile.am:21: (probably a GNU make extension)
doc/Makefile.am:21: warning: wildcard tutorial/images/callouts/*.png: non-POSIX variable name
doc/Makefile.am:21: (probably a GNU make extension)
doc/Makefile.am:21: warning: wildcard API*.html: non-POSIX variable name
doc/Makefile.am:21: (probably a GNU make extension)
doc/Makefile.am:21: warning: wildcard *.1: non-POSIX variable name
doc/Makefile.am:21: (probably a GNU make extension)
doc/Makefile.am:21: warning: wildcard *.xsl: non-POSIX variable name
doc/Makefile.am:21: (probably a GNU make extension)
doc/Makefile.am:21: warning: wildcard *.html: non-POSIX variable name
doc/Makefile.am:21: (probably a GNU make extension)
doc/Makefile.am:21: warning: wildcard *.gif: non-POSIX variable name
doc/Makefile.am:21: (probably a GNU make extension)
doc/Makefile.am:21: warning: wildcard html/*.html: non-POSIX variable name
doc/Makefile.am:21: (probably a GNU make extension)
doc/Makefile.am:21: warning: wildcard html/*.png: non-POSIX variable name
doc/Makefile.am:21: (probably a GNU make extension)
doc/Makefile.am:301: warning: filter-out %/xmlversion.h, $(wildcard $(top_srcdir: non-POSIX variable name
doc/Makefile.am:301: (probably a GNU make extension)
doc/Makefile.am:301: warning: wildcard $(top_srcdir: non-POSIX variable name
doc/Makefile.am:301: (probably a GNU make extension)
autoreconf: Leaving directory `.'
==> Starting build()...
/tmp/yaourt-tmp-freddie/aur-mingw-w64-libxml2/src/libxml2-2.9.7/build-i686-w64-mingw32 /tmp/yaourt-tmp-freddie/aur-mingw-w64-libxml2/src/libxml2-2.9.7
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... i686-w64-mingw32
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i686-w64-mingw32-strip... i686-w64-mingw32-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc
checking whether the C compiler works... no
configure: error: in `/tmp/yaourt-tmp-freddie/aur-mingw-w64-libxml2/src/libxml2-2.9.7/build-i686-w64-mingw32':
configure: error: C compiler cannot create executables
See `config.log' for more details
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build mingw-w64-libxml2.

-- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 -- >8 --

xantares commented on 2014-10-26 09:14

yeah me too, but the binaires produced are correct, I tested both shared and static libs.

digifuzzy commented on 2014-10-25 20:09

updating this package I get a weird output sequence.
building will report an error of invalid pointer, dump a backtrace and memory map and then ask if package is to be installed.

Copy of sequence available at: http://pastebin.com/hF0cpg32

xantares commented on 2013-11-04 07:50

Seems he disowned, I updated it for him.

xantares commented on 2013-09-19 16:50

Hi,

I think the missing !libtool was the cause:
https://gist.github.com/xantares/6554113/revisions

x.

xantares commented on 2013-09-19 16:48

hi,

I think i figured it out: you need the !libtool option instead of modifying LIBS

x.

xantares commented on 2013-09-13 18:16

Hi,

This fixes the url, the link flag, and the build dir creation:
https://gist.github.com/xantares/6554113/revisions

x.

xantares commented on 2013-09-13 10:27

Hey, it seems I'm full of crap for this linking bug.
But the http link is still more reliable.

xantares commented on 2013-09-13 10:26

Hey, it seems I'm full of crap for this linking bug.
But the html link is still more reliable.

ant32 commented on 2013-09-12 23:59

@xantares could you post a fixed src tarball for others to use until brcha is back again?

xantares commented on 2013-09-12 21:30

This time I've got a real bug :]

When you try to link a sample C executable with libxml2:
#include "libxml/parser.h"
int main()
{
printf("%d\n", xmlHasFeature(XML_WITH_THREAD));
return 0;
}

$ i686-w64-mingw32-gcc t_libxml2.c -I/usr/i686-w64-mingw32/include/libxml2
$ ./a.exe
err:module:import_dll Library iconv.dll (which is needed by L"Z:\\home\\xantares\\projects\\mingw-w64-test\\libxml2-2.dll") not found
err:module:import_dll Library libxml2-2.dll (which is needed by L"Z:\\home\\xantares\\projects\\mingw-w64-test\\a.exe") not found
err:module:LdrInitializeThunk Main exe initialization for L"Z:\\home\\xantares\\projects\\mingw-w64-test\\a.exe" failed, status c000

The problem is that libxml2 links both to symbols in libiconv.dll altough mingw-w64-libiconv ships libiconv-2.dll

One can fix that by replacing the iconv libs var: LIBS=-liconv in the PKGBUILD near the first patch line:
sed -i "s|liconv|liconv-2|g" configure

Check also the package mingw-w64-testsuite.

x.

xantares commented on 2013-09-12 21:03

Correction: the ftp link works but not under my virtual machine.
It's ok on a real machine.
xan.

ant32 commented on 2013-09-04 13:47

brcha is on vacation. So it'll be a little while till he responds.

xantares commented on 2013-09-04 11:30

As for termcap, the ftp link does not work, prefer:
http://xmlsoft.org/sources/libxml2-2.9.1.tar.gz

(See https://aur.archlinux.org/packages/termcap/)

ant32 commented on 2013-05-11 14:28

extra/libxml2 is now at version 2.9.1