The captive ebuild does not compile with the command "emerge captive". Reproducible: Always Steps to Reproduce: 1. echo "sys-fs/captive ~x86" >> /etc/portage/package.keywords 2. emerge captive Actual Results: Calculating dependencies ...done! >>> emerge (1 of 1) sys-fs/captive-1.1.5-r2 to / >>> md5 files ;-) captive-1.1.5-r2.ebuild >>> md5 files ;-) ChangeLog >>> md5 files ;-) metadata.xml >>> md5 files ;-) files/add-extra-opts-for-user-access-to-mount-t-captive.patch >>> md5 files ;-) files/digest-captive-1.1.5-r2 >>> md5 files ;-) files/do-not-check-for-lufsd.patch >>> md5 files ;-) files/use-lufis-for-mount-t-captive.patch >>> md5 src_uri ;-) captive-1.1.5.tar.gz >>> md5 src_uri ;-) captive-install-static-1.1.5.tar.bz2 * Adding captive user and group >>> Unpacking source... >>> Unpacking captive-1.1.5.tar.gz to /var/tmp/portage/captive-1.1.5-r2/work >>> Unpacking captive-install-static-1.1.5.tar.bz2 to /var/tmp/portage/captive-1.1.5-r2/work * Applying do-not-check-for-lufsd.patch ... [ ok ] * Applying use-lufis-for-mount-t-captive.patch ... [ ok ] * Applying add-extra-opts-for-user-access-to-mount-t-captive.patch ... [ ok ] >>> Source unpacked. * econf: updating captive-1.1.5/config.guess with /usr/share/gnuconfig/config.guess * econf: updating captive-1.1.5/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-bug-replay --disable-static --disable-install-pkg --with-readline --enable-lufs --enable-sandbox-setuid=captive --enable-sandbox-setgid=captive --enable-sandbox-chroot=/var/lib/captive --enable-man-pages --enable-sbin-mountdir=/sbin --enable-sbin-mount-fs=ntfs:fastfat:cdfs:ext2fsd --disable-gtk-doc --with-orbit-line=link --disable-glibtest --disable-orbittest --with-tmpdir=/tmp --localstatedir=/var 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 a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for i686-pc-linux-gnu-strip... i686-pc-linux-gnu-strip checking whether to enable maintainer-specific portions of Makefiles... no checking for i686-pc-linux-gnu-gcc3... no checking for i686-pc-linux-gnu-gcc-3.0... no checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output... 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 i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for strerror in -lcposix... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... 64 checking for _LARGE_FILES value needed for large files... no checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by i686-pc-linux-gnu-gcc... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/i686-pc-linux-gnu-nm -B checking whether ln -s works... yes checking how to recognise dependent libraries... pass_all 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking for i686-pc-linux-gnu-g++... i686-pc-linux-gnu-g++ checking whether we are using the GNU C++ compiler... yes checking whether i686-pc-linux-gnu-g++ accepts -g... yes checking dependency style of i686-pc-linux-gnu-g++... gcc3 checking how to run the C++ preprocessor... i686-pc-linux-gnu-g++ -E checking for i686-pc-linux-gnu-g77... i686-pc-linux-gnu-g77 checking whether we are using the GNU Fortran 77 compiler... yes checking whether i686-pc-linux-gnu-g77 accepts -g... yes checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/i686-pc-linux-gnu-nm -B output from i686-pc-linux-gnu-gcc object... ok checking for objdir... .libs checking for i686-pc-linux-gnu-ar... i686-pc-linux-gnu-ar checking for i686-pc-linux-gnu-ranlib... i686-pc-linux-gnu-ranlib checking for i686-pc-linux-gnu-strip... (cached) i686-pc-linux-gnu-strip checking if i686-pc-linux-gnu-gcc static flag works... yes checking if i686-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for i686-pc-linux-gnu-gcc option to produce PIC... -fPIC checking if i686-pc-linux-gnu-gcc PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-gcc supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-gcc linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by i686-pc-linux-gnu-g++... /usr/i686-pc-linux-gnu/bin/ld checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking for i686-pc-linux-gnu-g++ option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g++ PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g++ supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g++ linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so appending configuration tag "F77" to libtool checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for i686-pc-linux-gnu-g77 option to produce PIC... -fPIC checking if i686-pc-linux-gnu-g77 PIC flag -fPIC works... yes checking if i686-pc-linux-gnu-g77 supports -c -o file.o... yes checking whether the i686-pc-linux-gnu-g77 linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared libraries... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking dynamic linker characteristics... GNU/Linux ld.so 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 dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/bin/gmsgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... checking for pkg-config... /usr/bin/pkg-config checking for perl5... no checking for perl... /usr/bin/perl checking for pod2man... /usr/bin/pod2man checking for pkg-config... (cached) /usr/bin/pkg-config checking for GLIB - version >= 2.0.0... yes (version 2.6.4) checking for poptParseArgvString in -lpopt... yes checking readline/history.h usability... yes checking readline/history.h presence... yes checking for readline/history.h... yes checking for add_history in -lreadline... yes checking for gnome-vfs-module-2.0... yes checking GNOME_VFS_MODULE_CFLAGS... -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/include/gnome-vfs-module-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 checking GNOME_VFS_MODULE_LIBS... -pthread -Wl,--export-dynamic -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 checking for gnome-vfs-2.0... yes checking GNOME_VFS_CFLAGS... -pthread -DORBIT2=1 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 checking GNOME_VFS_LIBS... -pthread -Wl,--export-dynamic -lgnomevfs-2 -lbonobo-2 -lgconf-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 checking for libxml-2.0 >= 2.5.9... yes checking LIBXML_CFLAGS... -I/usr/include/libxml2 checking LIBXML_LIBS... -lxml2 -lpthread -lz -lm checking for openssl... yes checking OPENSSL_CFLAGS... checking OPENSSL_LIBS... -lssl -lcrypto -ldl checking lufs/fs.h usability... yes checking lufs/fs.h presence... yes checking for lufs/fs.h... yes checking lufs/proto.h usability... yes checking lufs/proto.h presence... yes checking for lufs/proto.h... yes checking for struct lufs_sbattr... no configure: error: Although LUFS include files were found they are too old. You may also use --enable-lufs=auto. !!! Please attach the config.log to your bug report: !!! /var/tmp/portage/captive-1.1.5-r2/work/captive-1.1.5/config.log !!! ERROR: sys-fs/captive-1.1.5-r2 failed. !!! Function econf, Line 485, Exitcode 0 !!! econf failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: captive should have been installed emerge info: Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r11 i686) ================================================================= System uname: 2.6.11-gentoo-r11 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Jun 29 2005, 23:02:13)] ccache version 2.3 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.16 virtual/os-headers: 2.6.8.1-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://darkstar.ist.utl.pt/gentoo/ ftp://darkstar.ist.utl.pt/pub/gentoo/ ftp://ftp.rnl.ist.utl.pt/pub/gentoo/ ftp://ftp.gentoo-pt.org/pub/gentoo/ " LINGUAS="pt" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://www.gentoo-pt.org/gentoo-portage" USE="x86 X alsa aotuv apm arts avi berkdb bitmap-fonts crypt cups curl emboss encode fam flac foomaticdb fortran gdbm gif gpm gtk2 imlib jpeg kde libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl speex spell sse ssl tcpd tiff truetype truetype-fonts type1-fonts vorbis xml2 xv zlib linguas_pt userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
I cannot reproduce this :( Do you have lufis and fuse installed?
(In reply to comment #1) > I cannot reproduce this :( > Do you have lufis and fuse installed? Thanks for the fast reply. Yes, I do. Here's the output of an "emerge -pC lufis fuse": >>> These are the packages that I would unmerge: sys-fs/fuse selected: 2.3.0 protected: none omitted: none sys-fs/lufis selected: 0.3 protected: none omitted: none >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. Should I attach the config.log?
Can you please try to remerge lufis? DO you have some other lufs-header files left somewhere?
(In reply to comment #3) > Can you please try to remerge lufis? > > DO you have some other lufs-header files left somewhere? Just re-emerged lufis, lufs, and finally captive. Still not working. I'm not sure about the lufs-header question, though. How can I check that?
~ $ grep lufs_sbattr /usr/include/lufs/* /usr/include/lufs/proto.h:struct lufs_sbattr{ /* struct statfs64 */ Same result for you? ~ $ md5sum /usr/include/lufs/* 56ac2cfc0a35f8899edf066bd275ab3d /usr/include/lufs/fs.h 794b9449e85e815635677321796afee7 /usr/include/lufs/proto.h ?
(In reply to comment #5) > ~ $ grep lufs_sbattr /usr/include/lufs/* > /usr/include/lufs/proto.h:struct lufs_sbattr{ /* struct statfs64 */ > > > Same result for you? > > ~ $ md5sum /usr/include/lufs/* > 56ac2cfc0a35f8899edf066bd275ab3d /usr/include/lufs/fs.h > 794b9449e85e815635677321796afee7 /usr/include/lufs/proto.h > ? Yes, exact same results for both questions: # grep lufs_sbattr /usr/include/lufs/* /usr/include/lufs/proto.h:struct lufs_sbattr{ /* struct statfs64 */ # md5sum /usr/include/lufs/* 56ac2cfc0a35f8899edf066bd275ab3d /usr/include/lufs/fs.h 794b9449e85e815635677321796afee7 /usr/include/lufs/proto.h
!!! Please attach the config.log to your bug report: !!! /var/tmp/portage/captive-1.1.5-r2/work/captive-1.1.5/config.log may be interesting to look at :) Also maybe it takes some old includes from /usr/local/include/lufs or somewhere else? We should somehow debug the configure script .. maybe "--debug" gives more output? Can you please try the configure script with --enable-lufs=auto?
Created attachment 62805 [details] requested config.log
I've attached the config.log. I'd like to provide you the remaining information, but i'm not sure how do I add those options to the configure script. Could you please give me additional details? Thanks for the support, btw.
It fails here: configure:21716: i686-pc-linux-gnu-gcc -c -O2 -march=pentium3 -pipe -fomit-frame-pointer -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include conftest.c >&5 configure: In function `main': configure:21742: error: invalid application of `sizeof' to an incomplete type I wonder where conftest.c is stored and why it fails there .. Can you please try with gcc-3.4.4? I dont think it changes things, but its worth to try out. Maybe it would make sense to update automake/autoconf? My emerge info: Portage 1.589-cvs (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.4.20041102-r1, 2.6.12-mm2 i686) ================================================================= System uname: 2.6.12-mm2 i686 Intel(R) Pentium(R) 4 CPU 2.50GHz Gentoo Base System version 1.7.1 Python: dev-lang/python-2.4.1-r1 [2.4.1 (#1, Jun 18 2005, 11:53:14)] distcc: No such file or directory [disabled] dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.10 sys-devel/autoconf: 2.59-r7, 2.13 sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=i586 -fomit-frame-pointer -pipe -Os" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=i586 -fomit-frame-pointer -pipe -Os" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache cvs distlocks sandbox sfperms" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://mir1.ovh.net/gentoo-distfiles/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" LANG="C" LC_ALL="C" LINGUAS="de en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /home/stefan/overlay" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="x86 X aalib acpi alsa arts avi bash-completion bitmap-fonts bri cdparanoia cdr crypt crypto cups curl dga distcache divx4linux dvd dvdread edl emboss fam fbcon foomaticdb fortran gd gdbm gif gnome gpm gtk gtk2 hal imagemagick imlib ipv6 java javascript jpeg kde kdeenablefinal libg++ libwww live lm_sensors lzo mmx mng mono mozilla mp3 mpeg mysql ncurses network nls nptl ogg oggvorbis opengl pam pcmcia pdflib perl png qt quicktime readline rtc ruby samba scanner sdl slang spell sqlite sse ssl svg svga tcltk tcpd tetex tga tiff truetype truetype-fonts type1-fonts usb vorbis wifi wxwindows xfs xine xinerama xml xml2 xmms xosd xv xvid zlib video_cards_ati video_cards_radeon linguas_de linguas_en userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LDFLAGS Config files: /etc/make.conf, /etc/portage/package.mask, /etc/portage/package.unmask, /etc/portage/package.keywords, /etc/portage/profile/virtuals
This bug is awaiting feedback from the reporter
*** Bug 113362 has been marked as a duplicate of this bug. ***
Reopen wrt Bug 113362
There is ongoing effort to make a native fuse-interface for captive, if you like to try it out you can use captive cvs, I will maybe provide an ebuild hen it has matured.
Fixed in 1.1.6, now using fuse natively.