-
Notifications
You must be signed in to change notification settings - Fork 218
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
Problem building 3.7.0 on Ubuntu 20.04 #1304
Comments
The issue appears to be the addition of |
The reason for this only affecting 3.7.0 may be #799 (cc @mirabilos). As far as I understand, putting |
The problem appears to have been introduced by 9c693d3. Ubuntu 20 has Qt 5.12, but Ubuntu 18 has Qt 5.11. A workaround is to install |
Hrm, ideally builds should continue working without lrelease. At the same time, we should not have to fight with permanent local .qm changes.
|
It's hard to have it both ways.
May be worth investigating.
I don't think this works. Git does not preserve timestamps. When doing a
Not sure this is possible. Remember the It's a conundrum. |
What about using the package |
As far as I understand, |
Too bad. In that case the behemoth |
Actually, thinking about it, it seems reasonable to expect someone building from source to have all the required dev tools, including |
Yes, normally you’d build from source in a clean throw-away chroot in which you then install (only) the necessary build dependencies, so largish dependencies are not a problem. And, indeed, users have to have either Qt 5.12 (and lrelease installed), or an older Qt and lrelease installed and must run that manually, or the precompiled binary |
i saved on a few dependencies by calling: |
Thanks, Nils, that’s useful to know. I’m still a beginner at the Debian way of doing things! I didn’t know there were recommended and suggested dependencies, as well as required ones. |
Is this still a poblem? |
Yes, I think so. I don't know of any working attempt to fix it (I have some tests in a local branch of mine...) and stray |
I have the same problem on Ubuntu 20 for just three of the resource files - those ending in pl_PL.qm, it_IT.qm, and sv-SE.qm. These are the only three qm files in that directory that are older than the corresponding ts files. Saving the three qm files to update the timestamp allows me to compile the project without problems. Could this be fixed in the repository by touching the files to ensure the ts and qm have identical timestamps before uploading them? (I don't have enough knowledge of git to know if this is a practical solution) |
cdmahoney dixit:
Could this be fixed in the repository by touching the files to ensure
the ts and qm have identical timestamps before uploading them? (I don't
have enough knowledge of git to know if this is a practical solution)
Unfortunately, not with git. In contrast to proper version control
systems, git does not handle timestamps at all. You’ll need some kind
of script that touches some files *in order* then creates the archive
for this when relying on timestamps.
Meow,
//mirabilos
--
Gestern Nacht ist mein IRC-Netzwerk explodiert. Ich hatte nicht damit
gerechnet, darum bin ich blutverschmiert… wer konnte ahnen, daß SIE so
reagier’n… gestern Nacht ist mein IRC-Netzwerk explodiert~~~
(as of 2021-06-15 The MirOS Project temporarily reconvenes on OFTC)
|
Dixi quod…
You’ll need some kind
of script that touches some files *in order* then creates the archive
for this when relying on timestamps.
In this case, when using a script anyway, it’d be better to not have
the binary files in git anyway and just run lrelease before creating
the archive.
Captain Obvious missed due to time-of-the-night,
//mirabilos
--
Gestern Nacht ist mein IRC-Netzwerk explodiert. Ich hatte nicht damit
gerechnet, darum bin ich blutverschmiert… wer konnte ahnen, daß SIE so
reagier’n… gestern Nacht ist mein IRC-Netzwerk explodiert~~~
(as of 2021-06-15 The MirOS Project temporarily reconvenes on OFTC)
|
Could someone provide a nice clear statement of what the current position on this is? The issue title could, perhaps, be changed ("Problem building 3.7.0 on Ubuntu 20.04" -- I do this successfully with the master, which is what the example shows being done). If it's no longer a problem, please close :). |
I was the OP, and raised it because the Ubuntu 20 system I was building on didn't have I no longer think this is an issue, so I'll close it. |
OK - if |
Describe the bug
Building 3.7.0 on Ubuntu 20 tries to run
lrelease
. On Ubuntu 18 it doesn't. Building 3.6.2 on Ubuntu 20 also doesn't.To Reproduce
Expected behavior
Normal build
Screenshots
Operating system
Ubuntu 20.04 LTS
Version of Jamulus
3.7.0 or latest
Additional context
Doing a
git checkout r3_6_2
before building gives a successful build:The text was updated successfully, but these errors were encountered: