Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: GentooForum.de. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

19.05.2011, 21:51

Libreoffice 3.3.2 wird nicht mehr gebaut nach world update

hi,
habe heute ein world update für mein ~amd64 system gemacht. Es kamen einige updates für Pakete ( icu usw. ). Danach ging jedoch nicht mehr viel.
Nach einem (ziemlich haarigen) revdep-rebuild wollte gentoo auch libreoffice neu emergen. Dies ging jedoch nicht und bricht nach einer ganzen weile kurz vor schluss ab.
Ich habe dann libreoffice unmerged und versucht wieder zu emergen. Wieder ohne Erfolg.
Kann mir jemand evt. sagen woran das liegen könnte?

Fehlermeldung:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
Compiling: connectivity/source/parse/sqlnode.cxx
Compiling: connectivity/source/parse/wrap_sqlbison.cxx
In file included from /var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2/connectivity/source/parse/wrap_sqlbison.cxx:32:0:
../../unxlngx6.pro/misc/sqlbison.cxx: In function 'int SQLyyparse()':
../../unxlngx6.pro/misc/sqlbison.cxx:7814:9: error: invalid conversion from 'const char*' to 'sal_Char*'
../../unxlngx6.pro/misc/sqlbison.cxx:7814:9: error:   initializing argument 1 of 'void connectivity::OSQLParser::error(sal_Char*)'
dmake:  Error code 1, while making '../../unxlngx6.pro/slo/wrap_sqlbison.obj'

-----------------------------------------------------------------------
    	Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
        	http://wiki.documentfoundation.org/Development

 it seems that the error is inside 'connectivity', please re-run build
 inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------

/bin/bash
cd /var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2/build/libreoffice-3.3.2.2
source ./LinuxX86-64Env.Set.sh
cd connectivity
build

when the problem is isolated and fixed exit and re-run 'make' from the top-level
sometimes (sadly) it is necessary to rm -Rf unxlngx6.pro in a module.
make: *** [stamp/build] Error 1
 * ERROR: app-office/libreoffice-3.3.2 failed (compile phase):
 *   Build failed
 * 
 * Call stack:
 * 	ebuild.sh, line  56:  Called src_compile
 *   environment, line 8692:  Called die
 * The specific snippet of code:
 *   	make || die "Build failed"
 * 
 * If you need support, post the output of 'emerge --info =app-office/libreoffice-3.3.2',
 * the complete build log and the output of 'emerge -pqv =app-office/libreoffice-3.3.2'.
!!! When you file a bug report, please include the following information:
GENTOO_VM=icedtea6-bin  CLASSPATH="" JAVA_HOME="/opt/icedtea6-bin-1.10.1"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER=""
and of course, the output of emerge --info
 * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-3.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-3.3.2/temp/environment'.
 * S: '/var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2'

>>> Failed to emerge app-office/libreoffice-3.3.2, Log file:

>>>  '/var/tmp/portage/app-office/libreoffice-3.3.2/temp/build.log'

 * Messages for package app-office/libreoffice-3.3.2:

 * 
 *  If you experience a build break, please make sure to retry 
 *  with MAKEOPTS=-j1 before filing a bug. 
 * 
 * ERROR: app-office/libreoffice-3.3.2 failed (compile phase):
 *   Build failed
 * 
 * Call stack:
 * 	ebuild.sh, line  56:  Called src_compile
 *   environment, line 8692:  Called die
 * The specific snippet of code:
 *   	make || die "Build failed"
 * 
 * If you need support, post the output of 'emerge --info =app-office/libreoffice-3.3.2',
 * the complete build log and the output of 'emerge -pqv =app-office/libreoffice-3.3.2'.
 * The complete build log is located at '/var/tmp/portage/app-office/libreoffice-3.3.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-office/libreoffice-3.3.2/temp/environment'.
 * S: '/var/tmp/portage/app-office/libreoffice-3.3.2/work/libreoffice-build-3.3.2.2'



und hier mein emerge --info:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
Portage 2.1.9.49 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo-r5 x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-r5-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.2
Timestamp of tree: Thu, 19 May 2011 14:15:01 +0000
app-shells/bash:      	4.2_p10
dev-java/java-config: 	2.1.11-r3
dev-lang/python:      	2.7.1-r1, 3.2
dev-util/cmake:       	2.8.4-r1
sys-apps/baselayout:  	2.0.2
sys-apps/openrc:      	0.8.2-r1
sys-apps/sandbox:     	2.5
sys-devel/autoconf:   	2.13, 2.68
sys-devel/automake:   	1.10.3, 1.11.1-r1
sys-devel/binutils:   	2.21
sys-devel/gcc:        	4.5.2
sys-devel/gcc-config: 	1.4.1-r1
sys-devel/libtool:    	2.4-r1
sys-devel/make:       	3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:       	2.13-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync1.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aiglx alsa amd64 aoss apng asf avi bdf berkdb bidi bluetooth branding bzip2 cairo cdda cdio cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvb dvd dvdr embedded emboss encode exif fam fancy ffmpeg firefox flac fontconfig fontforge fortran freetype gd gdbm gdu gif gimp gnutls gpm gstreamer gtk httpd iconv icu ieee1394 ios ipafont ipod ipv6 java jpeg kde lcms ldap libnotify live lua mad matroska mmx mng modules mozilla mp3 mp4 mpeg mudflap multilib mysql ncurses new-login nls nptl nptlonly nsplugin nvidia ogg oggvorbis opengl openmp pam pango pcre pdf perl php plasma png policykit ppds pppd psf python qt3 qt3support qt4 quicktime rar raw rdesktop readline samba scanner sdl semantic-desktop session slp smp snmp spell sqlite sse sse2 ssl startup-notification stream svg symlink sysfs taamey tcpd theora threads tiff truetype udev unicode usb vcd vlm vorbis wxwindows x x264 xcb xcomposite xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="sanebackend" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Ich habe es bereits mit MAKEOPTS="-j1" probiert und mein revdep-rebuild ist jetzt ok.


Vielen Dank


jan

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »hand1977« (22.05.2011, 11:48)


2

21.05.2011, 11:12

http://bugs.gentoo.org/show_bug.cgi?id=367963
Welches bison hast du? 2.4.3?
http://www.dyle.org
IM-Account (Jabber!) sind auf meiner HP ...
There is no place like /home

http://www.gentooforum.de
http://www.gentoofreunde.org

<div>how to annoy a web developer?</span>

3

21.05.2011, 21:15

hi dyle,

ich hatte zu diesem Zeitpunkt bison 2.5 ich habe dann auf 2.4.3 zurückgeschaltet und dann konnte ich Libreoffice bauen. als Libreoffice installiert war habe ich wieder bison 2.5 installiert.
ist aber zu diesem Zeitpunkt nur ein workaround.

Einen Bugreport habe ich erstellt:
http://bugs.gentoo.org/show_bug.cgi?id=368235

cu jan

4

22.05.2011, 09:09

Schon. Aber ist nicht dennoch das Problem damit "[gelöst]" (Forenkonvention)?
http://www.dyle.org
IM-Account (Jabber!) sind auf meiner HP ...
There is no place like /home

http://www.gentooforum.de
http://www.gentoofreunde.org

<div>how to annoy a web developer?</span>

5

22.05.2011, 09:45

Hmm.., ich halte es für keine gute Idee nach dem bauen von Libreoffice wieder auf die inkompatible bison Version zu aktualisieren, denn damit schiesst du dir doch vermutlich nur selbst ins Knie..
Wird denn wirklich zwingend >=bison-2.5 (aus dem testing Zweig) benötigt?
wenn ja, dann nutze doch den Patch der schon im originalen Bug Report bereitgestellt wurde.
wenn nein, dann würde ich doch besser die stable Version weiter verwenden.

6

22.05.2011, 11:48

hallo nochmal,

danke für die Tipps, ich werde wohl erstmal auf bison 2.4.3 zurücksetzten. wenn bison-2.5 stabel wird kann ich es ja immer noch benutzen.

Ich werde diesen thread auf "erledigt" setzten, da das Problem an sich ja nicht gelöst wurde.


Gruß

Jan

7

23.05.2011, 19:37

Hmm.., ich halte es für keine gute Idee nach dem bauen von Libreoffice wieder auf die inkompatible bison Version zu aktualisieren, denn damit schiesst du dir doch vermutlich nur selbst ins Knie..


Ich habe mir mal den Patch angesehen und wenn ich den so betrachte, denke ich nicht das man sich mit dem Weg des kurzen Downgrade das System irgendwie zerstört.

Ansonsten habe ich das Ebuild mit patch auch in mein Overlay gelegt.

Viele Grüße

8

23.05.2011, 19:48

Hmm.., ich halte es für keine gute Idee nach dem bauen von Libreoffice wieder auf die inkompatible bison Version zu aktualisieren, denn damit schiesst du dir doch vermutlich nur selbst ins Knie..


Ich habe mir mal den Patch angesehen und wenn ich den so betrachte, denke ich nicht das man sich mit dem Weg des kurzen Downgrade das System irgendwie zerstört.
....

Nein, das System wird man sich sicherlich nicht zerstören, doch ich denke es könnte Probleme beim ausführen von LibreOffice kommen wenn man ihm hinterher wieder eine inkompatible Abhängigkeit unterschiebt. Ich wüsste auch nicht warum man nun =bison-2.5 verwenden sollte wenn es doch eine kompatible Version im stable Tree gibt die problemlos funktioniert.
Ich würde es generell vermeiden mit inkompatiblen Abhängigkeiten in Nachhinein zu jonglieren, das zieht doch meist nur weitere Probleme nach sich...

9

23.05.2011, 19:51

Schau Dir doch mal den Patch an. Der der wird mit Sicherheit zu keinen Problemen führen. Letztendlich habe ich es aber für alle die wollen in mein Overlay gelegt mit Patch. Habe ich ja auch schon oben geschrieben.

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- connectivity/source/parse/sqlbison.y	2011-05-20 13:21:02.000000000 -0600
+++ connectivity/source/parse/sqlbison.y	2011-05-20 13:22:11.000000000 -0600
@@ -4338,7 +4338,7 @@
 }
 
 // -------------------------------------------------------------------------
-void OSQLParser::error(sal_Char *fmt)
+void OSQLParser::error(const sal_Char *fmt)
 {
 	if(!m_sErrorMessage.getLength())
 	{
--- connectivity/inc/connectivity/sqlparse.hxx	2011-05-20 13:23:58.000000000 -0600
+++ connectivity/inc/connectivity/sqlparse.hxx	2011-05-20 13:23:46.000000000 -0600
@@ -233,7 +233,7 @@
         // returns the type for a parameter in a given function name
         static sal_Int32 getFunctionParameterType(sal_uInt32 _nTokenId,sal_uInt32 _nPos);
 
-        void error(sal_Char *fmt);
+        void error(const sal_Char *fmt);
         int SQLlex();
 #ifdef YYBISON
         void setParseTree(OSQLParseNode * pNewParseTree);


EDIT PS Habe gerade gelesen
Fix is in portage now, thanks @Shannon for the patch! Closing

10

23.05.2011, 19:57

Wenn man den Patch verwendet wird man sicherlich kein Downgrade auf die stable bison-2.4.3 benötigen.

Was ich kritisiere ist eine inkompatible Abhängigkeit nach dem bau von LibreOffice wieder einzuspielen, also wenn man den Patch nicht nutzt.
Mit dem Patch sollte es wohl problemlos mit bison-2.5 funktionieren. (dafür ist er ja da)