Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
~x86 emerge synce-libsynce fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
BlackB1rd
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2003
Posts: 131
Location: /Europe/Netherlands/Haarlem

PostPosted: Sat Mar 27, 2004 11:24 am    Post subject: ~x86 emerge synce-libsynce fails Reply with quote

My emerge info:

Code:
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r1)
=================================================================
System uname: 2.6.3-gentoo-r1 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -s -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -fomit-frame-pointer -s -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo http://gentoo.tiscali.nl/gentoo http://gentoo.oregonstate.edu ftp://ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://ftp.snt.utwente.nl/gentoo-portage"
USE="3dnow X alsa apm arts avi berkdb crypt cups dvd encode esd evo foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 imlib ipv6 java jpeg kde libg++ libwww mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell sse ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"



I get the following compile error:

Code:

gcc -DHAVE_CONFIG_H -I. -I. -I. -g -Wall -Wsign-compare -Wno-long-long -Werror -ansi -march=athlon-xp -O2 -I.. -march=athlon-xp -O2 -c synce_log.c -MT synce_log.lo -MD -MP -MF .deps/synce_log.TPlo -o synce_log.o >/dev/null 2>&1
wstr.c: In function `wstr_from_x':
wstr.c:120: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[3]: *** [wstr.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
mv -f .libs/synce_log.lo synce_log.lo
make[3]: Leaving directory `/var/tmp/portage/synce-libsynce-0.8.9/work/synce-libsynce-0.8.9/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/synce-libsynce-0.8.9/work/synce-libsynce-0.8.9/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/synce-libsynce-0.8.9/work/synce-libsynce-0.8.9/lib'
make: *** [all-recursive] Error 1

!!! ERROR: app-pda/synce-libsynce-0.8.9 failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! (no error message)


I really don't know what the problem could be :( I also tried using lower CFLAGS, but that didn't do the trick either.
Back to top
View user's profile Send private message
scout
Veteran
Veteran


Joined: 08 Mar 2003
Posts: 1991
Location: France, Paris en Semaine / Metz le W-E

PostPosted: Sat Mar 27, 2004 12:02 pm    Post subject: Reply with quote

[EDIT] get the ebuild of this bug report: https://bugs.gentoo.org/show_bug.cgi?id=45878
_________________
http://petition.eurolinux.org/ - Petition against ePatents
L'essence de la finesse


Last edited by scout on Sat Mar 27, 2004 1:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
BlackB1rd
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2003
Posts: 131
Location: /Europe/Netherlands/Haarlem

PostPosted: Sat Mar 27, 2004 12:09 pm    Post subject: Reply with quote

Thanks, your ebuild works fine :)
Back to top
View user's profile Send private message
scout
Veteran
Veteran


Joined: 08 Mar 2003
Posts: 1991
Location: France, Paris en Semaine / Metz le W-E

PostPosted: Sat Mar 27, 2004 12:13 pm    Post subject: Reply with quote

BlackB1rd wrote:
Thanks, your ebuild works fine :)

Ok thanks for the test :wink:
_________________
http://petition.eurolinux.org/ - Petition against ePatents
L'essence de la finesse
Back to top
View user's profile Send private message
BlackB1rd
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2003
Posts: 131
Location: /Europe/Netherlands/Haarlem

PostPosted: Sat Mar 27, 2004 12:27 pm    Post subject: Reply with quote

Now i've got a similar problem with synce-kde :(
Since I don't know how to write patches, is it possible for you to write one? ;) I would be very grateful :D
Back to top
View user's profile Send private message
scout
Veteran
Veteran


Joined: 08 Mar 2003
Posts: 1991
Location: France, Paris en Semaine / Metz le W-E

PostPosted: Sat Mar 27, 2004 12:59 pm    Post subject: Reply with quote

BlackB1rd wrote:
Now i've got a similar problem with synce-kde :(

this time take the ebuild in portage, it has the good patches.
Just take my ebuild for libsynce and the remaining from portage. I am filling the bug report right now
_________________
http://petition.eurolinux.org/ - Petition against ePatents
L'essence de la finesse
Back to top
View user's profile Send private message
BlackB1rd
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2003
Posts: 131
Location: /Europe/Netherlands/Haarlem

PostPosted: Sat Mar 27, 2004 1:09 pm    Post subject: Reply with quote

Hmm, well now I get the following compile failure (with the portage synce-kde ebuild):

Code:
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I../raki/interfaces   -I/usr/kde/3.2/include -I/usr/qt/3/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O3 -fno-exceptions -fno-check-new  -c -o rra.o `test -f 'rra.cpp' || echo './'`rra.cpp
rra.cpp: In member function `bool Rra::getIds(unsigned int, Rra::ids*)':
rra.cpp:183: error: `rra_syncmgr_unsubscribe' undeclared (first use this
   function)
rra.cpp:183: error: (Each undeclared identifier is reported only once for each
   function it appears in.)
make[3]: *** [rra.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/synce-kde-0.7.2/work/synce-kde-0.7.2/raki'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/synce-kde-0.7.2/work/synce-kde-0.7.2/raki'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/synce-kde-0.7.2/work/synce-kde-0.7.2'
make: *** [all] Error 2

!!! ERROR: app-pda/synce-kde-0.7.2 failed.
!!! Function kde_src_compile, Line 128, Exitcode 2
!!! died running emake, kde_src_compile:make


As you can see I already decreased my CFLAGS.
Back to top
View user's profile Send private message
metallikop
Apprentice
Apprentice


Joined: 06 Jan 2004
Posts: 259
Location: Detroit, MI

PostPosted: Sat Mar 27, 2004 9:19 pm    Post subject: Reply with quote

Ebuild works great here too, many thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum