Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1019751 > unrolled thread

Bug#966525: dmagnetic FTBFS on i386: check-sixel failed

Started byAdrian Bunk <bunk@debian.org>
First post2020-07-30 08:10 +0200
Last post2020-08-03 02:00 +0200
Articles 5 — 3 participants

Back to article view | Back to linux.debian.bugs.dist


Contents

  Bug#966525: dmagnetic FTBFS on i386: check-sixel failed Adrian Bunk <bunk@debian.org> - 2020-07-30 08:10 +0200
    Bug#966525: dmagnetic FTBFS on i386: check-sixel failed Thomas Dettbarn <dettus@dettus.net> - 2020-07-30 15:10 +0200
    Bug#966525: dmagnetic FTBFS on i386: check-sixel failed Adrian Bunk <bunk@debian.org> - 2020-07-30 15:20 +0200
    Bug#966525: dmagnetic FTBFS on i386: check-sixel failed Adrian Bunk <bunk@debian.org> - 2020-08-02 16:20 +0200
      Bug#966525: dmagnetic FTBFS on i386: check-sixel failed dettus <dettus@dettus.net> - 2020-08-03 02:00 +0200

#1019751 — Bug#966525: dmagnetic FTBFS on i386: check-sixel failed

FromAdrian Bunk <bunk@debian.org>
Date2020-07-30 08:10 +0200
SubjectBug#966525: dmagnetic FTBFS on i386: check-sixel failed
Message-ID<Ay9Vn-1Fz-1@gated-at.bofh.it>
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 dettus@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 = ""

[toc] | [next] | [standalone]


#1019792

FromThomas Dettbarn <dettus@dettus.net>
Date2020-07-30 15:10 +0200
Message-ID<AygtP-5Es-7@gated-at.bofh.it>
In reply to#1019751
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 <dettus@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 <bunk@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 dettus@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 = ""

[toc] | [prev] | [next] | [standalone]


#1019795

FromAdrian Bunk <bunk@debian.org>
Date2020-07-30 15:20 +0200
Message-ID<AygDv-5HM-1@gated-at.bofh.it>
In reply to#1019751
On Thu, Jul 30, 2020 at 02:46:55PM +0200, Thomas Dettbarn wrote:
> Hello Adrian!

Hi Thomas!

>...
> Apparently, it only happens on 
> i386, but I fear that it might occur on other architectures as
> well.

For being able to run on old hardware, only the old x87 FPU is used on
the Debian i386 port.

The x87 FPU internally uses 80bit precision instead of 64bit precision.
The results are "better", but different from IEEE floating point.

The only other Debian architecture that would have such a problem
would be m68k, but builds there are with nocheck.

> Thomas

cu
Adrian

[toc] | [prev] | [next] | [standalone]


#1020148

FromAdrian Bunk <bunk@debian.org>
Date2020-08-02 16:20 +0200
Message-ID<Azn0d-71c-1@gated-at.bofh.it>
In reply to#1019751
On Fri, Jul 31, 2020 at 06:02:03PM +0200, Thomas Dettbarn wrote:
> Hello Adrian.
> 
> So, I patched my package, and uploaded to mentors.
> 
> I got a message with the subject "dmagnetic_0.25-1:
> ACCEPTED into unstable."
> 
> It can be found here,
> 
> https://mentors.debian.net/package/dmagnetic/
> 
> 
> but now I am a little bit concerned about the developer information
> page: https://tracker.debian.org/pkg/dmagnetic it is still complaining
> about i386 not working. Could you have a look?

Whatever you do on mentors does not have any effect in Debian,
unless it gets uploaded into the archive.

Version 0.25-1 of dmagnetic has been uploaded (by Adam Borowski).
This version cannot ever be changed in Debian.

You have to make a new revision 0.25-2 with the fix applied,
a changelog describing all changes like
  * Build with -ffloat-store on i386 to fix FTBFS. (Closes: #966525)
and that has to be uploaded to Debian for you.

I can sponsor such an upload if you upload it to mentors.

> Thomas

cu
Adrian

[toc] | [prev] | [next] | [standalone]


#1020228

Fromdettus <dettus@dettus.net>
Date2020-08-03 02:00 +0200
Message-ID<Azw3v-3Sr-1@gated-at.bofh.it>
In reply to#1020148
Hello everybody.


After Adrian was kind enough to give me a solution to my problem, I was 
able to apply it.

So my wonderful project dMagnetic can now be found with the release 
number 0.25-2 in
your mentors.debian.net system.

https://mentors.debian.net/package/dmagnetic/

Now, I would kindly ask you to upload it to the unstable servers.



Thomas

On 8/2/20 4:09 PM, Adrian Bunk wrote:
> On Fri, Jul 31, 2020 at 06:02:03PM +0200, Thomas Dettbarn wrote:
>> Hello Adrian.
>>
>> So, I patched my package, and uploaded to mentors.
>>
>> I got a message with the subject "dmagnetic_0.25-1:
>> ACCEPTED into unstable."
>>
>> It can be found here,
>>
>> https://mentors.debian.net/package/dmagnetic/
>>
>>
>> but now I am a little bit concerned about the developer information
>> page: https://tracker.debian.org/pkg/dmagnetic it is still complaining
>> about i386 not working. Could you have a look?
> Whatever you do on mentors does not have any effect in Debian,
> unless it gets uploaded into the archive.
>
> Version 0.25-1 of dmagnetic has been uploaded (by Adam Borowski).
> This version cannot ever be changed in Debian.
>
> You have to make a new revision 0.25-2 with the fix applied,
> a changelog describing all changes like
>    * Build with -ffloat-store on i386 to fix FTBFS. (Closes: #966525)
> and that has to be uploaded to Debian for you.
>
> I can sponsor such an upload if you upload it to mentors.
>
>> Thomas
> cu
> Adrian

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web