Opened 7 years ago

Closed 6 years ago

#55850 closed defect (fixed)

seqan-apps @2.2.0: fatal error: 'cinttypes' file not found

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: rrahn
Priority: Normal Milestone:
Component: ports Version:
Keywords: tiger leopard snowleopard lion mountainlion Cc:
Port: seqan-apps

Description

seqan-apps fails to build on older systems.

/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_science_seqan-apps/seqan-apps/work/seqan-seqan-v2.2.0/include/seqan/platform.h:37:10: fatal error: 'cinttypes' file not found
#include <cinttypes>
         ^

I notice the flag -std=c++14 is used.

The port should indicate this requirement by including the cxx11 1.1 portgroup, and possibly additionally blacklisting {clang < 602}.

The port may also need to change to appending to compiler.blacklist and compiler.fallback rather than overwriting them as it currently does, since you don't want to counteract what the cxx11 1.1 portgroup does.

Change History (3)

comment:1 Changed 6 years ago by rrahn

Hi, I will revisit this problem when updating the ports for SeqAn 2.4.0

comment:2 Changed 6 years ago by rrahn

Thanks for pointing to the portgroup. Here is the corresponding PR on github: https://github.com/macports/macports-ports/pull/3585

comment:3 Changed 6 years ago by rrahn

Resolution: fixed
Status: newclosed

In bebf7a673f8dbf63870cf3c2055f159ce30ec9d4/macports-ports (master):

seqan-apps: Fix build on older operating systems

Fixes: #55850

Note: See TracTickets for help on using tickets.