universal-ctags / ctags

A maintained ctags implementation
https://ctags.io
GNU General Public License v2.0
6.57k stars 627 forks source link

build-sys: don't use libxml-2 if its CRLF handling is broken #3858

Closed masatake closed 11 months ago

masatake commented 12 months ago

See #3851 .

codecov[bot] commented 12 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (fae067a) 85.02% compared to head (600075f) 85.02%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #3858 +/- ## ======================================= Coverage 85.02% 85.02% ======================================= Files 228 228 Lines 53901 53901 ======================================= Hits 45832 45832 Misses 8069 8069 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

masatake commented 12 months ago

??? Why the errors of the test case is not reproduced?

masatake commented 12 months ago

It seems that I must cherry-pick #3854.

masatake commented 12 months ago

The input for the failed case uses CR+LF as the line separator. In cc24c85, I added a new test case cloned from the test case with changing the line separator to LF. The cloned test case didn't fail.

masatake commented 11 months ago

@leleliu008 I added AC_RUN_IFELSE to configure.ac. What do you think about this? I'm afraid of breaking the cross-compiling infrastructure you have polished.

leleliu008 commented 11 months ago

@leleliu008 I added AC_RUN_IFELSE to configure.ac. What do you think about this? I'm afraid of breaking the cross-compiling infrastructure you have polished.

Could we disable this check while cross-compiling?

masatake commented 11 months ago

As I am afraid, running configure on s390x has failed.

masatake commented 11 months ago

@leleliu008 thank you.

 -- Macro: AC_RUN_IFELSE (INPUT, [ACTION-IF-TRUE], [ACTION-IF-FALSE],
          [ACTION-IF-CROSS-COMPILING = ‘AC_MSG_FAILURE’])

O.K. I will fill the 4th parameter.

leleliu008 commented 11 months ago

About the macos-13 workflow fails, please pick up https://github.com/universal-ctags/ctags/pull/3861, I have merged it to master branch, it should be fixed.

masatake commented 11 months ago

@leleliu008 Thank you.

masatake commented 11 months ago

What I studied while developing this puu request is that pkg-config doesn't support && operator.

masatake commented 11 months ago

I won!