Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136865 - app-pda/synce-gnomevfs does not compile cleanly on amd64
Summary: app-pda/synce-gnomevfs does not compile cleanly on amd64
Status: RESOLVED DUPLICATE of bug 135043
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo PDA project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-15 02:50 UTC by Milan Plzik
Modified: 2006-08-22 03:21 UTC (History)
1 user (show)

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


Attachments
updated ebuild which removes -Werror (synce-gnomevfs-0.9.0.ebuild,868 bytes, text/plain)
2006-06-22 07:04 UTC, Milan Plzik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Plzik 2006-06-15 02:50:53 UTC
Compilation of synce-gnomevfs fails with following message; error is also reproducible using gcc-3.4.6:

 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/includ e/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 -O2 -pipe -march=k8 -mtune=k8 -MT libsync evfs.lo -MD -MP -MF .deps/libsyncevfs.Tpo -c libsyncevfs.c  -fPIC -DPIC -o .libs /libsyncevfs.o
cc1: warnings being treated as errors
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 argument 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 argument 4 of 'CeWriteFile' from incompatibl e pointer type
libsyncevfs.c: In function 'synce_open_dir':
libsyncevfs.c:642: warning: pointer targets in passing argument 3 of 'CeFindAllF iles' differ in signedness
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-gno mevfs-0.9.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/synce-gnomevfs-0.9.0/work/synce-gno mevfs-0.9.0'
make: *** [all] Error 2

!!! ERROR: app-pda/synce-gnomevfs-0.9.0 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  synce-gnomevfs-0.9.0.ebuild, line 23:   Called die

!!! make failed
!!! If you need support, post the topmost build error, and the call stack if rel evant.


emerge --info:
Portage 2.1 (default-linux/amd64/2005.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-suspend2-r3 x86_64)
=================================================================
System uname: 2.6.16-suspend2-r3 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.12.0
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=k8 -mtune=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /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/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=k8 -mtune=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo"
LINGUAS="us de cs sk ru jp"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/xgloverlay"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib accessibility acl acpi aim alsa apache2 avahi avi bash-completion bcmath beagle berkdb bitmap-fonts bluetooth bonobo bzlib calendar caps cdr cli clibpdf crypt cscope ctype cups curl curlwrappers dba dbus dbx dga dio directfb doc dri dvd dvdr dvdread eds emboss encode esd ethereal evo fbcon fftw flac flash foomaticdb fortran ftp gb gcj gd gdbm ggi gif ginac glitz gmp gnome gnustep gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal iconv icq ieee1394 imagemagick imap imlib innodb ipv6 isdnlog jabber java jikes joystick jpeg junit ladcca lcms ldap libcaca libg++ libgda libwww lzw lzw-tiff mad maildir mbox mcal mhash mikmod mikmodmime ming mmap mng mono mozilla mp3 mpeg mpi mysql nas ncurses nis nls nptl nptlonly ogg openal opengl oscar oss pam pcmcia pcntl pcre pda pdflib perl php plotutils png pnp portaudio posix postgres ppds pppd python qt quicktime readline recode reflection ruby samba scanner sdl session shared sharedmem slang slp sndfile snmp soap sockets sox speex spell spl sqlite ssl svg sysvipc szip tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts trusted type1-fonts unicode usb vhosts videos vorbis wifi wmf xface xine xinerama xml xml2 xmlrpc xmms xorg xosd xpm xprint xsl xv xvid zeo zlib elibc_glibc kernel_linux linguas_us linguas_de linguas_cs linguas_sk linguas_ru linguas_jp userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-06-15 03:53:02 UTC
Not keyworded at all. Feel free to reopen if you have a patch.
Comment 2 Milan Plzik 2006-06-22 07:04:16 UTC
Created attachment 89811 [details]
updated ebuild which removes -Werror

Attached ebuild is modified to remove -Werror flag from src/Makefile.in . After this, synce-gnomevfs compiled cleanly, although I was not able to test it because of other software-related issues.
Comment 3 Milan Plzik 2006-06-22 07:05:52 UTC
Reopening bug report; there is a patch available which could solve this problem.
Comment 4 Nathan Goldstick 2006-07-03 17:33:01 UTC
(In reply to comment #2)
> Created an attachment (id=89811) [edit]
> updated ebuild which removes -Werror
> 

Compilies fine now. Thanks.

emerge --info :
Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r9 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.15
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [disabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="rsync://gentoo.mirrors.easynews.com/linux/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gntserve/gentoo-portage"
USE="amd64 X acl acpi aim alsa avi bash-completion bcj berkdb bidi bitmap-fonts bzip2 caps cdr cjk cli crypt cups curl curlwrappers dhcp doc dri dvd eds emacs emboss emul-linux-x86 encode ethereal examples exif foomaticdb fortran ftp gif glut gnome gpm gstreamer gtk gtk2 gtkhtml hal hddtemp imagemagick imap imlib ipv6 isdnlog java joystick jpeg junit kerberos krb4 ldap lm_sensors lzw lzw-tiff mad maildir mime mmap mp3 mpeg mule multiuser nas ncurses nfs nls nptl nptlonly nsplugin offensive ogg openal opengl oss pam pcntl pcre pda pdflib perl plotutils png posix ppds pppd python qt qt3 qt4 qticktime quicktime readline reflection samba sasl scanner sdl session sockets spell spl ssl svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb xine xinerama xml xml2 xmlrpc xmms xorg xpm xv zlib elibc_glibc input_devices_mouse input_devices_keyboard input_devices_joystick kernel_linux userland_GNU video_cards_nv video_cards_nvidia video_cards_s3 video_cards_s3virge video_cards_vesa video_cards_vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 5 Attila Stehr 2006-07-28 17:51:50 UTC
patch is not in app-pda/synce-gnomevfs-0.9.0

Adding 
-------------------- snip -----
src_unpack() {
        unpack ${A}
        cd "${S}"
        sed -i -e "s:-Werror::" src/Makefile.in
}
-------------------- snip -----
(as shown in the attachment) and rebuilding the ebuild file solves the problem.
Will the patch be included in the next ebuild?


 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 -O3 -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time -pipe -fomit-frame-pointer -fno-stack-protector -MT libsyncevfs.lo -MD -MP -MF .deps/libsyncevfs.Tpo -c libsyncevfs.c  -fPIC -DPIC -o .libs/libsyncevfs.o
libsyncevfs.c: In function `synce_open_dir':
libsyncevfs.c:642: warning: passing arg 3 of `CeFindAllFiles' from incompatible pointer type
make[2]: *** [libsyncevfs.lo] Fehler 1
make[2]: Leaving directory `/var/tmp/portage/synce-gnomevfs-0.9.0/work/synce-gnomevfs-0.9.0/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/synce-gnomevfs-0.9.0/work/synce-gnomevfs-0.9.0'


Portage 2.1-r1 (default-linux/amd64/2005.1, gcc-vanilla, glibc-2.4-r3, 2.6.16-gentoo-r13 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r13 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O1 -pipe -g -ggdb -fomit-frame-pointer -fno-inline -fno-pie -fno-stack-protector"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/lib/X11/xkb /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /usr/X11R6/bin/startx"
CXXFLAGS="-march=athlon64 -O1 -pipe -g -ggdb -fomit-frame-pointer -fno-inline -fno-pie -fno-stack-protector"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig candy distlocks metadata-transfer nostrip sandbox severe sfperms splitdebug strict test"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="7zip X a52 aac acpi alsa amd64 amr artworkextra asf audiofile avi bash-completion berkdb bidi bitmap-fonts bzlib cairo cdda cdio cdparanoia cdr cli cpudetection crypt css cups custom-cflags dbus dga directfb dlloader dmalloc dnd dpms dri dts dvb dvd dvdr dvdread dvi eds effects emacs emboss encode evo exif fame fat fbcon ffmpeg firefox foomaticdb freetype gcj ggi gif gimpprint gnome gnutls gpm gs gstreamer gtk gtk2 hal hardened howl hpn httpd imlib ipv6 isdnlog ithreads javascript jpeg jpeg2k kde lcms libsamplerate linuxthreads-tls live lzo lzw lzw-tiff mad matroska mbox memlimit milter mjpeg mmap mng mozcalendar mozdevelop mozsvg mp3 mp4 mpeg mpi nautilus ncurses nls nptl nptlonly nsplugin ntfs nvidia offensive ogg on-the-fly-crypt openal openexr opengl pam pcre pda pdf pdflib perl png ppds pppd python qt qt3 qt4 quicktime readline reflection reiserfs rle sasl screen sdl session sndfile spell spl ssl stream svg symlink tcpd test tetex tga theora threads tidy tiff toolbar truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd video_cards_nvidia videos vlm vorbis wmf wxwindows x264 xine xml xmms xorg xosd xpm xprint xtermtoolbar xv xvid xvmc yv12 zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_de userland_GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Attila Stehr 2006-07-28 17:53:33 UTC
Milan,

I suggest changing 'x86_64' to 'AMD64' in the summary since IMO noone uses x86_64 when looking for a bug on AMD64. :->
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2006-07-29 15:34:54 UTC
Is the warning legitimate? Will it cause problems further down the track for the user? I need to be sure that the warning is not going to cause a problem for amd64 users before putting this in.
Comment 8 Attila Stehr 2006-07-29 16:40:11 UTC
> Is the warning legitimate? Will it cause problems further down the track for
> the user?

Sorry, I can't tell you if it is. All 'synce packages' (multisync, synce-xxx etc) emerged fine.
But I wasn't able to establish a connection ( as described in http://de.gentoo-wiki.com/Verbindung_PocketPC_%C3%BCber_SynCE ) yet.
Comment 9 Milan Plzik 2006-07-30 07:04:05 UTC
(In reply to comment #7)
> Is the warning legitimate? Will it cause problems further down the track for
> the user? I need to be sure that the warning is not going to cause a problem
> for amd64 users before putting this in.
> 

  I can't test it, the PDA I have already runs linux.
Comment 10 Attila Stehr 2006-07-30 15:14:43 UTC
Okay, I have a connection now. 

Should I see the PocketPC in my "storage media applet" in the panel?  (I don't know the english name - I hope you know what I mean.) 
If so, it's not in there. If not, how do I check if synce-gnomevfs works as it should?
Comment 11 Attila Stehr 2006-07-30 15:48:37 UTC
Sorry for bug spamming... I didn't knew that synce-trayicon does not start automatically. So ... I can open the device showing "Documents" and "Filsystem". But when I enter one of the diretories nautilus crashes.

I'll rebuild nautilus with debug flags and tell you what bug-buddy says.
Comment 12 Attila Stehr 2006-08-11 17:24:52 UTC
:( nautilus still crashes.

Since I'm not sure if this is a synce specific problem I opened a new bug report regarding the crash problem - http://bugs.gentoo.org/show_bug.cgi?id=143617
Comment 13 Alastair Tse (RETIRED) gentoo-dev 2006-08-22 03:21:44 UTC
committed a patch that fixes the code rather than remove the warnings. all the other comments do not relate to this bug.

*** This bug has been marked as a duplicate of 135043 ***