Bug 176772 - x11-wm/windowmaker: fails to build
Summary: x11-wm/windowmaker: fails to build
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: Hiroki Sato
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-08 23:50 UTC by O. Hartmann
Modified: 2013-05-02 20:38 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 O. Hartmann 2013-03-08 23:50:00 UTC
Although port devel/libnotify is installed (and rebuild recently), the
port x11-wm/windowmaker fails to build. Error message below.

[...]

/bin/sh /usr/local/bin/libtool  --tag=CC    --mode=link gcc  -O2 -pipe -O3 -march=native -fno-strict-aliasing -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -D_XOPEN_SOURCE=600 -DFREEBSD   -L/usr/local/lib -o wmaker actions.o appicon.o  application.o appmenu.o balloon.o  client.o colormap.o cycling.o  defaults.o dialog.o dock.o  dockedapp.o event.o framewin.o  geomview.o icon.o main.o  menu.o misc.o osdep_bsd.o  monitor.o motif.o moveres.o  pixmap.o placement.o properties.o  resources.o rootmenu.o screen.o  session.o shutdown.o switchpanel.o  stacking.o startup.o superfluous.o  switchmenu.o texture.o usermenu.o  xdnd.o xinerama.o xmodifier.o  xutil.o wcore.o wdefaults.o  window.o winmenu.o winspector.o  wmspec.o workspace.o ../WINGs/libWINGs.la ../WINGs/libWUtil.la -lwraster  -L/usr/local/lib -R/usr/local/lib  -lXrandr  -lXinerama  -lXext -lX11   -lm  -lintl 
libtool: link: gcc -O2 -pipe -O3 -march=native -fno-strict-aliasing -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -D_XOPEN_SOURCE=600 -DFREEBSD -o .libs/wmaker actions.o appicon.o application.o appmenu.o balloon.o client.o colormap.o cycling.o defaults.o dialog.o dock.o dockedapp.o event.o framewin.o geomview.o icon.o main.o menu.o misc.o osdep_bsd.o monitor.o motif.o moveres.o pixmap.o placement.o properties.o resources.o rootmenu.o screen.o session.o shutdown.o switchpanel.o stacking.o startup.o superfluous.o switchmenu.o texture.o usermenu.o xdnd.o xinerama.o xmodifier.o xutil.o wcore.o wdefaults.o window.o winmenu.o winspector.o wmspec.o workspace.o  -L/usr/local/lib ../WINGs/.libs/libWINGs.so /usr/ports/x11-wm/windowmaker/work/WindowMaker-0.95.4/WINGs/.libs/libWUtil.so /usr/local/lib/libXft.so /usr/local/lib/libfontconfig.so /usr/local/lib/libfreetype.so -lbz2 /usr/local/lib/libexpat.so ../WINGs/.libs/libWUtil.so /usr/local/lib/libwraster.so /usr/local/lib/libtiff.so -ll
 zma -ljbig -lz /usr/local/lib/libXpm.so -lpng /usr/local/lib/libjpeg.so /usr/local/lib/libgif.so /usr/local/lib/libXmu.so /usr/local/lib/libXt.so /usr/local/lib/libSM.so /usr/local/lib/libICE.so /usr/local/lib/libXrandr.so /usr/local/lib/libXrender.so /usr/local/lib/libXinerama.so /usr/local/lib/libXext.so /usr/local/lib/libX11.so /usr/local/lib/libxcb.so /usr/local/lib/libXau.so /usr/local/lib/libXdmcp.so /usr/local/lib/libpthread-stubs.so -lrpcsvc -lm /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
main.o: In function `main':
main.c:(.text+0xb87): undefined reference to `inotify_init'
main.c:(.text+0xbbd): undefined reference to `inotify_add_watch'
*** [wmaker] Error code 1

Stop in /usr/ports/x11-wm/windowmaker/work/WindowMaker-0.95.4/src.
*** [all] Error code 1

Stop in /usr/ports/x11-wm/windowmaker/work/WindowMaker-0.95.4/src.
*** [all-recursive] Error code 1

Stop in /usr/ports/x11-wm/windowmaker/work/WindowMaker-0.95.4.
*** [all] Error code 1

Stop in /usr/ports/x11-wm/windowmaker/work/WindowMaker-0.95.4.
*** [do-build] Error code 1

Stop in /usr/ports/x11-wm/windowmaker.
*** [build] Error code 1

Stop in /usr/ports/x11-wm/windowmaker.

===>>> make failed for x11-wm/windowmaker
===>>> Aborting update

How-To-Repeat: Try to install or update/recompile port x11-wm/windowmaker.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2013-03-08 23:52:35 UTC
Responsible Changed
From-To: freebsd-ports-bugs->hrs

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Rainer Hurling freebsd_committer freebsd_triage 2013-03-19 20:55:04 UTC
As far as I know this only happens if devel/libinotify is installed.

I am not aware of a solution, but as workaround it helps to temporarily
deinstall devel/libinotify, then build and (re)install
x11-wm/windowmaker and after that reinstall devel/libinotify.

Of course, the better way would be to allow the presence of
devel/libinotify.
Comment 3 O. Hartmann 2013-03-19 22:04:33 UTC
On Tue, 2013-03-19 at 21:55 +0100, Rainer Hurling wrote:
> As far as I know this only happens if devel/libinotify is installed.
> 
> I am not aware of a solution, but as workaround it helps to temporarily
> deinstall devel/libinotify, then build and (re)install
> x11-wm/windowmaker and after that reinstall devel/libinotify.
> 
> Of course, the better way would be to allow the presence of
> devel/libinotify.


I had to rebuild devel/libinotify first. This should, somehow, be
reflected in the UPDATING file or the incident should be deeply
investigated. On the other hand, it seems to be very uncomon that
light-weight and skinny windowmanagers are used. I guess most people
prefer the heavy weight more fancy allround stuff like KDE or GNOME.
Comment 4 Hiroki Sato freebsd_committer freebsd_triage 2013-05-02 20:37:36 UTC
State Changed
From-To: open->closed

Fixed in r317142.  Thank you for your report.