Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45755 - pilot-mailsync gnome-conduits don't compile on amd64
Summary: pilot-mailsync gnome-conduits don't compile on amd64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo PDA project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-25 17:07 UTC by Richard Freeman
Modified: 2005-01-26 04:06 UTC (History)
1 user (show)

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


Attachments
emerge log (2385-pilot-mailsync-0.8.0.2.log,22.06 KB, text/plain)
2004-04-30 15:45 UTC, Richard Freeman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Freeman gentoo-dev 2004-03-25 17:07:38 UTC
pilot-mailsync includes a gnome-pilot plugin, which can be compiled via configure --enable-gpilot  

Ideally this should be installed by the ebuild if you're using gnome-pilot.

However, the gnome-pilot conduit will not compile due to the absence of -fPIC.

The build process creates a set of source files under imap-2002c1/c-client (this directory does not exist in the original tarball).  In this directory there is a file called CFLAGS - you must insert -fPIC into this file for it to compile.  I also had -fPIC in my CFLAGS environment variable for good measure - I'm not sure if this is essential or not - I'm guessing it is since you're building a .so.

I'm not sure how easy this would be to fix via a patch (since you're patching a file that is built dynamically) - this might need to be addressed by the pilot-mailsync maintainers.  

Everything seems to be working just fine now though - it was pretty tricky to get working and I figured that if nothing else my hour or two of work should be seen by anyone having trouble getting this to work.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r1 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 
2.6.3-gentoo-r2-rf6) 
================================================================= 
System uname: 2.6.3-gentoo-r2-rf6 x86_64 4 
Gentoo Base System version 1.4.3.13 
Autoconf: sys-devel/autoconf-2.58-r1 
Automake: sys-devel/automake-1.7.8 
ACCEPT_KEYWORDS="amd64" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -pipe -fomit-frame-pointer" 
CHOST="x86_64-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /home /opt/zetagrid /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/freenet /var/qmail/control /var/www" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -pipe -fomit-frame-pointer" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache gpg sandbox severe userpriv usersandbox" 
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo 
http://mirror.clarkson.edu/pub/distributions/gentoo/ 
ftp://mirrors.tds.net/gentoo http://gentoo.seren.com/gentoo 
ftp://gentoo.mirrors.pair.com/" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" 
USE="X acpi acpi4linux alsa amd64 apache2 apm arts avi berkdb crypt cups dvd 
encode esd ethereal evo fbcon foomaticdb gd gdbm gif gimpprint glut gnome gpm 
gtk gtk2 imagemagick imap imlib innodb jpeg kde libg++ libwww maildir mikmod 
motif mpeg multilib mysql ncurses nls oggvorbis opengl oss pam pda pdflib perl 
php png python qt quicktime readline samba sasl sdl slang spell ssl tcltk tcpd 
tiff truetype wmf xml2 xmms xv zlib"
Comment 1 foser (RETIRED) gentoo-dev 2004-03-26 09:27:59 UTC
amd64 bugs to amd64, it's not that hard. Don't assign if you don't know where it should go.

You miss the actual breaking output btw.
Comment 2 Jason Huebel (RETIRED) gentoo-dev 2004-04-30 15:23:17 UTC
Please provide a log of the emerge output
Comment 3 Richard Freeman gentoo-dev 2004-04-30 15:45:06 UTC
Created attachment 30411 [details]
emerge log

This is the emerge log - note that -fPIC was not included in the GCC options. 
This will cause problems when compiling other packages.
Comment 4 Daniel Ahlberg (RETIRED) gentoo-dev 2004-09-05 07:19:18 UTC
Reassning to pda since --gpilot isn't enabled by default. Fix for fPIC is in net-libs/c-client ebuilds.
Comment 5 Alastair Tse (RETIRED) gentoo-dev 2005-01-26 03:39:24 UTC

*** This bug has been marked as a duplicate of 77512 ***
Comment 6 Alastair Tse (RETIRED) gentoo-dev 2005-01-26 03:39:43 UTC
oops wrong bug
Comment 7 Alastair Tse (RETIRED) gentoo-dev 2005-01-26 04:06:00 UTC
hopefully now fixed for 0.8.3 that is now in portage. also enabled the gpilot option via gnome useflag.