Edit: Okay, now I see the problem: It is the only place in the code where I used floats. Hmmm. Bummer... You said that your patch helps with that? Then I will add it to the debian package.
For future releases, I will get rid of the floating point code. It is ugly anyways. Thomas > Thomas Dettbarn <det...@dettus.net> hat am 30.07.2020 14:46 geschrieben: > > > Hello Adrian! > > > Hmm... I wonder what is going on there? > May I bother you to send me the output of > > > echo "Dreye" | ./dMagnetic -ini dMagnetic.ini \ > -vmode "sixel" -vcols 300 -vrows 300 -vecho \ > -sres 1024x768 -mag testcode/minitest.mag >fails.txt > > > > running on an i386 computer with Debian? That would help me to > understand what the issue is. Apparently, it only happens on > i386, but I fear that it might occur on other architectures as > well. > > Thomas > > > Adrian Bunk <b...@debian.org> hat am 30.07.2020 08:04 geschrieben: > > > > > > Source: dmagnetic > > Version: 0.25-1 > > Severity: serious > > Tags: ftbfs patch > > > > https://buildd.debian.org/status/fetch.php?pkg=dmagnetic&arch=i386&ver=0.25-1&stamp=1595804868&raw=0 > > > > ... > > Initializing the 68K version 0 VM > > check-high_ansi OK > > *** dMagnetic 0.25 > > *** Use at your own risk > > *** (C)opyright 2020 by det...@dettus.net > > ***************************************** > > > > Using .ini file: dMagnetic.ini > > Warning! -mag given, but not -gfx. Deducing filename > > Initializing the 68K version 0 VM > > check-sixel failed > > make[1]: *** [checks.mk:104: check-sixel] Error 1 > > > > > > If exact floating points are required, the following fixes it: > > > > --- debian/rules.old 2020-07-30 09:01:53.400678013 +0300 > > +++ debian/rules 2020-07-30 09:02:37.400712152 +0300 > > @@ -3,6 +3,9 @@ > > export DH_VERBOSE = 1 > > export DEB_BUILD_MAINT_OPTIONS = hardening=+all > > export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic > > +ifneq (,$(filter $(DEB_HOST_ARCH), i386)) > > + export DEB_CFLAGS_MAINT_APPEND += -ffloat-store > > +endif > > export SHA256_CMD=sha256sum > > #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed > > #export DEB_RULES_REQUIRES_ROOT = ""