Building & installing glibc2 from read-only sources.
QingLong
qinglong@Bolizm.ihep.su
Thu Apr 1 00:00:00 GMT 1999
>Submitter-Id: net
>Originator: QingLong
>Organization: IHEP
>Confidential: no
>Synopsis: Install from readonly source fails
>Severity: non-critical
>Priority: medium
>Category: libc
>Class: sw-bug
>Release: libc-2.0.111
>Environment: i686 Linux, native build, glibc2 libraries
Host type: i686-pc-linux-gnu
System: Linux Bolizm.ihep.su 2.1.132 #1 SMP ðÃÂàîÃÂà20 02:15:03 MSK 1998 i686 unknown
Architecture: i686
Addons: crypt localedata linuxthreads
Build CFLAGS: -O6 -fno-strength-reduce -Wall -g
Build CC: gcc
Compiler version: egcs-2.91.57 19980901 (egcs-1.1 release)
Kernel headers: 2.1.132
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: no
Build profile: yes
Build omitfp: no
Build bounded: no
Build static-nss: no
Stdio: libio
>Description:
While `make instal_root="/tmp/Glibc2/glibc-2.0.111.install"' I get:
make[2]: Leaving directory `/tmp/Glibc2/glibc-2.0.111/wctype'
make -C manual subdir_install
make[2]: Entering directory `/tmp/Glibc2/glibc-2.0.111/manual'
LANGUAGE=C LC_ALL=C makeinfo libc.texinfo
/tmp/Glibc2/glibc-2.0.111/manual/libc.info: Permission denied
Making info file `libc.info' from `libc.texinfo'.
make[2]: *** [libc.info] Error 2
../scripts/mkinstalldirs .././glibc-2.0.111.install/usr/info
touch /tmp/Glibc2/glibc-2.0.111.build/manual/stubs
make[2]: Target `subdir_install' not remade because of errors.
make[2]: Leaving directory `/tmp/Glibc2/glibc-2.0.111/manual'
make[1]: *** [manual/subdir_install] Error 2
make -C shadow subdir_install
and finally almost nothing installed but:
glibc-2.0.111.install/
glibc-2.0.111.install/usr
glibc-2.0.111.install/usr/lib
glibc-2.0.111.install/usr/lib/libc.a
glibc-2.0.111.install/usr/lib/libc_p.a
glibc-2.0.111.install/usr/lib/libc_nonshared.a
glibc-2.0.111.install/usr/lib/libc.so
glibc-2.0.111.install/usr/include
glibc-2.0.111.install/usr/include/errno.h
glibc-2.0.111.install/usr/include/sys
glibc-2.0.111.install/usr/include/sys/errno.h
glibc-2.0.111.install/usr/include/bits
glibc-2.0.111.install/usr/include/bits/errno.h
glibc-2.0.111.install/usr/include/bits/libc-lock.h
glibc-2.0.111.install/usr/include/bits/xopen_lim.h
glibc-2.0.111.install/usr/include/limits.h
glibc-2.0.111.install/usr/include/values.h
glibc-2.0.111.install/usr/include/features.h
glibc-2.0.111.install/usr/include/gnu-versions.h
glibc-2.0.111.install/usr/include/gnu
glibc-2.0.111.install/usr/include/gnu/libc-version.h
glibc-2.0.111.install/usr/include/gnu/lib-names.h
glibc-2.0.111.install/usr/bin
glibc-2.0.111.install/usr/bin/glibcbug
glibc-2.0.111.install/lib
glibc-2.0.111.install/lib/c6
glibc-2.0.111.install/lib/c6/libc-2.0.111.so
>How-To-Repeat:
``chmod -R a-w glibc-2.0.111/'' i.e. make the source tree readonly
and try to build and install the package out of the source tree.
>Fix:
Fix this ``makeinfo libc.texinfo'' to work out of the source tree
in a build directory. Would `--output' option to `makeinfo' help?
More information about the Libc-alpha
mailing list