9front - general discussion about 9front
 help / color / mirror / Atom feed
* Cannot build system on latest rpi4 (libbio errors)
@ 2020-11-02 20:49 Romano
  2020-11-02 20:55 ` [9front] " ori
  0 siblings, 1 reply; 3+ messages in thread
From: Romano @ 2020-11-02 20:49 UTC (permalink / raw)
  To: 9front

I ran sysupdate last night and attempted to rebuild the system, but it fails with some errors about libbio:

cpu% cd /sys/src
cpu% mk install
...
7l  -o 7.out aliasmail.7 ../common/libcommon.a7
??none??: incompatible type signatures c0a3cfae(../common/libcommon.a7(sysnames_read)) and 9dd3ea4c(/arm64/lib/libbio.a(Bseek)) for Bseek
badd: incompatible type signatures e8001435(../common/libcommon.a7(sysnames_read)) and 34728a43(/arm64/lib/libbio.a(Brdstr)) for Brdstr
Binits: incompatible type signatures ac447a74(../common/libcommon.a7(sysnames_read)) and ce449e92(/arm64/lib/libbio.a(Bopen)) for Binit
Bfdopen: incompatible type signatures 29f5223c(../common/libcommon.a7(sysnames_read)) and 63f5472a(/arm64/lib/libbio.a(Bopen)) for Bopen
Bopen: incompatible type signatures bb9b2306(../common/libcommon.a7(sysnames_read)) and f9b3864(/arm64/lib/libbio.a(Bopen)) for Bterm
??none??: incompatible type signatures bb9b2306(../common/libcommon.a7(sysnames_read)) and f9b3864(/arm64/lib/libbio.a(Bfildes)) for Bfildes
mk: 7l  -o ...  : exit status=rc 420270: 7l 420272: error
mk: for (i in ...  : exit status=rc 420228: rc 420265: mk 420266: error
mk: for(i in 1a ...  : exit status=rc 403330: rc 420225: mk 420227: error
mk: test -e 7._cp ...  : exit status=rc 401470: mk 403313: error
mk: date for (i ...  : exit status=rc 392586: rc 401452: mk 401453: error
cpu%

I attempted to resolve by first rebuilding /sys/src/cc, then /sys/src/7c, as mentioned in FQA 5. I then tried 'mk clean', and 'mk libs', and still no success.  I would have thought that a 'mk clean' would have worked, but from the message above it looks like the build is using the system's libbio and it's expecting different type signatures. I looked at the commit log for 9front but didn't see anything recently that would modify libbio.

The only reference I found on google is here, with a different project: https://github.com/Orc/discount/issues/193



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9front] Cannot build system on latest rpi4 (libbio errors)
  2020-11-02 20:49 Cannot build system on latest rpi4 (libbio errors) Romano
@ 2020-11-02 20:55 ` ori
  2020-11-05 22:24   ` left over cmd/cc/cc.a^(6 8) breaks build with the libbio change Xiao-Yong Jin
  0 siblings, 1 reply; 3+ messages in thread
From: ori @ 2020-11-02 20:55 UTC (permalink / raw)
  To: unobe, 9front

> I ran sysupdate last night and attempted to rebuild the system, but it fails with some errors about libbio:
> 
> cpu% cd /sys/src
> cpu% mk install
> ...
> 7l  -o 7.out aliasmail.7 ../common/libcommon.a7
> ??none??: incompatible type signatures c0a3cfae(../common/libcommon.a7(sysnames_read)) and 9dd3ea4c(/arm64/lib/libbio.a(Bseek)) for Bseek
> badd: incompatible type signatures e8001435(../common/libcommon.a7(sysnames_read)) and 34728a43(/arm64/lib/libbio.a(Brdstr)) for Brdstr
> Binits: incompatible type signatures ac447a74(../common/libcommon.a7(sysnames_read)) and ce449e92(/arm64/lib/libbio.a(Bopen)) for Binit
> Bfdopen: incompatible type signatures 29f5223c(../common/libcommon.a7(sysnames_read)) and 63f5472a(/arm64/lib/libbio.a(Bopen)) for Bopen
> Bopen: incompatible type signatures bb9b2306(../common/libcommon.a7(sysnames_read)) and f9b3864(/arm64/lib/libbio.a(Bopen)) for Bterm
> ??none??: incompatible type signatures bb9b2306(../common/libcommon.a7(sysnames_read)) and f9b3864(/arm64/lib/libbio.a(Bfildes)) for Bfildes
> mk: 7l  -o ...  : exit status=rc 420270: 7l 420272: error
> mk: for (i in ...  : exit status=rc 420228: rc 420265: mk 420266: error
> mk: for(i in 1a ...  : exit status=rc 403330: rc 420225: mk 420227: error
> mk: test -e 7._cp ...  : exit status=rc 401470: mk 403313: error
> mk: date for (i ...  : exit status=rc 392586: rc 401452: mk 401453: error
> cpu%
> 
> I attempted to resolve by first rebuilding /sys/src/cc, then /sys/src/7c, as mentioned in FQA 5. I then tried 'mk clean', and 'mk libs', and still no success.  I would have thought that a 'mk clean' would have worked, but from the message above it looks like the build is using the system's libbio and it's expecting different type signatures. I looked at the commit log for 9front but didn't see anything recently that would modify libbio.
> 
> The only reference I found on google is here, with a different project: https://github.com/Orc/discount/issues/193

Let me guess, that's upas? I think the mkfiles there need
another look -- I don't think we rebuild libcommon when
we should.

Try 'cd /sys/src/cmd/upas && mk nuke'.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* left over cmd/cc/cc.a^(6 8) breaks build with the libbio change
  2020-11-02 20:55 ` [9front] " ori
@ 2020-11-05 22:24   ` Xiao-Yong Jin
  0 siblings, 0 replies; 3+ messages in thread
From: Xiao-Yong Jin @ 2020-11-05 22:24 UTC (permalink / raw)
  To: 9front

The files cmd/cc/cc.a^(6 8) remain after mk clean under /sys/src.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-11-05 22:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-02 20:49 Cannot build system on latest rpi4 (libbio errors) Romano
2020-11-02 20:55 ` [9front] " ori
2020-11-05 22:24   ` left over cmd/cc/cc.a^(6 8) breaks build with the libbio change Xiao-Yong Jin

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).