Opened 4 years ago
Closed 4 years ago
#61378 closed defect (fixed)
notmuch @0.31_1: contains version file
Reported by: | chrstphrchvz (Christopher Chavez) | Owned by: | rseichter (Ralph Seichter) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.6.3 |
Keywords: | Cc: | ||
Port: | notmuch |
Description
notmuch
contains a file named "version" that takes precedence over the <version>
header from libc++, causing the build to fail at least on 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.
Change History (2)
comment:1 Changed 4 years ago by rseichter (Ralph Seichter)
comment:2 Changed 4 years ago by rseichter (Ralph Seichter)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Now that's interesting. Various people have been wondering about these build failures for quite a while. I have created a pull request: https://github.com/macports/macports-ports/pull/8970