* Re: "Yarrow" on Alpha
@ 2003-11-10 18:44 Arkadiy Chapkis - Arc
2003-11-11 18:25 ` dr john halewood
0 siblings, 1 reply; 11+ messages in thread
From: Arkadiy Chapkis - Arc @ 2003-11-10 18:44 UTC (permalink / raw)
To: axp-list
Just tried on my miata, got an illegal instruction message:
# /opt/MozillaFirebird-0.7.1/bin/MozillaFirebird
/opt/MozillaFirebird-0.7.1/lib/mozilla-1.5/run-mozilla.sh: line 72: 22271 Illegal instruction "$prog" ${1+"$@"}
Do you know quick fix, should there be /opt/MozillaFirebird/lib in my
$LD_LIBRARY_PATH?
>> I'd be very interested to try Firebird on my miata.
>
>Okay, available via anonymous ftp from
>ftp://www.unidec.co.uk/pub/firebird/RPMS/alpha. So far tested on a DS10 and
>an LX164, both running redhat 7.2 (one pure install, one very modified. There
>were a large number of compilation warnings concerning dubios casts, but no
>unaligned traps (so far) whilst running it. Any feedback appreciated.
>
>chers
>john
>
Arc C.
achapkis@dls.net
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: "Yarrow" on Alpha
2003-11-10 18:44 "Yarrow" on Alpha Arkadiy Chapkis - Arc
@ 2003-11-11 18:25 ` dr john halewood
0 siblings, 0 replies; 11+ messages in thread
From: dr john halewood @ 2003-11-11 18:25 UTC (permalink / raw)
To: axp-list
On Monday 10 Nov 2003 6:44 pm, Arkadiy Chapkis - Arc wrote:
> Just tried on my miata, got an illegal instruction message:
># /opt/MozillaFirebird-0.7.1/bin/MozillaFirebird
>/opt/MozillaFirebird-0.7.1/lib/mozilla-1.5/run-mozilla.sh: line 72: 22271
> Illegal instruction "$prog" ${1+"$@"}
Ugh. I've had this before. Putting some print statements into the shell
script reveals in my case that ${1+"$@"} always seems to be null and $prog"
is /opt/MozillaFirebird/lib/mozilla-1.5/MozillaFirebird-bin.
I'd suggest in the first instance to change the line
"$prog" ${1+"$@"}
to just
"$prog"
and seeing if that works. If not, then check to see what $prog enumerates to.
If that fails I'll try and look to see what's causing garbage to end up those
variables.
cheers
john
>
> Do you know quick fix, should there be /opt/MozillaFirebird/lib in my
>$LD_LIBRARY_PATH?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: "Yarrow" on Alpha
@ 2003-11-10 15:30 Arkadiy Chapkis - Arc
2003-11-10 17:57 ` dr john halewood
0 siblings, 1 reply; 11+ messages in thread
From: Arkadiy Chapkis - Arc @ 2003-11-10 15:30 UTC (permalink / raw)
To: axp-list
I'd be very interested to try Firebird on my miata. As far as gcc3 and glibc
- somehow I was able to build both of them without any hassle:
# gcc -v
Reading specs from
/usr/local/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.3.1/specs
Configured with: ../gcc-3.3.1/configure --enable-shared --enable-threads
Thread model: posix
gcc version 3.3.1
# ls -l /lib/libc.so*
lrwxrwxrwx 1 root root 13 Qem 24 11:56 /lib/libc.so.6.1 ->
libc-2.3.2.so
However I didn't use SRPMs - just got the source and build it. Of course each
time I am building and installing any new SRPMs I have to use --nodeps as there
's no glibc rpm installed.
>>Oh - I also have all my "gcc", "g++" and other commands symlinked to
>>"gcc3", "g++3" and the others that came from the RedHat 7.2
>>distribution. I did start out using 2.96, but didn't get very far. :)
>>Now I don't think much more than I've already done is going to build
>>until I can get the gcc and glibc packages built.
>
>Basically that's a problem with a cyclic dependency - gcc 3.3 requires glibc
>2.3.2, and vice versa. I'm currently building gcc3 (having taken the
>dependencies out, along with the ada compiler), and can put it up for ftp if
>anyone's interested (once I've got glibc installed I'll rebuild it so it's
>pristine).
> I've also recently built and rpm'd Mozilla Firebird 0.7.1 for the alpha - if
>anyone wants a copy please let me know.
>
>cheers
>john
>
>
Arc C.
achapkis@dls.net
^ permalink raw reply [flat|nested] 11+ messages in thread* "Yarrow" on Alpha
@ 2003-11-10 4:38 Mike Barnes
2003-11-10 12:17 ` Chupakhin Alexey
` (2 more replies)
0 siblings, 3 replies; 11+ messages in thread
From: Mike Barnes @ 2003-11-10 4:38 UTC (permalink / raw)
To: axp-list
I had a bit of free time last week, so I set my DS10 running with a
script to go through every SRPM in the recent Fedora release and run a
'--rebuild'. I'd previously built a bunch of the Severn release
packages, so I had quite a few of the initial dependencies in place.
So anyway - after a bit of tweaking of a few spec files, and manually
sorting out build orders, I have about 700 packages from Yarrow built.
I'd like a little help with the rest, if anyone's game.
The big ones that'll need work are gcc, glibc and XFree86 - all of which
I'm pretty sure that people on this list have built current versions of
all of the above in the past, so it can't be impossible to tweak the
RPMs until they compile, right? :)
I've got everything built so far in an apt repository. I already had apt
built for 7.2 on the Alpha, and tools to manage it all, so I stuck with
it. I haven't upgraded RPM itself yet, so the apt for 7.2 is working
fine. There's a nice overview of using apt on RPM systems at:
http://freshrpms.net/apt/
Where is it?
ftp://genuine-article.maths.monash.edu.au/pub/
That server has binary RPMs for apt, and a sample sources.list file set
up for Yarrow and 7.2, to be copied into the /etc/apt directory.
(Oh, the side-effect here is that I've got an up-to-date set of 7.2
apt-enabled, if anyone wants to use that to upgrade their systems. Just
comment out the Yarrow lines from the sources.list file.)
If you're brave, you can then try an "apt-get upgrade" and see how much
of your system gets replaced and stops working. I've never tried doing a
cold install on a clean 7.2 system, though - there'd probably be a lot
that wouldn't install. Apt is pretty good at warning you if it's going
to rip huge chunks of your system away, though.
OK - I'm rambling. Basically - I'm having some fun here, and thought I'd
share. Please DO NOT try using this on any important machine. My DS10 is
still running with all the new packages installed, but I'm not really
doing anything except compiling on it. There will be a heap of broken
stuff. My long-term plan is to compile everything possible, then
recompile it all again on the "complete" system.
Is there anyone else out there who considers this sort of thing "fun"
and would like to play? Who knows - we might even end up with a working
system. :)
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: "Yarrow" on Alpha
2003-11-10 4:38 Mike Barnes
@ 2003-11-10 12:17 ` Chupakhin Alexey
2003-11-10 12:50 ` Mike Barnes
2003-11-10 13:05 ` Huw Davies
2003-11-10 17:35 ` Michal Jaegermann
2 siblings, 1 reply; 11+ messages in thread
From: Chupakhin Alexey @ 2003-11-10 12:17 UTC (permalink / raw)
To: axp-list
Hi!
I wish to involve Fedora building process for Alpha.
Mike, can you send a sequence package built?
regards,
Alexey
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: "Yarrow" on Alpha
2003-11-10 12:17 ` Chupakhin Alexey
@ 2003-11-10 12:50 ` Mike Barnes
2003-11-10 15:12 ` dr john halewood
0 siblings, 1 reply; 11+ messages in thread
From: Mike Barnes @ 2003-11-10 12:50 UTC (permalink / raw)
To: axp-list
On 10/11/2003, at 11:17 PM, Chupakhin Alexey wrote:
> I wish to involve Fedora building process for Alpha.
> Mike, can you send a sequence package built?
I didn't keep very good records, I'm afraid. The process started off
with me running something similar to the following script on Friday
night, and leaving it running over the weekend:
#!/bin/bash
for srpm in /scratch/yarrow/SRPMS/*
do
rpm --rebuild $srpm
done
Quite simple, really. I then took a look at what was left in
/usr/src/redhat/SPECS and began playing. You'll need to clean up the
SOURCES and BUILD directories regularly though, unless you've got an
awful lot of disk space.
The best guide I can suggest is to take a look at the timestamps on the
packages in ftp://genuine-article.maths.monash.edu.au/pub/RPMS/ and
work from there if you want to try to recreate the path I took.
All my SRPMS for currently built packages can be found at
ftp://genuine-article.maths.monash.edu.au/pub/SRPMS/ - the ones that
are modified from the Yarrow distribution have "al1" (or "al2" or
whatever) appended to the release version. Mostly the adjustments are
very small.
Oh - I also have all my "gcc", "g++" and other commands symlinked to
"gcc3", "g++3" and the others that came from the RedHat 7.2
distribution. I did start out using 2.96, but didn't get very far. :)
Now I don't think much more than I've already done is going to build
until I can get the gcc and glibc packages built.
^ permalink raw reply [flat|nested] 11+ messages in thread* Re: "Yarrow" on Alpha
2003-11-10 12:50 ` Mike Barnes
@ 2003-11-10 15:12 ` dr john halewood
0 siblings, 0 replies; 11+ messages in thread
From: dr john halewood @ 2003-11-10 15:12 UTC (permalink / raw)
To: axp-list
On Monday 10 Nov 2003 12:50 pm, Mike Barnes wrote:
>Oh - I also have all my "gcc", "g++" and other commands symlinked to
>"gcc3", "g++3" and the others that came from the RedHat 7.2
>distribution. I did start out using 2.96, but didn't get very far. :)
>Now I don't think much more than I've already done is going to build
>until I can get the gcc and glibc packages built.
Basically that's a problem with a cyclic dependency - gcc 3.3 requires glibc
2.3.2, and vice versa. I'm currently building gcc3 (having taken the
dependencies out, along with the ada compiler), and can put it up for ftp if
anyone's interested (once I've got glibc installed I'll rebuild it so it's
pristine).
I've also recently built and rpm'd Mozilla Firebird 0.7.1 for the alpha - if
anyone wants a copy please let me know.
cheers
john
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: "Yarrow" on Alpha
2003-11-10 4:38 Mike Barnes
2003-11-10 12:17 ` Chupakhin Alexey
@ 2003-11-10 13:05 ` Huw Davies
2003-11-10 17:35 ` Michal Jaegermann
2 siblings, 0 replies; 11+ messages in thread
From: Huw Davies @ 2003-11-10 13:05 UTC (permalink / raw)
To: axp-list
On Mon, 2003-11-10 at 15:38, Mike Barnes wrote:
> I had a bit of free time last week, so I set my DS10 running with a
> script to go through every SRPM in the recent Fedora release and run a
> '--rebuild'. I'd previously built a bunch of the Severn release
> packages, so I had quite a few of the initial dependencies in place.
>
> So anyway - after a bit of tweaking of a few spec files, and manually
> sorting out build orders, I have about 700 packages from Yarrow built.
> I'd like a little help with the rest, if anyone's game.
Fantastic effort so far!
> Is there anyone else out there who considers this sort of thing "fun"
> and would like to play? Who knows - we might even end up with a working
> system. :)
It looks like I have a 4100 on the way (not completely sure of the
configuration until it arrives). Once I lug it home and get it running
it could well be deployed to help with your project. My current spare
Alphas are far too slow to be useful here (LCA anyone :-)
--
Huw Davies | e-mail: Huw.Davies@kerberos.davies.net.au
Melbourne | "If soccer was meant to be played in the
Australia | air, the sky would be painted green"
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: "Yarrow" on Alpha
2003-11-10 4:38 Mike Barnes
2003-11-10 12:17 ` Chupakhin Alexey
2003-11-10 13:05 ` Huw Davies
@ 2003-11-10 17:35 ` Michal Jaegermann
2003-11-10 23:31 ` Mike Barnes
2 siblings, 1 reply; 11+ messages in thread
From: Michal Jaegermann @ 2003-11-10 17:35 UTC (permalink / raw)
To: axp-list
On Mon, Nov 10, 2003 at 03:38:08PM +1100, Mike Barnes wrote:
>
> So anyway - after a bit of tweaking of a few spec files, and manually
> sorting out build orders, I have about 700 packages from Yarrow built.
> I'd like a little help with the rest, if anyone's game.
>
> The big ones that'll need work are gcc, glibc and XFree86
My best guess would be that you need some "bootstrapping" work here and
not just tweaking specs. I mean by that that first you have to compile
from sources, not by a rebuilding srpms, a version of gcc3 which works
with 7.2 libraries (a good question is if there are Alpha specific bugs
there and patches for that) and then you can use that compiler to build
glibc. This may depend on a kernel so this may result in more work.
The last time I was recompiling a full XFree86 the biggest issue was
that this operation required something like 800 MB of a free disk space,
IIRC.
But if you left glibc for the very end then your recompilation effort is
somewhat to naught. If you will replace glibc then you will find out
that you are linking with wrong dynamic libraries and nothing works.
One way out is to leave old glibc alone. That way you will end up with
sort of "pseudo-Yarrow" as various things there (NTPL for sure) depend
on an updated glibc.
> I've got everything built so far in an apt repository. I already had apt
> built for 7.2 on the Alpha, and tools to manage it all, so I stuck with
> it. I haven't upgraded RPM itself yet, so the apt for 7.2 is working
> fine.
Some half a year ago, or so, I was playing with apt on Alpha and I built
its GUI front end (synaptic) as well. I believe a version 0.28. This
was on 7.2-Alpha so it is using gnome-1.4 or whatever is "native".
Yarrow not only with a different rpm version but with Gnome2 as well
so again you are running into "chicken-or-egg" issues. Anyway, if you
are interested then this sounds like off-list topic. Still 'yum'
http://linux.duke.edu/projects/yum/
has advantages, I believe, on a longer run even if it does not have
a GUI front-end so far. Not mentioning that detail that it comes
with "Yarrow". OTOH there is nothing which prevents the same depository
to provide both apt and yum support.
Michal
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: "Yarrow" on Alpha
2003-11-10 17:35 ` Michal Jaegermann
@ 2003-11-10 23:31 ` Mike Barnes
0 siblings, 0 replies; 11+ messages in thread
From: Mike Barnes @ 2003-11-10 23:31 UTC (permalink / raw)
To: axp-list
On 11/11/2003, at 4:35 AM, Michal Jaegermann wrote:
> My best guess would be that you need some "bootstrapping" work here and
> not just tweaking specs. I mean by that that first you have to compile
> from sources, not by a rebuilding srpms, a version of gcc3 which works
> with 7.2 libraries (a good question is if there are Alpha specific bugs
> there and patches for that) and then you can use that compiler to build
> glibc. This may depend on a kernel so this may result in more work.
Exactly what I was thinking. I'm likely to try something like this next
weekend, unless someone beats me to it.
> But if you left glibc for the very end then your recompilation effort
> is
> somewhat to naught. If you will replace glibc then you will find out
> that you are linking with wrong dynamic libraries and nothing works.
> One way out is to leave old glibc alone. That way you will end up with
> sort of "pseudo-Yarrow" as various things there (NTPL for sure) depend
> on an updated glibc.
My overall idea (not sure if I mentioned it before) was to compile
everything in sight to see what worked, then once I can get the basic
glibc/gcc/kernel pieces in place, I'd recompile everything again under
the new system. At that point, there might actually be something
resembling a working system. :)
> Still 'yum' http://linux.duke.edu/projects/yum/
> has advantages, I believe, on a longer run even if it does not have
> a GUI front-end so far. Not mentioning that detail that it comes
> with "Yarrow". OTOH there is nothing which prevents the same
> depository
> to provide both apt and yum support.
I'd like to move to yum since, as you say, it's part of the
distribution now. I'm sticking with apt for the moment since I already
use apt to manage all my i386 and Alpha systems on 7.x distributions -
I had the tools lying around. I wasn't going to try using yum at least
until I get the Yarrow version of RPM built. I forget why that was
failing now, but I think it was something to do with the compiler
version. The minimal notes I've made so far are on my desk at work, so
I can't check right now.
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2003-11-11 18:18 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-10 18:44 "Yarrow" on Alpha Arkadiy Chapkis - Arc
2003-11-11 18:25 ` dr john halewood
-- strict thread matches above, loose matches on Subject: below --
2003-11-10 15:30 Arkadiy Chapkis - Arc
2003-11-10 17:57 ` dr john halewood
2003-11-10 4:38 Mike Barnes
2003-11-10 12:17 ` Chupakhin Alexey
2003-11-10 12:50 ` Mike Barnes
2003-11-10 15:12 ` dr john halewood
2003-11-10 13:05 ` Huw Davies
2003-11-10 17:35 ` Michal Jaegermann
2003-11-10 23:31 ` Mike Barnes
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox