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

Bug#159355: FTBFS: calls install-info as non-root



On Mon, 2 Sep 2002, Daniel Jacobowitz wrote:

> On Mon, Sep 02, 2002 at 02:24:46PM -0500, Adam Heath wrote:
> > Package: libc6
> > Version: 2.2.5-14.1
> > Severity: serious
> >
> > ==
> > Automatic build of glibc_2.2.5-14.1 on cyberhq by sbuild/i386 1.169
> > Build started at 20020901-2205
> > ...
> > * Libc: (libc). C library.
> > install-info(/build/rmurray/glibc-2.2.5/i386-linux/install_root/usr/share/info/libc.info): creating new section `GNU libraries'
> > install-info(/build/rmurray/glibc-2.2.5/i386-linux/install_root/usr/share/info/libc.info): no sections yet, creating Miscellaneous section too.
> > cp: cannot create regular file `/var/backups/infodir.bak': Permission denied
> > install-info(/build/rmurray/glibc-2.2.5/i386-linux/install_root/usr/share/info/libc.info): couldn't backup /build/rmurray/glibc-2.2.5/i386-linux
> > /install_root/usr/share/info/dir in /var/backups/infodir.bak: No such file or directory
> > make[3]: *** [install] Error 139
> > make[3]: Leaving directory `/build/rmurray/glibc-2.2.5/glibc-2.2.5/manual'
> > make[2]: *** [manual/subdir_install] Error 2
> > make[2]: Leaving directory `/build/rmurray/glibc-2.2.5/glibc-2.2.5'
> > make[1]: *** [install] Error 2
> > make[1]: Leaving directory `/build/rmurray/glibc-2.2.5/i386-linux/obj'
> > make: *** [/build/rmurray/glibc-2.2.5/i386-linux/installed-binaries] Error 2
> > ******************************************************************************
> > Build finished at 20020901-2320
> > FAILED [dpkg-buildpackage died]
> > ==
> >
> > Don't call install-info as root.

                               non-root

> a) I told you that install-info should not access the backup directory
> when running with an appropriate --infodir= option.  I believe I even
> filed a bug on it.  That would be #158299.  I think it's reasonable,
> but discussion belongs there, not here.

Not using /var/backups when infodir is given is a different bug than calling
install-info as non-root.

> b) That error is NOT fatal.  Notice:
> > make[3]: *** [install] Error 139
>
> This would be the reason it didn't build from source.  Has nothing to
> do with root or non-root.  I even discussed this with you on IRC at the
> time.

Er, whatever.  The last command run was install-info(which was run as
non-root), and it caused the build to fail.




Reply to: