From mboxrd@z Thu Jan 1 00:00:00 1970 From: Duncan Hare Date: Mon, 18 Jun 2018 21:30:54 +0000 (UTC) Subject: [U-Boot] Fw: make config Error In-Reply-To: <20180618184257.pan6iii56sodexxr@excalibur.cnev.de> References: <20180614110334.38d0fda8@raspberrypi> <1475463586.405677.1529094357509@mail.yahoo.com> <1456892912.1186240.1529331535965@mail.yahoo.com> <20180618184257.pan6iii56sodexxr@excalibur.cnev.de> Message-ID: <824935920.1424407.1529357454720@mail.yahoo.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit To: u-boot@lists.denx.de From: Karsten Merker To: Duncan Hare Cc: U-Boot Mailing List Sent: Monday, June 18, 2018 11:43 AM Subject: Re: [U-Boot] Fw: make config Error > > In this repository. It might exist elsewhere. > > I generally use raspbian to compile u-boot for the raspberry > pi, and Debian as a file server. This looks very much like either something in the repository setup on your Raspberry Pi is broken or the package mirror you use has problems. According to   http://archive.raspbian.org/raspbian/dists/stable/main/binary-armhf/Packages.xz Raspbian/stable definitely has both flex as well as bison in the main repository: Please refresh your local package information with "sudo apt-get update" and retry installing flex and bison.  If that doesn't work, please provide your repository configuration, i.e. the contents of /etc/apt/sources.list and /etc/apt/sources.list.d/*, perhaps we can spot the source of your problem there. Good catch. Raspbian and Debian now fail in identical ways.Thanks Regards, Karsten Werbung sowie der Markt- oder Meinungsforschung. ____________________________________________________________________________ Which is: root at debian:/home/duncan/archive/u-boot# make clean root at debian:/home/duncan/archive/u-boot# make menuconfig....... duncan at debian:~/archive/u-boot$ make menuconfig   HOSTCC  scripts/basic/fixdep scripts/basic/fixdep.c:481:1: fatal error: opening dependency file scripts/basic/.fixdep.d: Permission denied  }  ^ compilation terminated. scripts/Makefile.host:97: recipe for target 'scripts/basic/fixdep' failed make[1]: *** [scripts/basic/fixdep] Error 1 Makefile:410: recipe for target 'scripts_basic' failed make: *** [scripts_basic] Error 2 duncan at debian:~/archive/u-boot$ ^C duncan at debian:~/archive/u-boot$ There is no .fixdep.d file in pi at raspberrypi:~/server/archive/u-boot/scripts/basic $ ls -al total 44 drwxr-xr-x 2 root root  4096 Jun 15 13:17 . drwxr-xr-x 6 root root  4096 Jun 15 08:39 .. -rwxr-xr-x 1 root root 13992 Jun 15 13:14 fixdep -rw-r--r-- 1 root root 12264 Jun 15 08:39 fixdep.c -rw-r--r-- 1 root root     7 Jun 15 08:39 .gitignore -rw-r--r-- 1 root root   706 Jun 15 08:39 Makefile What content and what permissions does u-boot/scripts/basic/fixdep.d require? Duncan Haredh at synoia.com