Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2003 15:16:07 +1000 (EST)
From:      Gregory Bond <gnb@itga.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gnome@FreeBSD.org
Subject:   ports/54795: mozilla-firebird builds bogus plist
Message-ID:  <200307240516.h6O5G7QI011149@hellcat.itga.com.au>
Resent-Message-ID: <200307240520.h6O5K1Q2043714@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307240516.h6O5G7QI011149>