[MacPorts] #61378: notmuch @0.31_1: contains version file
MacPorts
noreply at macports.org
Tue Oct 27 23:07:03 UTC 2020
#61378: notmuch @0.31_1: contains version file
--------------------------+-----------------------
Reporter: chrstphrchvz | Owner: rseichter
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.3
Keywords: | Port: notmuch
--------------------------+-----------------------
`notmuch` contains a file named "version" that takes precedence over the
`<version>` header from libc++, causing the build to fail at least on
[https://build.macports.org/builders/ports-10.6_i386-builder/builds/19512/steps
/install-port/logs/stdio 10.6], with errors such as:
{{{
In file included from lib/database.cc:21:
In file included from ./lib/database-private.h:33:
In file included from ./lib/notmuch-private.h:36:
In file included from
/opt/local/libexec/llvm-9.0/bin/../include/c++/v1/stdlib.h:100:
In file included from
/opt/local/libexec/llvm-9.0/bin/../include/c++/v1/math.h:337:
In file included from
/opt/local/libexec/llvm-9.0/bin/../include/c++/v1/type_traits:417:
In file included from
/opt/local/libexec/llvm-9.0/bin/../include/c++/v1/cstddef:37:
./version:1:1: error: expected unqualified-id
0.31
^
In file included from lib/database.cc:21:
In file included from ./lib/database-private.h:33:
In file included from ./lib/notmuch-private.h:36:
In file included from
/opt/local/libexec/llvm-9.0/bin/../include/c++/v1/stdlib.h:100:
In file included from
/opt/local/libexec/llvm-9.0/bin/../include/c++/v1/math.h:337:
In file included from
/opt/local/libexec/llvm-9.0/bin/../include/c++/v1/type_traits:417:
/opt/local/libexec/llvm-9.0/bin/../include/c++/v1/cstddef:49:9: error: no
member named 'ptrdiff_t' in the global namespace
using ::ptrdiff_t;
~~^
}}}
The workaround used in other affected ports (example: #59575) is to rename
the "version" file to "version.txt" and adjust any usage accordingly.
--
Ticket URL: <https://trac.macports.org/ticket/61378>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list