* [Buildroot] make clean in topdir tries to remove host /usr/bin/patch :(
@ 2007-08-19 19:02 Cristian Ionescu-Idbohrn
2007-08-19 22:19 ` Ulf Samuelsson
0 siblings, 1 reply; 2+ messages in thread
From: Cristian Ionescu-Idbohrn @ 2007-08-19 19:02 UTC (permalink / raw)
To: buildroot
Odd...
make[1]: Entering directory `buildroot/build_i486/openntpd-3.9p1'
rm -f ntpd.o buffer.o log.o imsg.o ntp.o ntp_msg.o config.o server.o
client.o util.o y.tab.o ntpd openbsd-compat/*.o openbsd-compat/*.a \
configure.lineno config.h.in~ ntpd.8.out ntpd.conf.5.out
make[1]: Leaving directory `buildroot/build_i486/openntpd-3.9p1'
/usr/bin/make -j1 DESTDIR=buildroot/project_build_i486/uclibc/root
CC=buildroot/build_i486/staging_dir/usr/bin/i486-linux-uclibc-gcc
-C buildroot/build_i486/patch-2.5.9 uninstall
make[1]: Entering directory `buildroot/build_i486/patch-2.5.9'
rm -f /usr/bin/`echo patch | sed 's,x,x,'`
rm: cannot remove `/usr/bin/patch': Permission denied
make[1]: *** [uninstall] Error 1
Cheers,
--
Cristian
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] make clean in topdir tries to remove host /usr/bin/patch :(
2007-08-19 19:02 [Buildroot] make clean in topdir tries to remove host /usr/bin/patch :( Cristian Ionescu-Idbohrn
@ 2007-08-19 22:19 ` Ulf Samuelsson
0 siblings, 0 replies; 2+ messages in thread
From: Ulf Samuelsson @ 2007-08-19 22:19 UTC (permalink / raw)
To: buildroot
s?n 2007-08-19 klockan 21:02 +0200 skrev Cristian Ionescu-Idbohrn:
> Odd...
>
> make[1]: Entering directory `buildroot/build_i486/openntpd-3.9p1'
> rm -f ntpd.o buffer.o log.o imsg.o ntp.o ntp_msg.o config.o server.o
> client.o util.o y.tab.o ntpd openbsd-compat/*.o openbsd-compat/*.a \
> configure.lineno config.h.in~ ntpd.8.out ntpd.conf.5.out
> make[1]: Leaving directory `buildroot/build_i486/openntpd-3.9p1'
>
> /usr/bin/make -j1 DESTDIR=buildroot/project_build_i486/uclibc/root
> CC=buildroot/build_i486/staging_dir/usr/bin/i486-linux-uclibc-gcc
> -C buildroot/build_i486/patch-2.5.9 uninstall
> make[1]: Entering directory `buildroot/build_i486/patch-2.5.9'
> rm -f /usr/bin/`echo patch | sed 's,x,x,'`
> rm: cannot remove `/usr/bin/patch': Permission denied
> make[1]: *** [uninstall] Error 1
>
>
These are the rules in the Makefile
uninstall::
rm -f $(bindir)/$(patch_name)$(EXEEXT)
rm -f $(man1dir)/$(patch_name)$(man1ext)
patch_name = `echo patch | sed '$(transform)'`
transform = s,x,x,
prefix = /usr
exec_prefix = /usr
bindir = $(exec_prefix)/bin
Search for DEST_DIR in patch build directory gives no result...
----
It is therefore wrong the make -C PATCHDIR "uninstall"
BR
Ulf Samuelsson
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-19 22:19 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-19 19:02 [Buildroot] make clean in topdir tries to remove host /usr/bin/patch :( Cristian Ionescu-Idbohrn
2007-08-19 22:19 ` Ulf Samuelsson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox