screen-devel
[Top][All Lists]
Advanced

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

[screen-devel] [bug #48370] `make install` ignores destination directory


From: Paul Menzel
Subject: [screen-devel] [bug #48370] `make install` ignores destination directory causing installation to fail
Date: Fri, 1 Jul 2016 21:30:38 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Firefox/45.0

URL:
  <http://savannah.gnu.org/bugs/?48370>

                 Summary: `make install` ignores destination directory causing
installation to fail
                 Project: GNU Screen
            Submitted by: paulmenzel
            Submitted on: Fri 01 Jul 2016 09:30:36 PM GMT
                Category: Build/Install
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.4.0
           Fixed Release: None
         Planned Release: None
           Work Required: None

    _______________________________________________________

Details:

Trying to build GNU Screen with a different build directory, doesn’t seem to
work, as it tries to touch files on the build system installation, which is
not wanted in this case..

```
$ /dev/shm/bee-root/screen/screen-4.4.0-0/source/configure --prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec
--sysconfdir=/etc --sharedstatedir=/var --localstatedir=/var --libdir=/usr/lib
--includedir=/usr/include --datarootdir=/usr/share --datadir=/usr/share
--infodir=/usr/share/info --localedir=/usr/share/locale
--mandir=/usr/share/man --docdir=/usr/share/doc/screen --exec-prefix=/usr
--with-socket-dir=/run/uscreens --with-pty-group=5
--with-sys-screenrc=/etc/screenrc
$ make -j
$ make -j install DESTDIR=/dev/shm/bee-root/screen/screen-4.4.0-0/image
/dev/shm/bee-root/screen/screen-4.4.0-0/source/etc/mkinstalldirs
/dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/bin
/dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/share/screen/utf8encodings
mkdir /dev/shm/bee-root/screen/screen-4.4.0-0/image/usr
mkdir /dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/bin
mkdir /dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/share
mkdir /dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/share/screen
mkdir
/dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/share/screen/utf8encodings
cd doc ; make installdirs
make[1]: Entering directory
'/dev/shm/bee-root/screen/screen-4.4.0-0/build/doc'
/dev/shm/bee-root/screen/screen-4.4.0-0/source/doc/../etc/mkinstalldirs
/dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/share/man/man1
/dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/share/info
if [ -f /dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/bin/screen-4.4.0 ]
&& [ ! -f
/dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/bin/screen-4.4.0.old ]; \
        then mv 
/dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/bin/screen-4.4.0
/dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/bin/screen-4.4.0.old; fi
/usr/bin/install -c screen
/dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/bin/screen-4.4.0
mkdir /dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/share/man
mkdir /dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/share/man/man1
chown root /dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/bin/screen-4.4.0
&& chmod 4755
/dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/bin/screen-4.4.0
mkdir /dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/share/info
chown: changing ownership of
‘/dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/bin/screen-4.4.0’:
Operation not permitted
Makefile:86: recipe for target 'install_bin' failed
make: [install_bin] Error 1 (ignored)
if [ -f /dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/bin/screen ] && [ !
-f /dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/bin/screen.old ]; then mv
/dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/bin/screen
/dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/bin/screen.old; fi
make[1]: Leaving directory
'/dev/shm/bee-root/screen/screen-4.4.0-0/build/doc'
rm -f /dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/bin/screen
(cd /dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/bin && ln -f -s
screen-4.4.0 screen)
cp /dev/shm/bee-root/screen/screen-4.4.0-0/source/utf8encodings/??
/dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/share/screen/utf8encodings
cd doc ; make install
make[1]: Entering directory
'/dev/shm/bee-root/screen/screen-4.4.0-0/build/doc'
/dev/shm/bee-root/screen/screen-4.4.0-0/source/doc/../etc/mkinstalldirs
/dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/share/man/man1
/dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/share/info
/usr/bin/install -c -m 644
/dev/shm/bee-root/screen/screen-4.4.0-0/source/doc/screen.1
/dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/share/man/man1/screen.1
make screen.info
make[2]: Entering directory
'/dev/shm/bee-root/screen/screen-4.4.0-0/build/doc'
makeinfo /dev/shm/bee-root/screen/screen-4.4.0-0/source/doc/screen.texinfo -o
screen.info
make[2]: Leaving directory
'/dev/shm/bee-root/screen/screen-4.4.0-0/build/doc'
if test -f screen.info; then d=.; else
d=/dev/shm/bee-root/screen/screen-4.4.0-0/source/doc; fi; \
if test -f $d/screen.info; then \
for f in $d/screen.info*; do /usr/bin/install -c -m 644 $f
/dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/share/info;done; \
if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \
  install-info
--info-dir=/dev/shm/bee-root/screen/screen-4.4.0-0/image/usr/share/info
$d/screen.info; \
else true; fi; \
fi
[…]
make[1]: Leaving directory
'/dev/shm/bee-root/screen/screen-4.4.0-0/build/doc'
if [ -d /usr/lib/terminfo ]; then \
        PATH="$PATH:/usr/5bin" tic
/dev/shm/bee-root/screen/screen-4.4.0-0/source/terminfo/screeninfo.src; \
        chmod 644 /usr/lib/terminfo/s/screen*; \
fi
chmod: changing permissions of ‘/usr/lib/terminfo/s/screen’: Operation not
permitted
chmod: changing permissions of ‘/usr/lib/terminfo/s/screen+fkeys’:
Operation not permitted
chmod: changing permissions of ‘/usr/lib/terminfo/s/screen-16color’:
Operation not permitted
chmod: changing permissions of ‘/usr/lib/terminfo/s/screen-16color-bce’:
Operation not permitted
chmod: changing permissions of ‘/usr/lib/terminfo/s/screen-16color-bce-s’:
Operation not permitted
chmod: changing permissions of ‘/usr/lib/terminfo/s/screen-16color-s’:
Operation not permitted
chmod: changing permissions of ‘/usr/lib/terminfo/s/screen-256color’:
Operation not permitted
chmod: changing permissions of ‘/usr/lib/terminfo/s/screen-256color-bce’:
Operation not permitted
chmod: changing permissions of
‘/usr/lib/terminfo/s/screen-256color-bce-s’: Operation not permitted
chmod: changing permissions of ‘/usr/lib/terminfo/s/screen-256color-s’:
Operation not permitted
chmod: changing permissions of ‘/usr/lib/terminfo/s/screen-bce’: Operation
not permitted
chmod: changing permissions of ‘/usr/lib/terminfo/s/screen-s’: Operation
not permitted
chmod: changing permissions of ‘/usr/lib/terminfo/s/screen-w’: Operation
not permitted
chmod: changing permissions of ‘/usr/lib/terminfo/s/screen.linux’:
Operation not permitted
chmod: changing permissions of ‘/usr/lib/terminfo/s/screen.mlterm’:
Operation not permitted
chmod: changing permissions of ‘/usr/lib/terminfo/s/screen.rxvt’:
Operation not permitted
chmod: changing permissions of ‘/usr/lib/terminfo/s/screen.teraterm’:
Operation not permitted
chmod: changing permissions of ‘/usr/lib/terminfo/s/screen.xterm-new’:
Operation not permitted
chmod: changing permissions of ‘/usr/lib/terminfo/s/screen.xterm-r6’:
Operation not permitted
chmod: changing permissions of ‘/usr/lib/terminfo/s/screen.xterm-xfree86’:
Operation not permitted
chmod: changing permissions of ‘/usr/lib/terminfo/s/screen2’: Operation
not permitted
chmod: changing permissions of ‘/usr/lib/terminfo/s/screen3’: Operation
not permitted
Makefile:98: recipe for target 'install' failed
make: [install] Error 1 (ignored)
termcap entry
(/dev/shm/bee-root/screen/screen-4.4.0-0/source/terminfo/screencap) should be
installed manually.
You may also want to install
/dev/shm/bee-root/screen/screen-4.4.0-0/source/etc/etcscreenrc in
/etc/screenrc
```




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48370>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]