ports/54795: mozilla-firebird builds bogus plist

Gregory Bond gnb at itga.com.au
Thu Jul 24 05:20:03 UTC 2003


>Number:         54795
>Category:       ports
>Synopsis:       mozilla-firebird builds bogus plist
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 23 22:20:00 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Gregory Bond
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
ITG Australia Limited
>Environment:
System: FreeBSD hellcat.itga.com.au 4.8-STABLE FreeBSD 4.8-STABLE #16: Thu Jul 24 11:25:45 EST 2003 toor at grollo.itga.com.au:/usr/obj/usr/src/sys/HELLCAT i386


>Description:

www/mozilla-firebird port builds a bogus plist with only 4 entries,
so making a package fails and deinstalling the port doesn't deinstall
the whole thing.

>How-To-Repeat:

cd /usr/ports/www/mozilla-firebird && make install && cat work/plist

After installing, running "make generate-plist" creates a reasonable
plist file.

>Fix:

I don't understand all the jiggerypokery going on here, but it seems like
the "make install" is doing this:
   rm -rf /usr/X11R6/lib/firebird (from the pre-install target)
   build the work/plist from /usr/X11R6/lib/firebird plus a bit of manual adding
	(from the cons-plist target)
   install into /usr/X11R6/lib/firebird (from the install target)
which looks like totally the wrong order.

Having a look at the CVS log for Mk/bsd.port.mk rev 1.455 indicates this
port might need to be re-worked.  Perhaps specify a static plist?

In the meantime, the following workaround seems to get by:
  cd /usr/ports/www/mozilla-firebird
  make install
  make generate-plist
  <edit the Makefile to remove "cons-plist" as a dependency for 
   generate-plist at the bottom of the Makefile>
  make deinstall
  make package
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list