Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] Error installing  udev  : frugalware ??
@ 2012-01-11 23:32 Sagaert Johan
  2012-01-12  8:10 ` Peter Korsgaard
  0 siblings, 1 reply; 5+ messages in thread
From: Sagaert Johan @ 2012-01-11 23:32 UTC (permalink / raw)
  To: buildroot

Hi

Using 2011.11 :

udev seems to build, but the install fails.

There seems to be no  ?(TOPDIR)/output/build/udev-173/etc/udev/frugalware/*

In my configfile I have

BR2_PACKAGE_UDEV=y
# BR2_PACKAGE_UDEV_ALL_EXTRAS is not set

Error :

Snip ...
mkdir -p /home/johan/buildroot/output/target/etc/udev/rules.d
mkdir -p /home/johan/buildroot/output/target/lib/udev/devices
Making install in libudev/docs
make[4]: Nothing to be done for `install-exec-am'.
-- Installing ./html/api-index-full.html
-- Installing ./html/ch01.html
-- Installing ./html/home.png
-- Installing ./html/index.html
-- Installing ./html/index.sgml
-- Installing ./html/left.png
-- Installing ./html/libudev.devhelp
-- Installing ./html/libudev.devhelp2
-- Installing ./html/libudev-udev-device.html
-- Installing ./html/libudev-udev-enumerate.html
-- Installing ./html/libudev-udev.html
-- Installing ./html/libudev-udev-list.html
-- Installing ./html/libudev-udev-monitor.html
-- Installing ./html/libudev-udev-queue.html
-- Installing ./html/right.png
-- Installing ./html/style.css
-- Installing ./html/up.png
make[1]: Leaving directory `/home/johan/buildroot-2011.11js/output/build/udev-173'
/usr/bin/install -m 0755 package/udev/S10udev /home/johan/buildroot/output/target/etc/init.d
/usr/bin/install -m 0644 /home/johan/buildroot/output/build/udev-173/etc/udev/frugalware/*
/home/johan/buildroot/output/target/etc/udev/rules.d
/usr/bin/install: cannot stat `/home/johan/buildroot/output/build/udev-173/etc/udev/frugalware/*': No such file or directory
make: *** [/home/johan/buildroot/output/build/udev-173/.stamp_target_installed] Error 1

?
Sagaert Johan

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

* [Buildroot] Error installing  udev  : frugalware ??
  2012-01-11 23:32 [Buildroot] Error installing udev : frugalware ?? Sagaert Johan
@ 2012-01-12  8:10 ` Peter Korsgaard
  2012-01-12  9:43   ` Sagaert Johan
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Korsgaard @ 2012-01-12  8:10 UTC (permalink / raw)
  To: buildroot

>>>>> "Sagaert" == Sagaert Johan <sagaert.johan@skynet.be> writes:

 Sagaert> Hi
 Sagaert> Using 2011.11 :

 Sagaert> make[1]: Leaving directory `/home/johan/buildroot-2011.11js/output/build/udev-173'

Looks to be the end of 'make install'

 Sagaert> /usr/bin/install -m 0755 package/udev/S10udev /home/johan/buildroot/output/target/etc/init.d

This is UDEV_INSTALL_INITSCRIPT

 Sagaert> /usr/bin/install -m 0644 /home/johan/buildroot/output/build/udev-173/etc/udev/frugalware/*
 Sagaert> /home/johan/buildroot/output/target/etc/udev/rules.d
 Sagaert> /usr/bin/install: cannot stat `/home/johan/buildroot/output/build/udev-173/etc/udev/frugalware/*': No such file or directory
 Sagaert> make: *** [/home/johan/buildroot/output/build/udev-173/.stamp_target_installed] Error 1

But this isn't. Do you have any local modifications related to this?

-- 
Bye, Peter Korsgaard

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

* [Buildroot] Error installing  udev  : frugalware ??
  2012-01-12  8:10 ` Peter Korsgaard
@ 2012-01-12  9:43   ` Sagaert Johan
  2012-01-12  9:50     ` Peter Korsgaard
  2012-01-12  9:52     ` Thomas Petazzoni
  0 siblings, 2 replies; 5+ messages in thread
From: Sagaert Johan @ 2012-01-12  9:43 UTC (permalink / raw)
  To: buildroot

Hi

I had done not changes, but  I had copied the old release package directory and renamed it udevold

So I had topdir/package/......
                       |udev  (173) 
				|udevold (114)
				|.....

So it seems the buildroot scripts are scanning the package directory and seems to act on it even if it is not included in the
package/Config.in.

Strange, because I did not see anything suspected in the build output.

So I started grep to find out where the frugalware text came from...

Why is the package directory scanned ?

Johan
					
-----Oorspronkelijk bericht-----
Van: Peter Korsgaard [mailto:jacmet at gmail.com] Namens Peter Korsgaard
Verzonden: donderdag 12 januari 2012 9:10
Aan: Sagaert Johan
CC: buildroot at busybox.net
Onderwerp: Re: Error installing udev : frugalware ??

>>>>> "Sagaert" == Sagaert Johan <sagaert.johan@skynet.be> writes:

 Sagaert> Hi
 Sagaert> Using 2011.11 :

 Sagaert> make[1]: Leaving directory `/home/johan/buildroot-2011.11js/output/build/udev-173'

Looks to be the end of 'make install'

 Sagaert> /usr/bin/install -m 0755 package/udev/S10udev /home/johan/buildroot/output/target/etc/init.d

This is UDEV_INSTALL_INITSCRIPT

 Sagaert> /usr/bin/install -m 0644 /home/johan/buildroot/output/build/udev-173/etc/udev/frugalware/*
 Sagaert> /home/johan/buildroot/output/target/etc/udev/rules.d
 Sagaert> /usr/bin/install: cannot stat `/home/johan/buildroot/output/build/udev-173/etc/udev/frugalware/*': No such file or
directory
 Sagaert> make: *** [/home/johan/buildroot/output/build/udev-173/.stamp_target_installed] Error 1

But this isn't. Do you have any local modifications related to this?

-- 
Bye, Peter Korsgaard

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

* [Buildroot] Error installing  udev  : frugalware ??
  2012-01-12  9:43   ` Sagaert Johan
@ 2012-01-12  9:50     ` Peter Korsgaard
  2012-01-12  9:52     ` Thomas Petazzoni
  1 sibling, 0 replies; 5+ messages in thread
From: Peter Korsgaard @ 2012-01-12  9:50 UTC (permalink / raw)
  To: buildroot

>>>>> "Sagaert" == Sagaert Johan <sagaert.johan@skynet.be> writes:

 Sagaert> So I had topdir/package/......
 Sagaert>                        |udev  (173) 
 Sagaert> 				|udevold (114)
 Sagaert> 				|.....

 Sagaert> So it seems the buildroot scripts are scanning the package directory and seems to act on it even if it is not included in the
 Sagaert> package/Config.in.

Yes, *.mk files are included using a wildcard:

include package/*/*.mk

 Sagaert> Strange, because I did not see anything suspected in the build output.

 Sagaert> So I started grep to find out where the frugalware text came from...

 Sagaert> Why is the package directory scanned ?

Because it's the simplest possible implementation. For the Config.in
files we want a specific order in menuconfig (and mconf doesn't support
wildcards), but make does.

-- 
Bye, Peter Korsgaard

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

* [Buildroot] Error installing  udev  : frugalware ??
  2012-01-12  9:43   ` Sagaert Johan
  2012-01-12  9:50     ` Peter Korsgaard
@ 2012-01-12  9:52     ` Thomas Petazzoni
  1 sibling, 0 replies; 5+ messages in thread
From: Thomas Petazzoni @ 2012-01-12  9:52 UTC (permalink / raw)
  To: buildroot

Le Thu, 12 Jan 2012 10:43:38 +0100,
"Sagaert Johan" <sagaert.johan@skynet.be> a ?crit :

> Why is the package directory scanned ?

Because the main Makefile does:

include package/*/*.mk

The inclusion of the Config.in file has nothing to do with the
inclusion of the .mk files. Config.in files must be explicitly included
by package/Config.in, while all .mk file in subdirectories of package/
are automatically included.

Regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

end of thread, other threads:[~2012-01-12  9:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-11 23:32 [Buildroot] Error installing udev : frugalware ?? Sagaert Johan
2012-01-12  8:10 ` Peter Korsgaard
2012-01-12  9:43   ` Sagaert Johan
2012-01-12  9:50     ` Peter Korsgaard
2012-01-12  9:52     ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox