Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #41893] [BUG] 0.4.9 leaks various .c files into install image, creates PREFIX/config, PREFIX/compiler

4 views
Skip to first unread message

Mike Mattie

unread,
Mar 18, 2007, 11:23:46 AM3/18/07
to bugs-bi...@rt.perl.org
# New Ticket Created by Mike Mattie
# Please include the string: [perl #41893]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=41893 >


Hello,

In the course of testing the parrot-0.4.9 release I discovered a number of files installed by the "reallyinstall" target that
don't belong in an install image.

To understand the output Configure.pl was called with:
--prefix=/usr ,
and make was invoked with:
DESTDIR="/var/tmp/portage/dev-lang/parrot-0.4.9/image/"

in the output everything up to "image/" can be ignored. it's just a temporary install location that is copied
over to the real install tree later.

/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/include/src
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/include/src/jit_emit.h
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/include/src/string_private_cstring.h

include/src is a strange place to drop header files. if jit_emit.h really needs to be installed
then I think include/parrot , or even include/parrot/jit makes more sense.

/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/lib/pkgconfig
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/lib/pkgconfig/parrot.pc

I am not very familiar with pkgconfig. Are these really supposed to install ?

/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/src
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/src/ops
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/src/ops/core_ops_cgp.c
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/src/ops/core_ops_switch.c
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/src/nci.c
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/src/null_config.c
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/src/parrot_config.c

This looks like a accident, some random parrot source code installed in /usr/src

/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/compilers
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/compilers/imcc
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/compilers/imcc/imclexer.c

this is most likely an over-sight of some sort. compilers/ hanging off /usr ?

/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/config
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/config/gen
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/config/gen/cpu
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/config/gen/cpu/i386
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/config/gen/cpu/i386/memcpy_mmx.c
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/config/gen/cpu/i386/memcpy_sse.c
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/config/gen/platform
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/config/gen/platform/generic
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/config/gen/platform/generic/stat.c
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/config/gen/platform/ansi
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/config/gen/platform/ansi/dl.c
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/config/gen/platform/ansi/time.c
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/config/gen/platform/darwin
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/config/gen/platform/darwin/memalign.c
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/config/gen/platform/win32
/var/tmp/portage/dev-lang/parrot-0.4.9/image//usr/config/gen/platform/win32/stat.c

another one, config/ hanging off /usr.

I will try and figure out where these files are added to the install list, and remove them with patches against 0.4.9.

Cheers,
Mike Mattie (coder...@gmail.com)

0 new messages