NetBSD Problem Report #46752

From www@NetBSD.org  Sun Jul 29 14:48:01 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 97F9163B8E6
	for <gnats-bugs@gnats.NetBSD.org>; Sun, 29 Jul 2012 14:48:01 +0000 (UTC)
Message-Id: <20120729144800.8840563B85F@www.NetBSD.org>
Date: Sun, 29 Jul 2012 14:48:00 +0000 (UTC)
From: netbsd@marino.st
Reply-To: netbsd@marino.st
To: gnats-bugs@NetBSD.org
Subject: devel/omake does not deinstall cleanly after use
X-Send-Pr-Version: www-1.0

>Number:         46752
>Category:       pkg
>Synopsis:       devel/omake does not deinstall cleanly after use
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 29 14:50:00 +0000 2012
>Originator:     John Marino
>Release:        
>Organization:
>Environment:
>Description:
During it's first use, omake creates ${LOCALBASE}/lib/omake/build and ${LOCALBASE}/lib/omake/configure directories and dumps .omc files there and at ${LOCALBASE}/lib/omake

Proof: boomerang on Tinderbox
60317	=== Checking filesystem state after all packages deleted
60318	================================================================
60319	list of extra files and directories in / (not present on clean system but present after everything was deinstalled)
60320	33507875639        0 drwxr-xr-x    1 root             wheel                   0 Jul 28 10:44 usr/pkg/lib/omake
60321	33481027054        0 drwxr-xr-x    1 root             wheel                   0 Jul 28 10:44 usr/pkg/lib/omake/build
60322	33523513366      128 -rw-r--r--    1 root             wheel               52286 Jul 28 10:43 usr/pkg/lib/omake/build/OCaml.omc
60323	33523513877       64 -rw-r--r--    1 root             wheel               20661 Jul 28 10:43 usr/pkg/lib/omake/build/LaTeX.omc
60324	33523514104       64 -rw-r--r--    1 root             wheel               26544 Jul 28 10:43 usr/pkg/lib/omake/build/C.omc
60325	33523514211        4 -rw-r--r--    1 root             wheel                2501 Jul 28 10:43 usr/pkg/lib/omake/build/Common.omc
60326	33481027196        0 drwxr-xr-x    1 root             wheel                   0 Jul 28 10:44 usr/pkg/lib/omake/configure
60327	33489081470       32 -rw-r--r--    1 root             wheel               10525 Jul 28 10:43 usr/pkg/lib/omake/configure/Configure.omc
60328	33512813418      128 -rw-r--r--    1 root             wheel               52096 Jul 28 10:43 usr/pkg/lib/omake/Pervasives.omc
60329	33503366987        0 drwxr-xr-x    1 root             wheel                   0 Jul 28 10:50 usr/pkg/etc/texmf
60330	33426035613        0 drwxr-xr-x    1 root             wheel                   0 Jul 28 10:49 usr/pkg/etc/texmf/web2c
60331	33503730375        8 -rw-r--r--    1 root             wheel                4305 Jul 28 10:49 usr/pkg/etc/texmf/web2c/updmap.cfg
60332	================================================================
60333	build of /usr/pkgsrc/lang/boomerang ended at Sat Jul 28 10:50:40 UTC 2012


camlimages on Tinderbox:
3075	=== Checking filesystem state after all packages deleted
3076	================================================================
3077	list of extra files and directories in / (not present on clean system but present after everything was deinstalled)
3078	33509225271        0 drwxr-xr-x    1 root             wheel                   0 Jul 29 12:44 usr/pkg/lib/omake
3079	33446921709        0 drwxr-xr-x    1 root             wheel                   0 Jul 29 12:44 usr/pkg/lib/omake/build
3080	33550961686      128 -rw-r--r--    1 root             wheel               52286 Jul 29 12:43 usr/pkg/lib/omake/build/OCaml.omc
3081	33550962197       64 -rw-r--r--    1 root             wheel               20661 Jul 29 12:43 usr/pkg/lib/omake/build/LaTeX.omc
3082	33550962456       64 -rw-r--r--    1 root             wheel               26544 Jul 29 12:43 usr/pkg/lib/omake/build/C.omc
3083	33550962531        4 -rw-r--r--    1 root             wheel                2501 Jul 29 12:43 usr/pkg/lib/omake/build/Common.omc
3084	33446921849        0 drwxr-xr-x    1 root             wheel                   0 Jul 29 12:44 usr/pkg/lib/omake/configure
3085	33459420285       32 -rw-r--r--    1 root             wheel               10525 Jul 29 12:43 usr/pkg/lib/omake/configure/Configure.omc
3086	33522560874      128 -rw-r--r--    1 root             wheel               52096 Jul 29 12:43 usr/pkg/lib/omake/Pervasives.omc
3109	================================================================
3110	build of /usr/pkgsrc/graphics/camlimages ended at Sun Jul 29 12:51:18 UTC 2012

>How-To-Repeat:
Build boomerang or camlimages images without installing them, then deinstall omake.  The files will be leftover.
>Fix:
I suggest these .omc files be dumped into a temporary directory.  As a backup plan, there needs to be some kind of DEINSTALL file to clean these files up.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.