[3dprinter-general] Bug#869638: Bug#869638: slic3r-prusa FTBFS on big endian: admesh works correctly on little endian machines only

Chow Loong Jin hyperair at debian.org
Sun Oct 1 08:05:55 UTC 2017


On Sun, Oct 01, 2017 at 06:41:09AM +0200, Petter Reinholdtsen wrote:
> [Adrian Bunk]
> > If this is not fixable with reasonable effort, an RM bug for the old mips
> > binary should be sent against ftp.debian.org and this bug downgraded to
> > important.
> 
> I had a quick look at the code, and the trigger is of course this in
> xs/src/admesh/stl.h:
> 
>   #ifndef BOOST_LITTLE_ENDIAN
>   #error "admesh works correctly on little endian machines only!"
>   #endif
> 
> I was unable to see what should cause the code to only work on little endian
> machines, and did not have a big endian machine easily available.  I would
> recommend forwarding the issue to upstream and asking the ftpmasters to
> remove the old mips binaries until upstream or some big endian porters have
> time to look at it.

Upstream bug: https://github.com/prusa3d/Slic3r/issues/532
Commit that introduced the #error: https://github.com/prusa3d/Slic3r/commit/2085a482c76d88bfbb7ed8b5c598ff9f7ed8788f#diff-26021b6537e4d7f5fd50b588d3a6ca81R277
The root cause of why the #error was introduced: https://github.com/admesh/admesh/blob/master/src/stlinit.c#L272

Naturally, this also affects slic3r and admesh. A patch is on its way, please
wait.

-- 
Kind regards,
Loong Jin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/3dprinter-general/attachments/20171001/7b35079a/attachment.sig>


More information about the 3dprinter-general mailing list