Bug 166217 - x11-wm/openbox: missing dependency on x11/startup-notification
Summary: x11-wm/openbox: missing dependency on x11/startup-notification
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Roman Bogorodskiy
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-18 09:50 UTC by Oleg Pudeyev
Modified: 2012-03-25 15:40 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oleg Pudeyev 2012-03-18 09:50:11 UTC
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.
Comment 1 Edwin Groothuis freebsd_committer 2012-03-18 09:50:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->novel

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer 2012-03-25 15:36:20 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"
Comment 3 Roman Bogorodskiy freebsd_committer 2012-03-25 15:38:14 UTC
State Changed
From-To: open->closed

Committed, thanks!