Bug 701584 - Error in /usr/bin/gconfsharp2-schemagen
Summary: Error in /usr/bin/gconfsharp2-schemagen
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-sharp
Version: 14
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Xavier Lamien
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-03 09:42 UTC by ZiN
Modified: 2012-08-16 14:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-16 14:11:08 UTC
Type: ---


Attachments (Terms of Use)
Modified gnome-sharp-2.20.0-libdir.patch (3.23 KB, patch)
2011-05-03 11:53 UTC, ZiN
no flags Details | Diff

Description ZiN 2011-05-03 09:42:21 UTC
Description of problem:
/usr/bin/gconfsharp2-schemagen does no run

Version-Release number of selected component (if applicable):
gnome-sharp-2.24.1-1.fc14.i686

How reproducible:
Just install and try to run /usr/bin/gconfsharp2-schemagen

Steps to Reproduce:
1. Install gnome-sharp-2.24.1-1.fc14.i686
2. /usr/bin/gconfsharp2-schemagen
  
Actual results:
Exits with error:
Cannot open assembly '/gtk-sharp-2.0/gconfsharp-schemagen.exe': No such file or directory.

Expected results:
Normal execution.

Additional info:
It seemes that it is something wrong with configure script, as far as I can understand the meaning of ${libdir}. And even more precisely, with gnome-sharp-2.20.0-libdir.patch. Shouldn't: 
  +assemblydir = ${libdir}/gtk-sharp-2.0
at line 17 look like:
  +assemblydir = @libdir@/gtk-sharp-2.0
?

Comment 1 ZiN 2011-05-03 11:50:45 UTC
Also line 35 of gnome-sharp-2.20.0-libdir.patch must be:

+assemblydir = @libdir@/gtk-sharp-2.0

instead of:

+assemblydir = ${libdir}/gtk-sharp-2.0

Thus with this modified patch problem seems to be solved:

diff -up gnome-sharp-2.20.0/gconf/GConf/gconf-sharp-2.0.pc.in.libdir gnome-sharp-2.20.0/gconf/GConf/gconf-sharp-2.0.pc.in
--- gnome-sharp-2.20.0/gconf/GConf/gconf-sharp-2.0.pc.in.libdir	2008-07-03 15:07:22.000000000 +0200
+++ gnome-sharp-2.20.0/gconf/GConf/gconf-sharp-2.0.pc.in	2008-07-04 17:58:55.000000000 +0200
@@ -1,6 +1,6 @@
 prefix=${pcfiledir}/../..
 exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=@libdir@
 
 
 Name: GConf#
diff -up gnome-sharp-2.20.0/gconf/tools/Makefile.am.libdir gnome-sharp-2.20.0/gconf/tools/Makefile.am
--- gnome-sharp-2.20.0/gconf/tools/Makefile.am.libdir	2008-07-03 16:16:08.000000000 +0200
+++ gnome-sharp-2.20.0/gconf/tools/Makefile.am	2008-07-03 16:16:20.000000000 +0200
@@ -1,4 +1,4 @@
-assemblydir = $(prefix)/lib/gtk-sharp-2.0
+assemblydir = @libdir@/gtk-sharp-2.0
 assembly_DATA = gconfsharp-schemagen.exe
 bin_SCRIPTS = gconfsharp2-schemagen
 CLEANFILES = gconfsharp-schemagen.exe
diff -up gnome-sharp-2.20.0/gconf/tools/gconfsharp2-schemagen.in.libdir gnome-sharp-2.20.0/gconf/tools/gconfsharp2-schemagen.in
--- gnome-sharp-2.20.0/gconf/tools/gconfsharp2-schemagen.in.libdir	2008-07-03 15:56:24.000000000 +0200
+++ gnome-sharp-2.20.0/gconf/tools/gconfsharp2-schemagen.in	2008-07-03 15:56:14.000000000 +0200
@@ -1,2 +1,2 @@
 #!/bin/sh
-@RUNTIME@ @prefix@/lib/gtk-sharp-2.0/gconfsharp-schemagen.exe "$@"
+@RUNTIME@ @libdir@/gtk-sharp-2.0/gconfsharp-schemagen.exe "$@"
diff -up gnome-sharp-2.20.0/gconf/GConf.PropertyEditors/gconf-sharp-peditors-2.0.pc.in.libdir gnome-sharp-2.20.0/gconf/GConf.PropertyEditors/gconf-sharp-peditors-2.0.pc.in
--- gnome-sharp-2.20.0/gconf/GConf.PropertyEditors/gconf-sharp-peditors-2.0.pc.in.libdir	2008-07-04 17:56:21.000000000 +0200
+++ gnome-sharp-2.20.0/gconf/GConf.PropertyEditors/gconf-sharp-peditors-2.0.pc.in	2008-07-04 17:56:37.000000000 +0200
@@ -1,6 +1,6 @@
 prefix=${pcfiledir}/../..
 exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=@libdir@
 
 
 Name: GConf.PropertyEditors#
diff -up gnome-sharp-2.20.0/art/art-sharp-2.0.pc.in.libdir gnome-sharp-2.20.0/art/art-sharp-2.0.pc.in
--- gnome-sharp-2.20.0/art/art-sharp-2.0.pc.in.libdir	2008-07-03 15:11:16.000000000 +0200
+++ gnome-sharp-2.20.0/art/art-sharp-2.0.pc.in	2008-07-04 17:59:33.000000000 +0200
@@ -1,6 +1,6 @@
 prefix=${pcfiledir}/../..
 exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=@libdir@
 gapidir=${prefix}/share/gapi-2.0
 
 
diff -up gnome-sharp-2.20.0/gnomevfs/gnome-vfs-sharp-2.0.pc.in.libdir gnome-sharp-2.20.0/gnomevfs/gnome-vfs-sharp-2.0.pc.in
--- gnome-sharp-2.20.0/gnomevfs/gnome-vfs-sharp-2.0.pc.in.libdir	2008-07-03 15:10:48.000000000 +0200
+++ gnome-sharp-2.20.0/gnomevfs/gnome-vfs-sharp-2.0.pc.in	2008-07-04 17:59:18.000000000 +0200
@@ -1,6 +1,6 @@
 prefix=${pcfiledir}/../..
 exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=@libdir@
 gapidir=${prefix}/share/gapi-2.0
 
 
diff -up gnome-sharp-2.20.0/gnome/gnome-sharp-2.0.pc.in.libdir gnome-sharp-2.20.0/gnome/gnome-sharp-2.0.pc.in
--- gnome-sharp-2.20.0/gnome/gnome-sharp-2.0.pc.in.libdir	2008-07-03 15:10:01.000000000 +0200
+++ gnome-sharp-2.20.0/gnome/gnome-sharp-2.0.pc.in	2008-07-04 17:57:56.000000000 +0200
@@ -1,6 +1,6 @@
 prefix=${pcfiledir}/../..
 exec_prefix=${prefix}
-libdir=${exec_prefix}/lib
+libdir=@libdir@
 gapidir=${prefix}/share/gapi-2.0

Comment 2 ZiN 2011-05-03 11:53:15 UTC
Created attachment 496495 [details]
Modified gnome-sharp-2.20.0-libdir.patch

Comment 3 Fedora End Of Life 2012-08-16 14:11:10 UTC
This message is a notice that Fedora 14 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 14. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained.  At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this 
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen 
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we were unable to fix it before Fedora 14 reached end of life. If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora, you are encouraged to click on 
"Clone This Bug" (top right of this page) and open it against that 
version of Fedora.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.