Subject: pkg/24864: xfce packages should not include fontconfig/MESSAGE
To: None <gnats-bugs@gnats.netbsd.org>
From: None <reed@reedmedia.net>
List: netbsd-bugs
Date: 03/20/2004 11:00:29
>Number:         24864
>Category:       pkg
>Synopsis:       xfce packages should not include fontconfig/MESSAGE
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 20 19:01:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.1_STABLE
>Organization:
http://bsd.reedmedia.net/
>Environment:
	
	
System: NetBSD rainier.reedmedia.net 1.6.1_STABLE NetBSD 1.6.1_STABLE (GENERIC) #0: Tue Aug 12 02:52:57 PDT 2003 reed@rainier.reedmedia.net:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
meta-pkgs/xfce4/Makefile.common has:
MESSAGE_SRC?=           ${.CURDIR}/../../fonts/fontconfig/MESSAGE

I installed meta-pkgs/xfce4. And the fontconfig/MESSAGE was repeated
22 times. 22 packages have it in their +DISPLAY message.

I don't see any other packages that include other's MESSAGES.

It is broken behaviour:

- If reinstalling one package that had the initial MESSAGE (without
  deleting packages requiring it), then the other packages may have a
  wrong or out-of-date MESSAGE in their +DISPLAY.

- Binary packages potentially may have wrong (older or newer) +DISPLAY.

- I don't want same message emailed to me many times
  (using PKGSRC_MESSAGE_RECIPIENTS). (I don't recall if that happened.)

- fc-cache should automatically run when fontconfig is installed and
  whenever font packages are installed or deinstalled.

- It is annoying to read same message many times.

>How-To-Repeat:
Build many packages for all of meta-pkgs/xfce4.

Then later update fontconfig's MESSAGE and now the MESSAGE will be
out-of-date and potentially wrong for all of your xfce binary
packages.

Or set up PKGSRC_MESSAGE_RECIPIENTS and enjoy reading 22 emails.
>Fix:
Remove that single line from meta-pkgs/xfce4/Makefile.common.
	

I send-pr'd this because it is not my package and I didn't get
feedback on my emails about it.
>Release-Note:
>Audit-Trail:
>Unformatted: