Summary: | x11-misc/shared-mime-info-0.60 emerge fails | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | John L. Poole <prestopoole> |
Component: | New packages | Assignee: | Freedesktop bugs <freedesktop-bugs> |
Status: | RESOLVED TEST-REQUEST | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
environment
build.log |
Description
John L. Poole
2009-09-12 18:15:37 UTC
hermes jlpoole # emerge --update --newuse --deep world Calculating dependencies... done! >>> Verifying ebuild manifests >>> Starting parallel fetch >>> Emerging (1 of 24) x11-misc/shared-mime-info-0.60 * shared-mime-info-0.60.tar.bz2 RMD160 SHA1 SHA256 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking shared-mime-info-0.60.tar.bz2 to /var/tmp/portage/x11-misc/shared-mime-info-0.60/work >>> Source unpacked in /var/tmp/portage/x11-misc/shared-mime-info-0.60/work >>> Preparing source in /var/tmp/portage/x11-misc/shared-mime-info-0.60/work/shared-mime-info-0.60 ... * Applying shared-mime-info-0.60-parallel-make.patch ... [ ok ] am-wrapper: warning: invalid WANT_AUTOMAKE 'latest'; ignoring. * Automake used for the package (1.10.1) differs from * the installed version (1.10.2). * Running eautoreconf in '/var/tmp/portage/x11-misc/shared-mime-info-0.60/work/shared-mime-info-0.60' ... * Running aclocal ... [ ok ] * Running autoconf ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --foreign ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/x11-misc/shared-mime-info-0.60/work/shared-mime-info-0.60 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --disable-dependency-tracking --disable-update-mimedb configure: loading site script /usr/share/config.site configure: loading site script /usr/share/crossdev/include/site/linux checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for an ANSI C-conforming const... yes checking whether NLS is requested... yes checking for intltool >= 0.35.0... 0.40.5 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for perl... /usr/bin/perl checking for XML::Parser... ok checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /usr/bin/gmsgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for ALL... yes checking for GIO... yes checking for xmllint... /usr/bin/xmllint configure: creating ./config.status config.status: creating Makefile config.status: creating shared-mime-info.pc config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing po/stamp-it commands # INTLTOOL_MAKEFILE >>> Source configured. >>> Compiling source in /var/tmp/portage/x11-misc/shared-mime-info-0.60/work/shared-mime-info-0.60 ... make -j5 Makefile:959: warning: overriding commands for target `all' Makefile:287: warning: ignoring old commands for target `all' LC_ALL=C /usr/bin/intltool-merge -x -u -c ./po/.intltool-merge-cache ./po freedesktop.org.xml.in freedesktop.org.xml cd . && /bin/sh /var/tmp/portage/x11-misc/shared-mime-info-0.60/work/shared-mime-info-0.60/missing --run autoheader Making check in . make[1]: Entering directory `/var/tmp/portage/x11-misc/shared-mime-info-0.60/work/shared-mime-info-0.60' Makefile:959: warning: overriding commands for target `all' Makefile:287: warning: ignoring old commands for target `all' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=k8 -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -c -o update_mime_database-update-mime-database.o `test -f 'update-mime-database.c' || echo './'`update-mime-database.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=k8 -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -c -o test_subclassing-test-subclassing.o `test -f 'test-subclassing.c' || echo './'`test-subclassing.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -march=k8 -O2 -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -c -o test_tree_magic-test-tree-magic.o `test -f 'test-tree-magic.c' || echo './'`test-tree-magic.c test-subclassing.c:1:25: error: libxml/tree.h: No such file or directory test-subclassing.c: In function 'main': test-subclassing.c:9: error: 'xmlDocPtr' undeclared (first use in this function) test-subclassing.c:9: error: (Each undeclared identifier is reported only once test-subclassing.c:9: error: for each function it appears in.) test-subclassing.c:9: error: expected ';' before 'doc' test-subclassing.c:10: error: 'xmlNodePtr' undeclared (first use in this function) test-subclassing.c:10: error: expected ';' before 'node' test-subclassing.c:12: error: 'doc' undeclared (first use in this function) test-subclassing.c:12: warning: implicit declaration of function 'xmlReadFile' test-subclassing.c:18: error: 'node' undeclared (first use in this function) test-subclassing.c:18: warning: implicit declaration of function 'xmlDocGetRootElement' test-tree-magic.c:24:18: error: glib.h: No such file or directory test-tree-magic.c:25:21: error: gio/gio.h: No such file or directory test-tree-magic.c:30: error: expected specifier-qualifier-list before 'gchar' test-tree-magic.c:42: error: expected specifier-qualifier-list before 'gchar' test-tree-magic.c:47: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token test-tree-magic.c: In function 'tree_matchlet_free': test-tree-magic.c:52: warning: implicit declaration of function 'g_list_foreach' test-tree-magic.c:52: error: 'TreeMatchlet' has no member named 'matches' test-tree-magic.c:52: error: 'GFunc' undeclared (first use in this function) test-tree-magic.c:52: error: (Each undeclared identifier is reported only once test-tree-magic.c:52: error: for each function it appears in.) test-tree-magic.c:52: error: expected ')' before 'tree_matchlet_free' test-tree-magic.c:53: warning: implicit declaration of function 'g_list_free' test-tree-magic.c:53: error: 'TreeMatchlet' has no member named 'matches' test-tree-magic.c:54: warning: implicit declaration of function 'g_free' test-tree-magic.c:54: error: 'TreeMatchlet' has no member named 'path' test-tree-magic.c:55: error: 'TreeMatchlet' has no member named 'mimetype' test-tree-magic.c:56: warning: implicit declaration of function 'g_slice_free' test-tree-magic.c:56: error: expected expression before 'TreeMatchlet' test-tree-magic.c: In function 'tree_match_free': test-tree-magic.c:62: error: 'TreeMatch' has no member named 'matches' test-tree-magic.c:62: error: 'GFunc' undeclared (first use in this function) test-subclassing.c:25: error: expected ';' before 'p' test-subclassing.c:26: error: 'xmlChar' undeclared (first use in this function) test-subclassing.c:26: error: 'prop' undeclared (first use in this function) test-subclassing.c:28: error: 'p' undeclared (first use in this function) update-mime-database.c:11:18: error: glib.h: No such file or directory update-mime-database.c:12:26: error: glib/gprintf.h: No such file or directory test-subclassing.c:39: warning: implicit declaration of function 'xmlGetProp' test-subclassing.c:39: error: expected expression before ')' token test-subclassing.c:41: warning: implicit declaration of function 'xmlFree' test-subclassing.c:45: warning: implicit declaration of function 'xmlFreeDoc' update-mime-database.c:15:27: error: libxml/parser.h: No such file or directory update-mime-database.c:16:25: error: libxml/tree.h: No such file or directory ... [The next 600 lines are ommitted as they are basically errors similar to above] ... update-mime-database.c:3596: error: expected ')' before 'tree_magic_free' update-mime-database.c:3599: warning: implicit declaration of function 'g_hash_table_destroy' make[1]: *** [update_mime_database-update-mime-database.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/x11-misc/shared-mime-info-0.60/work/shared-mime-info-0.60' make: *** [check-recursive] Error 1 make: *** Waiting for unfinished jobs.... rm -f stamp-h1 touch config.h.in Merging translations into freedesktop.org.xml. CREATED freedesktop.org.xml * * ERROR: x11-misc/shared-mime-info-0.60 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2803: Called _eapi2_src_compile * ebuild.sh, line 634: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/x11-misc/shared-mime-info-0.60/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-misc/shared-mime-info-0.60/temp/environment'. * >>> Failed to emerge x11-misc/shared-mime-info-0.60, Log file: >>> '/var/tmp/portage/x11-misc/shared-mime-info-0.60/temp/build.log' * Messages for package x11-misc/shared-mime-info-0.60: * * ERROR: x11-misc/shared-mime-info-0.60 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2803: Called _eapi2_src_compile * ebuild.sh, line 634: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/x11-misc/shared-mime-info-0.60/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/x11-misc/shared-mime-info-0.60/temp/environment'. * hermes jlpoole # Looks like broken dev-libs/libxml2 installation. Created attachment 203877 [details]
environment
Created attachment 203879 [details]
build.log
following up on Comment #2 I emerged dev-libs/libxml2 again. hermes include # eix libxml2 [D] dev-libs/libxml2 Available versions: (2) 2.7.3 (~)2.7.3-r1 {debug doc examples ipv6 python readline test} Installed versions: 2.7.3-r2(2)(18:32:22 09/12/09)(ipv6 python readline -debug -doc -examples -test) Homepage: http://www.xmlsoft.org/ Description: Version 2 of the library to manipulate XML files hermes include # Try with CFLAGS="-I/usr/include/libxml2" and post emerge --info There's something really wrong with your system, here is a typical line from the build: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -march=native -pipe -g -Wall -Wstrict-prototypes -Wmissing-prototypes -Wwrite-strings -c -o update_mime_database-update-mime-database.o `test -f 'update-mime-database.c' || echo './'`update-mime-database.c you have none of the -I for dependencies. Broken pkg-config maybe... please try rebuilding it. Thanks (In reply to comment #9) > Broken pkg-config maybe... please try rebuilding it. > > Thanks > I had set up my system for cross-compiling, I'll explore pkg-config and related. Also, shared-mime-info-0.70 in tree. Please get back to us (reopen with information howto reproduce if necessary.) |