[Xapian-tickets] [Xapian] #826: Syntax error in conftext.cpp:105 during configure
Xapian
nobody at xapian.org
Thu Apr 11 17:45:33 BST 2024
#826: Syntax error in conftext.cpp:105 during configure
-------------------------------------------------+-------------------------
Reporter: Eyal R. | Owner: Olly
| Betts
Type: defect | Status: new
Priority: normal | Milestone:
Component: Build system | Version:
Severity: normal | Resolution:
Keywords: configuration, config, build, | Blocked By:
syntax-error, configure, confdefs, conftest, |
mode_t, pid_T | Operating System:
Blocking: | Linux
-------------------------------------------------+-------------------------
Description changed by Eyal R.:
Old description:
> I'm building the xapian master branch on my machine, a Devuan GNU/Linux 6
> Excalibur (equivalent to Debian trixie but without systemd).
>
> After bootstrapping, and during the configure step, I get the following
> error:
>
> | conftest.cpp: In function 'int main()':
> | conftest.cpp:105:20: error: expected primary-expression before ')'
> token
> | 105 | if (sizeof ((mode_t)))
> | | ^
> | configure:22851: $? = 1
> | configure: failed program was:
> | | /* confdefs.h */
>
> that does indeed look like a syntax error... configuration cannot
> conclude and I can't build.
>
> My GCC version is 13.2.0, my kernel version is 6.6.13 and my glibc
> version is 2.37
New description:
I'm building the xapian master branch on my machine, a Devuan GNU/Linux 6
Excalibur (equivalent to Debian trixie but without systemd).
After bootstrapping, and during the configure step, I get the following
error:
```
| conftest.cpp: In function 'int main()':
| conftest.cpp:105:20: error: expected primary-expression before ')' token
| 105 | if (sizeof ((mode_t)))
| | ^
| configure:22851: $? = 1
| configure: failed program was:
| | /* confdefs.h */
```
that does indeed look like a syntax error... configuration cannot conclude
and I can't build.
My GCC version is 13.2.0, my kernel version is 6.6.13 and my glibc version
is 2.37
--
--
Ticket URL: <https://trac.xapian.org/ticket/826#comment:1>
Xapian <https://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list