Skip to contentSkip to conversation

Error installing udev : frugalware ??

Buildroot Sagaert Johan 3 participants 5 messages Jan 11, 2012 – Jan 12, 2012

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Sagaert" == Sagaert Johan <[email protected]> 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?

Signature · 1 line
Bye, Peter Korsgaard
#2 lore raw

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 ??

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Sagaert" == Sagaert Johan <[email protected]> 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?

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Sagaert" == Sagaert Johan <[email protected]> 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.

Signature · 1 line
Bye, Peter Korsgaard
#4 lore raw
In reply to Sagaert Johan

Le Thu, 12 Jan 2012 10:43:38 +0100, "Sagaert Johan" <[email protected]> a ?crit :

Quoted 1 line

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

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