On 07/11/11 22:19, Amit Kulkarni wrote:
libgailutil is 26.0 now,, it must have picked up an old installed lib.
As dpb(1) says, "some packages only build on a clean machine right now"


I picked up the libc minor bump. This was on a clean machine with
1) rm -rf /usr/local/*
2) rm -rf /usr/ports/packages/*
3) rm -rf /usr/ports/plist/*

is WRKOBJDIR clean?

Sorry to get back so late...
Everything is clean. I did a rm -rf /usr/ports/pobj/*

When I change this in the Makefile AND have to do a make plist (lots
of changes there), the gtk+2 package is created. Please take a look in
gtk+2 port, and see if the plist on your machine is okay with whats in
cvs.

Index: Makefile
===================================================================
RCS file: /cvs/ports/x11/gtk+2/Makefile,v
retrieving revision 1.134
diff -u Makefile
--- Makefile    27 Jun 2011 07:04:40 -0000      1.134
+++ Makefile    11 Jul 2011 21:07:19 -0000
@@ -17,9 +17,9 @@

  CATEGORIES=    x11 devel

-SHARED_LIBS +=  gdk-x11-2.0          2400.0   # 2400.0
-SHARED_LIBS +=  gtk-x11-2.0          2400.0   # 2400.0
-SHARED_LIBS +=  gailutil             26.0     # 18.1
+SHARED_LIBS +=  gdk-x11-2.0          2400.5   # 2400.5
+SHARED_LIBS +=  gtk-x11-2.0          2400.5   # 2400.5
+SHARED_LIBS +=  gailutil             18.1     # 18.1

  HOMEPAGE=      http://www.gtk.org/

Please don't flame. I realize its bad form to go backward in the
shared library, but is there a missing revision bump somewhere?

Because when I do a ls -al in
/usr/ports/pobj/gtk+2-2.24.5/fake-amd64/usr/local/lib. I see:
libgailutil.so.18.1
libgdk-x11-2.0.so.2400.5
libgtk-x11-2.0.so.2400.5


Hi,

OpenBSD 4.2 x11/gnome/gail includes libgailutil.so.18.1, this should have been replaced by libgailutil.so.20.0 at OpenBSD 4.4, and the OpenBSD 4.4 -> 4.5 update was when gail was removed and gail became part of x11/gtk+2 with libgailutil.so.22.0 included. Your issue is with old versions of packages from 4.2 being left in current.

This could mean you had a package .libs-gale-xxxx or partial-gale-xxxx left behind from an update. So there was always a libgailutil.so.18.1 version present from 3-4yrs ago in /usr/local/lib.

To avoid problems use pkg_delete /var/db/pkg/.libs*, if there are no dependencies the packages will be removed, if not your missing an update, or maybe have a package that has since been removed. You should also remove failed pkg_add's which create packages called partial-xxxxxxxxxx.

There are a number of others way to get an unclean system.


The current libgailutil is at version 26.0. You shouldn't have changed the Makefile, or PLIST's. If you look back your see all the various bumps from 18.1 up to 26.0 for libgailutil in cvs. You should remove your gtk+2 and start again with the correct version from cvs, if you truly cleaned your system there is just no point in making those changes, gtk+2 should have built without modification.



Regards

Nigel Taylor

Reply via email to