![]() |
|
|||||||
| OpenBSD Packages and Ports Installation and upgrading of packages and ports on OpenBSD. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|||
|
Hello
I have a problem with the configuration of gnome, when I close my GUI it gives me the following message. Code:
gnome-session[22233]: WARNING: Failed to execute '/usr/obj/i386/gnome-session-2.24.3p17/bin/gconftool-2 --shutdown' on logout: Failed to execute child process "/usr/obj/i386/gnome-session-2.24.3p17/bin/gconftool-2" (No such file or directory) gnome-session[28294]: WARNING: Failed to execute '/usr/obj/i386/gnome-session-2.24.3p17/bin/gconftool-2 --shutdown' on logout: Failed to execute child process "/usr/obj/i386/gnome-session-2.24.3p17/bin/gconftool-2" (No such file or directory) |
|
||||
|
This looks like a packaging error -- gnome-session is looking for gconftool-2 in a directory that only existed at the time gnome-session was built.
Gnome is maintained by a team, rather than an individual. Antoine Jacoutot (ajacoutot@) has made all of the recent commits for gnome-session. If these warning messages on exit cause concern, or causes gconf processes to hang, you could always post about them to the ports@ mailing list, or send a note to Antoine. It is possible that Antoine or another developer could produce a -stable port with a fix.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
Hello,
I've sent them an email explaining my problem Thank you very much |
|
|||
|
Hello,
I received a reply from Antoine Jacoutot, He sent me the following link Code:
http://www.openbsd.org/cgi-bin/cvsweb/ports/x11/gnome/session/Makefile.diff?r1=1.84&r2=1.85&f=h
|
|
||||
|
I was not aware that this was a known, fixed problem, when I first replied.
The link that Antoine sent you is to a "for viewing" version of the fix. The log for the patch says (one of Antoine's e-mail addresses redacted): Code:
CVSROOT: /cvs Module name: ports
Changes by: ajacoutot@cvs._______.org 2009/08/20 03:40:13
Modified files:
x11/gnome/session: Makefile
Log message:
Make sure gnome-session finds gconftool-2.
commiting on behalf of giovanni@
# cd /usr/ports/x11/gnome/sessionHere is the patch. Copy and paste it into a file on your OpenBSD system so you can use it as input to the patch(1) utility: Code:
===================================================================
RCS file: /open/anoncvs/cvs/ports/x11/gnome/session/Makefile,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -r1.84 -r1.85
--- ports/x11/gnome/session/Makefile 2009/08/11 09:39:39 1.84
+++ ports/x11/gnome/session/Makefile 2009/08/20 10:40:13 1.85
@@ -1,10 +1,10 @@
-# $OpenBSD: Makefile,v 1.84 2009/08/11 08:39:39 ajacoutot Exp $
+# $OpenBSD: Makefile,v 1.85 2009/08/20 09:40:13 ajacoutot Exp $
COMMENT= GNOME session
GNOME_PROJECT= gnome-session
GNOME_VERSION= 2.24.3
-PKGNAME= ${DISTNAME}p18
+PKGNAME= ${DISTNAME}p19
CATEGORIES= x11
@@ -66,6 +66,10 @@
--disable-rebuilds
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lexecinfo"
+
+# XXX gconf2 MODULE changes this value but gsm-gconf.c uses this to
+# find the right path for gconftool-2
+CONFIGURE_ENV+= GCONFTOOL=${LOCALBASE}/bin/gconftool-2
MAKE_FLAGS= XSLTPROC="${LOCALBASE}/bin/xsltproc -nonet"
__________________
OpenBSD LiveCDs/LiveDVDs Last edited by jggimi; 20th November 2009 at 07:50 PM. |
|
|||
|
I put this patch in the directory cd /usr/ports/x11/gnome/session
and I type the command patch < gome.patch il m'affiche he asks me Code:
File to patch: No file found--skip this patch? [n] Code:
Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |=================================================================== |RCS file: /open/anoncvs/cvs/ports/x11/gnome/session/Makefile,v |retrieving revision 1.84 |retrieving revision 1.85 |diff -u -r1.84 -r1.85 |--- ports/x11/gnome/session/Makefile 2009/08/11 09:39:39 1.84 |+++ ports/x11/gnome/session/Makefile 2009/08/20 10:40:13 1.85 -------------------------- File to patch: File to patch: No file found--skip this patch? [n] File to patch: File to patch: No file found--skip this patch? [n] patch: **** can't find File # No file found--skip this patch? [n] ksh: No: not found # patch <path Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |=================================================================== |RCS file: /open/anoncvs/cvs/ports/x11/gnome/session/Makefile,v |retrieving revision 1.84 |retrieving revision 1.85 |diff -u -r1.84 -r1.85 |--- ports/x11/gnome/session/Makefile 2009/08/11 09:39:39 1.84 |+++ ports/x11/gnome/session/Makefile 2009/08/20 10:40:13 1.85 -------------------------- File to patch: No file found--skip this patch? [n] |
|
||||
|
Sorry, you must either cd(1) to /usr in order to use the patch file, or use path(1) with the --strip or -p option. As I recommended, above, see the patch(1) man page.
As I'd warned you, you cannot type the commands in blindly and assume they will work.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
have installed the file comp46.tgz during installation of my openbsd and I use pkg_add gnome session
|
|
||||
|
Quote:
The patch file points to files in "ports/x11/gnome/session/..." so you -must- either do: # cd /usror, while in the /usr/ports/x11/gnome/session directory: # patch -p3 < /path/to/your/fileor, you can manually edit the patch file. This is not recommended. I would recommend using patch -p3. Please read about the -p option in the man page. I am not sure what you are trying to say with your latest post.
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
why he asks me
File to patch: No file found--skip this patch? [n]
|
|
||||
|
I recreated a -release environment, and running the patch provided, saw that it will not install as written, since there was a patch 1.84 that added in between. It adds some additional dependency libraries to the build.
I did not have your problem. I saw proper errors (hunks failed due to code mismatch). Here is a new, -tested- patch: Code:
Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/gnome/session/Makefile,v
retrieving revision 1.83
retrieving revision 1.85
diff -u -r1.83 -r1.85
--- Makefile 16 Jun 2009 15:12:50 -0000 1.83
+++ Makefile 20 Aug 2009 09:40:13 -0000 1.85
@@ -1,10 +1,10 @@
-# $OpenBSD: Makefile,v 1.83 2009/06/16 15:12:50 ajacoutot Exp $
+# $OpenBSD: Makefile,v 1.85 2009/08/20 09:40:13 ajacoutot Exp $
COMMENT= GNOME session
GNOME_PROJECT= gnome-session
GNOME_VERSION= 2.24.3
-PKGNAME= ${DISTNAME}p17
+PKGNAME= ${DISTNAME}p19
CATEGORIES= x11
@@ -17,7 +17,7 @@
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite \
Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr \
Xrender art_lgpl_2 atk-1.0 avahi-client avahi-common \
- avahi-glib bonobo-2 bonobo-activation \
+ avahi-glib bonobo-2 bonobo-activation pthread-stubs xcb \
bonoboui-2 c cairo crypto dbus-1 dbus-glib-1 expat \
fontconfig freetype gailutil gdk-x11-2.0 gdk_pixbuf-2.0 \
gio-2.0 glade-2.0 glib-2.0 glitz gmodule-2.0 gnome-2 \
@@ -66,6 +66,10 @@
--disable-rebuilds
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib -lexecinfo"
+
+# XXX gconf2 MODULE changes this value but gsm-gconf.c uses this to
+# find the right path for gconftool-2
+CONFIGURE_ENV+= GCONFTOOL=${LOCALBASE}/bin/gconftool-2
MAKE_FLAGS= XSLTPROC="${LOCALBASE}/bin/xsltproc -nonet"
Code:
(These two commands give me the 4.6-release version of the port scaffolding for gnome-session, in /tmp, to test the new patch against 4.6-release.) $ cd /tmp $ cvs get -r OPENBSD_4_6_BASE ports/x11/gnome/session cvs checkout: Updating ports/x11/gnome/session U ports/x11/gnome/session/Makefile U ports/x11/gnome/session/distinfo cvs checkout: Updating ports/x11/gnome/session/files U ports/x11/gnome/session/files/README.OpenBSD cvs checkout: Updating ports/x11/gnome/session/patches U ports/x11/gnome/session/patches/patch-data_Makefile_in U ports/x11/gnome/session/patches/patch-data_gnome-session_schemas_in cvs checkout: Updating ports/x11/gnome/session/pkg U ports/x11/gnome/session/pkg/DESCR U ports/x11/gnome/session/pkg/MESSAGE U ports/x11/gnome/session/pkg/PLIST (These two commands apply the patch.) $ cd ports/x11/gnome/session $ patch < /tmp/better.gnome.session.patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: Makefile |=================================================================== |RCS file: /cvs/ports/x11/gnome/session/Makefile,v |retrieving revision 1.83 |retrieving revision 1.85 |diff -u -r1.83 -r1.85 |--- Makefile 16 Jun 2009 15:12:50 -0000 1.83 |+++ Makefile 20 Aug 2009 09:40:13 -0000 1.85 -------------------------- Patching file Makefile using Plan A... Hunk #1 succeeded at 1. Hunk #2 succeeded at 17. Hunk #3 succeeded at 66. done $
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
Hello,
I just made a test impossible to apply the new path Code:
Patching file Makefile using Plan A... Hunk #1 failed at 1. Hunk #2 failed at 17. Hunk #3 failed at 66. 3 out of 3 hunks failed--saving rejects to Makefile.rej done |
|
||||
|
Here is the patched Makefile
__________________
OpenBSD LiveCDs/LiveDVDs |
|
|||
|
Hello
I replace the Makefile with your file? |
|
|||
|
Hello
Thank you very much |
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| error code 1 whie make install gnome | mtm0 | NetBSD General | 3 | 4th September 2009 11:56 AM |
| Error gnome | darken | FreeBSD Installation and Upgrading | 3 | 27th July 2008 12:21 PM |
| porting gnome got samba error. | bsdnewbie999 | OpenBSD General | 2 | 19th June 2008 02:06 AM |
| Message alerts? | ocicat | Feedback and Suggestions | 2 | 2nd May 2008 03:25 PM |