Comments (9)
Thanks for the report. That test can probably bit disabled. It can be a bit fragile on a VM or systems that don't give a good guarantee of timeliness. But some of the other failures are interesting. There are a couple that fail to find cc-check-inline during ./configure. I'd like to know what is causing that. I wonder how I can reproduce
from jimtcl.
hi,
If for s390x:
1.
sudo sbuild-createchroot --debootstrap=mmdebstrap --arch=s390x \
--make-sbuild-tarball=/srv/sid-s390x-sbuild.tgz \
sid /tmp/chroots/sid-s390x-sbuild/ \
http://ftp.cn.debian.org/debian/
(then vim /etc/schroot/chroot.d/sid-s390x-sbuild-xxxxx
to change to profile=default
)
2. git clone jimtcl from salsa or here I guess it should work also.
3. cd jimtcl-src
4. sudo schroot -c sid-s390x-sbuild
then you have s390x qemu user system.
(I am not sure gdb is enough or not for that)
For powerpc:
sudo sbuild-createchroot --debootstrap=mmdebstrap --arch=powerpc \
--include=debian-ports-archive-keyring,ca-certificates \
--make-sbuild-tarball=/srv/sid-powerpc-sbuild.tgz \
sid /tmp/chroots/sid-powerpc-sbuild/ \
http://ftp.ports.debian.org/debian-ports/
Usage is as the same above.
For hppa&sh4, I do not think this is the issue from jintcl itself. yeah, it fails during ./configure
phrase, but the corresponding chroot should be generated as the same as powerpc(they are all debian-ports expect s390x).
from jimtcl.
Yes, that test on s390 is intermittent. I ran it continuously and it failed about 1 time in 20.
For powerpc, the problem is that readdir doesn't work in bootstrap jimsh (and so glob doesn't work).
Either need to add a dependency on tclsh or alter autosetup/jimsh.c
diff --git a/autosetup/jimsh0.c b/autosetup/jimsh0.c
index 63d4596..20bda44 100644
--- a/autosetup/jimsh0.c
+++ b/autosetup/jimsh0.c
@@ -58,6 +58,7 @@
#define HAVE_DIRENT_H
#define HAVE_UNISTD_H
#define HAVE_UMASK
+#define _FILE_OFFSET_BITS 64
#endif
#define JIM_VERSION 78
#ifndef JIM_WIN32COMPAT_H
from jimtcl.
And in jim-readdir.c, jimautoconf.h needs to be first so that the definition of _FILE_OFFSET_BITS is seen in other headers
from jimtcl.
I pushed a change to increase those timeouts and also add _FILE_OFFSET_BITS. You will need to cherry-pick some patches
from jimtcl.
hi,
yesterday I uploaded the jimtcl 0.82-4 to Debian sid, but unfortunately, one test failed on ppc64el:
make[3]: Entering directory '/<<PKGBUILDDIR>>/static/tests'
...
defer.test: Total 15 Passed 15 Skipped 0 Failed 0
dict.test: Total 79 Passed 79 Skipped 0 Failed 0
dict2.test: Total 212 Passed 207 Skipped 5 Failed 0
ensemble.test: Total 7 Passed 7 Skipped 0 Failed 0
error.test: Total 3 Passed 3 Skipped 0 Failed 0
event.test: Total 22 Passed 21 Skipped 1 Failed 0
exec.test: Total 78 Passed 78 Skipped 0 Failed 0
exec2-3.2 ERR close pipeline return value
/<<PKGBUILDDIR>>/tests/exec2.test:77:Error test failure
Expected: rc={ok return} result={1 {child killed*} CHILDKILLED SIGPIPE}
Got : rc=error result={key "-errorcode" not known in dictionary}
exec2.test: Total 22 Passed 21 Skipped 0 Failed 1
the log is here
In fact, I made lots of efforts to check the test failure was fixed in Debian exp as the issue above. I can confirm that
the same code(0.82-3) was built fine on Debain exp. So the only problem may be that the dependent package with different version.
But the 0.82-4 was built fine on my local qemu-user on ppc64el with sid repo.
Sorry to disturb you again. Could you have a chance to login a real ppc64el machine to look at the issue?
from jimtcl.
test exec2-3.2 "close pipeline return value" -constraints {pipe signal nomingw32} -body {
signal ignore SIGPIPE
# Write more than 64KB which is maximum size of the pipe buffers
# on all systems we have seen
set bigstring [string repeat a 100000]
set f [open [list |cat << $bigstring]]
set rc [catch {close $f} msg opts]
lassign [dict get $opts -errorcode] status pid exitcode
list $rc $msg $status $exitcode
} -match glob -result {1 {child killed*} CHILDKILLED SIGPIPE}
Somebody advices to increase the value, but I am not sure it is okay.
from jimtcl.
hi, yesterday I uploaded the jimtcl 0.82-4 to Debian sid, but unfortunately, one test failed on ppc64el:
make[3]: Entering directory '/<<PKGBUILDDIR>>/static/tests' ... defer.test: Total 15 Passed 15 Skipped 0 Failed 0 dict.test: Total 79 Passed 79 Skipped 0 Failed 0 dict2.test: Total 212 Passed 207 Skipped 5 Failed 0 ensemble.test: Total 7 Passed 7 Skipped 0 Failed 0 error.test: Total 3 Passed 3 Skipped 0 Failed 0 event.test: Total 22 Passed 21 Skipped 1 Failed 0 exec.test: Total 78 Passed 78 Skipped 0 Failed 0 exec2-3.2 ERR close pipeline return value /<<PKGBUILDDIR>>/tests/exec2.test:77:Error test failure Expected: rc={ok return} result={1 {child killed*} CHILDKILLED SIGPIPE} Got : rc=error result={key "-errorcode" not known in dictionary} exec2.test: Total 22 Passed 21 Skipped 0 Failed 1
the log is here
In fact, I made lots of efforts to check the test failure was fixed in Debian exp as the issue above. I can confirm that the same code(0.82-3) was built fine on Debain exp. So the only problem may be that the dependent package with different version. But the 0.82-4 was built fine on my local qemu-user on ppc64el with sid repo.
Sorry to disturb you again. Could you have a chance to login a real ppc64el machine to look at the issue?
please ignore it, now the jimtcl can be built on ppc64el:
https://buildd.debian.org/status/logs.php?pkg=jimtcl&arch=ppc64el
thanks.
from jimtcl.
Thanks, that's good news
from jimtcl.
Related Issues (20)
- strncasecmp and strcasecmp in jim-signal.c w/o strings.h include
- Some return values ignored HOT 1
- configure does not/wrongly detect missing zlib and openssl with diet libc HOT 1
- Commenting JIM_OPTIMIZATION Breaks Build
- Provide a way to pass arbitrary strings to executed commands (likely with TIP 424) HOT 3
- Constant comparison HOT 1
- Feature request: add umask (or os.umask) command HOT 2
- documentation syntax examples are different than actual results HOT 6
- timer-3.2 test failure when building with tcl on osx HOT 3
- $(...) vs [expr {...}] HOT 2
- Compiling for Windows Using MSYS HOT 10
- Converting script into a standalone executable HOT 2
- segfault in "if string length" in jimsh 0.82 HOT 6
- aio hang HOT 3
- Backwards compatibility for oo.tcl HOT 1
- Bug in `subst`: If a `\[` follows a `$`, variables stop being interpolated HOT 1
- Add git hash to version number display
- UBSan complains while executing Jim_LreplaceCoreCommand HOT 1
- UBSan complains when doing left shift for some inputs HOT 3
- GCC 14: jimtcl will no longer build HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jimtcl.