* [9fans] System build: /sparc64 file does not exist; NOT on sparc64
@ 2012-04-22 1:17 Strake
2012-04-22 5:06 ` Lucio De Re
2012-04-22 8:34 ` David du Colombier
0 siblings, 2 replies; 4+ messages in thread
From: Strake @ 2012-04-22 1:17 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
Hello. I wish to build Plan 9, but build fails thus:
% pwd
/sys/src
% mk install
...
cd libmach
6c -FTVw -I/sys/src/cmd (2 5 7 8 q u)^.c
u.c:7 6c: '/sparc64' file does not exist: /sparc64/include/ureg.h
...
%
I am not on sparc64 machine. I tried to disable all arch but (6 9) in
mkfile, but then build fails thus:
% mk install
...
cd cmd
...
6^l -o 6.ar ar.6
Bungetc: _is^(2 5 7 8 k q u v)^: not defined
Bungetc: _read^(2 5 7 8 k q u v)^: not defined
...
%
Only alterations to system are nix and pc-etheryuk, both from 9legacy,
both which I doubt to cause this failure.
I looked at libbio/bgetc.c, where Bungetc is defined, but found no such calls.
I searched 9fans archive for "sparc64 file does not exist" but got no hits.
I have no idea what to do. How can I build Plan 9?
Thanks.
Cheers,
strake
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] System build: /sparc64 file does not exist; NOT on sparc64
2012-04-22 1:17 [9fans] System build: /sparc64 file does not exist; NOT on sparc64 Strake
@ 2012-04-22 5:06 ` Lucio De Re
2012-04-22 8:34 ` David du Colombier
1 sibling, 0 replies; 4+ messages in thread
From: Lucio De Re @ 2012-04-22 5:06 UTC (permalink / raw)
To: 9fans
> I am not on sparc64 machine. I tried to disable all arch but (6 9) in
> mkfile, but then build fails thus:
What are you on?
Obviously there is an error in the build procedure, but it would be useful to know what is triggering it.
On my workstation:
term% cat /dev/archctl
cpu PentiumIII/Xeon 931 pge
pge on
coherence mb586
cmpswap cmpswap486
i8253set on
cache default uc
cache 0x0 268435456 wb
cache 0xf800000 8388608 uc
cache 0xd8000000 67108864 wc
cache 0xd0000000 67108864 wc
++L
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] System build: /sparc64 file does not exist; NOT on sparc64
2012-04-22 1:17 [9fans] System build: /sparc64 file does not exist; NOT on sparc64 Strake
2012-04-22 5:06 ` Lucio De Re
@ 2012-04-22 8:34 ` David du Colombier
2012-04-22 17:30 ` Strake
1 sibling, 1 reply; 4+ messages in thread
From: David du Colombier @ 2012-04-22 8:34 UTC (permalink / raw)
To: 9fans
> % mk install
> ...
> cd libmach
> 6c -FTVw -I/sys/src/cmd (2 5 7 8 q u)^.c
> u.c:7 6c: '/sparc64' file does not exist: /sparc64/include/ureg.h
> ...
> %
There is obviously a problem on your Plan 9 installation.
The file /sparc64/include/ureg.h shouldn't be missing,
and is a requirement to build libmach.
Here is the full procedure to restore the /sparc64
directory from Bell Labs:
% echo 'srv -APW fossil' >> /srv/fscons
% mount -c /srv/fossil /n/fossil
% rm -rf /n/fossil/sparc64
% mkdir /n/fossil/sparc64
% 9fs sources
% dircp /n/sources/plan9/sparc64 /n/fossil/sparc64
% unmount /n/fossil
% rm /srv/fossil
--
David du Colombier
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] System build: /sparc64 file does not exist; NOT on sparc64
2012-04-22 8:34 ` David du Colombier
@ 2012-04-22 17:30 ` Strake
0 siblings, 0 replies; 4+ messages in thread
From: Strake @ 2012-04-22 17:30 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On 22/04/2012, David du Colombier <0intro@gmail.com> wrote:
>> % mk install
>> ...
>> cd libmach
>> 6c -FTVw -I/sys/src/cmd (2 5 7 8 q u)^.c
>> u.c:7 6c: '/sparc64' file does not exist: /sparc64/include/ureg.h
>> ...
>> %
>
> There is obviously a problem on your Plan 9 installation.
>
> The file /sparc64/include/ureg.h shouldn't be missing,
> and is a requirement to build libmach.
>
> Here is the full procedure to restore the /sparc64
> directory from Bell Labs:
>
> % echo 'srv -APW fossil' >> /srv/fscons
> % mount -c /srv/fossil /n/fossil
> % rm -rf /n/fossil/sparc64
> % mkdir /n/fossil/sparc64
> % 9fs sources
> % dircp /n/sources/plan9/sparc64 /n/fossil/sparc64
> % unmount /n/fossil
> % rm /srv/fossil
>
> --
> David du Colombier
I have no network controller driver so I just fetched the latest CD
image and reinstalled, and I have /sparc64.
Not sure why it I lacked it last time.
Anyhow, thanks for your trouble.
Cheers,
strake
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-04-22 17:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-22 1:17 [9fans] System build: /sparc64 file does not exist; NOT on sparc64 Strake
2012-04-22 5:06 ` Lucio De Re
2012-04-22 8:34 ` David du Colombier
2012-04-22 17:30 ` Strake
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).