public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug build/13810] New: install_root broken for install-headers
@ 2012-03-05 20:11 christer.solskogen at gmail dot com
  2012-03-05 22:58 ` [Bug build/13810] " carlos at systemhalted dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: christer.solskogen at gmail dot com @ 2012-03-05 20:11 UTC (permalink / raw)
  To: glibc-bugs

http://sourceware.org/bugzilla/show_bug.cgi?id=13810

             Bug #: 13810
           Summary: install_root broken for install-headers
           Product: glibc
           Version: 2.14
            Status: NEW
          Severity: normal
          Priority: P2
         Component: build
        AssignedTo: unassigned@sourceware.org
        ReportedBy: christer.solskogen@gmail.com
                CC: carlos@systemhalted.org
    Classification: Unclassified


"make install-headers install_root=/var/tmp" will try to copy the header files
to /usr as well if prefix=/usr. install_root does however work with "make
install install_root=/var/tmp" if you built glibc.

How to reproduce (at least on Debian Squeeze)

Download and unpack glibc-2.14.1.tar.xz. Create a out-of-tree
build-directory. Run configure. Output as follows:
../glibc-2.14.1/configure --prefix=/usr
....

make install-headers install_root=/var/tmp
....

make[2]: Entering directory `/home/solskogen/temp/glibc-2.14.1/signal'
/usr/bin/install -c -m 644 signal.h /usr/include/signal.h
/usr/bin/install: cannot remove `/usr/include/signal.h': Permission denied
make[2]: *** [/usr/include/signal.h] Error 1
make[2]: Leaving directory `/home/solskogen/temp/glibc-2.14.1/signal'
make[1]: *** [signal/install-headers] Error 2
make[1]: Leaving directory `/home/solskogen/temp/glibc-2.14.1'
make: *** [install-headers] Error 2

That said, *some* headers are installed at the right place:
/var/tmp/usr
/var/tmp/usr/include
/var/tmp/usr/include/setjmp.h
/var/tmp/usr/include/iconv.h
/var/tmp/usr/include/ieee754.h
/var/tmp/usr/include/langinfo.h
/var/tmp/usr/include/values.h
/var/tmp/usr/include/xlocale.h
/var/tmp/usr/include/math.h
/var/tmp/usr/include/features.h
/var/tmp/usr/include/assert.h
/var/tmp/usr/include/ctype.h
/var/tmp/usr/include/fpu_control.h
/var/tmp/usr/include/libintl.h
/var/tmp/usr/include/tgmath.h
/var/tmp/usr/include/gnu-versions.h
/var/tmp/usr/include/limits.h
/var/tmp/usr/include/gconv.h
/var/tmp/usr/include/gnu
/var/tmp/usr/include/gnu/libc-version.h
/var/tmp/usr/include/gnu/lib-names.h
/var/tmp/usr/include/bits
/var/tmp/usr/include/bits/setjmp.h
/var/tmp/usr/include/bits/huge_valf.h
/var/tmp/usr/include/bits/mathinline.h
/var/tmp/usr/include/bits/setjmp2.h
/var/tmp/usr/include/bits/mathcalls.h
/var/tmp/usr/include/bits/xopen_lim.h
/var/tmp/usr/include/bits/inf.h
/var/tmp/usr/include/bits/libc-lock.h
/var/tmp/usr/include/bits/huge_vall.h
/var/tmp/usr/include/bits/nan.h
/var/tmp/usr/include/bits/cmathcalls.h
/var/tmp/usr/include/bits/mathdef.h
/var/tmp/usr/include/bits/fenvinline.h
/var/tmp/usr/include/bits/huge_val.h
/var/tmp/usr/include/bits/locale.h
/var/tmp/usr/include/bits/fenv.h
/var/tmp/usr/include/nl_types.h
/var/tmp/usr/include/complex.h
/var/tmp/usr/include/locale.h
/var/tmp/usr/include/fenv.h

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2014-06-26 14:02 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-05 20:11 [Bug build/13810] New: install_root broken for install-headers christer.solskogen at gmail dot com
2012-03-05 22:58 ` [Bug build/13810] " carlos at systemhalted dot org
2012-03-06  9:24 ` tschwinge at sourceware dot org
2012-03-06 14:10 ` joseph at codesourcery dot com
2012-03-06 14:19 ` christer.solskogen at gmail dot com
2012-03-06 15:38 ` carlos at systemhalted dot org
2014-06-26 14:02 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).