Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
OpenOffice.org 2.2.1 install problem (solved)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
el_Salmon
Guru
Guru


Joined: 15 Dec 2003
Posts: 339
Location: Around 2.4GHz

PostPosted: Sun Jul 15, 2007 10:09 pm    Post subject: OpenOffice.org 2.2.1 install problem (solved) Reply with quote

Hi,

I've compiled OpenOffice.org in my Mac Mini G4 but when emerge go to install phase, there is an error:
Code:


...

No EPM: do no packaging at this stage
Build succeeded ...!
touch stamp/build
>>> Source compiled.
>>> Test phase [not enabled]: app-office/openoffice-2.2.1

>>> Install openoffice-2.2.1 into /var/tmp/portage/app-office/openoffice-2.2.1/image/ category app-office
 * Preparing Installation
cd bin ; ./package-ooo
Setup:
 Tag:        'OOF680_m18'
 Apply:      '/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/patches/src680/apply'
 Flags:      ''
 Suffix:     ''
 Dir:        '/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build'
 DestDir:    ''
 Path:       '/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/bin:/opt/ibm-jdk-bin-1.5.0.5/bin:/usr/qt/3/bin:
/usr/lib/distcc/bin:/usr/local/sbin:/sbin:/usr/sbin:/usr/lib/portage/bin:/usr/local/bin:/bin:/usr/bin:/opt/bin:
/usr/powerpc-unknown-linux-gnu/gcc-bin/4.1.2:/opt/ibm-jdk-bin-1.4.2.7/bin:/opt/ibm-jdk-bin-1.4.2.7/jre/bin:
/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/qt/3/bin:/usr/NX/bin:/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/bin'
 Prefix:     '/var/tmp/portage/app-office/openoffice-2.2.1/image//usr'
 Mandir:     '/var/tmp/portage/app-office/openoffice-2.2.1/image//usr/share/man'
 Docdir:     '/var/tmp/portage/app-office/openoffice-2.2.1/image//usr/share/doc/packages/OpenOffice.org'
 Sysconf:    '/var/tmp/portage/app-office/openoffice-2.2.1/image//usr/etc'
 OOInBase:   '/usr/lib/openoffice'
 OOInstall:  '/var/tmp/portage/app-office/openoffice-2.2.1/image//usr/lib/openoffice'
 OODestDir:  '/var/tmp/portage/app-office/openoffice-2.2.1/image/'
 Config:     --disable-binfilter --disable-crashdump --with-lang="es" --with-use-shell=bash --without-gpc --without-agg --disable-epm --with-openldap --with-build-version="Build 2.2.1" --without-fonts --with-system-freetype --with-system-gcc --with-system-jpeg --with-system-libxml --with-system-mozilla --with-system-python --with-system-zlib --with-unix-wrapper=ooffice --enable-evolution2 --enable-atkbridge --with-alloc=system --enable-vba --enable-cairo=yes --with-system-xrender-headers --disable-fontooo --disable-qadevooo --enable-libsn --enable-xsltproc --with-dynamic-xinerama --with-stlport=/usr --with-system-boost --with-system-curl --with-system-db --with-system-expat --with-system-icu --with-system-libxslt --with-system-xrender-headers --without-nas --without-myspell-dicts --with-vendor="Gentoo Foundation" --with-ant-home=/usr/share/ant-core --with-jdk-home=/opt/ibm-jdk-bin-1.5.0.5 --with-java-target-version=1.4 --with-system-beanshell --with-system-xalan --with-system-xerces --with-system-xml-apis --with-beanshell-jar=/usr/share/bsh/lib/bsh.jar --with-serializer-jar=/usr/share/xalan/lib/serializer.jar --with-xalan-jar=/usr/share/xalan/lib/xalan.jar --with-xerces-jar=/usr/share/xerces-2/lib/xercesImpl.jar --with-xml-apis-jar=/usr/share/xml-commons-external-1.3/lib/xml-apis.jar --disable-binfilter --enable-mozilla --with-system-mozilla --with-firefox --without-seamonkey --enable-cups --enable-ldap --with-openldap --disable-evolution2 --disable-gnome-vfs --disable-lockdown --disable-atkbridge --disable-gstreamer --enable-dbus --disable-neon --without-system-neon --disable-pasf --without-system-portaudio --without-system-sndfile --disable-crashdump --disable-gtk --enable-kde  --with-system-stdlibs   '--with-distro=Gentoo' '--with-arch=ppc' '--with-srcdir=/var/tmp/portage/app-office/openoffice-2.2.1/distdir' '--with-lang=es' '--with-num-cpus=1' '--without-binsuffix' '--with-installed-ooo-dirname=openoffice' '--with-tag=OOF680_m18' '--disable-gtk' '--enable-kde' '--enable-cairo' '--with-system-cairo' '--disable-quickstart' '--disable-mono' '--disable-pam' '--enable-strip' '--disable-odk' '--with-java' '--disable-access' '--disable-post-install-scripts' '--enable-hunspell' '--with-system-hunspell' '--with-system-libwpd' '--mandir=/usr/share/man' '--libdir=/usr/lib' 'CFLAGS=-mcpu=7450 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec -D_STLP_STRICT_ANSI' 'CPPFLAGS='
 ccache:     no
 icecream:   no
Setup:
 Tag:        'OOF680_m18'
 Apply:      '/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/patches/src680/apply'
 Flags:      ''
 Suffix:     ''
 Dir:        '/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build'
 DestDir:    ''
 Path:       '/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/bin:/opt/ibm-jdk-bin-1.5.0.5/bin:.
:/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/solver/680/unxlngppc.pro/bin
:/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/solenv/unxlngppc/bin
:/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/solenv/bin
:/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/bin:/opt/ibm-jdk-bin-1.5.0.5/bin:/usr/qt/3/bin
:/usr/lib/distcc/bin:/usr/local/sbin:/sbin:/usr/sbin:/usr/lib/portage/bin:/usr/local/bin:/bin:/usr/bin:/opt/bin:
/usr/powerpc-unknown-linux-gnu/gcc-bin/4.1.2:/opt/ibm-jdk-bin-1.4.2.7/bin:/opt/ibm-jdk-bin-1.4.2.7/jre/bin:
/usr/kde/3.5/sbin:/usr/kde/3.5/bin:/usr/NX/bin:/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/bin:
/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/bin'
 Prefix:     '/var/tmp/portage/app-office/openoffice-2.2.1/image//usr'
 Mandir:     '/var/tmp/portage/app-office/openoffice-2.2.1/image//usr/share/man'
 Docdir:     '/var/tmp/portage/app-office/openoffice-2.2.1/image//usr/share/doc/packages/OpenOffice.org'
 Sysconf:    '/var/tmp/portage/app-office/openoffice-2.2.1/image//usr/etc'
 OOInBase:   '/usr/lib/openoffice'
 OOInstall:  '/var/tmp/portage/app-office/openoffice-2.2.1/image//usr/lib/openoffice'
 OODestDir:  '/var/tmp/portage/app-office/openoffice-2.2.1/image/'
 Config:     --disable-binfilter --disable-crashdump --with-lang="es" --with-use-shell=bash --without-gpc --without-agg --disable-epm --with-openldap --with-build-version="Build 2.2.1" --without-fonts --with-system-freetype --with-system-gcc --with-system-jpeg --with-system-libxml --with-system-mozilla --with-system-python --with-system-zlib --with-unix-wrapper=ooffice --enable-evolution2 --enable-atkbridge --with-alloc=system --enable-vba --enable-cairo=yes --with-system-xrender-headers --disable-fontooo --disable-qadevooo --enable-libsn --enable-xsltproc --with-dynamic-xinerama --with-stlport=/usr --with-system-boost --with-system-curl --with-system-db --with-system-expat --with-system-icu --with-system-libxslt --with-system-xrender-headers --without-nas --without-myspell-dicts --with-vendor="Gentoo Foundation" --with-ant-home=/usr/share/ant-core --with-jdk-home=/opt/ibm-jdk-bin-1.5.0.5 --with-java-target-version=1.4 --with-system-beanshell --with-system-xalan --with-system-xerces --with-system-xml-apis --with-beanshell-jar=/usr/share/bsh/lib/bsh.jar --with-serializer-jar=/usr/share/xalan/lib/serializer.jar --with-xalan-jar=/usr/share/xalan/lib/xalan.jar --with-xerces-jar=/usr/share/xerces-2/lib/xercesImpl.jar --with-xml-apis-jar=/usr/share/xml-commons-external-1.3/lib/xml-apis.jar --disable-binfilter --enable-mozilla --with-system-mozilla --with-firefox --without-seamonkey --enable-cups --enable-ldap --with-openldap --disable-evolution2 --disable-gnome-vfs --disable-lockdown --disable-atkbridge --disable-gstreamer --enable-dbus --disable-neon --without-system-neon --disable-pasf --without-system-portaudio --without-system-sndfile --disable-crashdump --disable-gtk --enable-kde  --with-system-stdlibs   '--with-distro=Gentoo' '--with-arch=ppc' '--with-srcdir=/var/tmp/portage/app-office/openoffice-2.2.1/distdir' '--with-lang=es' '--with-num-cpus=1' '--without-binsuffix' '--with-installed-ooo-dirname=openoffice' '--with-tag=OOF680_m18' '--disable-gtk' '--enable-kde' '--enable-cairo' '--with-system-cairo' '--disable-quickstart' '--disable-mono' '--disable-pam' '--enable-strip' '--disable-odk' '--with-java' '--disable-access' '--disable-post-install-scripts' '--enable-hunspell' '--with-system-hunspell' '--with-system-libwpd' '--mandir=/usr/share/man' '--libdir=/usr/lib' 'CFLAGS=-mcpu=7450 -O2 -pipe -fno-strict-aliasing -maltivec -mabi=altivec -D_STLP_STRICT_ANSI' 'CPPFLAGS='
 ccache:     no
 icecream:   no
Cleaning /var/tmp/portage/app-office/openoffice-2.2.1/image//usr/lib/openoffice
Generating man page ...
Building /var/tmp/portage/app-office/openoffice-2.2.1/image//usr/lib/openoffice/install-dict
Building /var/tmp/portage/app-office/openoffice-2.2.1/image//usr/lib/openoffice/program/java-set-classpath
Installing extra en-US templates ...
Installing system files ...
Execute ooinstall ...
Reading setup from ./setup
Sucking env from build setup
Performing environment substitutions ...
Setting up environment
Running installer
... checking environment variables ...

########################################################
make_installer.pl, version 1.0
Product list file: openoffice.lst
Taking setup script from solver
Unpackpath: /var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/instsetoo_native/util
Compiler: unxlngppc
Product: OpenOffice
BuildID: 9161
Build: OOF680
No minor set
Product version
Installpath: /usr/lib/openoffice
Package format: native
Package list file: ../inc_openoffice/unix/packagelist.txt
Addon-Package list file: ../inc_openoffice/unix/packagelist_language.txt
Not calling epm
No file stripping
Unzip ARCHIVE files
services.rdb can be created
Languages:
        es
########################################################
... checking required files ...
...... searching zip ...
        Found: /usr/bin/zip
...... searching unzip ...
        Found: /usr/bin/unzip
... analyzing openoffice.lst ...
... reading include pathes ...
... analyzing script: /var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/solver/680/unxlngppc.pro/bin/setup_osl.ins ...
... analyzing directories ...
... analyzing files ...
... analyzing scpactions ...
... analyzing shortcuts ...
... analyzing profile ...
... analyzing profileitems ...
... analyzing modules ...
------------------------------------
... languages es ...
... analyzing files ...
... analyzing files with flag ARCHIVE ...
... analyzing files with flag SCPZIP_REPLACE ...
... analyzing files with flag PATCH_SO_NAME ...
... analyzing files with flag HIDDEN ...
... creating preregistered services.rdb ...
javavm.uno.so
javaloader.uno.so
uriproc.uno.so

**************************************************
ERROR: ERROR: Could not register all components!
in function: create_services_rdb
**************************************************

**************************************************
ERROR: Saved logfile: /var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/instsetoo_native/util/OpenOffice//logging/es/log_OOF680__es.log
**************************************************
... cleaning the output tree ...
... removing directory /var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/instsetoo_native/util/OpenOffice//zip/es ...
... removing directory /var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/instsetoo_native/util/OpenOffice//services.rdb/es_witherror_1 ...
Sun Jul 15 05:17:08 2007 (13:03 min.)
Failed to install:  at ./ooinstall line 129.
make: *** [install] Error 1

!!! ERROR: app-office/openoffice-2.2.1 failed.
...


Anyone has an idea?


Last edited by el_Salmon on Tue Jul 17, 2007 3:09 pm; edited 1 time in total
Back to top
View user's profile Send private message
Sodki
Guru
Guru


Joined: 11 Aug 2003
Posts: 419
Location: London, U.K. & Lisbon, Portugal

PostPosted: Mon Jul 16, 2007 3:12 am    Post subject: Reply with quote

I'm almost certain the problem is related to your CFLAGS. Try these:

Code:
CFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe"


Yes, I have a special CFLAGS line just for OpenOffice.org. :D
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Mon Jul 16, 2007 9:23 am    Post subject: Reply with quote

Sodki wrote:
I'm almost certain the problem is related to your CFLAGS. Try these:

Code:
CFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe"


Yes, I have a special CFLAGS line just for OpenOffice.org. :D

I used to, but not anymore! (In my case it was CFLAGS="", only thing working)If it is a CFLAGS problem we will have
to reopen the old bug.

It would be helpful to post the bits of the file
Code:
/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/instsetoo_native/util/OpenOffice//logging/es/log_OOF680__es.log

where the errors are so we can compare with the previous problems.
Back to top
View user's profile Send private message
el_Salmon
Guru
Guru


Joined: 15 Dec 2003
Posts: 339
Location: Around 2.4GHz

PostPosted: Mon Jul 16, 2007 5:19 pm    Post subject: Reply with quote

Sorry but there is no problem with CFLAGS because we can see how compile goes fine. It's a problem with files installation.
Quote:
It would be helpful to post the bits of the file
Code:
/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/instsetoo_native/util/OpenOffice//logging/es/log_OOF680__es.log

where the errors are so we can compare with the previous problems.

I'm sorry but I reboot my machine. Well, I will try again. :(
Back to top
View user's profile Send private message
Sodki
Guru
Guru


Joined: 11 Aug 2003
Posts: 419
Location: London, U.K. & Lisbon, Portugal

PostPosted: Mon Jul 16, 2007 8:05 pm    Post subject: Reply with quote

el_Salmon wrote:
Sorry but there is no problem with CFLAGS because we can see how compile goes fine. It's a problem with files installation.

I had the same problem and I solved it by changing my CFLAGS to the ones I posted above.
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Mon Jul 16, 2007 9:41 pm    Post subject: Reply with quote

It is so a CFLAGS issue. Let me explain, the installation fail when after compiling OOo register its components
before installing. It register them with a program that has just been _compiled_ during the OOo compilation.
This program is fragile and will exhibit strange behavior and break when compiled with certain CFLAGS, programs
can break with some optimizations and this one could be one of those cases. Some time ago a problem was
happening when the _external_ (separate ebuild) spell checking program was compiled with the wrong CFLAGS, it
was happening at registration as well - so a program that is "over-optimized" can somehow break the registration
as well.

Now unless you did something to clean you /var/tmp/portage directory or restarted the compilation, the
log file should still be there. Open it, with emacs for example, and search for the string "ERROR" and report
all occurences please.
Back to top
View user's profile Send private message
el_Salmon
Guru
Guru


Joined: 15 Dec 2003
Posts: 339
Location: Around 2.4GHz

PostPosted: Tue Jul 17, 2007 3:09 pm    Post subject: Reply with quote

Sodki wrote:

I had the same problem and I solved it by changing my CFLAGS to the ones I posted above.

Quote:
It is so a CFLAGS issue. Let me explain, the installation fail when after compiling OOo register its components
before installing. It register them with a program that has just been _compiled_ during the OOo compilation.
This program is fragile and will exhibit strange behavior and break when compiled with certain CFLAGS, programs
can break with some optimizations and this one could be one of those cases. Some time ago a problem was
happening when the _external_ (separate ebuild) spell checking program was compiled with the wrong CFLAGS, it
was happening at registration as well - so a program that is "over-optimized" can somehow break the registration
as well.

Now unless you did something to clean you /var/tmp/portage directory or restarted the compilation, the
log file should still be there. Open it, with emacs for example, and search for the string "ERROR" and report
all occurences please.

A lot of thank you. I solved the problem by reducing CFLAGS:
Code:
CFLAGS="-mcpu=7450"
Back to top
View user's profile Send private message
iMike
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 217
Location: Stockholm, Sweden

PostPosted: Mon Jul 23, 2007 6:09 pm    Post subject: Reply with quote

I'm having the same problem compiling OpenOffice. I will try restricting the CFLAGS. Before I start another 12 hr marathon compilation, are there USE flags that should be avoided as well?
Code:
app-office/openoffice-2.2.1  USE="cairo cups dbus gtk kde ldap pam -binfilter -branding -debug -eds -firefox -gnome -gstreamer -java -mono -odk -seamonkey -sound -webdav" ...
(The above is not necessarily the USE flags I plan to use. It's just given for quick reference.)

BTW, I didn't see a bug filed against this. Has it been resolved.

Best regards,
/iMike
Back to top
View user's profile Send private message
JoseJX
Retired Dev
Retired Dev


Joined: 28 Apr 2002
Posts: 2774

PostPosted: Mon Jul 23, 2007 8:57 pm    Post subject: Reply with quote

If you can tell me exactly which gcc flag is causing the trouble, then we can do something about it, but unfortunately since it's such a big package nobody has gotten around to figuring out why. Filtering the flags isn't an option because it works for some. Also, this can happen on x86 as well. It's a tricky problem deep in OO.o's build.

Afaik, use flags are irrelevant to the problem. Good luck!
_________________
Gentoo PPC FAQ: http://www.gentoo.org/doc/en/gentoo-ppc-faq.xml
Back to top
View user's profile Send private message
iMike
Apprentice
Apprentice


Joined: 01 Apr 2005
Posts: 217
Location: Stockholm, Sweden

PostPosted: Tue Jul 24, 2007 6:03 pm    Post subject: Reply with quote

JoseJX,

I changed my cflags from:
Code:
CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
to
Code:
CFLAGS="-mcpu=G4"
just for compiling OpenOffice and it worked.

I guess that does not answer your question as to exactly which flag is the problem, but I hope it can help.

Thanks for the tip on the USE flags making no difference. I had previously tried compiling without java because a previous compilation with java failed. In the end, all of the following worked for me:
Code:
USE="branding cairo cups dbus firefox gstreamer gtk java ldap pam webdav
.

It seems quite fast and nice even with just mcpu set. Thanks a million! :D
Back to top
View user's profile Send private message
piroko
Tux's lil' helper
Tux's lil' helper


Joined: 25 Aug 2006
Posts: 77

PostPosted: Sun Aug 12, 2007 4:35 am    Post subject: Reply with quote

fb wrote:
Sodki wrote:
I'm almost certain the problem is related to your CFLAGS. Try these:

Code:
CFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe"


Yes, I have a special CFLAGS line just for OpenOffice.org. :D

I used to, but not anymore! (In my case it was CFLAGS="", only thing working)If it is a CFLAGS problem we will have
to reopen the old bug.

It would be helpful to post the bits of the file
Code:
/var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/instsetoo_native/util/OpenOffice//logging/es/log_OOF680__es.log

where the errors are so we can compare with the previous problems.


How exactly do you have a special CFLAG line set for only openoffice? This would be really helpful to me... Thank you.
_________________
Anyone who is not confused by quantum theory does not truly understand it.
Back to top
View user's profile Send private message
fb
l33t
l33t


Joined: 08 Dec 2003
Posts: 636
Location: New Zealand

PostPosted: Sun Aug 12, 2007 6:51 am    Post subject: Reply with quote

Setting some special CFLAGS is indeed useful, it become possible about 6 months ago I think.
Anyway you can set FLAGS (C, CXX, LD and may be other stuff) for any package you want.
Under /etc/portage/ create a "env" directory. If you want to set particular CFLAGS for openoffice
which is in portage as "app-office/openoffice", under /etc/portage/env create a new directory
called app-office, move in this directory, create a file called "openoffice" and its content should
be as follow:
Code:
CFLAGS="the flags that I want"
CXXFLAGS="some other flags"
and so on if you want LDFLAGS as well.
That's all, you are done, next time you emerge OOo those flags will be used.
One more nice thing, it can be made version specific (openoffice-2.2.1-r1 for example).

Have fun.
Back to top
View user's profile Send private message
pienist
n00b
n00b


Joined: 21 Aug 2007
Posts: 2

PostPosted: Tue Aug 21, 2007 5:39 am    Post subject: Reply with quote

JoseJX wrote:
If you can tell me exactly which gcc flag is causing the trouble, then we can do something about it, but unfortunately since it's such a big package nobody has gotten around to figuring out why. Filtering the flags isn't an option because it works for some. Also, this can happen on x86 as well. It's a tricky problem deep in OO.o's build.


-O2 flag is the one causing problems. CFLAGS below don't work:

CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"

But these do:

CFLAGS="-mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
Back to top
View user's profile Send private message
ndansmith
n00b
n00b


Joined: 01 Aug 2005
Posts: 60

PostPosted: Tue Aug 21, 2007 3:56 pm    Post subject: Reply with quote

pienist wrote:
JoseJX wrote:
If you can tell me exactly which gcc flag is causing the trouble, then we can do something about it, but unfortunately since it's such a big package nobody has gotten around to figuring out why. Filtering the flags isn't an option because it works for some. Also, this can happen on x86 as well. It's a tricky problem deep in OO.o's build.


-O2 flag is the one causing problems. CFLAGS below don't work:

CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"

But these do:

CFLAGS="-mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"

Building with -O1 may help narrow down which flag is the offender. If it builds with -O1 we know it was one of the flags pulled in by O2.
Back to top
View user's profile Send private message
pienist
n00b
n00b


Joined: 21 Aug 2007
Posts: 2

PostPosted: Mon Aug 27, 2007 6:43 am    Post subject: Reply with quote

ndansmith wrote:
Building with -O1 may help narrow down which flag is the offender. If it builds with -O1 we know it was one of the flags pulled in by O2.

Build with -O1 failed with same error message as with -O2.
Back to top
View user's profile Send private message
ndansmith
n00b
n00b


Joined: 01 Aug 2005
Posts: 60

PostPosted: Mon Aug 27, 2007 3:55 pm    Post subject: Reply with quote

pienist wrote:
ndansmith wrote:
Building with -O1 may help narrow down which flag is the offender. If it builds with -O1 we know it was one of the flags pulled in by O2.

Build with -O1 failed with same error message as with -O2.

OK. I am sorry I wasted you time then. I had a successful build with

CFLAGS="-march=750 -mtune=750 -pipe"

So yes, one of the flags covered by -O1 is to blame apparently.
Back to top
View user's profile Send private message
prairie_dad
n00b
n00b


Joined: 02 Aug 2007
Posts: 68
Location: Denver, CO

PostPosted: Mon Aug 27, 2007 4:24 pm    Post subject: Reply with quote

there's another thread on the same topic:

https://forums.gentoo.org/viewtopic-t-478378-highlight-.html

where the following was posted last Monday, the 20th:

Quote:

The problem seemed to my CFLAGS settings, because using

Code:
CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"


failed, but changing to

Code:
CFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe"


succeeded and Openoffice is now installed and working.


I had the exact same flags as in his first set and the exact same problem; then changed to the exact same as in the second set and succeeded. So, we now know several sets of flags, any of which will succeed:


Code:
CFLAGS="-O2 -mcpu=7400 -maltivec -mabi=altivec -pipe"


and
Code:
CFLAGS="-mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"


and
Code:
CFLAGS="-march=750 -mtune=750 -pipe"


on the appropriate PPCs. I thought this might help someone (not me) see what they have (or haven't) in common, and connect two threads that are substantially the same.
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Sun Sep 23, 2007 9:43 am    Post subject: openoffice 2.2.1 can't be emerged Reply with quote

i can't emerge openoffice 2.2.1 with a fresh installed gentoo 2007.0
gcc has been updated to the version 4.1.2, and recompiled with -gcj


used USE flags (/etc/make.conf)
Code:

LINGUAS="en"
# openoffice
#USE="X alsa altivec binfilter branding bzip2 -cairo cardbus curl dbus debug eds
#     firefox gnome gstreamer gtk2 gzip2 http jpeg kde ldap mono odk png sound
#     spell tiff truetype xface xml"

USE="X aalib alsa altivec background binfilter bzip2 fbcon firefox gcj gif
     gnome gzip2 imlib javascript jpeg jpeg2k mp2 mp3 mp4 old-crypt png spell
     tiff utils valgrind xml xpm xprint -ipv6"




i get this error message from emerge

Code:

...
########################################################
make_installer.pl, version 1.0
Product list file: openoffice.lst
Taking setup script from solver
Unpackpath: /var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/instsetoo_native/util
Compiler: unxlngppc
Product: OpenOffice
BuildID: 9161
Build: OOF680
No minor set
Product version
Installpath: /usr/lib/openoffice
Package format: native
Package list file: ../inc_openoffice/unix/packagelist.txt
Addon-Package list file: ../inc_openoffice/unix/packagelist_language.txt
Not calling epm
No file stripping
Unzip ARCHIVE files
services.rdb can be created
Languages:
   en-US
########################################################
... checking required files ...
...... searching zip ...
   Found: /usr/bin/zip
...... searching unzip ...
   Found: /usr/bin/unzip
... analyzing openoffice.lst ...
... reading include pathes ...
... analyzing script: /var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/solver/680/unxlngppc.pro/bin/setup_osl.ins ...
... analyzing directories ...
... analyzing files ...
... analyzing scpactions ...
... analyzing shortcuts ...
... analyzing profile ...
... analyzing profileitems ...
... analyzing modules ...
------------------------------------
... languages en-US ...
... analyzing files ...
... analyzing files with flag ARCHIVE ...
... analyzing files with flag SCPZIP_REPLACE ...
... analyzing files with flag PATCH_SO_NAME ...
... analyzing files with flag HIDDEN ...
... creating preregistered services.rdb ...
... cleaning the output tree ...
... removing directory /var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/instsetoo_native/util/OpenOffice//zip/en-US ...
... removing directory /var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/instsetoo_native/util/OpenOffice//services.rdb/en-US_witherror_1 ...

**************************************************
ERROR: ERROR: Could not register all components!
in function: create_services_rdb
**************************************************

**************************************************
ERROR: Saved logfile: /var/tmp/portage/app-office/openoffice-2.2.1/work/ooo/build/OOF680_m18/instsetoo_native/util/OpenOffice//logging/en-US/log_OOF680__en-US.log
**************************************************
Mon Sep 24 05:46:56 2007 (01:10 min.)
Failed to install:  at ./ooinstall line 129.
make: *** [install] Error 1

ERROR: app-office/openoffice-2.2.1 failed.
Call stack:
ebuild.sh, line 1654:   Called dyn_install
ebuild.sh, line 1089:   Called qa_call 'src_install'
ebuild.sh, line 44:   Called src_install
openoffice-2.2.1.ebuild, line 334:   Called die
Installation 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-office/openoffice-2.2.1/temp/build.log'.
 
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="." JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info



what does it mean ?


i see openoffice.2.3.0, but i know it has issues with libraries that should be downgraded ...
last time i compiled openoffice i got success with the 2.0.x version, and today it is not in the /usr/portages/* ebuilds

has somebody sucessfully emerged the 2.2.1 ?
if so, could show me how ?
Back to top
View user's profile Send private message
ddc
Guru
Guru


Joined: 29 Aug 2006
Posts: 527

PostPosted: Sun Sep 23, 2007 9:47 am    Post subject: Reply with quote

emerge --info

Code:

Portage 2.1.3.9 (default-linux/ppc/ppc32/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.21-nocturnal-monster-puppy-apple-powerbook-G4-alluminium ppc)
=================================================================
System uname: 2.6.21-nocturnal-monster-puppy-apple-powerbook-G4-alluminium ppc 7447A, altivec supported
Timestamp of tree: Wed, 19 Sep 2007 17:00:01 +0000
app-shells/bash:     3.2_p17
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/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 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.21
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
CHOST="powerpc-unknown-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/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib acl alsa altivec background berkdb binfilter bitmap-fonts bzip2 cli cracklib crypt cups dri fbcon firefox fortran gcj gdbm gif gnome gpm gzip2 iconv imlib isdnlog javascript jpeg jpeg2k midi mp2 mp3 mp4 mudflap ncurses nls nptl nptlonly old-crypt openmp pcre perl png ppc pppd python readline reflection session spell spl ssl tcpd tiff truetype-fonts type1-fonts unicode utils valgrind xml xorg xpm xprint zlib" ALSA_CARDS="aoa aoa-fabric-layout aoa-onyx aoa-soundbus aoa-soundbus-i2s aoa-tas aoa-toonie powermac usb-audio via82xx" 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="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fbdev mach64 r128 radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Sep 23, 2007 3:07 pm    Post subject: Reply with quote

merged above two posts here.
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC 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