Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Builds from latest git pull fail on Debian Stretch's gcc-6.3 and Qt 5.7.1 #241

Closed
stevenpusser opened this issue Jan 30, 2019 · 12 comments
Closed

Comments

@stevenpusser
Copy link

This seems to be the error:


highlighter.cpp:2443:40: error: conversion from 'const char [2]' to 'QChar' is ambiguous
                 if (text.at (index) == "\"")
                                        ^~~~

I'm building packages in a vanilla Stretch environment using pbuilder. Building on bare metal or with sbuild also fails with the same error. A test build in a Debian testing pbuilder using gcc-8 and Qt 5.11 succeeds.
I've attached the build log; the error is at line 1415.

featherpad_0.9.2+git20190130-0.1~mx17+1_amd64.build.txt

@tsujan
Copy link
Owner

tsujan commented Jan 30, 2019

Please replace "\"" with '\"' only there and retry! If you could compile the latest git FeatherPad on Debian Stable after that, I'll change it in the source too. However, I think there are codes in the latest FeatherPad that require Qt > 5.8. Waiting for your test...

@agaida
Copy link
Contributor

agaida commented Jan 30, 2019

and btw - we are in transition freeze right now, next step will be on Feb. 12. - so the lifetime of stretch is limited.

@tsujan
Copy link
Owner

tsujan commented Jan 30, 2019

@agaida It's safe to make that change in the code and I'll do it tomorrow, although I'll be surprised if it makes a difference for Debian Stretch.

@agaida
Copy link
Contributor

agaida commented Jan 31, 2019

please don't forget - the freeze for Stretch starts in 2015 iirc

@tsujan
Copy link
Owner

tsujan commented Jan 31, 2019

If you said that to me, my knowledge about these things is null -- it was so too when I used my dear Debian Testing; just experienced the freezes.

@stevenpusser
Copy link
Author

I made a patch to change line 2443 as advised, and the packages now build successfully and run on a Stretch base! I'll send them up to the MX 17 test repo so the users can see if they fixed the problem in German, etc. I'm not too concerned about the problem with the ancient MS Arial ttf...

Though Debian testing is frozen, it probably won't be released until at least September, too.

@stevenpusser
Copy link
Author

Hey, I see the new warning bar when it's started as root or with sudo, but don't when it's started with pkexec, as with KDE Root Actions. Since Buster is dropping gksu in favor of going with pkexec, or so I've heard, is that going to affect it there?

@tsujan
Copy link
Owner

tsujan commented Jan 31, 2019

and the packages now build successfully

That was surprisingly good news.

I'll send them up to the MX 17 test repo so the users can see if they fixed the problem in German, ..

If not, please tell me, although I'm sure the problem is not in FeatherPad's code.

Hey, I see the new warning bar when it's started as root or with sudo, but don't when it's started with pkexec

Correct. They're different. I'll think about pkexec later.

Since Buster is dropping gksu in favor of

lxqt-sudo is and will be alive. It needs a few LXQt dependencies.

@tsujan tsujan closed this as completed Jan 31, 2019
@tsujan
Copy link
Owner

tsujan commented Jan 31, 2019

Made the change to the source: 45e5f77

@stevenpusser
Copy link
Author

stevenpusser commented Feb 5, 2019 via email

@agaida
Copy link
Contributor

agaida commented Feb 5, 2019

@stevenpusser - keep calm, the upload of the new release is in work

@tsujan
Copy link
Owner

tsujan commented Feb 5, 2019

However, starting Featherpad with...

Use:

LANGUAGE=de featherpad

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants