Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35238 - aspell fails on alpha
Summary: aspell fails on alpha
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: Alpha Linux
: High normal (vote)
Assignee: Alpha Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-06 21:40 UTC by Steve Gudmundson
Modified: 2004-01-06 08:26 UTC (History)
0 users

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


Attachments
Output of emerge --info (emerge.info,1.29 KB, text/plain)
2003-12-09 23:19 UTC, Steve Gudmundson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Gudmundson 2003-12-06 21:40:49 UTC
I can't merge gnome nor kde because of dep merge errors.  I beleive I an on gentoo version 1.4 but I may be wrong:  uname -a: Linux alpha800 2.4.21-alpha-r1 #8 alpha EV56  GNU/Linux.  How do I know for sure?

Here are the relavant settings from make.conf:

USE="X gtk gnome kde samba ijs hpijs cups s3virge lvm"
CHOST="alpha-unknown-linux-gnu"
CFLAGS="-mcpu=ev5 -pipe -O2 -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4"
CXXFLAGS="-mcpu=ev5 -pipe -O2 -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4"
ACCEPT_KEYWORDS="alpha"
VIDEO_CARDS="s3virge"

here is the gnome emerge output with error message on dep aspell-0.50.3:

g++ -mcpu=ev5 -pipe -O2 -fomit-frame-pointer -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4 -o mk-dirs_h mk-dirs_h.o 
echo '#define PREFIX "/usr"'            >  dirs.h
./mk-dirs_h /usr DICT_DIR /usr/lib/aspell  >> dirs.h
make[2]: *** [dirs.h] Error 139
make[2]: *** Waiting for unfinished jobs....
mv -f strtonum.o .libs/strtonum.o
make[2]: Leaving directory `/var/tmp/portage/aspell-0.50.3/work/aspell-0.50.3/common'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/aspell-0.50.3/work/aspell-0.50.3/common'
make: *** [all-recursive] Error 1
!!! ERROR: app-text/aspell-0.50.3 failed.
!!! Function src_compile, Line 35, Exitcode 2
!!! (no error message)
...
>>> media-gfx/eog-2.4.0 merged.
>>> clean: No packages selected for removal.
>>> emerge (2 of 31) app-text/aspell-0.50.3 to /
>>> md5 src_uri ;-) aspell-0.50.3.tar.gz

here is the kde emerge output with error message on dep qt-3.1.2-r3:

g++ -fno-exceptions -o ../../../bin/linguist .obj/release-shared-mt/finddialog.o .obj/release-shared-mt/main.o .obj/release-shared-mt/msgedit.o .obj/release-shared-mt/phrase.o .obj/release-shared-mt/phrasebookbox.o .obj/release-shared-mt/phraselv.o .obj/release-shared-mt/printout.o .obj/release-shared-mt/simtexth.o .obj/release-shared-mt/trwindow.o .obj/release-shared-mt/listviews.o .obj/release-shared-mt/metatranslator.o .obj/release-shared-mt/about.o .obj/release-shared-mt/qmake_image_collection.o .obj/release-shared-mt/moc_finddialog.o .obj/release-shared-mt/moc_msgedit.o .obj/release-shared-mt/moc_phrasebookbox.o .obj/release-shared-mt/moc_phraselv.o .obj/release-shared-mt/moc_trwindow.o .obj/release-shared-mt/moc_about.o   -Wl,-rpath,/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/lib -L/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -ldl -lpthread -L/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/lib -lqassistantclient -Wl,-rpath,/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/lib -L/usr/X11R6/lib -lqt-mt -lmng -ljpeg -lpng -lz -lGLU -lGL -lXmu -lXi -lXrender -lXinerama -lXft -lfreetype -lfontconfig -lXext -lX11 -lm -lSM -lICE -ldl -lpthread
/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.2.3/../../../../alpha-unknown-linux-gnu/bin/ld: ../../../bin/linguist: Not enough room for program headers (allocated 6, need 7)
/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.2.3/../../../../alpha-unknown-linux-gnu/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[3]: *** [../../../bin/linguist] Error 1
make[3]: Leaving directory `/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/tools/linguist/linguist'
make[2]: *** [sub-linguist] Error 2
make[2]: Leaving directory `/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/tools/linguist'
make[1]: *** [sub-linguist] Error 2
make[1]: Leaving directory `/var/tmp/portage/qt-3.1.2-r3/work/qt-x11-free-3.1.2/tools'
make: *** [sub-tools] Error 2
!!! ERROR: x11-libs/qt-3.1.2-r3 failed.
!!! Function src_compile, Line 106, Exitcode 2
!!! (no error message)
Calculating dependencies  ...done!
>>> emerge (1 of 37) x11-libs/qt-3.1.2-r3 to /
>>> md5 src_uri ;-) qt-x11-free-3.1.2.tar.bz2

Is fluxbox the only other window manager (xsession) that is not masked?  I will try it.  What window managers are other gentoo alpha users using sucessfully?
Comment 1 SpanKY gentoo-dev 2003-12-06 21:59:42 UTC
please post more of the error
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2003-12-07 13:50:18 UTC
Mike, I think Steve has provided enough information to work from, thanks.  Steve, while I'm looking into the bugs, here are some window managers for you.  Personally I'm using sawfish.  $ cd x11-wm  $ grep -l '^KEYWORDS=.*[^~-]alpha' */*.ebuild | sed 's,/.*,,' | sort -u evilwm fluxbox fvwm metacity plwm sawfish windowmaker  
Comment 3 Aron Griffis (RETIRED) gentoo-dev 2003-12-07 14:01:47 UTC
Steve, I could use the output of emerge --info.  The aspell ebuilds are working fine for me.
Comment 4 Steve Gudmundson 2003-12-09 23:19:21 UTC
Created attachment 21960 [details]
Output of emerge --info
Comment 5 Aron Griffis (RETIRED) gentoo-dev 2003-12-10 11:26:58 UTC
Steve, why are you still using gcc-3.2.3 and glibc-2.3.2-r1?  The currently stable versions on alpha are gcc-3.3.2-r2 and glibc-2.3.2-r8.  Not that it should matter... I would expect this to work with your versions.

Btw, here are the relevant sections from my aspell build:

if g++ -DHAVE_CONFIG_H -I. -I. -I.     -mcpu=ev67 -O3 -pipe -mieee -MT mk-dirs_h.o 
-MD -MP -MF ".deps/mk-dirs_h.Tpo" \
  -c -o mk-dirs_h.o `test -f 'mk-dirs_h.cpp' || echo './'`mk-dirs_h.cpp; \
then mv ".deps/mk-dirs_h.Tpo" ".deps/mk-dirs_h.Po"; \
else rm -f ".deps/mk-dirs_h.Tpo"; exit 1; \
fi
...
/bin/sh ../libtool --mode=link g++  -mcpu=ev67 -O3 -pipe -mieee   -o mk-dirs_h  mk-
dirs_h.o  
g++ -mcpu=ev67 -O3 -pipe -mieee -o mk-dirs_h mk-dirs_h.o 
mv -f strtonum.o .libs/strtonum.o
echo '#define PREFIX "/usr"'            >  dirs.h
./mk-dirs_h /usr DICT_DIR /usr/lib/aspell  >> dirs.h
./mk-dirs_h /usr DATA_DIR /usr/share/aspell >> dirs.h
./mk-dirs_h /usr CONF_DIR /etc/aspell >> dirs.h

My best guess is that you're over-optimizing and that's breaking the build.  Please try the following

CFLAGS="-O3 -pipe -mieee" CXXFLAGS="-O3 -pipe -mieee" emerge aspell

You might try something similar for qt (and let us know what happens)
Comment 6 Aron Griffis (RETIRED) gentoo-dev 2004-01-06 08:26:36 UTC
I'm guessing this is broken due to over-optimization.  Closing until the submitter provides more information.