Bug 153532

Summary: [PATCH] devel/dbus: fix build failure in the presence of textproc/man2html
Product: Ports & Packages Reporter: Charlie Kester <corky1951>
Component: Individual Port(s)Assignee: freebsd-gnome (Nobody) <gnome>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Charlie Kester 2010-12-29 20:50:11 UTC
If /textproc/man2html is installed, the build of devel/dbus fails.  

Several people on the forums and questions@ mailinglist have reported this.

The root cause of this failure is that the dbus Makefiles expect a version of man2html which will take a filename as input.  But textproc/man2html only accepts input on stdin.  It ignores any filenames specified on its commandline.    So the build appears to hang when the following Makefile lines are executed:

%.1.html: %.1
        $(AM_V_GEN)( $(MAN2HTML) $< > $@.tmp && mv $@.tmp $@ )

Actually, it isn't hung.  man2html is simply waiting for input on stdin.

If man2html is not installed, the devel/dbus succeeds.   I notice that the html'ized manpages are not listed in the pkg-plist for dbus, nor are they mentioned in the port's Makefile.  Is it expected that they will never be installed, even though the upstream author's Makefile will build them if man2html is found?

Fix: Redirect stdin to the prerequisite file

Patch attached with submission follows:
How-To-Repeat: Install textproc/man2html
Try to build devel/dbus
Comment 1 Edwin Groothuis freebsd_committer 2010-12-29 20:50:23 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Jeremy Messenger freebsd_committer 2010-12-31 18:25:14 UTC
State Changed
From-To: open->closed

I have add a patch to disable check on man2html completely. Thanks for 
report!
Comment 3 dfilter service freebsd_committer 2010-12-31 18:25:18 UTC
mezz        2010-12-31 18:25:01 UTC

  FreeBSD ports repository

  Modified files:
    devel/dbus           Makefile 
  Log:
  Disable the man2html stuff completely.
  
  PR:             ports/153532
  Reported by:    Charlie Kester <corky1951@comcast.net>
  
  Revision  Changes    Path
  1.83      +3 -2      ports/devel/dbus/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"