[Xapian-tickets] [Xapian] #826: Syntax error in conftext.cpp:105 during configure

Xapian nobody at xapian.org
Thu Apr 11 17:45:15 BST 2024


#826: Syntax error in conftext.cpp:105 during configure
-------------------------+-------------------------------------------------
        Reporter:  Eyal  |      Owner:  Olly Betts
  R.                     |
            Type:        |     Status:  new
  defect                 |
        Priority:        |  Milestone:
  normal                 |
       Component:        |    Version:
  Build system           |   Keywords:  configuration, config, build,
        Severity:        |  syntax-error, configure, confdefs,  conftest,
  normal                 |  mode_t, pid_T
      Blocked By:        |   Blocking:
Operating System:        |
  Linux                  |
-------------------------+-------------------------------------------------
 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>
Xapian <https://xapian.org/>
Xapian


More information about the Xapian-tickets mailing list