* [Buildroot] linux-fusion build failure @ 2009-12-08 3:33 Nicolae T 2009-12-08 14:54 ` Chris Packham 0 siblings, 1 reply; 3+ messages in thread From: Nicolae T @ 2009-12-08 3:33 UTC (permalink / raw) To: buildroot Hi all, Can anyone explain what's going on here with linux-fusion build failing here? Thanks cat: /home/nicolae/buildroot7Dec/output/build/.linux-version: No such file or directory cat: /home/nicolae/buildroot7Dec/output/build/.linux-version: No such file or directory cat: /home/nicolae/buildroot7Dec/output/build/.linux-version: No such file or directory cat: /home/nicolae/buildroot7Dec/output/build/.linux-version: No such file or directory expr: syntax error make[1]: Entering directory `/home/nicolae/buildroot7Dec/output/build/linux-fusion-8.0.2' rm -f linux/drivers/char/fusion/Makefile ln -s Makefile-2. linux/drivers/char/fusion/Makefile /usr/bin/make -C /home/nicolae/buildroot7Dec/output/build/linux- \ ARCH=arm \ CC=/home/nicolae/buildroot7Dec/output/staging/usr/bin/arm-linux-uclibcgnueabi-gcc \ AS=/home/nicolae/buildroot7Dec/output/staging/usr/bin/arm-linux-uclibcgnueabi-as \ CPPFLAGS=" \ -I`pwd`/linux/include \ -I/home/nicolae/buildroot7Dec/output/build/linux-/include \ -I/home/nicolae/buildroot7Dec/output/build/linux-/include \ -I/home/nicolae/buildroot7Dec/output/build/linux-/arch/arm/include \ " \ SUBDIRS=`pwd`/linux/drivers/char/fusion modules make: Entering an unknown directory make: *** /home/nicolae/buildroot7Dec/output/build/linux-: No such file or directory. Stop. make: Leaving an unknown directory make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/nicolae/buildroot7Dec/output/build/linux-fusion-8.0.2' make: *** [/home/nicolae/buildroot7Dec/output/build/linux-fusion-8.0.2/.install] Error 2 nicolae at RoadRunner:~/buildroot7Dec$ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20091207/8c46ac1c/attachment.htm> ^ permalink raw reply [flat|nested] 3+ messages in thread
* [Buildroot] linux-fusion build failure 2009-12-08 3:33 [Buildroot] linux-fusion build failure Nicolae T @ 2009-12-08 14:54 ` Chris Packham 2009-12-08 22:18 ` Nicolae T 0 siblings, 1 reply; 3+ messages in thread From: Chris Packham @ 2009-12-08 14:54 UTC (permalink / raw) To: buildroot Hi, On Mon, Dec 7, 2009 at 10:33 PM, Nicolae T <microvis@cox.net> wrote: > Hi all, > > Can anyone explain what's going on here with linux-fusion build failing > here? > Thanks I can provide my interpretation of the error messages although I will caveat that I haven't actually tried building linux-fusion. > cat: /home/nicolae/buildroot7Dec/output/build/.linux-version: No such file > or directory In package/linux-fusion/linux-fusion.mk it tries to determine the linux version from a magic file '.linux_version' which in your environment doesn't appear to exist. This is created by 'make linux26-version' and/or 'make linux26'. In my environment the magic file is there. Linux-fusion does appear to have a dependency on linux26 so that _should_ have done the trick. Maybe something got cleaned? Anyway 'make linux26-version' should put the file back. > make[1]: Entering directory > `/home/nicolae/buildroot7Dec/output/build/linux-fusion-8.0.2' > rm -f linux/drivers/char/fusion/Makefile > ln -s Makefile-2. linux/drivers/char/fusion/Makefile > /usr/bin/make -C /home/nicolae/buildroot7Dec/output/build/linux- \ This is wrong. Probably because the kernel version could not be determined this should be something like linux-2.6.30.2 (or whatever your actual kernel is) > ARCH=arm \ > CC=/home/nicolae/buildroot7Dec/output/staging/usr/bin/arm-linux-uclibcgnueabi-gcc > \ > AS=/home/nicolae/buildroot7Dec/output/staging/usr/bin/arm-linux-uclibcgnueabi-as > \ > CPPFLAGS=" \ > -I`pwd`/linux/include \ > -I/home/nicolae/buildroot7Dec/output/build/linux-/include \ > -I/home/nicolae/buildroot7Dec/output/build/linux-/include \ > -I/home/nicolae/buildroot7Dec/output/build/linux-/arch/arm/include \ > " \ > SUBDIRS=`pwd`/linux/drivers/char/fusion modules > make: Entering an unknown directory > make: *** /home/nicolae/buildroot7Dec/output/build/linux-: No such file or > directory.? Stop. This is the actual error message in the sub-make because it couldn't find the directory to change to. > make: Leaving an unknown directory > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/home/nicolae/buildroot7Dec/output/build/linux-fusion-8.0.2' > make: *** > [/home/nicolae/buildroot7Dec/output/build/linux-fusion-8.0.2/.install] Error > 2 And this is a flow-on error from the one above. Taking a closer look at my environment I don't think linux-fusion would build for me either because `cat output/build/.linux-version` gives 2.6.30.2-00249-g25a3f99 but `ls output/build/ | grep linux` gives linux-2.6.30.2 At a guess I'd suggest the following patch but its completely untested. -------8<------- From: Chris Packham <judge.packham@gmail.com> Date: Tue, 8 Dec 2009 09:44:13 -0500 Subject: [PATCH] linux-fusion: use buildroots kernel version Signed-off-by: Chris Packham <judge.packham@gmail.com> --- package/linux-fusion/linux-fusion.mk | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/package/linux-fusion/linux-fusion.mk b/package/linux-fusion/linux-fusion.mk index 058e965..85b9c10 100644 --- a/package/linux-fusion/linux-fusion.mk +++ b/package/linux-fusion/linux-fusion.mk @@ -13,7 +13,7 @@ LINUX_FUSION_INSTALL_TARGET = YES # BR2_LINUX26_VERSION is not really dependable # LINUX26_VERSION is not yet set. # Retrieve REAL kernel version from file. -LINUX_FOR_FUSION=`cat $(BUILD_DIR)/.linux-version` +LINUX_FOR_FUSION=BR2_KERNEL_CURRENT_VERSION LINUX_FUSION_DIR:=$(BUILD_DIR)/linux-fusion-$(LINUX_FUSION_VERSION) LINUX_FUSION_ETC_DIR:=$(TARGET_DIR)/etc/udev/rules.d -- 1.6.4.2 -------8<------- ^ permalink raw reply related [flat|nested] 3+ messages in thread
* [Buildroot] linux-fusion build failure 2009-12-08 14:54 ` Chris Packham @ 2009-12-08 22:18 ` Nicolae T 0 siblings, 0 replies; 3+ messages in thread From: Nicolae T @ 2009-12-08 22:18 UTC (permalink / raw) To: buildroot Thank you. Indeed, there is no .linux-version anywhere. Worse, can't find neither linux26-version nor linux26 make files. Again, kernel .config used is @ custom location and is just a copy form arch specific set. I've turned off DirectFB option but it still attempts building linux-fusion package. On Tue, 2009-12-08 at 09:54 -0500, Chris Packham wrote: > Hi, > > On Mon, Dec 7, 2009 at 10:33 PM, Nicolae T <microvis@cox.net> wrote: > > Hi all, > > > > Can anyone explain what's going on here with linux-fusion build failing > > here? > > Thanks > > I can provide my interpretation of the error messages although I will > caveat that I haven't actually tried building linux-fusion. > > > cat: /home/nicolae/buildroot7Dec/output/build/.linux-version: No such file > > or directory > > In package/linux-fusion/linux-fusion.mk it tries to determine the > linux version from a magic file '.linux_version' which in your > environment doesn't appear to exist. > > This is created by 'make linux26-version' and/or 'make linux26'. In my > environment the magic file is there. Linux-fusion does appear to have > a dependency on linux26 so that _should_ have done the trick. Maybe > something got cleaned? Anyway 'make linux26-version' should put the > file back. > > > make[1]: Entering directory > > `/home/nicolae/buildroot7Dec/output/build/linux-fusion-8.0.2' > > rm -f linux/drivers/char/fusion/Makefile > > ln -s Makefile-2. linux/drivers/char/fusion/Makefile > > /usr/bin/make -C /home/nicolae/buildroot7Dec/output/build/linux- \ > > This is wrong. Probably because the kernel version could not be > determined this should be something like linux-2.6.30.2 (or whatever > your actual kernel is) > > > ARCH=arm \ > > CC=/home/nicolae/buildroot7Dec/output/staging/usr/bin/arm-linux-uclibcgnueabi-gcc > > \ > > AS=/home/nicolae/buildroot7Dec/output/staging/usr/bin/arm-linux-uclibcgnueabi-as > > \ > > CPPFLAGS=" \ > > -I`pwd`/linux/include \ > > -I/home/nicolae/buildroot7Dec/output/build/linux-/include \ > > -I/home/nicolae/buildroot7Dec/output/build/linux-/include \ > > -I/home/nicolae/buildroot7Dec/output/build/linux-/arch/arm/include \ > > " \ > > SUBDIRS=`pwd`/linux/drivers/char/fusion modules > > > make: Entering an unknown directory > > make: *** /home/nicolae/buildroot7Dec/output/build/linux-: No such file or > > directory. Stop. > > This is the actual error message in the sub-make because it couldn't > find the directory to change to. > > > make: Leaving an unknown directory > > make[1]: *** [all] Error 2 > > make[1]: Leaving directory > > `/home/nicolae/buildroot7Dec/output/build/linux-fusion-8.0.2' > > make: *** > > [/home/nicolae/buildroot7Dec/output/build/linux-fusion-8.0.2/.install] Error > > 2 > > And this is a flow-on error from the one above. > > Taking a closer look at my environment I don't think linux-fusion > would build for me either because `cat output/build/.linux-version` > gives 2.6.30.2-00249-g25a3f99 but `ls output/build/ | grep linux` > gives linux-2.6.30.2 > > At a guess I'd suggest the following patch but its completely untested. > > -------8<------- > From: Chris Packham <judge.packham@gmail.com> > Date: Tue, 8 Dec 2009 09:44:13 -0500 > Subject: [PATCH] linux-fusion: use buildroots kernel version > > Signed-off-by: Chris Packham <judge.packham@gmail.com> > --- > package/linux-fusion/linux-fusion.mk | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/package/linux-fusion/linux-fusion.mk > b/package/linux-fusion/linux-fusion.mk > index 058e965..85b9c10 100644 > --- a/package/linux-fusion/linux-fusion.mk > +++ b/package/linux-fusion/linux-fusion.mk > @@ -13,7 +13,7 @@ LINUX_FUSION_INSTALL_TARGET = YES > # BR2_LINUX26_VERSION is not really dependable > # LINUX26_VERSION is not yet set. > # Retrieve REAL kernel version from file. > -LINUX_FOR_FUSION=`cat $(BUILD_DIR)/.linux-version` > +LINUX_FOR_FUSION=BR2_KERNEL_CURRENT_VERSION > > LINUX_FUSION_DIR:=$(BUILD_DIR)/linux-fusion-$(LINUX_FUSION_VERSION) > LINUX_FUSION_ETC_DIR:=$(TARGET_DIR)/etc/udev/rules.d > -- > 1.6.4.2 > -------8<------- -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20091208/d0a389c7/attachment.htm> ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-12-08 22:18 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2009-12-08 3:33 [Buildroot] linux-fusion build failure Nicolae T 2009-12-08 14:54 ` Chris Packham 2009-12-08 22:18 ` Nicolae T
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox