From nobody@FreeBSD.org  Sun Mar 18 09:44:44 2012
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id BF4ED106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Mar 2012 09:44:44 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 2F4AE8FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Mar 2012 09:44:44 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id q2I9ihW9097533
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 18 Mar 2012 09:44:43 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id q2I9ihCe097532;
	Sun, 18 Mar 2012 09:44:43 GMT
	(envelope-from nobody)
Message-Id: <201203180944.q2I9ihCe097532@red.freebsd.org>
Date: Sun, 18 Mar 2012 09:44:43 GMT
From: Oleg Pudeyev <oleg@bsdpower.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: x11-wm/openbox: missing dependency on x11/startup-notification
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         166217
>Category:       ports
>Synopsis:       x11-wm/openbox: missing dependency on x11/startup-notification
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    novel
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 18 09:50:11 UTC 2012
>Closed-Date:    Sun Mar 25 14:38:15 UTC 2012
>Last-Modified:  Sun Mar 25 14:40:11 UTC 2012
>Originator:     Oleg Pudeyev
>Release:        8.2-STABLE
>Organization:
>Environment:
FreeBSD athena.universe 8.2-STABLE FreeBSD 8.2-STABLE #1: Sun Sep  4 23:27:08 EDT 2011     root@athena.universe:/home/build/obj/nfs/src/sys/ATHENA  i386

>Description:
While portupdating my system openbox build failed:

/bin/sh /home/build/ports/nfs/ports/x11-wm/openbox/work/gnome-libtool --silent --tag=CC   --mode=link cc  -O2 -pipe -march=native -I/usr/local/include -fno-strict-aliasing -DNDEBUG -DG_DISABLE_ASSERT -fno-strict-aliasing -export-dynamic -L/usr/local/lib -o openbox/openbox openbox/actions/openbox_openbox-all.o openbox/actions/openbox_openbox-addremovedesktop.o openbox/actions/openbox_openbox-breakchroot.o openbox/actions/openbox_openbox-close.o openbox/actions/openbox_openbox-cyclewindows.o openbox/actions/openbox_openbox-debug.o openbox/actions/openbox_openbox-decorations.o openbox/actions/openbox_openbox-desktop.o openbox/actions/openbox_openbox-dock.o openbox/actions/openbox_openbox-dockautohide.o openbox/actions/openbox_openbox-directionalwindows.o openbox/actions/openbox_openbox-execute.o openbox/actions/openbox_openbox-exit.o openbox/actions/openbox_openbox-focus.o openbox/actions/openbox_openbox-focustobottom.o openbox/actions/openbox_openbox-fullscreen.o openbox/actions/openbo
 x_openbox-growtoedge.o openbox/actions/openbox_openbox-iconify.o openbox/actions/openbox_openbox-if.o openbox/actions/openbox_openbox-kill.o openbox/actions/openbox_openbox-layer.o openbox/actions/openbox_openbox-lower.o openbox/actions/openbox_openbox-maximize.o openbox/actions/openbox_openbox-move.o openbox/actions/openbox_openbox-moverelative.o openbox/actions/openbox_openbox-moveresizeto.o openbox/actions/openbox_openbox-movetoedge.o openbox/actions/openbox_openbox-omnipresent.o openbox/actions/openbox_openbox-raise.o openbox/actions/openbox_openbox-raiselower.o openbox/actions/openbox_openbox-reconfigure.o openbox/actions/openbox_openbox-resize.o openbox/actions/openbox_openbox-resizerelative.o openbox/actions/openbox_openbox-restart.o openbox/actions/openbox_openbox-shade.o openbox/actions/openbox_openbox-shadelowerraise.o openbox/actions/openbox_openbox-showdesktop.o openbox/actions/openbox_openbox-showmenu.o openbox/actions/openbox_openbox-unfocus.o openbox/openbox_openbox-a
 ctions.o openbox/openbox_openbox-client.o op!
 enbox/openbox_openbox-client_list_menu.o openbox/openbox_openbox-client_list_combined_menu.o openbox/openbox_openbox-client_menu.o openbox/openbox_openbox-config.o openbox/openbox_openbox-debug.o openbox/openbox_openbox-dock.o openbox/openbox_openbox-event.o openbox/openbox_openbox-focus.o openbox/openbox_openbox-focus_cycle.o openbox/openbox_openbox-focus_cycle_indicator.o openbox/openbox_openbox-focus_cycle_popup.o openbox/openbox_openbox-frame.o openbox/openbox_openbox-framerender.o openbox/openbox_openbox-grab.o openbox/openbox_openbox-group.o openbox/openbox_openbox-keyboard.o openbox/openbox_openbox-keytree.o openbox/openbox_openbox-menuframe.o openbox/openbox_openbox-menu.o openbox/openbox_openbox-mouse.o openbox/openbox_openbox-moveresize.o openbox/openbox_openbox-openbox.o openbox/openbox_openbox-ping.o openbox/openbox_openbox-place.o openbox/openbox_openbox-prompt.o openbox/openbox_openbox-popup.o openbox/openbox_openbox-resist.o openbox/openbox_openbox-screen.o openbox/op
 enbox_openbox-session.o openbox/openbox_openbox-stacking.o openbox/openbox_openbox-startupnotify.o openbox/openbox_openbox-translate.o openbox/openbox_openbox-window.o -lXext -lXinerama -lXext -lXrender -lXrandr -lSM -lICE -L/usr/local/lib -lglib-2.0   -lSM -lICE  -L/usr/local/lib -R/usr/local/lib -lX11 -L/usr/local/lib -lXcursor   -L/usr/local/lib -lstartup-notification-1   -L/usr/local/lib -lxml2    /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib obrender/libobrender.la obt/libobt.la 
gnome-libtool: link: cannot find the library `/usr/local/lib/libxcb-aux.la' or unhandled argument `/usr/local/lib/libxcb-aux.la'
gmake[1]: *** [openbox/openbox] Error 1
gmake[1]: Leaving directory `/home/build/ports/nfs/ports/x11-wm/openbox/work/openbox-3.5.0'
gmake: *** [all-recursive] Error 1
*** Error code 1

A search of /usr/local/lib revealed that only startup-notification references libxcb-auth:

athena# grep -r xcb-aux /usr/local/lib
Binary file /usr/local/lib/libstartup-notification-1.so.0 matches
Binary file /usr/local/lib/libstartup-notification-1.so matches
/usr/local/lib/libstartup-notification-1.la:dependency_libs=' -R/usr/local/lib -L/usr/local/lib /usr/local/lib/libxcb-aux.la /usr/local/lib/libxcb-event.la /usr/local/lib/libxcb-atom.la /usr/local/lib/libX11.la /usr/local/lib/libxcb.la /usr/local/lib/libXau.la /usr/local/lib/libXdmcp.la /usr/local/lib/libpthread-stubs.la -lrpcsvc'

Grepping the unpacked source of openbox in work directory confirmed that it does use startup notification, at least if the latter exists.

portmaster tells me that startup-notification can be updated. After updating startup-notification I am able to successfully update openbox.

openbox should declare its dependency on startup-notification.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->novel 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Mar 18 09:50:22 UTC 2012 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=166217 
State-Changed-From-To: open->closed 
State-Changed-By: novel 
State-Changed-When: Sun Mar 25 14:38:14 UTC 2012 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=166217 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/166217: commit references a PR
Date: Sun, 25 Mar 2012 14:36:20 +0000 (UTC)

 novel       2012-03-25 14:36:10 UTC
 
   FreeBSD ports repository
 
   Modified files:
     x11-wm/openbox       Makefile 
   Log:
   - Add missing dependency on startup-notification and add a knob to
     disable it
   - Bump PORTREVISION
   
   PR:             ports/166217
   Submitted by:   Oleg Pudeyev <oleg@bsdpower.com>
   Feature safe:   yes
   
   Revision  Changes    Path
   1.100     +7 -1      ports/x11-wm/openbox/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
