bugpng++, a C++ wrapper for libpng - Bugs: bug #61665, Linux Alpine support

 
 

bug #61665: Linux Alpine support

Submitter:  None
Submitted:  Mon 13 Dec 2021 09:28:37 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 18 Dec 2021 02:19:00 PM UTC, comment #1: 

Hm, interesting.  Could you submit a patch to fix it?..

Regards,
--
Alex

Alexander Shulgin <alexshulgin>
Group administrator
Mon 13 Dec 2021 09:28:37 AM UTC, original submission:  

Hello,
I am encountering a build error when trying to compile for a Alpine distribution with musl-libc.

Host Environment
    OS: alpine-3.14
    Compiler: gcc10 (10.3.1) on amd64
    Musl: musl-1.2.2-r3 (from apk info)

To Reproduce
Simply try to compile a file that includes <png++/png.hpp>

Failure logs

/tmp/build_alpine/vcpkg_installed/x64-linux/include/png++/config.hpp:63:2: error: #error Byte-order could not be detected.
   63 | #error Byte-order could not be detected.

Additional context
The problem seems to be in the config.hpp file of the png++ library.
There are several checks on the used std libraries to determine the endianness of the system but the musl library is not included, so the check fails.


Thanks for the support

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by alexshulgin (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-12-18 alexshulgin StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code