All of lore.kernel.org
 help / color / mirror / Atom feed
* make install bug?
@ 2002-04-06 15:15 Dale Amon
  2002-04-06 15:34 ` Dale Amon
  2002-04-06 15:50 ` Keith Owens
  0 siblings, 2 replies; 6+ messages in thread
From: Dale Amon @ 2002-04-06 15:15 UTC (permalink / raw)
  To: linux-kernel

When building kernels for my servers I have always done this:

	make INSTALL_MOD_PATH=/usr/src/<target-hostname> modules_install

to dump all the modules into an easily tarballable directory 
to be scp'd to the target host.

However for some reason today it's tried to do a depmod on the 
kernel building machine:

make -C  arch/i386/lib modules_install
make[1]: Entering directory `/VNetLinux/linux-2.4.18/arch/i386/lib'
make[1]: Nothing to be done for `modules_install'.
make[1]: Leaving directory `/VNetLinux/linux-2.4.18/arch/i386/lib'
cd /VNetLinux/scout/lib/modules/2.4.18; \
mkdir -p pcmcia; \
find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} pcmcia
if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b /VNetLinux/scout -r 2.4.18; fi
depmod: *** Unresolved symbols in /VNetLinux/scout/lib/modules/2.4.18/pcmcia/3c575_cb.o
depmod:         pcibios_read_config_byte
depmod:         pcibios_write_config_word
depmod:         pcibios_read_config_dword
depmod:         pcibios_write_config_byte
depmod:         pcibios_write_config_dword
depmod:         pcibios_read_config_word
depmod: *** Unresolved symbols in /VNetLinux/scout/lib/modules/2.4.18/pcmcia/aha152x_cs.o
depmod:         print_msg
depmod:         scsi_command_size
depmod:         scsi_unregister_module
depmod:         scsicam_bios_param
	And so forth....


I'm not sure why this started happening, but it isn't nice
behavior at all. I'd call it a bug as I can't imagine why
I'd want a depmod to occur on the build machine.

Have I managed to tickle something that should not be 
happening?






^ permalink raw reply	[flat|nested] 6+ messages in thread
* make install bug?
@ 2005-12-12 15:35 eschvoca
  2005-12-12 17:54 ` Junio C Hamano
  0 siblings, 1 reply; 6+ messages in thread
From: eschvoca @ 2005-12-12 15:35 UTC (permalink / raw)
  To: git

Using the latest git on "make prefix=/home/eschvoca/apps/git-0.99.9m
install" I get the following error:

make[1]: Entering directory `/home/eschvoca/downloads/git-0.99.9m/templates'
: no custom templates yet
install -d -m755 '/home/eschvoca/share/git-core/templates/'
(cd blt && tar cf - .) | \
(cd '/home/eschvoca/share/git-core/templates/' && tar xf -)
tar: This does not look like a tar archive
tar: Skipping to next header
tar: Error exit delayed from previous errors
make[1]: *** [install] Error 2


I can fix the problem by changing templates/Makefile to the following:

install: all
    $(INSTALL) -d -m755 $(call shellquote,$(DESTDIR)$(template_dir))
    (cd blt && $(TAR) cf - . > /tmp/a.tar) | \
    (cd $(call shellquote,$(DESTDIR)$(template_dir)) && $(TAR) xf /tmp/a.tar)

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

end of thread, other threads:[~2005-12-16 15:06 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-06 15:15 make install bug? Dale Amon
2002-04-06 15:34 ` Dale Amon
2002-04-06 15:50 ` Keith Owens
  -- strict thread matches above, loose matches on Subject: below --
2005-12-12 15:35 eschvoca
2005-12-12 17:54 ` Junio C Hamano
2005-12-16 15:06   ` eschvoca

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.