Ah I think it (the tmpfile isn't created) because /usr/bin/screen is 2755 in Ubuntu 16.04 but 755 in Ubuntu 18.04. Here's the change between the two releases.
override_dh_auto_install:
- # can't call the normal install target b/c it installs the info files
- # and other crud
- $(MAKE) prefix=$(ROOT)/usr SCREENENCODINGS='$$(prefix)/share/screen/utf8encodings' installdirs install_bin
- # hack around the fact that the install target makes screen a symlink to screen-$$(VERSION)
- rm -f $(ROOT)/usr/bin/screen
- mv -f $(ROOT)/usr/bin/screen* $(ROOT)/usr/bin/screen
- # make it setgid utmp
- chown root:utmp $(ROOT)/usr/bin/screen
- chmod 2755 $(ROOT)/usr/bin/screen
+ # can't call the normal install target b/c it installs the
+ # info files and other crud
+ cd build; $(MAKE) prefix=$(ROOT)/usr SCREENENCODINGS='$$(prefix)/share/screen/utf8encodings' installdirs install_bin
+ cd build-udeb; $(MAKE) prefix=$(ROOT_UDEB)/usr SCREENENCODINGS='$$(prefix)/share/screen/utf8encodings' installdirs install_bin
+ # hack around the fact that the install target makes screen a
+ # symlink to screen-$$(VERSION)
+ rm -f $(ROOT)/usr/bin/screen $(ROOT_UDEB)/usr/bin/screen
+ mv -f $(ROOT)/usr/bin/screen* $(ROOT)/usr/bin/screen
+ mv -f $(ROOT_UDEB)/usr/bin/screen* $(ROOT_UDEB)/usr/bin/screen
+ # make it setgid utmp only in udeb
+ chown root:utmp $(ROOT_UDEB)/usr/bin/screen
+ chmod 2755 $(ROOT_UDEB)/usr/bin/screen
+ chmod 755 $(ROOT)/usr/bin/screen
Ah I think it (the tmpfile isn't created) because /usr/bin/screen is 2755 in Ubuntu 16.04 but 755 in Ubuntu 18.04. Here's the change between the two releases.
override_ dh_auto_ install: ='$$(prefix) /share/ screen/ utf8encodings' installdirs install_bin /usr/bin/ screen /usr/bin/ screen* $(ROOT) /usr/bin/ screen /usr/bin/ screen /usr/bin/ screen ='$$(prefix) /share/ screen/ utf8encodings' installdirs install_bin $(ROOT_ UDEB)/usr SCREENENCODINGS ='$$(prefix) /share/ screen/ utf8encodings' installdirs install_bin /usr/bin/ screen $(ROOT_ UDEB)/usr/ bin/screen /usr/bin/ screen* $(ROOT) /usr/bin/ screen UDEB)/usr/ bin/screen* $(ROOT_ UDEB)/usr/ bin/screen UDEB)/usr/ bin/screen UDEB)/usr/ bin/screen /usr/bin/ screen
- # can't call the normal install target b/c it installs the info files
- # and other crud
- $(MAKE) prefix=$(ROOT)/usr SCREENENCODINGS
- # hack around the fact that the install target makes screen a symlink to screen-$$(VERSION)
- rm -f $(ROOT)
- mv -f $(ROOT)
- # make it setgid utmp
- chown root:utmp $(ROOT)
- chmod 2755 $(ROOT)
+ # can't call the normal install target b/c it installs the
+ # info files and other crud
+ cd build; $(MAKE) prefix=$(ROOT)/usr SCREENENCODINGS
+ cd build-udeb; $(MAKE) prefix=
+ # hack around the fact that the install target makes screen a
+ # symlink to screen-$$(VERSION)
+ rm -f $(ROOT)
+ mv -f $(ROOT)
+ mv -f $(ROOT_
+ # make it setgid utmp only in udeb
+ chown root:utmp $(ROOT_
+ chmod 2755 $(ROOT_
+ chmod 755 $(ROOT)