Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 413821 - sys-apps/hwloc - configure: WARNING: --enable-libxml2 requested, but libxml2 was not found
Summary: sys-apps/hwloc - configure: WARNING: --enable-libxml2 requested, but libxml2 ...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-28 05:05 UTC by Robert Marmorstein
Modified: 2012-05-01 22:28 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info file (emerge.info,5.71 KB, text/plain)
2012-04-28 05:05 UTC, Robert Marmorstein
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Marmorstein 2012-04-28 05:05:11 UTC
Created attachment 310323 [details]
emerge --info file

When compiling hwloc (required by openmpi), the build fails with an error message about libxml2 not being found.  Probably libxml2 should be a dependency?

Error output:

 * Package:    sys-apps/hwloc-1.4.1
 * Repository: gentoo
 * Maintainer: xarthisius@gentoo.org cluster@gentoo.org
 * USE:        X amd64 cairo consolekit elibc_glibc kernel_linux multilib numa pci policykit svg userland_GNU xml
 * FEATURES:   nostrip sandbox splitdebug userpriv
>>> Unpacking source...
>>> Unpacking hwloc-1.4.1.tar.bz2 to /var/tmp/portage/sys-apps/hwloc-1.4.1/work
>>> Source unpacked in /var/tmp/portage/sys-apps/hwloc-1.4.1/work
>>> Preparing source in /var/tmp/portage/sys-apps/hwloc-1.4.1/work/hwloc-1.4.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/hwloc-1.4.1/work/hwloc-1.4.1 ...
 * econf: updating hwloc-1.4.1/config/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating hwloc-1.4.1/config/config.sub with /usr/share/gnuconfig/config.sub
./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 --docdir=/usr/share/doc/hwloc-1.4.1 --enable-cairo --disable-debug --enable-pci --enable-libnuma --disable-static --enable-libxml2 --with-x --disable-silent-rules
configure: loading site script /usr/share/config.site
configure: loading site script /usr/share/crossdev/include/site/linux
configure: loading site script /usr/share/crossdev/include/site/linux-gnu
configure: loading site script /usr/share/crossdev/include/site/x86_64-linux-gnu

###
### Configuring hwloc distribution tarball
### Startup tests
###
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for hwloc version... 1.4.1
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
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 whether x86_64-pc-linux-gnu-gcc and cc understand -c and -o together... yes
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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes

###
### Configuring hwloc core
###
checking hwloc building mode... standalone
configure: hwloc builddir: /var/tmp/portage/sys-apps/hwloc-1.4.1/work/hwloc-1.4.1
configure: hwloc srcdir: /var/tmp/portage/sys-apps/hwloc-1.4.1/work/hwloc-1.4.1
checking if want hwloc maintainer support... disabled
checking for hwloc directory prefix... (none)
checking for hwloc symbol prefix... hwloc_
checking size of void *... 8
checking which OS support to include... Linux
checking which CPU support to include... x86_64
checking size of unsigned long... 8
checking size of unsigned int... 4
checking for the C compiler vendor... gnu
checking for __attribute__... yes
checking for __attribute__(aligned)... yes
checking for __attribute__(always_inline)... yes
checking for __attribute__(cold)... yes
checking for __attribute__(const)... yes
checking for __attribute__(deprecated)... yes
checking for __attribute__(format)... yes
checking for __attribute__(hot)... yes
checking for __attribute__(malloc)... yes
checking for __attribute__(may_alias)... yes
checking for __attribute__(no_instrument_function)... yes
checking for __attribute__(nonnull)... yes
checking for __attribute__(noreturn)... yes
checking for __attribute__(packed)... yes
checking for __attribute__(pure)... yes
checking for __attribute__(sentinel)... yes
checking for __attribute__(unused)... yes
checking for __attribute__(warn_unused_result)... yes
checking for __attribute__(weak_alias)... yes
checking if x86_64-pc-linux-gnu-gcc supports -fvisibility=hidden... yes
checking whether to enable symbol visibility... yes (via -fvisibility=hidden)
configure: WARNING: "-fvisibility=hidden" has been added to the hwloc CFLAGS
checking whether the C compiler rejects function calls with too many arguments... yes
checking whether the C compiler rejects function calls with too few arguments... yes
checking for strncasecmp... yes
checking whether function strncasecmp is declared... yes
checking for strftime... yes
checking for setlocale... yes
checking for stdint.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for KAFFINITY... no
checking for PROCESSOR_CACHE_TYPE... no
checking for CACHE_DESCRIPTOR... no
checking for LOGICAL_PROCESSOR_RELATIONSHIP... no
checking for RelationProcessorPackage... no
checking for SYSTEM_LOGICAL_PROCESSOR_INFORMATION... no
checking for GROUP_AFFINITY... no
checking for PROCESSOR_RELATIONSHIP... no
checking for NUMA_NODE_RELATIONSHIP... no
checking for CACHE_RELATIONSHIP... no
checking for PROCESSOR_GROUP_INFO... no
checking for GROUP_RELATIONSHIP... no
checking for SYSTEM_LOGICAL_PROCESSOR_INFORMATION_EX... no
checking for PSAPI_WORKING_SET_EX_BLOCK... no
checking for PSAPI_WORKING_SET_EX_INFORMATION... no
checking for main in -lgdi32... no
checking windows.h usability... no
checking windows.h presence... no
checking for windows.h... no
checking sys/lgrp_user.h usability... no
checking sys/lgrp_user.h presence... no
checking for sys/lgrp_user.h... no
checking kstat.h usability... no
checking kstat.h presence... no
checking for kstat.h... no
checking for fabsf in -lm... yes
checking picl.h usability... no
checking picl.h presence... no
checking for picl.h... no
checking whether _SC_NPROCESSORS_ONLN is declared... yes
checking whether _SC_NPROCESSORS_CONF is declared... yes
checking whether _SC_NPROC_ONLN is declared... no
checking whether _SC_NPROC_CONF is declared... no
checking whether _SC_LARGE_PAGESIZE is declared... no
checking mach/mach_host.h usability... no
checking mach/mach_host.h presence... no
checking for mach/mach_host.h... no
checking mach/mach_init.h usability... no
checking mach/mach_init.h presence... no
checking for mach/mach_init.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/sysctl.h... yes
checking whether CTL_HW is declared... no
checking whether HW_NCPU is declared... no
checking for sysctl... yes
checking for sysctlbyname... no
checking for pthread_t... yes
checking whether function sched_setaffinity is declared... yes
checking for old prototype of sched_setaffinity... no
checking for working CPU_SET... yes
checking for working CPU_SET_S... yes
checking for working _syscall3... no
checking for KERRIGHED... no
checking for lib... no
checking for bash... /bin/sh
checking for ffs... yes
checking whether function ffs is declared... yes
checking for ffsl... yes
checking whether function ffsl is declared... yes
checking for fls... no
checking for flsl... no
checking for clz... no
checking for clzl... no
checking for openat... yes
checking malloc.h usability... yes
checking malloc.h presence... yes
checking for malloc.h... yes
checking for getpagesize... yes
checking for memalign... yes
checking for posix_memalign... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking for uname... yes
checking pthread_np.h usability... no
checking pthread_np.h presence... no
checking for pthread_np.h... no
checking whether pthread_setaffinity_np is declared... yes
checking whether pthread_getaffinity_np is declared... yes
checking for sched_setaffinity... yes
checking for sys/cpuset.h... no
checking for library containing pthread_getthrds_np... no
checking numaif.h usability... yes
checking numaif.h presence... yes
checking for numaif.h... yes
checking for numa_available in -lnuma... yes
checking for set_mempolicy in -lnuma... yes
checking for mbind in -lnuma... yes
checking for migrate_pages in -lnuma... yes
checking for PCI... yes
checking for pci_cleanup... yes
checking for final PCI support... yes
checking whether PCI_LOOKUP_NO_NUMBERS is declared... yes
checking whether PCI_LOOKUP_NO_NUMBERS is declared... (cached) yes
checking for pci_find_cap in -lpci... yes
checking whether struct pci_dev has a device_class field... yes
checking whether struct pci_dev has a domain field... yes
checking for LIBXML2... yes
checking for xmlNewDoc... no
checking for final LIBXML2 support... no
configure: WARNING: --enable-libxml2 requested, but libxml2 was not found
configure: error: Cannot continue

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-apps/hwloc-1.4.1/work/hwloc-1.4.1/config.log
 * ERROR: sys-apps/hwloc-1.4.1 failed (configure phase):
 *   econf failed
 * 
 * Call stack:
 *          ebuild.sh, line   85:  Called src_configure
 *        environment, line 1997:  Called econf '--docdir=/usr/share/doc/hwloc-1.4.1' '--enable-cairo' '--disable-debug' '--enable-pci' '--enable-libnuma' '--disable-static' '--enable-libxml2' '--with-x' '--disable-silent-rules'
 *   phase-helpers.sh, line  467:  Called die
 * The specific snippet of code:
 *                      die "econf failed"
 * 
 * If you need support, post the output of 'emerge --info =sys-apps/hwloc-1.4.1',
 * the complete build log and the output of 'emerge -pqv =sys-apps/hwloc-1.4.1'.
 * The complete build log is located at '/var/tmp/portage/sys-apps/hwloc-1.4.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/hwloc-1.4.1/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/hwloc-1.4.1/work/hwloc-1.4.1'
 * S: '/var/tmp/portage/sys-apps/hwloc-1.4.1/work/hwloc-1.4.1'
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2012-04-28 17:47:20 UTC
Please run revdep-rebuild.

If that doesn't fix this issue, then attach the config.log that the emerge output mentions.