Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] gnome-commander build fails
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
printf
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2010
Posts: 92

PostPosted: Sun Jan 05, 2014 7:10 pm    Post subject: [SOLVED] gnome-commander build fails Reply with quote

for years now i have been using emel2fm, but i got tired of some minimal features not working or being removed (like the move/copy with progress bar).
sadly the standard for twin-panel file managers is total commander, and only gnome-commander managed to somehow replicate the feel and functionality of that under linux.
i know that it is not in the main portage tree, so i tried to install it from the sabayon overlay (as it has the latest version).

first i masked everything in sabayon with
Code:
*/*::sabayon

then unmasked only gnome-commander with
Code:
gnome-extra/gnome-commander::sabayon

and in package.keywords:
Code:
gnome-extra/gnome-commander::sabayon ~x86


but the build fails with
Code:
gnome-cmd-tags-doc.cc:265:27: warning: 'GError*
gsf_msole_metadata_read(GsfInput*, GsfDocMetaData*)' is deprecated (declared
at /usr/include/libgsf-1/gsf/gsf-msole-utils.h:37): Use
'gsf_doc_meta_data_read_from_msole' instead [-Wdeprecated-declarations]
gnome-cmd-tags-doc.cc:265:67: warning: 'GError*
gsf_msole_metadata_read(GsfInput*, GsfDocMetaData*)' is deprecated (declared
at /usr/include/libgsf-1/gsf/gsf-msole-utils.h:37): Use
'gsf_doc_meta_data_read_from_msole' instead [-Wdeprecated-declarations]
gnome-cmd-tags-doc.cc:268:73: error: 'gsf_doc_meta_data_foreach' was not
declared in this scope
make[3]: *** [gnome-cmd-tags.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [gnome-cmd-tags-doc.o] Error 1
make[3]: Leaving directory
`/var/tmp/portage/gnome-extra/gnome-commander-1.2.8.15/work/gnome-commander-1.2.8.15/src/tags'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gnome-extra/gnome-commander-1.2.8.15/work/gnome-commander-1.2.8.15/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnome-extra/gnome-commander-1.2.8.15/work/gnome-commander-1.2.8.15'
make: *** [all] Error 2
 * ERROR: gnome-extra/gnome-commander-1.2.8.15::sabayon failed (compile
 * phase):
 *   emake failed


i have found that gsf_msole_metadata_read was deprecated around the 1.14 version of libgsf, but i can't find any earlier versions of it in the portage or overlays.
but searching for gsf_doc_meta_data_foreach returned nothing.

as anyone recently emerged gnome-commander successfully?
thanks


Last edited by printf on Mon Jan 13, 2014 10:35 pm; edited 1 time in total
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6193

PostPosted: Sun Jan 05, 2014 7:29 pm    Post subject: Reply with quote

The error is about gsf_doc_meta_data_foreach, not gsf_msole_metadata_read.
Which version of libgsf is installed ?
Back to top
View user's profile Send private message
printf
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2010
Posts: 92

PostPosted: Sun Jan 05, 2014 7:42 pm    Post subject: Reply with quote

1.14.28
Back to top
View user's profile Send private message
VoidMage
Watchman
Watchman


Joined: 14 Oct 2006
Posts: 6193

PostPosted: Mon Jan 06, 2014 4:45 am    Post subject: Reply with quote

printf wrote:
1.14.28

That doesn't make sense - that function should already be there.
Pastebin whole log.
Back to top
View user's profile Send private message
printf
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2010
Posts: 92

PostPosted: Mon Jan 06, 2014 11:05 pm    Post subject: Reply with quote

emerge --info log: http://pastebin.com/raw.php?i=wDzeqTeG
emerge -pqv:
Code:
[ebuild  N    ] gnome-extra/gnome-commander-1.2.8.15  USE="exif gsf pdf -chm -debug -doc -python -taglib"

the complete build log: http://pastebin.com/raw.php?i=HbSL7XQX
Back to top
View user's profile Send private message
chaseguard
Tux's lil' helper
Tux's lil' helper


Joined: 25 Jun 2004
Posts: 140

PostPosted: Thu Jan 09, 2014 4:03 am    Post subject: Reply with quote

I have no suggestions on how to fix your problem, but suggest another graphical alternative. I use DoubleCommander as my core FM in both Linux and Windows. For Linux, it can be built for GTK and/or qt. I usually just download the pre-built binary and install it in /opt. It has many nice features and is highly configurable.
Back to top
View user's profile Send private message
turboscholz
n00b
n00b


Joined: 07 Jun 2010
Posts: 7

PostPosted: Thu Jan 09, 2014 11:36 am    Post subject: Re: gnome-commander build fails Reply with quote

printf wrote:

as anyone recently emerged gnome-commander successfully?
thanks


Yes. Just download the stable release v1.2.8.16 of GNOME Commander from http://gcmd.github.io/. It came out just recently and the problem you described is solved there.
Back to top
View user's profile Send private message
printf
Tux's lil' helper
Tux's lil' helper


Joined: 02 Dec 2010
Posts: 92

PostPosted: Mon Jan 13, 2014 10:34 pm    Post subject: Reply with quote

thanks for all the help

here is what i did to finally solve it:
-downloaded the source latest version from their site (1.2.8.17): ftp://ftp.gnome.org/pub/GNOME/sources/gnome-commander/1.2/gnome-commander-1.2.8.17.tar.xz
-unpacked it then from the data folder, i copied the fgnome-commander-1.2.8.17.ebuild to my local overlay
-there was an error when generating the digest (the EAPI line was after the inherit line, had to move before it) - is this correct? why is it not corrected in the gnome source archive? was some syntax changed along the way for the ebuilds?
-then when i tried to actually emerge it, i could not unpack the source, because it had the .xz extension (also notice the URI in the ebuild has .tar.bz2, which does not exist on the server) and emerge did not regocnize them, so i had to unpack the source and create a tar.bz2 archive and move it into the distfiles dir, so it will not download it

after this the emerge finally worked

should i report the bugs to gnome (manly the ebuild file syntax problem and the missing archive)?
Back to top
View user's profile Send private message
turboscholz
n00b
n00b


Joined: 07 Jun 2010
Posts: 7

PostPosted: Tue Jan 14, 2014 7:58 am    Post subject: Reply with quote

printf wrote:
thanks for all the help

here is what i did to finally solve it:
[...]

after this the emerge finally worked

should i report the bugs to gnome (manly the ebuild file syntax problem and the missing archive)?


Great, thanks for the detailed description. Actually, I'm the new maintainer of GCMD. Up to now I installed it only by "make install" as I didn't find the time to test the ebuild. And finally, a gentoo developer should import the ebuild into the gentoo tree...

I'll correct the errors for the next GCMD release.

Uwe
Back to top
View user's profile Send private message
turboscholz
n00b
n00b


Joined: 07 Jun 2010
Posts: 7

PostPosted: Wed May 28, 2014 3:10 pm    Post subject: Reply with quote

I just want to mention that Gnome Commander is in portage now. Happy commanding :-)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum