Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] libopensync nie kompiluje się
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish)
View previous topic :: View next topic  
Author Message
skazi
Apprentice
Apprentice


Joined: 01 Oct 2004
Posts: 219
Location: Cieszyn/Poland

PostPosted: Sat Aug 04, 2007 1:03 pm    Post subject: [SOLVED] libopensync nie kompiluje się Reply with quote

Chciałem sobie skompilować kde 3.5.7 (obecnie mam 3.5.6) ale nie mogę, bo nie kompiluje mi się libopensync który jest wymagany przez kde.
oto jaki mam błąd (próbowałem każdej wersji z portage, błąd zawsze ten sam):
Code:
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/include/libxml2   -I../osengine   -Wall -Werror  -march=nocona -O2 -msse3 -fomit-frame-pointer -pipe -s -DNDEBUG -DG_DISABLE_ASSERT -MT osyncplugin.o -MD -MP -MF ".deps/osyncplugin.Tpo" -c -o osyncplugin.o osyncplugin.c; \
        then mv -f ".deps/osyncplugin.Tpo" ".deps/osyncplugin.Po"; else rm -f ".deps/osyncplugin.Tpo"; exit 1; fi
cc1: warnings being treated as errors
osyncplugin.c: In function 'add_test2':
osyncplugin.c:257: warning: unused variable 'cpychange3'
osyncplugin.c:256: warning: unused variable 'cpychange2'
osyncplugin.c:255: warning: unused variable 'cpychange1'
make[2]: *** [osyncplugin.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/app-pda/libopensync-0.22/work/libopensync-0.22/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-pda/libopensync-0.22/work/libopensync-0.22'
make: *** [all] Error 2

!!! ERROR: app-pda/libopensync-0.22 failed.
Call stack:
  ebuild.sh, line 1632:   Called dyn_compile
  ebuild.sh, line 983:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  libopensync-0.22.ebuild, line 48:   Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/app-pda/libopensync-0.22/temp/build.log'.


Code:
gentoo skazi # emerge --info
Portage 2.1.2.11 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-dark2 x86_64)
=================================================================
System uname: 2.6.22-dark2 x86_64 Intel(R) Core(TM)2 CPU 4300 @ 1.80GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 03 Aug 2007 18:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -msse3 -fomit-frame-pointer -pipe -s -DNDEBUG -DG_DISABLE_ASSERT"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -msse3 -pipe -s -DNDEBUG -DG_DISABLE_ASSERT"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="pl_PL"
LC_ALL="pl_PL"
LDFLAGS="-s -z combreloc"
LINGUAS="pl"
MAKEOPTS="-j3"
PKGDIR="/usr/local/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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/custom-kernels /usr/portage/local/layman/berkano /usr/portage/local/layman/xeffects /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aac acl alsa amd64 berkdb bitmap-fonts cli cracklib crypt cups dbus dri dvd dvdr fortran gdbm gif gpm gtk gtk2 iconv ipv6 isdnlog jpeg kde lame libg++ mad midi mikmod mmx mp3 mudflap ncurses nls nptl nptlonly nsplugin nvidia opengl openmp pam pcre perl plugins png pppd python qt qt3 quicktime rar readline reflection session spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts unicode vorbis wma xorg zip zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Szukałem na forum ale nikt nie miał podobnego błędu.


Last edited by skazi on Sat Aug 04, 2007 5:19 pm; edited 2 times in total
Back to top
View user's profile Send private message
binas77
Tux's lil' helper
Tux's lil' helper


Joined: 12 Nov 2005
Posts: 131
Location: Łódź

PostPosted: Sat Aug 04, 2007 1:38 pm    Post subject: Reply with quote

Code:

sys-devel/binutils:  2.17


Może tu tkwi błąd ???
_________________
__ROZBARAT__

LRU #424198
[img]http://baner.e-palarnia.pl/baner.78.3.gif[/img]
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Sat Aug 04, 2007 1:52 pm    Post subject: Reply with quote

U mnie bangla, 32bitowe gentoo.

Quote:
* Building with 'debug' useflag is highly encouraged
* and requiered for bug reports.
* Also see http://www.opensync.org/wiki/tracing
>>> Regenerating /etc/ld.so.cache...
>>> app-pda/libopensync-0.22 merged.
>>> Recording app-pda/libopensync in "world" favorites file...

>>> No packages selected for removal by clean
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

* Messages for package app-pda/libopensync-0.22:

* Building with 'debug' useflag is highly encouraged
* and requiered for bug reports.
* Also see http://www.opensync.org/wiki/tracing
* GNU info directory index is up-to-date.
betrayed ~ #


Code:
betrayed ~ # emerge --info
Portage 2.1.3.3 (default-linux/x86/2007.0, gcc-4.2.0, glibc-2.6-r0, 2.6.22.1-slashbeast2 i686)
=================================================================
System uname: 2.6.22.1-slashbeast2 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 3600+
Gentoo Base System release 2.0.0_rc1
Timestamp of tree: Sat, 04 Aug 2007 11:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -msse3 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.zie.pg.gda.pl http://gentoo.prz.rzeszow.pl"
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl en"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aac acl alsa berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dri dvd dvdr encode exif flac fortran gdbm gif gpm gtk hal iconv isdnlog jpeg libg++ midi mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly ogg openal opengl openmp pam pcre perl png pppd python readline reflection sdl session slang spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts unicode vorbis win32codecs x264 x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
Arfrever
Bodhisattva
Bodhisattva


Joined: 29 Apr 2006
Posts: 2463
Location: 異世界

PostPosted: Sat Aug 04, 2007 2:10 pm    Post subject: Reply with quote

skazi wrote:
Code:
if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include   -I/usr/include/libxml2   -I../osengine   -Wall -Werror  -march=nocona -O2 -msse3 -fomit-frame-pointer -pipe -s -DNDEBUG -DG_DISABLE_ASSERT -MT osyncplugin.o -MD -MP -MF ".deps/osyncplugin.Tpo" -c -o osyncplugin.o osyncplugin.c; \
        then mv -f ".deps/osyncplugin.Tpo" ".deps/osyncplugin.Po"; else rm -f ".deps/osyncplugin.Tpo"; exit 1; fi
cc1: warnings being treated as errors
osyncplugin.c: In function 'add_test2':
osyncplugin.c:257: warning: unused variable 'cpychange3'
osyncplugin.c:256: warning: unused variable 'cpychange2'
osyncplugin.c:255: warning: unused variable 'cpychange1'


Z nieznanych przyczyn coś z Autotools dodało flagę "-Werror", która zmienia ostrzeżenia w błędy, a flaga "-Wall" zwiększa szanse wystąpienia ostrzeżeń. Ominięciem problemu jest tymczasowe dodanie do C{,XX}FLAGS flagi "-Wno-error".

Perduodu linkėjimus
Arfrever


Last edited by Arfrever on Sat Aug 04, 2007 4:06 pm; edited 1 time in total
Back to top
View user's profile Send private message
skazi
Apprentice
Apprentice


Joined: 01 Oct 2004
Posts: 219
Location: Cieszyn/Poland

PostPosted: Sat Aug 04, 2007 3:36 pm    Post subject: Reply with quote

binas77 wrote:
Code:

sys-devel/binutils:  2.17


Może tu tkwi błąd ???


binutils w wersji 2.17 jest oznaczone jako stabilne w portage.

Sposób Arfrever rozwiązał mój problem. Dziękuję i pozdrawiam.

[SOLVED] dodane :)


Last edited by skazi on Sat Aug 04, 2007 5:21 pm; edited 1 time in total
Back to top
View user's profile Send private message
SlashBeast
Retired Dev
Retired Dev


Joined: 23 May 2006
Posts: 2922

PostPosted: Sat Aug 04, 2007 4:12 pm    Post subject: Reply with quote

skazi wrote:
Sposób Arfrever rozwiązał mój problem. Dziękuję i pozdrawiam.
Zapomniałes dodać [SOLVED].
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) 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