icmake: Fails to build bobcat on s390x
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bobcat (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
icmake (Debian) |
Fix Released
|
Unknown
|
|||
icmake (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Imported from Debian bug http://
Package: icmake
Version: 10.01.01-2
Severity: normal
X-Debbugs-Cc: <email address hidden>
Dear Maintainer,
Tested against both Debian Sid and Ubuntu Jammy, icmake will fail to
build valid binaries for bobcat on s390x.
Sample build log:
https:/
# Compile the package:
./build libraries all
./build man
...
mv debian/
mv: cannot stat 'debian/
file or directory
make[1]: *** [debian/rules:39: override_
The './build libraries all step' does not appear to build anything.
Invoking build with 'icmake -V' shows it just exiting promptly:
+ icmake -V -t. ./build libraries all
calling `/usr/libexec/
calling `/usr/libexec/
calling `/usr/libexec/
On other architectures the equivalent command actually builds things.
I played with valgrind on this a bit. One thing that I found was that
there was an invalid read in lex.cc, seeming from an empty d_matched.
This seems to make it not crash, but it still does not produce build artifacts.
--- a/pp/scanner/lex.cc
+++ b/pp/scanner/lex.cc
@@ -602,7 +602,7 @@
setMatched
- d_atBOL = d_matched.back() == '\n';
+ d_atBOL = !d_matched.empty() && d_matched.back() == '\n';
return finalPtr->rule;
Where I stopped was the following:
==9451== Invalid read of size 8
==9451== at 0x12D434: std::__
==9451== by 0x1325E3: std::__
==9451== by 0x13230D: std::__
==9451== by 0x132355: std::unique_
==9451== by 0x13239D: Variable:
==9451== by 0x135937: CPU::popVar() (popvar.cc:10)
==9451== by 0x136A11: CPU::run() (run.cc:23)
==9451== by 0x138763: main (main.cc:91)
==9451== Address 0x52f0860 is 32 bytes before a block of size 48 in arena "client"
-Dan
tags: | added: ftbfs update-excuse |
Changed in icmake (Debian): | |
importance: | Undecided → Unknown |
status: | New → Fix Released |
Changed in icmake (Debian): | |
status: | Fix Released → New |
Changed in icmake (Debian): | |
status: | New → Fix Released |