* [Buildroot] build error: "fixdep: permission denied"
@ 2013-02-20 16:22 Joe Halpin
2013-02-20 16:55 ` Peter Korsgaard
0 siblings, 1 reply; 6+ messages in thread
From: Joe Halpin @ 2013-02-20 16:22 UTC (permalink / raw)
To: buildroot
When I try to build, I've been getting either this error or "... fixdep: not found". After I get this error, if I run make again, it all completes with no other errors.
When I look at the directory, fixdep is there, and has the required permissions. I haven't been able to divine the problem from looking at the makefiles, so if anyone can point me in the right direction I'd appreciate it.
I've been googling this, but haven't found a solution yet. I've seen this in 2012.11, 2012.11.1 and 2013.02_rc2.
Here's example output:
>>> Installing kernel headers
(cd /opt/test/buildroot-2013.02_rc2/output/toolchain/linux-3.2.38; \
/usr/bin/make -j4 ARCH=i386 \
HOSTCC="/usr/bin/gcc" HOSTCFLAGS="" \
HOSTCXX="/usr/bin/g++" \
INSTALL_HDR_PATH=/opt/test/buildroot-2013.02_rc2/output/toolchain/linux headers_install; \
)
make[1]: Entering directory `/opt/test/buildroot-2013.02_rc2/output/toolchain/linux-3.2.38'
CHK include/linux/version.h
UPD include/linux/version.h
HOSTCC arch/x86/tools/relocs
HOSTCC scripts/basic/fixdep
/bin/sh: 1: scripts/basic/fixdep: Permission denied
make[2]: *** [arch/x86/tools/relocs] Error 126
make[1]: *** [archscripts] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/opt/test/buildroot-2013.02_rc2/output/toolchain/linux-3.2.38'
make: *** [/opt/test/buildroot-2013.02_rc2/output/toolchain/linux/.configured] Error 2
opus$ ls -l output/toolchain/linux-3.2.38/scripts/basic
total 32
-rw-rw-r-- 1 jhalpin jhalpin 671 Feb 5 22:33 Makefile
-rwxrwxr-x 1 jhalpin jhalpin 12602 Feb 20 06:21 fixdep*
-rw-rw-r-- 1 jhalpin jhalpin 10782 Feb 5 22:33 fixdep.c
Thanks
Joe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20130220/a1a3e683/attachment.html>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] build error: "fixdep: permission denied"
2013-02-20 16:22 [Buildroot] build error: "fixdep: permission denied" Joe Halpin
@ 2013-02-20 16:55 ` Peter Korsgaard
2013-02-20 19:13 ` Joe Halpin
0 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2013-02-20 16:55 UTC (permalink / raw)
To: buildroot
>>>>> "Joe" == Joe Halpin <jhalpin@luminatorusa.com> writes:
Joe> When I try to build, I've been getting either this error or "... fixdep: not
Joe> found". After I get this error, if I run make again, it all completes with no
Joe> other errors.
Joe> When I look at the directory, fixdep is there, and has the required
Joe> permissions. I haven't been able to divine the problem from looking at the
Joe> makefiles, so if anyone can point me in the right direction I'd appreciate it.
Joe> I've been googling this, but haven't found a solution yet. I've seen this in
Joe> 2012.11, 2012.11.1 and 2013.02_rc2.
Funky. Could you please provide some more details about your build setup
(Linux distribution, file system, ..)?
Does it work if you build it in your homedir instead?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] build error: "fixdep: permission denied"
2013-02-20 16:55 ` Peter Korsgaard
@ 2013-02-20 19:13 ` Joe Halpin
2013-02-20 20:10 ` Peter Korsgaard
0 siblings, 1 reply; 6+ messages in thread
From: Joe Halpin @ 2013-02-20 19:13 UTC (permalink / raw)
To: buildroot
I'm using Xubuntu 12.04, with ext4 file system.
And you're right, it doesn't happen when I build in my home directory. I'm not sure what that means, everything under /opt is owned by me.
Thanks
Joe
-----Original Message-----
From: Peter Korsgaard [mailto:jacmet at gmail.com] On Behalf Of Peter Korsgaard
Sent: Wednesday, February 20, 2013 10:55 AM
To: Joe Halpin
Cc: buildroot at busybox.net
Subject: Re: build error: "fixdep: permission denied"
>>>>> "Joe" == Joe Halpin <jhalpin@luminatorusa.com> writes:
Joe> When I try to build, I've been getting either this error or "... fixdep: not
Joe> found". After I get this error, if I run make again, it all completes with no
Joe> other errors.
Joe> When I look at the directory, fixdep is there, and has the required
Joe> permissions. I haven't been able to divine the problem from looking at the
Joe> makefiles, so if anyone can point me in the right direction I'd appreciate it.
Joe> I've been googling this, but haven't found a solution yet. I've seen this in
Joe> 2012.11, 2012.11.1 and 2013.02_rc2.
Funky. Could you please provide some more details about your build setup
(Linux distribution, file system, ..)?
Does it work if you build it in your homedir instead?
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] build error: "fixdep: permission denied"
2013-02-20 19:13 ` Joe Halpin
@ 2013-02-20 20:10 ` Peter Korsgaard
2013-02-20 20:12 ` Joe Halpin
0 siblings, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2013-02-20 20:10 UTC (permalink / raw)
To: buildroot
>>>>> "Joe" == Joe Halpin <jhalpin@luminatorusa.com> writes:
Joe> I'm using Xubuntu 12.04, with ext4 file system.
Joe> And you're right, it doesn't happen when I build in my home
Joe> directory. I'm not sure what that means, everything under /opt is
Joe> owned by me.
Odd. Could you paste output of:
cat /proc/mounts
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] build error: "fixdep: permission denied"
2013-02-20 20:10 ` Peter Korsgaard
@ 2013-02-20 20:12 ` Joe Halpin
2013-02-20 20:56 ` Peter Korsgaard
0 siblings, 1 reply; 6+ messages in thread
From: Joe Halpin @ 2013-02-20 20:12 UTC (permalink / raw)
To: buildroot
jhalpin-linux$ cat /proc/mounts
rootfs / rootfs rw 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
udev /dev devtmpfs rw,relatime,size=2045216k,nr_inodes=206542,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
tmpfs /run tmpfs rw,nosuid,relatime,size=821004k,mode=755 0 0
/dev/disk/by-uuid/6927ee6b-3a52-4cc7-9a8a-e3c841472fab / ext4 rw,relatime,errors=remount-ro,user_xattr,barrier=1,data=ordered 0 0
none /sys/fs/fuse/connections fusectl rw,relatime 0 0
none /sys/kernel/debug debugfs rw,relatime 0 0
none /sys/kernel/security securityfs rw,relatime 0 0
none /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k 0 0
none /run/shm tmpfs rw,nosuid,nodev,relatime 0 0
/dev/sda5 /home ext4 rw,relatime,user_xattr,barrier=1,data=ordered 0 0
/dev/sda7 /opt ext4 rw,relatime,user_xattr,barrier=1,data=ordered 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0
gvfs-fuse-daemon /home/jhalpin/.gvfs fuse.gvfs-fuse-daemon rw,nosuid,nodev,relatime,user_id=1000,group_id=1000 0 0
Thanks
Joe
-----Original Message-----
From: Peter Korsgaard [mailto:jacmet at gmail.com] On Behalf Of Peter Korsgaard
Sent: Wednesday, February 20, 2013 2:10 PM
To: Joe Halpin
Cc: 'Peter Korsgaard'; buildroot at busybox.net
Subject: Re: build error: "fixdep: permission denied"
>>>>> "Joe" == Joe Halpin <jhalpin@luminatorusa.com> writes:
Joe> I'm using Xubuntu 12.04, with ext4 file system.
Joe> And you're right, it doesn't happen when I build in my home
Joe> directory. I'm not sure what that means, everything under /opt is
Joe> owned by me.
Odd. Could you paste output of:
cat /proc/mounts
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] build error: "fixdep: permission denied"
2013-02-20 20:12 ` Joe Halpin
@ 2013-02-20 20:56 ` Peter Korsgaard
0 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2013-02-20 20:56 UTC (permalink / raw)
To: buildroot
>>>>> "Joe" == Joe Halpin <jhalpin@luminatorusa.com> writes:
Joe> jhalpin-linux$ cat /proc/mounts
Joe> /dev/sda5 /home ext4 rw,relatime,user_xattr,barrier=1,data=ordered 0 0
Joe> /dev/sda7 /opt ext4 rw,relatime,user_xattr,barrier=1,data=ordered 0 0
That looks fine to me. Sorry, I don't really have any idea why it is
misbehaving under opt. I have a bunch of buildroot toolchains installed
under /opt (but they were built from my homedir) without problems.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2013-02-20 20:56 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-20 16:22 [Buildroot] build error: "fixdep: permission denied" Joe Halpin
2013-02-20 16:55 ` Peter Korsgaard
2013-02-20 19:13 ` Joe Halpin
2013-02-20 20:10 ` Peter Korsgaard
2013-02-20 20:12 ` Joe Halpin
2013-02-20 20:56 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox