-
Notifications
You must be signed in to change notification settings - Fork 113
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
Libfm compilation error #548
Comments
We don't develop libfm here. It's page is https://github.com/lxde/libfm and you probably reported this here because that page didn't have an issue section. I don't close this only because I don't know where libfm issues should be reported. @agaida ? |
And if you're an Arch user, why don't you use its PKGBUILDs? This, for example. |
I use PKGBUILD. My configure command is a little bit different than in aur's fild. I suppose vala needs to be older (I can obviously be mistaken). |
@tsujan - yes, lxqt/libfm would work, also the lxde tracker on sourceforge is possible - but to be honest: This is a downstream bug. |
@Ilya87 I confirm the issue. I hadn't compiled libfm for months but a few minutes ago, compilation failed with vala-0.36.4:
Unfortunately and as I said above, we have no control over libfm. It seems that libfm started to become archaic. Please report the issue on sourceforge! It needs a fix as soon as possible. Please also note that we started to become independent from libfm but the process isn't finished yet. @agaida I don't think this is a downstream issue but a problem in libfm. |
Correction: I mean "downstream" but wrote "upstream". Corrected now. |
ok, in that case @LStranger should know about |
@agaida Its fix should be straightforward but is important and should be done as soon as possible because it causes a FTBFS. |
https://github.com/lxde/libfm - and it should be fixed, i agree. And it is dead simple: We have three choices:
I'm afraid that the LXDE Members will not like our last two options (the merge it ourself part of the third option) and that doing so will not improve the mood and collaboration between the projects but it is in the end the only choice if the first point (collaboration) don't work. Sorry, had to be that clear about our choices - and if it sounds to hard, sorry, but reality sucks sometimes. So i clearly would prefer a combination of improving collaboration, sending a PR and let the LXDE guys include it in a timely manner. |
@PCMan has already done this to a great extent. It's not just about the lack of collaboration; it's a necessity (as @PCMan and I have explained in different places). It seems @PCMan is very busy, so I thought I might try to continue his work to make libfm-qt more independent from libfm. When the work is complete, we won't need to worry about collaboration :) At for this part of libfm that causes FTBFS (actions), we don't use it anymore but I don't know of a way of compilation without it. |
nah - we shouldn't force it right now - but we should get rid of the dependencies in the long run. Right now it is important to get this FTBFS fixed, not only for us but for LXDE to. God damn, why is it impossible in github to move a bug to another tracker? |
@agaida Yes, I mean that in the long run and, as I said before, I agree that this FTBFS should be fixed as soon as possible. Anyone knowledgeable about vala (or with a knowledge to fix this)? |
Fixed by lxde/libfm#22. The sourceforge.net source may not be synced with github's. |
Fixed by lxde/libfm#22. The sourceforge.net source may not be synced with github's.
There is no sourceforge sources. Only github and git.lxde.org. Thank you very much for merging, it's nice catch.
|
@LStranger Thanks for the info! |
Then Arch PKGBUILD should be corrected because it contains:
|
This is correct, but that are release tarballs, not current sources, so it will be there as soon next version is released.
|
I use the following command line to compile libfm (master version):
./configure \ --without-gtk \ --disable-gtk-doc \ --disable-udisks \ --enable-actions \ --prefix="/usr" \ --sysconfdir="/etc" \ --disable-debug \ --disable-exif && make
build fails with error:
VALAC libfmactions_la_vala.stamp condition.vala:149.18-155.34: warning: unhandled error
GLib.Error'condition.vala:192.8-193.40: warning: unhandled error
GLib.SpawnError' action.vala:81.4-81.30: error: use
new' operator to create new objectsFileAction.from_keyfile(kf);
^^^^^^^^^^^^^^^^^^^^^^^^^^^
action.vala:144.4-144.34: error: use
new' operator to create new objects FileActionMenu.from_keyfile(kf); ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ action.vala:185.28-185.31: warning: Argument 1: Cannot pass null to non-null parameter type cached_children.append(null); ^^^^ action.vala:177.8-177.82: warning: unhandled error
GLib.SpawnError'if(Process.spawn_command_line_sync(command, out output, null, out exit_status)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
action.vala:238.21-238.24: warning: Argument 1: Cannot pass null to non-null parameter type
children.append(null);
^^^^
action.vala:334.10-334.40: warning: unhandled error
GLib.KeyFileError' if(kf.load_from_file(full_path, 0)) { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Compilation failed: 2 error(s), 6 warning(s)
vala version is 0.36.4
System Information
The text was updated successfully, but these errors were encountered: