Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Nov 2013 00:59:34 -0800 (PST)
From:      Don Lewis <truckman@FreeBSD.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/183916: [patch] typo in bsd.gnome.mk breaks deskutils/hamster-applet build
Message-ID:  <201311130859.rAD8xYLq095228@mousie.catspoiler.org>
Resent-Message-ID: <201311130900.rAD900TA021491@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         183916
>Category:       ports
>Synopsis:       [patch] typo in bsd.gnome.mk breaks deskutils/hamster-applet build
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Nov 13 09:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Don Lewis
>Release:        FreeBSD 11.0-CURRENT i386
>Organization:
FreeBSD Project
>Environment:
System: FreeBSD scratch.catspoiler.org 11.0-CURRENT FreeBSD 11.0-CURRENT #40 r258079: Tue Nov 12 22:28:05 PST 2013     dl@scratch.catspoiler.org:/usr/obj/usr/src/sys/GENERICSMB  i386

src svn rev: 258079
ports svn rev: 333642

>Description:

When rebuilding the deskutils/hamster-applet port, it fails to detect the
presense of the libgnome-window-settings shared library and then attempts
to reinstall sysutils/gnome-control-center, which fails because
gnome-control-center is already installed.  That failure then aborts the
hamster-applet build.

===>   hamster-applet-2.32.1_4 depends on shared library: libORBit-2.so - found
 - found
===>   hamster-applet-2.32.1_4 depends on shared library: libpango-1.0.so - found
 - found
===>   hamster-applet-2.32.1_4 depends on shared library: libgnome-window-settings - not found
===>    Verifying install for libgnome-window-settings in /usr/ports/sysutils/gnome-control-center
===>   gnome-control-center-2.32.1_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by gnome-control-center-2.32.1_1 for building
===>  Extracting for gnome-control-center-2.32.1_1
=> SHA256 Checksum OK for gnome2/gnome-control-center-2.32.1.tar.bz2.
===>  Patching for gnome-control-center-2.32.1_1
===>  Applying FreeBSD patches for gnome-control-center-2.32.1_1
[SNIP]
===>   Generating temporary packing list
===>  Checking if sysutils/gnome-control-center already installed
===>   gnome-control-center-2.32.1_1 is already installed
      You may wish to ``make deinstall'' and install this port again
      by ``make reinstall'' to upgrade it properly.
      If you really wish to overwrite the old port of sysutils/gnome-control-center
      without deleting it first, set the variable "FORCE_PKG_REGISTER"
      in your environment or the "make install" command line.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/sysutils/gnome-control-center
*** Error code 1

Stop.
make: stopped in /usr/ports/deskutils/hamster-applet


>How-To-Repeat:

Install sysutils/gnome-control-center, then attempt to build
deskutils/hamster-applet.

>Fix:

Index: Mk/bsd.gnome.mk
===================================================================
--- Mk/bsd.gnome.mk	(revision 333642)
+++ Mk/bsd.gnome.mk	(working copy)
@@ -419,7 +419,7 @@
 gal2_USE_GNOME_IMPL=gnomeui libgnomeprintui
 
 gnomecontrolcenter2_DETECT=	${LOCALBASE}/libdata/pkgconfig/gnome-window-settings-2.0.pc
-gnomecontrolcenter2_LIB_DEPENDS=libgnome-window-settings:${PORTSDIR}/sysutils/gnome-control-center
+gnomecontrolcenter2_LIB_DEPENDS=libgnome-window-settings.so:${PORTSDIR}/sysutils/gnome-control-center
 gnomecontrolcenter2_USE_GNOME_IMPL=metacity gnomemenus libgnomekbd gnomedesktop librsvg2
 gnomecontrolcenter2_GNOME_DESKTOP_VERSION=2


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311130859.rAD8xYLq095228>