PDA

View Full Version : Nautilus F14 source rpm wont build in Fedora 16?



jonathonp
13th November 2011, 08:45 AM
I am attempting to move from Fedora 14 to Fedora 16 XFCE on my main Desktop.

Gedit has been rebuilt using the F14 source rpm and is doing its job nicely.

Unfortunately the file browser Thunar is inadequate as there are no tabs facilities that i can see and it also lacks a search engine.


Gnome 3 is still a disaster and freezes all the time. I could not even post from it.


nautilus-2.32.2.1:

prefix: /usr
source code location: .
compiler: gcc
xmp support: yes
PackageKit support: yes

profiling support: off
nautilus-extension documentation: no
nautilus-extension introspection: yes

+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
+ export tagname=CC
+ tagname=CC
+ LANG=en_US
+ make -j3
make all-recursive
make[1]: Entering directory `/home/jonathon/rpmbuild/BUILD/nautilus-2.32.2.1'
Making all in eel
make[2]: Entering directory `/home/jonathon/rpmbuild/BUILD/nautilus-2.32.2.1/eel'
test -f eel-enums.defs || touch eel-enums.defs
GEN eel-makeenums-stamp
LC_ALL=C gawk -f ./maketypes.awk eel-enums.defs macros > eel-type-builtins.h
LC_ALL=C gawk -f ./maketypes.awk eel-enums.defs entries > eel-type-builtins-ids.c
LC_ALL=C gawk -f ./maketypes.awk eel-enums.defs variables > eel-type-builtins-vars.c
echo timestamp > eel-stamp
GEN eel-marshal.h
GEN eel-marshal.c
CC check-program.o
CC eel-accessibility.lo
CC eel-alert-dialog.lo
CC eel-art-extensions.lo
In file included from eel-alert-dialog.c:24:0:
eel-i18n.h:31:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
eel-alert-dialog.c: In function 'eel_alert_dialog_class_init':
eel-alert-dialog.c:114:43: warning: passing argument 2 of 'g_param_spec_int' makes pointer from integer without a cast [enabled by default]
/usr/include/glib-2.0/gobject/gparamspecs.h:993:13: note: expected 'const gchar *' but argument is of type 'int'
eel-alert-dialog.c:114:43: warning: passing argument 3 of 'g_param_spec_int' makes pointer from integer without a cast [enabled by default]
/usr/include/glib-2.0/gobject/gparamspecs.h:993:13: note: expected 'const gchar *' but argument is of type 'int'
eel-alert-dialog.c:123:35: warning: passing argument 2 of 'g_param_spec_enum' makes pointer from integer without a cast [enabled by default]
/usr/include/glib-2.0/gobject/gparamspecs.h:1040:13: note: expected 'const gchar *' but argument is of type 'int'
eel-alert-dialog.c:123:35: warning: passing argument 3 of 'g_param_spec_enum' makes pointer from integer without a cast [enabled by default]
/usr/include/glib-2.0/gobject/gparamspecs.h:1040:13: note: expected 'const gchar *' but argument is of type 'int'
eel-alert-dialog.c:132:35: warning: passing argument 2 of 'g_param_spec_enum' makes pointer from integer without a cast [enabled by default]
/usr/include/glib-2.0/gobject/gparamspecs.h:1040:13: note: expected 'const gchar *' but argument is of type 'int'
eel-alert-dialog.c:132:35: warning: passing argument 3 of 'g_param_spec_enum' makes pointer from integer without a cast [enabled by default]
/usr/include/glib-2.0/gobject/gparamspecs.h:1040:13: note: expected 'const gchar *' but argument is of type 'int'
eel-alert-dialog.c: In function 'eel_alert_dialog_init':
eel-alert-dialog.c:193:2: warning: passing argument 1 of 'gtk_expander_new_with_mnemonic' makes pointer from integer without a cast [enabled by default]
/usr/include/gtk-2.0/gtk/gtkexpander.h:66:23: note: expected 'const gchar *' but argument is of type 'int'
make[2]: *** [eel-alert-dialog.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/jonathon/rpmbuild/BUILD/nautilus-2.32.2.1/eel'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jonathon/rpmbuild/BUILD/nautilus-2.32.2.1'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.rpAnbz (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.rpAnbz (%build)
[jonathon@localhost SPECS]$


Any suggestions?

bart3005
13th November 2011, 09:24 AM
Hi

You are trying to build a Gnome 2 package on Gnome 3. Lots of the support libs will have change to make this not possible.

Regards

jonathonp
13th November 2011, 09:27 AM
ok thanks.

leigh123linux
13th November 2011, 09:30 AM
Hi

You are trying to build a Gnome 2 package on Gnome 3. Lots of the support libs will have change to make this not possible.

Regards


It was possible to do for F15 so it should work in F16.

leigh123linux
13th November 2011, 09:32 AM
ok thanks.
Try rebuilding the bluebubble srpm

http://bluebubble.k3rnel.net/repo/srpms/

http://k3rnel.net/2011/06/22/bluebubble-the-fine-manual/

bart3005
13th November 2011, 10:01 AM
Out of intrest why do you want to do this?

jonathonp
13th November 2011, 10:20 AM
I tried to rebuild the bluebubble classic rpm but it still gives a build error. In my opinion nautilus classic from Gnome 2 leaves the current version for dead .



nautilus-2.32.2.1:

prefix: /usr
source code location: .
compiler: gcc
xmp support: yes
PackageKit support: yes

profiling support: off
nautilus-extension documentation: no
nautilus-extension introspection: yes

+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0 /g' libtool
+ export tagname=CC
+ tagname=CC
+ LANG=en_US
+ make -j3
make all-recursive
make[1]: Entering directory `/home/jonathon/rpmbuild/BUILD/nautilus-2.32.2.1'
Making all in eel
make[2]: Entering directory `/home/jonathon/rpmbuild/BUILD/nautilus-2.32.2.1/eel'
test -f eel-enums.defs || touch eel-enums.defs
GEN eel-makeenums-stamp
LC_ALL=C gawk -f ./maketypes.awk eel-enums.defs macros > eel-type-builtins.h
LC_ALL=C gawk -f ./maketypes.awk eel-enums.defs entries > eel-type-builtins-ids.c
LC_ALL=C gawk -f ./maketypes.awk eel-enums.defs variables > eel-type-builtins-vars.c
echo timestamp > eel-stamp
GEN eel-marshal.h
GEN eel-marshal.c
CC check-program.o
CC eel-accessibility.lo
CC eel-alert-dialog.lo
CC eel-art-extensions.lo
CC eel-art-gtk-extensions.lo
In file included from eel-alert-dialog.c:24:0:
eel-i18n.h:31:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'
eel-alert-dialog.c: In function 'eel_alert_dialog_class_init':
eel-alert-dialog.c:114:43: warning: passing argument 2 of 'g_param_spec_int' makes pointer from integer without a cast [enabled by default]
/usr/include/glib-2.0/gobject/gparamspecs.h:993:13: note: expected 'const gchar *' but argument is of type 'int'
eel-alert-dialog.c:114:43: warning: passing argument 3 of 'g_param_spec_int' makes pointer from integer without a cast [enabled by default]
/usr/include/glib-2.0/gobject/gparamspecs.h:993:13: note: expected 'const gchar *' but argument is of type 'int'
eel-alert-dialog.c:123:35: warning: passing argument 2 of 'g_param_spec_enum' makes pointer from integer without a cast [enabled by default]
/usr/include/glib-2.0/gobject/gparamspecs.h:1040:13: note: expected 'const gchar *' but argument is of type 'int'
eel-alert-dialog.c:123:35: warning: passing argument 3 of 'g_param_spec_enum' makes pointer from integer without a cast [enabled by default]
/usr/include/glib-2.0/gobject/gparamspecs.h:1040:13: note: expected 'const gchar *' but argument is of type 'int'
eel-alert-dialog.c:132:35: warning: passing argument 2 of 'g_param_spec_enum' makes pointer from integer without a cast [enabled by default]
/usr/include/glib-2.0/gobject/gparamspecs.h:1040:13: note: expected 'const gchar *' but argument is of type 'int'
eel-alert-dialog.c:132:35: warning: passing argument 3 of 'g_param_spec_enum' makes pointer from integer without a cast [enabled by default]
/usr/include/glib-2.0/gobject/gparamspecs.h:1040:13: note: expected 'const gchar *' but argument is of type 'int'
eel-alert-dialog.c: In function 'eel_alert_dialog_init':
eel-alert-dialog.c:193:2: warning: passing argument 1 of 'gtk_expander_new_with_mnemonic' makes pointer from integer without a cast [enabled by default]
/usr/include/gtk-2.0/gtk/gtkexpander.h:66:23: note: expected 'const gchar *' but argument is of type 'int'
make[2]: *** [eel-alert-dialog.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/jonathon/rpmbuild/BUILD/nautilus-2.32.2.1/eel'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jonathon/rpmbuild/BUILD/nautilus-2.32.2.1'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.7d7Ggq (%build)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.7d7Ggq (%build)
[jonathon@localhost SPECS]$


Edit;

I want to install straight from the bluebubble Fedora 15 repository:

[root@localhost jonathon]#
rpmkeys –import http://bluebubble.k3rnel.net/repo/RPM-GPG-KEY-bluebubble rpmkeys: only one major mode may be specified

Edit: i created a local repo and installed:
nautilus-classic.x86_64 0:2.32.2.1-5.fc14

Dependency Installed:
gnome-desktop.x86_64 0:2.32.0-9.fc16
nautilus-classic-extensions.x86_64 0:2.32.2.1-5.fc14

Unfortunately it crashes when i open preferences.

leigh123linux
13th November 2011, 11:21 AM
It looks like a gcc issue to me. 4.6 is more strict.



eel-i18n.h:31:16: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'char'

jonathonp
13th November 2011, 01:52 PM
I've had a look at nautilus in F16 and it has improved over Fedora 15. I can live with Fedora 16 XFCE as it is now. Thanks for the help...)