Bug 104531 - gnome-vfs does not compile with an Error 1 message
|
Bug#:
104531
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: AMD64
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: major
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: gnome@gentoo.org
|
Reported By: exien.ow@gmail.com
|
|
Component: GNOME
|
|
|
URL:
|
|
Summary: gnome-vfs does not compile with an Error 1 message
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-09-01 18:15 0000
|
gnome-vfs does not compile on my new amd64 fresh install.
I've rebooted and even done an emerge system -u --emptytree
Tried other 2.10 ebuilds:
[ ] 2.10.0-r2 (2)
[ ] 2.10.1-r1 (2)
[ ~ ] 2.10.1-r2 (2)
All with the same results.
Reproducible: Always
Steps to Reproduce:
1. emerge gnome-vfs
Actual Results:
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DSSH_PROGRAM=\"/usr/bin/ssh\"
-DG_DISABLE_DEPRECATED -DDATADIR=\"/usr/share\" -DPREFIX=\"/usr\"
-DLIBDIR=\"/usr/lib64\" -DSYSCONFDIR=\"/etc\"
-DG_LOG_DOMAIN=\"gnome-vfs-modules\" -march=athlon64 -O2 -pipe -c pty-open.c -MT
pty-open.lo -MD -MP -MF .deps/pty-open.TPlo -o pty-open.o >/dev/null 2>&1
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I..
-I../imported/neon -pthread -DORBIT2=1 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/gconf/2
-I/usr/include/orbit-2.0 -pthread -DORBIT2=1 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0
-D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_LARGEFILE64_SOURCE
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DSSH_PROGRAM=\"/usr/bin/ssh\"
-DG_DISABLE_DEPRECATED -DDATADIR=\"/usr/share\" -DPREFIX=\"/usr\"
-DLIBDIR=\"/usr/lib64\" -DSYSCONFDIR=\"/etc\"
-DG_LOG_DOMAIN=\"gnome-vfs-modules\" -march=athlon64 -O2 -pipe -c sftp-method.c
-MT sftp-method.lo -MD -MP -MF .deps/sftp-method.TPlo -o sftp-method.o
>/dev/null 2>&1
make[2]: Leaving directory
`/var/tmp/portage/gnome-vfs-2.10.0-r2/work/gnome-vfs-2.10.0/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnome-vfs-2.10.0-r2/work/gnome-vfs-2.10.0'
make: *** [all] Error 2
Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1,
2.6.13-gentoo x86_64)
=================================================================
System uname: 2.6.13-gentoo x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.12.0_pre7
dev-lang/python: 2.3.5, 2.4.1-r1
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils: 2.16.1
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /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="-march=athlon64 -O2 -pipe"
DISTDIR="/mnt/distfiles"
FEATURES="autoconfig buildpkg ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac alsa avi bitmap-fonts cdr crypt cups dbus dvd dvdr dvdread
faad fam firefox foomaticdb gif gnome gpm gstreamer gtk gtk2 hal imlib ipv6 jpeg
lzw lzw-tiff matroska moznocompose moznoirc moznomail mp3 mpeg ncurses nls nptl
nptlonly nvidia oggvorbis opengl pam pdflib perl png python qt quicktime
readline real samba sdl spell ssl tcpd truetype truetype-fonts type1-fonts usb
userlocales v4l v4l2 wxwindows xml2 xpm xv xvid zeroconf zlib userland_GNU
kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
You did not include the actual error. It is higher up in the output. Gnome-vfs
doesn't build here either, also on an amd64 system.
My error is (followed by the output you posted):
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I..
-I../imported/neon -pthread -DORBIT2=1 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/gconf/2
-I/usr/include/orbit-2.0 -pthread -DORBIT2=1 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/gconf/2 -I/usr/include/orbit-2.0
-D_FILE_OFFSET_BITS=64 -D_BSD_SOURCE -D_LARGEFILE64_SOURCE
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DSSH_PROGRAM=\"/usr/bin/ssh\"
-DG_DISABLE_DEPRECATED -DDATADIR=\"/usr/share\" -DPREFIX=\"/usr\"
-DLIBDIR=\"/usr/lib\" -DSYSCONFDIR=\"/etc\"
-DG_LOG_DOMAIN=\"gnome-vfs-modules\" -O2 -fweb -ftracer -fforce-addr
-march=opteron -fomit-frame-pointer -pipe -c smb-method.c -MT smb-method.lo
-MD -MP -MF .deps/smb-method.TPlo -fPIC -DPIC -o .libs/smb-method.o
smb-method.c: In function `do_close':
smb-method.c:1428: error: structure has no member named `close'
make[2]: *** [smb-method.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
This appears to be caused by samba 3.0.20, which renamed that field close_fn
for
some reason. If you downgrade to samba 3.0.14, it will build fine, as a
workaround until we can fix this.
This is fixed now in CVS. Thanks for reporting.
Thanks E. Papegaaij, and Daniel Gryniewicz, you guy's know what your doing!
*** Bug 104717 has been marked as a duplicate of this bug. ***