pkgsrc-Bugs archive

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

pkg/43455: devel/avr-gcc doesn't build unprivilledged



>Number:         43455
>Category:       pkg
>Synopsis:       devel/avr-gcc doesn't build unprivilledged
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jun 11 09:15:00 +0000 2010
>Originator:     Edgar Fuß
>Release:        pkgsrc-2010Q1
>Organization:
Mathematisches Institut der Uni Bonn
>Description:
        avr-gcc usese INSTALL_DATA during build in order to move files
        inside the work directory. In unprivilledged mode, this fails
        because the files can't be chown/chgrp'ed
>How-To-Repeat:
        As non-root, cd devel/avr-gcc; bmake build
>Fix:
        As a hack, in the relevant step, use cp instead of install:
        --- libgcc/Makefile.in.orig     2009-04-10 01:23:07.000000000 +0200
        +++ libgcc/Makefile.in  2010-06-10 23:55:38.000000000 +0200
        @@ -99,7 +99,7 @@
                # them back to the GCC directory.  Too many things (other
                # in-tree libraries, and DejaGNU) know about the layout
                # of the build tree, for now.
        -       $(MAKE) install-leaf DESTDIR=$(gcc_objdir) \
        +       $(MAKE) INSTALL_DATA=cp install-leaf DESTDIR=$(gcc_objdir) \
                  slibdir= libsubdir= MULTIOSDIR=$(MULTIDIR)
         
         .PHONY: all-multi



Home | Main Index | Thread Index | Old Index