Giter Site home page Giter Site logo

Comments (9)

msteveb avatar msteveb commented on June 12, 2024

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.

yuzibo avatar yuzibo commented on June 12, 2024

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.

msteveb avatar msteveb commented on June 12, 2024

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.

msteveb avatar msteveb commented on June 12, 2024

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.

msteveb avatar msteveb commented on June 12, 2024

I pushed a change to increase those timeouts and also add _FILE_OFFSET_BITS. You will need to cherry-pick some patches

from jimtcl.

yuzibo avatar yuzibo commented on June 12, 2024

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.

yuzibo avatar yuzibo commented on June 12, 2024
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.

yuzibo avatar yuzibo commented on June 12, 2024

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.

msteveb avatar msteveb commented on June 12, 2024

Thanks, that's good news

from jimtcl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.