pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/lang/python27



On Wed, 23 Feb 2011 14:03:45 +0900, Adam <adam%netbsd.org@localhost> wrote:

Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Feb 22 10:50:38 UTC 2011

Modified Files:
        pkgsrc/lang/python27: buildlink3.mk distinfo
        pkgsrc/lang/python27/patches: patch-au

Log Message:
Fix unprivileged build

I can do unprivileged build without the patch.
What will be happened for you?

Greetings,

During the build phase, the package tries to INSTALL_DATA with this statement:

        $(INSTALL_DATA) $(SRC_GDB_HOOKS) $(BUILDPYTHON)-gdb.py

This is installing a file within the work directory which ends up with "install: 
python.exe-gdb.py: chown/chgrp: Operation not permitted". (At least on Mac OS X.) 
The above statement resolves to:

        /usr/bin/install -c -o root -g wheel -m 444 ./Tools/gdb/libpython.py 
python.exe-gdb.py

This is a common problem I encountered with other packages as well. When a package tries 
to do INSTALL_xxx in build phase, INSTALL_xxx has to be replaced with "cp".

I see... it will be happened with USE_DESTDIR=no.

--
OBATA Akio / obache%NetBSD.org@localhost


Home | Main Index | Thread Index | Old Index