Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42484 - xfsdump-2.2.16 fails to compile, missing headers (bad ebuild)
Summary: xfsdump-2.2.16 fails to compile, missing headers (bad ebuild)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High blocker (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on: 39559 42181
Blocks:
  Show dependency tree
 
Reported: 2004-02-22 08:37 UTC by Dave Andruczyk
Modified: 2004-08-20 22:06 UTC (History)
6 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Andruczyk 2004-02-22 08:37:42 UTC
attempting to emerge xfsdump results in a compile failure:


sudo emerge world -u
Calculating world dependencies ...done!
>>> emerge (1 of 2) sys-fs/xfsdump-2.2.16 to /
>>> md5 src_uri ;-) xfsdump-2.2.16.src.tar.gz
>>> Unpacking source...
>>> Unpacking xfsdump-2.2.16.src.tar.gz to /var/tmp/portage/xfsdump-2.2.16/work
>>> Source unpacked.
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for make... /usr/bin/make
checking for libtool... /usr/bin/libtool
checking for tar... /bin/tar
checking for gzip... /bin/gzip
checking for makedepend... /usr/X11R6/bin/makedepend
checking for awk... /bin/awk
checking for sed... /bin/sed
checking for echo... /bin/echo
checking for sort... /bin/sort
checking whether ln -s works... yes
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for rpm... /usr/bin/rpm
checking for rpmbuild... /usr/bin/rpmbuild
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... no
checking for sys/stat.h... no
checking for stdlib.h... no
checking for string.h... no
checking for memory.h... no
checking for strings.h... no
checking for inttypes.h... no
checking for stdint.h... no
checking for unistd.h... no
checking uuid.h usability... no
checking uuid.h presence... no
checking for uuid.h... no
checking uuid/uuid.h usability... no
checking uuid/uuid.h presence... yes
configure: WARNING: uuid/uuid.h: present but cannot be compiled
configure: WARNING: uuid/uuid.h: check for missing prerequisite headers?
configure: WARNING: uuid/uuid.h: proceeding with the preprocessor's result
checking for uuid/uuid.h... yes
checking for uuid_compare... no
checking for uuid_compare in -luuid... yes
checking ncurses.h usability... no
checking ncurses.h presence... yes
configure: WARNING: ncurses.h: present but cannot be compiled
configure: WARNING: ncurses.h: check for missing prerequisite headers?
configure: WARNING: ncurses.h: proceeding with the preprocessor's result
checking for ncurses.h... yes
checking for initscr in -lncurses... yes
checking for bad glibc/ncurses header interaction... ok
checking xfs/libxfs.h usability... no
checking xfs/libxfs.h presence... no
checking for xfs/libxfs.h... no

FATAL ERROR: cannot find a valid <xfs/libxfs.h> header file.
Install or upgrade the XFS development package.
Alternatively, run "make install-dev" from the xfsprogs source.

!!! ERROR: sys-fs/xfsdump-2.2.16 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed

xfsprogs is installed (2.3.9)

libxfs.h DOES exists in /usr/include/xfs/libxfs.h,  seems like the include path for this ebuild is incorrect (perhaps a missing " --prefix=/usr" line ? )

Further examination of /var/tmp/portage/xfsdump-2.2.16/work/xfsdump-2.2.16/config.log shows

configure:3632: test -s conftest
configure:3635: $? = 0
configure:3637: result: ok
configure:3664: checking xfs/libxfs.h usability
configure:3673: gcc -c -mcpu=athlon-mp -O2 -pipe -D_GNU_SOURCE  conftest.c >&5
In file included from configure:3701:
/usr/include/xfs/libxfs.h:37:20: xfs_fs.h: No such file or directory
/usr/include/xfs/libxfs.h:38:23: xfs_types.h: No such file or directory
/usr/include/xfs/libxfs.h:39:22: xfs_arch.h: No such file or directory
/usr/include/xfs/libxfs.h:40:20: xfs_sb.h: No such file or directory
/usr/include/xfs/libxfs.h:41:21: xfs_bit.h: No such file or directory
/usr/include/xfs/libxfs.h:42:22: xfs_inum.h: No such file or directory
/usr/include/xfs/libxfs.h:43:20: xfs_ag.h: No such file or directory
/usr/include/xfs/libxfs.h:44:26: xfs_da_btree.h: No such file or directory
/usr/include/xfs/libxfs.h:45:28: xfs_bmap_btree.h: No such file or directory
/usr/include/xfs/libxfs.h:46:29: xfs_alloc_btree.h: No such file or directory
/usr/include/xfs/libxfs.h:47:30: xfs_ialloc_btree.h: No such file or directory
/usr/include/xfs/libxfs.h:48:23: xfs_alloc.h: No such file or directory
/usr/include/xfs/libxfs.h:49:24: xfs_ialloc.h: No such file or directory
/usr/include/xfs/libxfs.h:50:25: xfs_rtalloc.h: No such file or directory
/usr/include/xfs/libxfs.h:51:23: xfs_btree.h: No such file or directory
/usr/include/xfs/libxfs.h:52:21: xfs_dir.h: No such file or directory
/usr/include/xfs/libxfs.h:53:24: xfs_dir_sf.h: No such file or directory
/usr/include/xfs/libxfs.h:54:26: xfs_dir_leaf.h: No such file or directory
/usr/include/xfs/libxfs.h:55:22: xfs_dir2.h: No such file or directory
/usr/include/xfs/libxfs.h:56:27: xfs_dir2_data.h: No such file or directory
/usr/include/xfs/libxfs.h:57:27: xfs_dir2_leaf.h: No such file or directory
/usr/include/xfs/libxfs.h:58:28: xfs_dir2_block.h: No such file or directory
/usr/include/xfs/libxfs.h:59:27: xfs_dir2_node.h: No such file or directory
/usr/include/xfs/libxfs.h:60:25: xfs_dir2_sf.h: No such file or directory
/usr/include/xfs/libxfs.h:61:25: xfs_attr_sf.h: No such file or directory
/usr/include/xfs/libxfs.h:62:24: xfs_dinode.h: No such file or directory
/usr/include/xfs/libxfs.h:63:27: xfs_attr_leaf.h: No such file or directory
/usr/include/xfs/libxfs.h:64:23: xfs_quota.h: No such file or directory
/usr/include/xfs/libxfs.h:65:23: xfs_dqblk.h: No such file or directory
/usr/include/xfs/libxfs.h:66:23: xfs_mount.h: No such file or directory
/usr/include/xfs/libxfs.h:67:29: xfs_trans_space.h: No such file or directory
/usr/include/xfs/libxfs.h:68:23: xfs_inode.h: No such file or directory
/usr/include/xfs/libxfs.h:69:26: xfs_buf_item.h: No such file or directory
/usr/include/xfs/libxfs.h:70:28: xfs_inode_item.h: No such file or directory
/usr/include/xfs/libxfs.h:71:22: xfs_bmap.h: No such file or directory
/usr/include/xfs/libxfs.h:72:22: xfs_imap.h: No such file or directory
/usr/include/xfs/libxfs.h:73:21: xfs_log.h: No such file or directory
/usr/include/xfs/libxfs.h:74:26: xfs_log_priv.h: No such file or directory

All of these headers do exist though.


Reproducible: Always
Steps to Reproduce:
1. emerge rsync
2.emerge xfsdump
3. --- EXPLOSION ---

Actual Results:  
checking xfs/libxfs.h presence... no 
checking for xfs/libxfs.h... no 
 
FATAL ERROR: cannot find a valid <xfs/libxfs.h> header file. 
Install or upgrade the XFS development package. 
Alternatively, run "make install-dev" from the xfsprogs source. 
 
!!! ERROR: sys-fs/xfsdump-2.2.16 failed. 
!!! Function econf, Line 365, Exitcode 1 
!!! econf failed 
 
 

Expected Results:  
xfsdump should have built,  package has bugs. (probably in autoconf flags in ebuild) 

emerge info 
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25) 
================================================================= 
System uname: 2.4.25 i686 AMD Athlon(tm) MP 
Gentoo Base System version 1.4.3.13 
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] 
Autoconf: sys-devel/autoconf-2.58-r1 
Automake: sys-devel/automake-1.7.7 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-mcpu=athlon-mp -O2 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /var/bind /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-mcpu=athlon-mp -O2 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ 
ftp://gentoo.noved.org/" 
MAKEOPTS=" -j4 " 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X aalib acl alsa apm arts avi berkdb bonobo cdr crypt cups curl dga dvb dvd encode esd 
foomaticdb freetype gdbm ggi gif gnome gphoto2 gpm gtk gtk2 guile imlib jack java joystick jpeg 
kde libg++ libwww mad mikmod mmx motif mozilla mpeg mysql nas ncurses nls oggvorbis opengl oss 
pam pdflib perl png python qt quicktime readline ruby samba scanner sdl slang spell ssl svga tcltk 
tcpd tetex truetype usb videos wmf x86 xft xml2 xmms xv zlib"
Comment 1 Brett I. Holcomb 2004-02-22 13:44:25 UTC
Same problem here.

checking for xfs/libxfs.h... no

FATAL ERROR: cannot find a valid <xfs/libxfs.h> header file.
Install or upgrade the XFS development package.
Alternatively, run "make install-dev" from the xfsprogs source.

!!! ERROR: sys-fs/xfsdump-2.2.16 failed.
!!! Function econf, Line 365, Exitcode 1
!!! econf failed
Comment 2 SpanKY gentoo-dev 2004-02-22 14:24:14 UTC
do you guys have /usr/include/xfs/libxfs.h ?
if yes, please include the config.log from the build directory

if no, do you have sys-fs/xfsprogs ?
if yes, please attach the output of `qpkg -l xfsprogs`
Comment 3 Dave Andruczyk 2004-02-22 15:16:09 UTC
yes xfsprogs is installed
output of qpkg -l xfsprogs
dave@shrapnel MegaTunix $ qpkg -l xfsprogs
sys-fs/xfsprogs-2.3.9 *
CONTENTS:
/bin
/bin/xfs_admin
/bin/xfs_check
/bin/xfs_logprint
/bin/xfs_freeze
/bin/xfs_growfs
/bin/xfs_db
/bin/xfs_mkfile
/bin/xfs_ncheck
/bin/xfs_bmap
/bin/xfs_info
/bin/xfs_rtcp
/lib
/lib/libhandle.la
/lib/libhandle.so -> /lib/libhandle.so.1
/lib/libhandle.so.1.0.1
/lib/libhandle.a
/lib/libhandle.so.1 -> libhandle.so.1.0.1
/lib/libxlog.a
/lib/libxfs.a
/lib/libdisk.a
/usr
/usr/share
/usr/share/doc
/usr/share/doc/xfsprogs
/usr/share/doc/xfsprogs/README
/usr/share/doc/xfsprogs/README.quota
/usr/share/doc/xfsprogs/README.LVM
/usr/share/doc/xfsprogs/PORTING
/usr/share/doc/xfsprogs/CHANGES.gz
/usr/share/doc/xfsprogs/COPYING
/usr/share/doc/xfsprogs/CREDITS
/usr/share/man
/usr/share/man/man3
/usr/share/man/man3/attr_list_by_handle.3.gz -> path_to_handle.3.gz
/usr/share/man/man3/path_to_fshandle.3.gz -> path_to_handle.3.gz
/usr/share/man/man3/path_to_handle.3.gz
/usr/share/man/man3/handle_to_fshandle.3.gz -> path_to_handle.3.gz
/usr/share/man/man3/fd_to_handle.3.gz -> path_to_handle.3.gz
/usr/share/man/man3/readlink_by_handle.3.gz -> path_to_handle.3.gz
/usr/share/man/man3/fssetdm_by_handle.3.gz -> path_to_handle.3.gz
/usr/share/man/man3/open_by_handle.3.gz -> path_to_handle.3.gz
/usr/share/man/man3/attr_multi_by_handle.3.gz -> path_to_handle.3.gz
/usr/share/man/man3/free_handle.3.gz -> path_to_handle.3.gz
/usr/share/man/man5
/usr/share/man/man5/xfs.5.gz
/usr/share/man/man8
/usr/share/man/man8/mkfs.xfs.8.gz
/usr/share/man/man8/xfs_freeze.8.gz
/usr/share/man/man8/xfs_info.8.gz -> xfs_growfs.8.gz
/usr/share/man/man8/xfs_repair.8.gz
/usr/share/man/man8/fsck.xfs.8.gz
/usr/share/man/man8/xfs_admin.8.gz
/usr/share/man/man8/xfs_mkfile.8.gz
/usr/share/man/man8/xfs_check.8.gz
/usr/share/man/man8/xfs_db.8.gz
/usr/share/man/man8/xfs_logprint.8.gz
/usr/share/man/man8/xfs_rtcp.8.gz
/usr/share/man/man8/xfs_ncheck.8.gz
/usr/share/man/man8/xfs_growfs.8.gz
/usr/share/man/man8/xfs_bmap.8.gz
/usr/include
/usr/include/xfs
/usr/include/xfs/xfs_dquot_item.h
/usr/include/xfs/xfs_mount.h
/usr/include/xfs/xfs_ialloc_btree.h
/usr/include/xfs/xfs_da_btree.h
/usr/include/xfs/jdm.h
/usr/include/xfs/xqm.h
/usr/include/xfs/xfs_trans.h
/usr/include/xfs/xfs_dir2_data.h
/usr/include/xfs/libxlog.h
/usr/include/xfs/xfs_types.h
/usr/include/xfs/xfs_log_recover.h
/usr/include/xfs/xfs_alloc.h
/usr/include/xfs/xfs_dir2_leaf.h
/usr/include/xfs/xfs_dir2_block.h
/usr/include/xfs/xfs_dir2_sf.h
/usr/include/xfs/xfs_dir2_node.h
/usr/include/xfs/xfs_rtalloc.h
/usr/include/xfs/handle.h
/usr/include/xfs/xfs_log_priv.h
/usr/include/xfs/xfs_attr_sf.h
/usr/include/xfs/xfs_bmap_btree.h
/usr/include/xfs/xfs_bit.h
/usr/include/xfs/xfs_dir.h
/usr/include/xfs/xfs_inode.h
/usr/include/xfs/xfs_log.h
/usr/include/xfs/xfs_trans_space.h
/usr/include/xfs/xfs_alloc_btree.h
/usr/include/xfs/xfs_arch.h
/usr/include/xfs/xfs_btree.h
/usr/include/xfs/xfs_bmap.h
/usr/include/xfs/xfs_dir2.h
/usr/include/xfs/xfs_dir_leaf.h
/usr/include/xfs/xfs_inode_item.h
/usr/include/xfs/swab.h
/usr/include/xfs/xfs_imap.h
/usr/include/xfs/xfs_inum.h
/usr/include/xfs/xfs_attr_leaf.h
/usr/include/xfs/xfs_dfrag.h
/usr/include/xfs/xfs_ialloc.h
/usr/include/xfs/xfs_extfree_item.h
/usr/include/xfs/xfs_quota.h
/usr/include/xfs/xfs_buf_item.h
/usr/include/xfs/platform_defs.h
/usr/include/xfs/xfs_dqblk.h
/usr/include/xfs/libxfs.h
/usr/include/xfs/xfs_ag.h
/usr/include/xfs/xfs_fs.h
/usr/include/xfs/xfs_sb.h
/usr/include/xfs/xfs_dinode.h
/usr/include/xfs/xfs_dir_sf.h
/usr/include/disk
/usr/include/disk/dvh.h
/usr/include/disk/fstyp.h
/usr/include/disk/volume.h
/sbin
/sbin/fsck.xfs
/sbin/mkfs.xfs
/sbin/xfs_repair

Comment 4 SpanKY gentoo-dev 2004-02-22 15:21:52 UTC
whoops, i completely missed your pasting of the config.log, sorry about that ;)
Comment 5 Dave Andruczyk 2004-02-22 15:25:56 UTC
config.log as requested

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  $ ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/
share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/lib --sbindir=/sbin --libexecdir=/usr/lib

## --------- ##
## Platform. ##
## --------- ##

hostname = shrapnel.enterpriserp.com
uname -m = i686
uname -r = 2.4.25
uname -s = Linux
uname -v = #2 SMP Thu Feb 19 19:56:43 EST 2004

/usr/bin/uname -p = AMD Athlon(tm) MP
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/lib/ccache/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib/portage/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /opt/bin
PATH: /usr/i686-pc-linux-gnu/gcc-bin/3.3
PATH: /usr/X11R6/bin
PATH: /opt/sun-jdk-1.4.2.03/bin
PATH: /opt/sun-jdk-1.4.2.03/jre/bin
PATH: /opt/sun-jdk-1.4.2.03/jre/javaws
PATH: /usr/qt/3/bin
PATH: /usr/kde/3.2/sbin
PATH: /usr/kde/3.2/bin
PATH: /usr/qt/2/bin
PATH: /usr/share/karamba/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2016: checking for make
configure:2034: found /usr/bin/make
configure:2047: result: /usr/bin/make
configure:2068: checking for libtool
configure:2087: found /usr/bin/libtool
configure:2099: result: /usr/bin/libtool
configure:2120: checking for tar
configure:2138: found /bin/tar
configure:2150: result: /bin/tar
configure:2163: checking for gzip
configure:2181: found /bin/gzip
configure:2194: result: /bin/gzip
configure:2207: checking for makedepend
configure:2225: found /usr/X11R6/bin/makedepend
configure:2238: result: /usr/X11R6/bin/makedepend
configure:2251: checking for awk
configure:2269: found /bin/awk
configure:2282: result: /bin/awk
configure:2295: checking for sed
configure:2313: found /bin/sed
configure:2326: result: /bin/sed
configure:2339: checking for echo
configure:2357: found /bin/echo
configure:2370: result: /bin/echo
configure:2383: checking for sort
configure:2401: found /bin/sort
configure:2414: result: /bin/sort
configure:2425: checking whether ln -s works
configure:2429: result: yes
configure:2441: checking for msgfmt
configure:2457: found /usr/bin/msgfmt
configure:2467: result: /usr/bin/msgfmt
configure:2487: checking for msgmerge
configure:2503: found /usr/bin/msgmerge
configure:2513: result: /usr/bin/msgmerge
configure:2535: checking for rpm
configure:2553: found /usr/bin/rpm
configure:2566: result: /usr/bin/rpm
configure:2583: checking for rpmbuild
configure:2601: found /usr/bin/rpmbuild
configure:2613: result: /usr/bin/rpmbuild
configure:2633: checking how to run the C preprocessor
configure:2659: gcc -E  conftest.c
configure:2665: $? = 0
configure:2692: gcc -E  conftest.cconfigure:2735: result: gcc -E
configure:2750: gcc -E  conftest.c
configure:2756: $? = 0
configure:2783: gcc -E  conftest.c
configure:2779:28: ac_nonexistent.h: No such file or directory
configure:2789: $? = 1
configure: failed program was:
#line 2778 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
configure:2829: checking for ANSI C header files
configure:2843: gcc -E  conftest.c
configure:2849: $? = 0
configure:2934: gcc -o conftest -mcpu=athlon-mp -O2 -pipe   conftest.c  >&5
configure:2937: $? = 0
configure:2939: ./conftest
configure:2942: $? = 0
configure:2956: result: yes
configure:2980: checking for sys/types.h
configure:2993: gcc -c -mcpu=athlon-mp -O2 -pipe  conftest.c >&5
configure:2996: $? = 0
configure:2999: test -s conftest.
configure:3002: $? = 1
configure: failed program was:
#line 2985 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif

#include <sys/types.h>
configure:3012: result: no
configure:2980: checking for sys/stat.h
configure:2993: gcc -c -mcpu=athlon-mp -O2 -pipe  conftest.c >&5
configure:2996: $? = 0
configure:2999: test -s conftest.
configure:3002: $? = 1
configure: failed program was:
#line 2985 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <sys/stat.h>
configure:3012: result: no
configure:2980: checking for stdlib.h
configure:2993: gcc -c -mcpu=athlon-mp -O2 -pipe  conftest.c >&5
configure:2996: $? = 0
configure:2999: test -s conftest.
configure:3002: $? = 1
configure: failed program was:
#line 2985 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif

#include <stdlib.h>
configure:3012: result: no
configure:2980: checking for string.h
configure:2993: gcc -c -mcpu=athlon-mp -O2 -pipe  conftest.c >&5
configure:2996: $? = 0
configure:2999: test -s conftest.
configure:3002: $? = 1
configure: failed program was:
#line 2985 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif

#include <string.h>
configure:3012: result: no
configure:2980: checking for memory.h
configure:2993: gcc -c -mcpu=athlon-mp -O2 -pipe  conftest.c >&5
configure:2996: $? = 0
configure:2999: test -s conftest.
configure:3002: $? = 1
configure: failed program was:
#line 2985 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif

#include <memory.h>
configure:3012: result: no
configure:2980: checking for strings.h
configure:2993: gcc -c -mcpu=athlon-mp -O2 -pipe  conftest.c >&5
configure:2996: $? = 0
configure:2999: test -s conftest.
configure:3002: $? = 1
configure: failed program was:
#line 2985 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif

#include <strings.h>
configure:3012: result: no
configure:2980: checking for inttypes.h
configure:2993: gcc -c -mcpu=athlon-mp -O2 -pipe  conftest.c >&5
configure:2996: $? = 0
configure:2999: test -s conftest.
configure:3002: $? = 1
configure: failed program was:
#line 2985 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif

#include <inttypes.h>
configure:3012: result: no
configure:2980: checking for stdint.h
configure:2993: gcc -c -mcpu=athlon-mp -O2 -pipe  conftest.c >&5
configure:2996: $? = 0
configure:2999: test -s conftest.
configure:3002: $? = 1
configure: failed program was:
#line 2985 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif

#include <stdint.h>
configure:3012: result: no
configure:2980: checking for unistd.h
configure:2993: gcc -c -mcpu=athlon-mp -O2 -pipe  conftest.c >&5
configure:2996: $? = 0
configure:2999: test -s conftest.
configure:3002: $? = 1
configure: failed program was:
#line 2985 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#include <unistd.h>
configure:3012: result: no
configure:3038: checking uuid.h usability
configure:3047: gcc -c -mcpu=athlon-mp -O2 -pipe  conftest.c >&5
configure:3075:18: uuid.h: No such file or directory
configure:3050: $? = 1
configure: failed program was:
#line 3040 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <uuid.h>
configure:3065: result: no
configure:3069: checking uuid.h presence
configure:3076: gcc -E  conftest.c
configure:3072:18: uuid.h: No such file or directory
configure:3082: $? = 1
configure: failed program was:
#line 3071 "configure"
#include "confdefs.h"
#include <uuid.h>
configure:3100: result: no
configure:3118: checking for uuid.h
configure:3125: result: no
configure:3153: checking uuid/uuid.h usability
configure:3162: gcc -c -mcpu=athlon-mp -O2 -pipe  conftest.c >&5
configure:3165: $? = 0
configure:3168: test -s conftest.
configure:3171: $? = 1
configure: failed program was:
#line 3155 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <uuid/uuid.h>
configure:3180: result: no
configure:3184: checking uuid/uuid.h presence
configure:3191: gcc -E  conftest.c
configure:3197: $? = 0
configure:3215: result: yes
configure:3226: WARNING: uuid/uuid.h: present but cannot be compiled
configure:3228: WARNING: uuid/uuid.h: check for missing prerequisite headers?
configure:3230: WARNING: uuid/uuid.h: proceeding with the preprocessor's result
configure:3233: checking for uuid/uuid.h
configure:3240: result: yes
configure:3265: checking for uuid_compare
configure:3308: gcc -o conftest -mcpu=athlon-mp -O2 -pipe   conftest.c  >&5
/var/tmp/portage/xfsdump-2.2.16/temp/ccNVsdeF.o(.text+0xe): In function `main':
: undefined reference to `uuid_compare'
collect2: ld returned 1 exit status
configure:3311: $? = 1
configure: failed program was:
#line 3270 "configure"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char uuid_compare (); below.  */
#include <assert.h>
/* Override any gcc2 internal prototype to avoid an error.  */
#ifdef __cplusplus
extern "C"
#endif
/* We use char because int might match the return type of a gcc2
   builtin and then its argument prototype would still apply.  */
char uuid_compare ();
char (*f) ();

#ifdef F77_DUMMY_MAIN
#  ifdef __cplusplus
     extern "C"
#  endif
   int F77_DUMMY_MAIN() { return 1; }
#endif
int
main ()
{
/* The GNU C library defines this for functions which it implements
    to always fail with ENOSYS.  Some functions are actually named
    something starting with __ and the normal name is an alias.  */
#if defined (__stub_uuid_compare) || defined (__stub___uuid_compare)
choke me
#else
f = uuid_compare;
#endif

  ;
  return 0;
}
configure:3327: result: no
configure:3338: checking for uuid_compare in -luuid
configure:3371: gcc -o conftest -mcpu=athlon-mp -O2 -pipe   conftest.c -luuid   >&5
configure:3374: $? = 0
configure:3377: test -s conftest
configure:3380: $? = 0
configure:3391: result: yes
configure:3421: checking ncurses.h usability
configure:3430: gcc -c -mcpu=athlon-mp -O2 -pipe  conftest.c >&5
configure:3433: $? = 0
configure:3436: test -s conftest.
configure:3439: $? = 1
configure: failed program was:
#line 3423 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <ncurses.h>
configure:3448: result: no
configure:3452: checking ncurses.h presence
configure:3459: gcc -E  conftest.c
configure:3465: $? = 0
configure:3483: result: yes
configure:3494: WARNING: ncurses.h: present but cannot be compiled
configure:3496: WARNING: ncurses.h: check for missing prerequisite headers?
configure:3498: WARNING: ncurses.h: proceeding with the preprocessor's result
 configure:3501: checking for ncurses.h
configure:3508: result: yes
configure:3529: checking for initscr in -lncurses
configure:3562: gcc -o conftest -mcpu=athlon-mp -O2 -pipe   conftest.c -lncurses   >&5
configure:3565: $? = 0
configure:3568: test -s conftest
configure:3571: $? = 0
configure:3582: result: yes
configure:3600: checking for bad glibc/ncurses header interaction
configure:3626: gcc -o conftest -mcpu=athlon-mp -O2 -pipe -D_GNU_SOURCE   conftest.c -lncurses  -lncurses >&5
configure:3629: $? = 0
configure:3632: test -s conftest
configure:3635: $? = 0
configure:3637: result: ok
configure:3664: checking xfs/libxfs.h usability
configure:3673: gcc -c -mcpu=athlon-mp -O2 -pipe -D_GNU_SOURCE  conftest.c >&5
In file included from configure:3701:
/usr/include/xfs/libxfs.h:37:20: xfs_fs.h: No such file or directory
/usr/include/xfs/libxfs.h:38:23: xfs_types.h: No such file or directory
/usr/include/xfs/libxfs.h:39:22: xfs_arch.h: No such file or directory
/usr/include/xfs/libxfs.h:40:20: xfs_sb.h: No such file or directory
/usr/include/xfs/libxfs.h:41:21: xfs_bit.h: No such file or directory
/usr/include/xfs/libxfs.h:42:22: xfs_inum.h: No such file or directory
/usr/include/xfs/libxfs.h:43:20: xfs_ag.h: No such file or directory
/usr/include/xfs/libxfs.h:44:26: xfs_da_btree.h: No such file or directory
/usr/include/xfs/libxfs.h:45:28: xfs_bmap_btree.h: No such file or directory
/usr/include/xfs/libxfs.h:46:29: xfs_alloc_btree.h: No such file or directory
/usr/include/xfs/libxfs.h:47:30: xfs_ialloc_btree.h: No such file or directory
/usr/include/xfs/libxfs.h:48:23: xfs_alloc.h: No such file or directory
/usr/include/xfs/libxfs.h:49:24: xfs_ialloc.h: No such file or directory
/usr/include/xfs/libxfs.h:50:25: xfs_rtalloc.h: No such file or directory
/usr/include/xfs/libxfs.h:51:23: xfs_btree.h: No such file or directory
/usr/include/xfs/libxfs.h:52:21: xfs_dir.h: No such file or directory
/usr/include/xfs/libxfs.h:53:24: xfs_dir_sf.h: No such file or directory
/usr/include/xfs/libxfs.h:54:26: xfs_dir_leaf.h: No such file or directory
/usr/include/xfs/libxfs.h:55:22: xfs_dir2.h: No such file or directory
/usr/include/xfs/libxfs.h:56:27: xfs_dir2_data.h: No such file or directory
/usr/include/xfs/libxfs.h:57:27: xfs_dir2_leaf.h: No such file or directory
/usr/include/xfs/libxfs.h:58:28: xfs_dir2_block.h: No such file or directory
/usr/include/xfs/libxfs.h:59:27: xfs_dir2_node.h: No such file or directory
/usr/include/xfs/libxfs.h:60:25: xfs_dir2_sf.h: No such file or directory
/usr/include/xfs/libxfs.h:61:25: xfs_attr_sf.h: No such file or directory
/usr/include/xfs/libxfs.h:62:24: xfs_dinode.h: No such file or directory
/usr/include/xfs/libxfs.h:63:27: xfs_attr_leaf.h: No such file or directory
/usr/include/xfs/libxfs.h:64:23: xfs_quota.h: No such file or directory
/usr/include/xfs/libxfs.h:65:23: xfs_dqblk.h: No such file or directory
/usr/include/xfs/libxfs.h:66:23: xfs_mount.h: No such file or directory
/usr/include/xfs/libxfs.h:67:29: xfs_trans_space.h: No such file or directory
/usr/include/xfs/libxfs.h:68:23: xfs_inode.h: No such file or directory
/usr/include/xfs/libxfs.h:69:26: xfs_buf_item.h: No such file or directory
/usr/include/xfs/libxfs.h:70:28: xfs_inode_item.h: No such file or directory
/usr/include/xfs/libxfs.h:71:22: xfs_bmap.h: No such file or directory
/usr/include/xfs/libxfs.h:72:22: xfs_imap.h: No such file or directory
/usr/include/xfs/libxfs.h:73:21: xfs_log.h: No such file or directory
/usr/include/xfs/libxfs.h:74:26: xfs_log_priv.h: No such file or directory
In file included from configure:3701:
/usr/include/xfs/libxfs.h:132: error: syntax error before "xfs_sb_t"
/usr/include/xfs/libxfs.h:134: error: syntax error before "m_agfrotor"
/usr/include/xfs/libxfs.h:135: error: syntax error before "m_agirotor"
/usr/include/xfs/libxfs.h:136: error: syntax error before "m_maxagi"
/usr/include/xfs/libxfs.h:164: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:174: error: syntax error before "m_reservations"
/usr/include/xfs/libxfs.h:184: error: syntax error before "m_dirdatablk"
/usr/include/xfs/libxfs.h:185: error: syntax error before "m_dirleafblk"
/usr/include/xfs/libxfs.h:186: error: syntax error before "m_dirfreeblk"
/usr/include/xfs/libxfs.h:190: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:190: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:192: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:193: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:194: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:195: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:196: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:197: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:198: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:199: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:234: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:256: error: syntax error before "xfs_inode_log_format_t"
/usr/include/xfs/libxfs.h:264: error: syntax error before "xfs_buf_log_format_t"
/usr/include/xfs/libxfs.h:267:23: xfs_trans.h: No such file or directory
/usr/include/xfs/libxfs.h:271: error: syntax error before "xfs_mount_t"
/usr/include/xfs/libxfs.h:278: error: syntax error before "t_items"
/usr/include/xfs/libxfs.h:281: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:281: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:282: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:282: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:283: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:284: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:285: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:286: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:288: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:290: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:291: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:292: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:293: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:296: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:297: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:298: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:299: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:300: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:302: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:304: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:330: error: syntax error before "xfs_mount_t"
/usr/include/xfs/libxfs.h:336: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:337: error: syntax error before "i_df"
/usr/include/xfs/libxfs.h:341: error: syntax error before "i_d"
/usr/include/xfs/libxfs.h:349: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:351: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:353: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:354: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:356: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:357: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:358: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:360: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:362: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:368: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:369: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:370: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:371: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:372: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:375: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:378: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:380: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:382: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:385: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:388: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:391: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:394: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:397: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:405: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:409: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:411: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:413: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:416: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:428: error: syntax error before "xfs_sb_t"
/usr/include/xfs/libxfs.h:431: error: syntax error before "xfs_dinode_core_t"
/usr/include/xfs/libxfs.h:433: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:434: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:437: error: syntax error before "libxfs_da_hashname"
/usr/include/xfs/libxfs.h:438: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:440: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:447: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:448: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:452: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:453: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:455: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:456: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:457: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:458: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:460: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:462: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:464: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:465: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:467: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:468: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:469: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:470: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:473: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:476: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:478: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:479: error: syntax error before '*' token
/usr/include/xfs/libxfs.h:481: error: syntax error before '*' token
configure:3676: $? = 1
configure: failed program was:
#line 3666 "configure"
#include "confdefs.h"
#include <stdio.h>
#if HAVE_SYS_TYPES_H
# include <sys/types.h>
#endif
#if HAVE_SYS_STAT_H
# include <sys/stat.h>
#endif
#if STDC_HEADERS
# include <stdlib.h>
# include <stddef.h>
#else
# if HAVE_STDLIB_H
#  include <stdlib.h>
# endif
#endif
#if HAVE_STRING_H
# if !STDC_HEADERS && HAVE_MEMORY_H
#  include <memory.h>
# endif
# include <string.h>
#endif
#if HAVE_STRINGS_H
# include <strings.h>
#endif
#if HAVE_INTTYPES_H
# include <inttypes.h>
#else
# if HAVE_STDINT_H
#  include <stdint.h>
# endif
#endif
#if HAVE_UNISTD_H
# include <unistd.h>
#endif
#include <xfs/libxfs.h>
configure:3691: result: no
configure:3695: checking xfs/libxfs.h presence
configure:3702: gcc -E  conftest.c
In file included from configure:3698:
/usr/include/xfs/libxfs.h:37:20: xfs_fs.h: No such file or directory
/usr/include/xfs/libxfs.h:38:23: xfs_types.h: No such file or directory
/usr/include/xfs/libxfs.h:39:22: xfs_arch.h: No such file or directory
/usr/include/xfs/libxfs.h:40:20: xfs_sb.h: No such file or directory
/usr/include/xfs/libxfs.h:41:21: xfs_bit.h: No such file or directory
/usr/include/xfs/libxfs.h:42:22: xfs_inum.h: No such file or directory
/usr/include/xfs/libxfs.h:43:20: xfs_ag.h: No such file or directory
/usr/include/xfs/libxfs.h:44:26: xfs_da_btree.h: No such file or directory
/usr/include/xfs/libxfs.h:45:28: xfs_bmap_btree.h: No such file or directory
/usr/include/xfs/libxfs.h:46:29: xfs_alloc_btree.h: No such file or directory
/usr/include/xfs/libxfs.h:47:30: xfs_ialloc_btree.h: No such file or directory
/usr/include/xfs/libxfs.h:48:23: xfs_alloc.h: No such file or directory
/usr/include/xfs/libxfs.h:49:24: xfs_ialloc.h: No such file or directory
/usr/include/xfs/libxfs.h:50:25: xfs_rtalloc.h: No such file or directory
/usr/include/xfs/libxfs.h:51:23: xfs_btree.h: No such file or directory
/usr/include/xfs/libxfs.h:52:21: xfs_dir.h: No such file or directory
/usr/include/xfs/libxfs.h:53:24: xfs_dir_sf.h: No such file or directory
/usr/include/xfs/libxfs.h:54:26: xfs_dir_leaf.h: No such file or directory
/usr/include/xfs/libxfs.h:55:22: xfs_dir2.h: No such file or directory
/usr/include/xfs/libxfs.h:56:27: xfs_dir2_data.h: No such file or directory
/usr/include/xfs/libxfs.h:57:27: xfs_dir2_leaf.h: No such file or directory
/usr/include/xfs/libxfs.h:58:28: xfs_dir2_block.h: No such file or directory
/usr/include/xfs/libxfs.h:59:27: xfs_dir2_node.h: No such file or directory
/usr/include/xfs/libxfs.h:60:25: xfs_dir2_sf.h: No such file or directory
/usr/include/xfs/libxfs.h:61:25: xfs_attr_sf.h: No such file or directory
/usr/include/xfs/libxfs.h:62:24: xfs_dinode.h: No such file or directory
/usr/include/xfs/libxfs.h:63:27: xfs_attr_leaf.h: No such file or directory
/usr/include/xfs/libxfs.h:64:23: xfs_quota.h: No such file or directory
/usr/include/xfs/libxfs.h:65:23: xfs_dqblk.h: No such file or directory
/usr/include/xfs/libxfs.h:66:23: xfs_mount.h: No such file or directory
/usr/include/xfs/libxfs.h:67:29: xfs_trans_space.h: No such file or directory
/usr/include/xfs/libxfs.h:68:23: xfs_inode.h: No such file or directory
/usr/include/xfs/libxfs.h:69:26: xfs_buf_item.h: No such file or directory
/usr/include/xfs/libxfs.h:70:28: xfs_inode_item.h: No such file or directory
/usr/include/xfs/libxfs.h:71:22: xfs_bmap.h: No such file or directory
/usr/include/xfs/libxfs.h:72:22: xfs_imap.h: No such file or directory
/usr/include/xfs/libxfs.h:73:21: xfs_log.h: No such file or directory
/usr/include/xfs/libxfs.h:74:26: xfs_log_priv.h: No such file or directory
/usr/include/xfs/libxfs.h:267:23: xfs_trans.h: No such file or directory
configure:3708: $? = 1
configure: failed program was:
#line 3697 "configure"
#include "confdefs.h"
#include <xfs/libxfs.h>
configure:3726: result: no
configure:3744: checking for xfs/libxfs.h
configure:3751: result: no

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-mcpu=athlon-mp -O2 -pipe'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_func_uuid_compare=no
ac_cv_header_inttypes_h=no
ac_cv_header_memory_h=no
ac_cv_header_ncurses_h=yes
ac_cv_header_stdc=yes
ac_cv_header_stdint_h=no
ac_cv_header_stdlib_h=no
ac_cv_header_string_h=no
ac_cv_header_strings_h=no
ac_cv_header_sys_stat_h=no
ac_cv_header_sys_types_h=no
ac_cv_header_unistd_h=no
ac_cv_header_uuid_h=no
ac_cv_header_uuid_uuid_h=yes
ac_cv_header_xfs_libxfs_h=no
ac_cv_lib_ncurses_initscr=yes
ac_cv_lib_uuid_uuid_compare=yes
ac_cv_path_AWK=/bin/awk
ac_cv_path_ECHO=/bin/echo
ac_cv_path_LIBTOOL=/usr/bin/libtool
ac_cv_path_MAKE=/usr/bin/make
ac_cv_path_MAKEDEPEND=/usr/X11R6/bin/makedepend
ac_cv_path_RPM=/usr/bin/rpm
ac_cv_path_RPMBUILD=/usr/bin/rpmbuild
ac_cv_path_SED=/bin/sed
ac_cv_path_SORT=/bin/sort
ac_cv_path_TAR=/bin/tar
ac_cv_path_ZIP=/bin/gzip
ac_cv_prog_CPP='gcc -E'
ac_cv_prog_MSGFMT=/usr/bin/msgfmt
ac_cv_prog_MSGMERGE=/usr/bin/msgmerge

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define STDC_HEADERS 1
#define HAVE_UUID_UUID_H 1
#define HAVE_NCURSES_H 1
#define HAVE_LIBNCURSES 1

configure: exit 1

#endif

configure:2688:28: ac_nonexistent.h: No such file or directory
configure:2698: $? = 1
configure: failed program was:
#line 2687 "configure"
#include "confdefs.h"
#include <ac_nonexistent.h>
Comment 6 David M. Andersen 2004-02-22 18:42:14 UTC
Dependency error.

FYI: 
I was able to get past that part by adding -I/usr/include/xfs/ (via configure.in) (look at xfs/libxfs.h... notice the lack of xfs/ in the #includes there...)


It then complained about an identifier called "xfsctl" which was not found in my /usr/include/xfs/ directory.

****** It would seem that sys-fs/xfsprogs-2.3.9 is NOT sufficient to compile sys-fs/xfsdump-2.2.16! ****** 

This is not in xfsprogs-2.3.9:

/var/tmp/portage/xfsprogs-2.6.0/image/usr/include/xfs/platform_defs.h:static __inline__ int xfsctl(const char *path, int fd, int cmd, void *p)

Also note how 2.6.0 xfs/libxfs.h has this:
#include <xfs/xfs_fs.h>
#include <xfs/xfs_types.h>
#include <xfs/xfs_arch.h>
...

Whereas 2.3.9 xfs/libxfs.h has this:
#include <xfs_fs.h>
#include <xfs_types.h>
#include <xfs_arch.h>

(Which would require the user to give -I/usr/include/xfs/ to make the silly package work.  This is the source of those errors I think.)

However, the absence of "xfsctl" (which the configure.in seems to indicate is required) makes me think that getting it to work with the current stable xfsprogs will be impossible.
Comment 7 Andy Dustman 2004-02-23 13:28:59 UTC
I've reproduced this as well.
Comment 8 Andy Dustman 2004-02-23 13:39:29 UTC
xfsdump-2.2.16 will compile if xfsprogs-2.6.3 is installed. I have not tested xfsprogs-2.6.0, which is the other newer version in the tree, but I would guess they are the same. So xfsdump-2.2.16 needs this DEPEND:

    >=sys-fs/xfsprogs-2.6.3

or maybe:

    >=sys-fs/xfsprogs-2.6.0
Comment 9 Dave Andruczyk 2004-03-06 13:45:03 UTC
Any chance that xfsprogs -2.6.x will ever be unmasked so that xfsdump can merge ? (x86)
Comment 10 Brett I. Holcomb 2004-03-13 08:13:44 UTC
What is the resolution on this?  xfsdump still won't compile and portage is still offering the same ebuild that doesn't work.  Evidently it depends on a masked package so will that package be unmasked or what?

I'd like to get xfsdump updated but don't want to run the other package if it's masked.  The Changelog indicates most of the messing around is for sparc but I'm on x86 and it's broken.

Thanks.
Comment 11 Joseph Wenninger 2004-03-27 00:35:52 UTC
Is  there a chance that there will be a working, stable ebuild for x86 soon ? Is nobody of the developers caring for this bug ?

It's over a month now that this package doesn't work :(
Comment 12 CJ Kucera 2004-03-30 09:17:27 UTC
It'd be nice if at least xfsdump-2.2.16 could be put back into ~x86 until this is all worked out.  There really shouldn't be mixed x86 and ~x86 packages like that anyway.  The older xfsdump ebuild can still be used, of course, but you've got to know to manually emerge the lower version.  Putting 2.2.16 into ~x86 would take a few seconds and would fix the portage tree for the time being.
Comment 13 Dave Andruczyk 2004-04-08 18:08:01 UTC
will someone PLEASE remask xfsdump-2.2.16 as it WILL NOT compile without xfsprogs-2.6 or higher which IS masked. (for what reasons I do not know)

Otherwise unmask xfsprogs -2.6.latest so this will compile for the rest of us with XFS filesystems
Comment 14 Martin Schmitt 2004-04-12 06:40:49 UTC
Me too. (tm) --- In the mean time, I'll use the xfsdump binary copied over from my Debian Woody system. Yuck.
Comment 15 Chris Smith 2004-04-30 10:25:01 UTC
I'm a new user who tried to emerge xfsdump and hit this problem.

It is due to ./configure botching its test for OBJEXT, which is
.o or .obj.  This code appears about line 1715 in configure.
As far as I can tell, it is never executed, and ac_objext remains
undefined.

The result of that is that all cc tests fail.  You can see in the logs
already attached that it starts going south when it tests for sys/types.h
and deduces it isn't there.

   checking for ANSI C header files... yes
   checking for sys/types.h... no
 
The reason for that is in the config.log already attached:

   configure:2993: gcc -c -mcpu=athlon-mp -O2 -pipe  conftest.c >&5
   configure:2996: $? = 0
   configure:2999: test -s conftest.
   configure:3002: $? = 1

The compile succeeded but it found no "conftest." file.  That should
read "conftest.o".

The problem with xfs/libxfs.h is this same bug.  It is there, but the
screwed up objext causes configure to think it isn't.

As far as I can tell, the code that should set objext is never executed.
This happens as distributed, with --host, and it happens if you change
--host to --build, and it happens with just ./configure with no args.

Perhaps configure just needs to be rebuilt from configure.in.  Perhaps
it was built by a strange autoconf.  I don't know.  I don't do Windows.
xfsdump-2.2.4 is still there and it works fine.
Comment 16 Chris Smith 2004-04-30 16:08:52 UTC
PS to #15 after fooling with it some more:

 - yes ./configure is from Mars, rerunning autoconf on a standard gentoo
   system produces a working configure script

 - yes this is just the first bug, then you hit the xfsprogs-2.3.9 problem,
   or at least I did

 - yes I too wish somebody would mask 2.2.16 or something so people will
   quit stumbling into this trap
Comment 17 Seemant Kulleen (RETIRED) gentoo-dev 2004-05-29 18:26:34 UTC
ok, so this bug I see is causing a few issues -- since I don't know a thing about xfs, can some kind reporter please summarise the resolution for this.  Also, I noticed that there's an xfsdump-2.2.21 out on the sgi site.
Comment 18 Dave Andruczyk 2004-05-29 18:44:26 UTC
xfsdump-2.2.x depends on xfsprogs 2.6 or higher.  currently only xfsprogs version 2.3.9 is unmasked for x86.  Becasue the required version of xfsprogs is masked the build explodes..

Suggest masking xfsdump-2.2.x  until testing of xfsprogs-2.6.x and xfsdump-2.2.x for proper build/function, make sure the xfsdump-2.2.x compiles against it and works,  then unmask for the rest of us.... :)
Comment 19 SpanKY gentoo-dev 2004-08-20 22:06:50 UTC
i'm sorry guys, i'm a horrible developer for letting this crap stick around for so long

2.6.13 is now in stable