Re: Unversioned symbols when building kernel package

John Paul Adrian Glaubitz <[email protected]> Thu, 5 Jan 2023 13:24:54 +0100
Newsgroups gmane.linux.debian.ports.alpha
Message-ID <[email protected]>
Hi Frank!

On 1/4/23 23:31, John Paul Adrian Glaubitz wrote:
>> Looking at [4] the message "Can't read ABI reference." could indicate a missing file - filename
>> is defined in line 51 ([5]) and `/debian/abi/` does not exist in [3].
> 
> I don't think it's a bug in the Debian scripts. Otherwise it wouldn't just affect alpha.

Some more diagnostics, it seems that the sh4 FTBFS is related to the alpha problem.
On sh4, the builds are also failing due to issues with local symbols [1]:

/<<PKGBUILDDIR>>/scripts/check-local-export fs/reiserfs/xattr_security.o
/<<PKGBUILDDIR>>/scripts/check-local-export: line 54: symbol_types[${name}]: bad array subscript
make[5]: *** [/<<PKGBUILDDIR>>/scripts/Makefile.build:254: fs/reiserfs/xattr_security.o] Error 1
make[5]: *** Deleting file 'fs/reiserfs/xattr_security.o'
make[4]: *** [/<<PKGBUILDDIR>>/scripts/Makefile.build:470: fs/reiserfs] Error 2
make[3]: *** [/<<PKGBUILDDIR>>/Makefile:1876: fs] Error 2

And for a local build, I'm getting the following failure:

   /<<PKGBUILDDIR>>/scripts/check-local-export fs/unicode/utf8-core.o
fs/unicode/utf8-core.o: error: local symbol '__ksymtab_utf8_casefold' was exported
make[5]: *** [/<<PKGBUILDDIR>>/scripts/Makefile.build:254: fs/unicode/utf8-core.o] Error 1
make[5]: *** Deleting file 'fs/unicode/utf8-core.o'
make[4]: *** [/<<PKGBUILDDIR>>/scripts/Makefile.build:470: fs/unicode] Error 2
make[4]: *** Waiting for unfinished jobs....

So, we might have to investigate the recent changes to the scripts/check-local-export script.

Adrian

> [1] https://buildd.debian.org/status/fetch.php?pkg=linux&arch=sh4&ver=6.0.2-1&stamp=1665950645&raw=0