Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102632 - synce-gnomevfs-0.9.0 fails to compile on amd64
Summary: synce-gnomevfs-0.9.0 fails to compile on amd64
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High enhancement with 1 vote (vote)
Assignee: Gentoo PDA project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-15 10:39 UTC by Nigel Hannam
Modified: 2005-09-24 02:20 UTC (History)
1 user (show)

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


Attachments
Patch for synce-gnomevfs (0.9.0-amd64.patch,1.78 KB, patch)
2005-08-15 10:45 UTC, Nigel Hannam
Details | Diff
ebuild that applies the patch (synce-gnomevfs-0.9.0-r1.ebuild,865 bytes, text/plain)
2005-08-15 10:46 UTC, Nigel Hannam
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nigel Hannam 2005-08-15 10:39:45 UTC
There are a set of bugs already created for bumping the synce version to 0.9.1,
and most of them compile on amd64 without a problem.

synce-gnomevfs is one of the outstanding problems, complation fails with the
error specified below.


Reproducible: Always
Steps to Reproduce:
1. pickup all the 0.9.1 synce ebuilds from bugzilla
2. attempt to emerge app-pda/synce with the gnome use flag enabled
3. compilation fails with specified error

Actual Results:  
Compilation fails with following error:
 x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -pthread -DORBIT2=1
-I/usr/include/gnome-vfs-2.0 -I/usr/lib64/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/lib64/glib-2.0/include
-I/usr/include/orbit-2.0 -I/usr/include/gnome-vfs-module-2.0 -g -Wall -Werror
-march=athlon64 -O2 -pipe -MT libsyncevfs.lo -MD -MP -MF .deps/libsyncevfs.Tpo
-c libsyncevfs.c  -fPIC -DPIC -o .libs/libsyncevfs.o
libsyncevfs.c: In function `synce_close':
libsyncevfs.c:405: warning: cast from pointer to integer of different size
libsyncevfs.c: In function `synce_read':
libsyncevfs.c:442: warning: cast from pointer to integer of different size
libsyncevfs.c:453: warning: passing arg 4 of `CeReadFile' from incompatible
pointer type
libsyncevfs.c: In function `synce_write':
libsyncevfs.c:493: warning: cast from pointer to integer of different size
libsyncevfs.c:504: warning: passing arg 4 of `CeWriteFile' from incompatible
pointer type
make[2]: *** [libsyncevfs.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/var/tmp/portage/synce-gnomevfs-0.9.0/work/synce-gnomevfs-0.9.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/synce-gnomevfs-0.9.0/work/synce-gnomevfs-0.9.0'
make: *** [all] Error 2


Expected Results:  
Succesfull compilation and merge

emerge info output:

Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.5-r0,
2.6.12 x86_64)
=================================================================
System uname: 2.6.12 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="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="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo
http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi alsa apache2 avi berkdb bitmap-fonts cdr crypt cups curl doc
dvd dvdr eds encode fam flac foomaticdb fortran gif gnome gphoto2 gpm gstreamer
gtk gtk2 hal howl imap imlib ipv6 java jce jpeg junit lzw lzw-tiff mp3 mpeg
ncurses nls nptl nptlonly ogg oggvorbis opengl pam pdflib perl png ppds python
quicktime readline samba scanner sdl snmp spell ssl tcpd tiff truetype-fonts
type1-fonts usb userlocales vorbis xine xml2 xpm xprint xv zlib
input_devices_synaptics userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Nigel Hannam 2005-08-15 10:45:42 UTC
Created attachment 66004 [details, diff]
Patch for synce-gnomevfs

This patch allows the synce-gnomevfs package to compile on amd64.

I have built this and the installed code allows me to add & remove files to my
pda via nautilus, so it appears to work.

NOTE: I have next to no experience with C, so somebody should review the small
changes in this patch to ensure I am not doing something stupid :)
Comment 2 Nigel Hannam 2005-08-15 10:46:39 UTC
Created attachment 66005 [details]
ebuild that applies the patch
Comment 3 Simon Stelling (RETIRED) gentoo-dev 2005-09-24 02:20:32 UTC
0.9.1 is still not in portage, please reopen when that's the case