[U-Boot] Fw: Make Menuconfig Error

Duncan Hare dh at synoia.com
Thu Jun 21 23:00:02 UTC 2018


>From: Karsten Merker <merker at debian.org>


 >To: Duncan Hare <dh at synoia.com> 
>Cc: U-Boot Mailing List <u-boot at lists.denx.de>
 >Sent: Wednesday, June 20, 2018 2:16 PM
 >Subject: Re: Make Menuconfig Error
   >
>On Wed, Jun 20, 2018 at 12:33:45AM +0000, Duncan Hare wrote:
>
>> Makefile:491: recipe for target 'menuconfig' failed
>> make: *** [menuconfig] Error 2
>> root at debian:/home/duncan/archive/u-boot#>>>>The problem is the same on Raspbian and Debian. Client Raspbian mounts the repository through NFS. Debian is the server.
>>
>>This test was run on the server.>
>I'm sorry but I cannot reproduce your problem.  I don't have
>access to a Raspbian/stable installation, but I have run the same
>steps on a Debian/stable for armhf (which should be close enough
>as Raspbian/stable is largely an armv6 build of the Debian/stable
>package sources) and on a Debian/stable amd64 system.  In both
>cases everything builds without problems:

> therefore tend to believe that something in your local
>repository checkout is broken.  Please run a "git reset --hard
>master; git pull; git status; git log| head -1; make distclean;
>make menuconfig" and provide the resulting output.

I deleted the git archive and cloned again.
git clone git://git.denx.de/u-boot.git
duncan at debian:~/archive$ git clone git://git.denx.de/u-boot.git
Cloning into 'u-boot'...
remote: Counting objects: 559784, done.
remote: Compressing objects: 100% (97184/97184), done.
remote: Total 559784 (delta 462603), reused 551414 (delta 454519)
Receiving objects: 100% (559784/559784), 113.77 MiB | 32.00 KiB/s, done.
Resolving deltas: 100% (462603/462603), done.
duncan at debian:~/archive$ cd u-boot
duncan at debian:~/archive/u-boot$ make clean
duncan at debian:~/archive/u-boot$ make menuconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/mconf.o
  YACC    scripts/kconfig/zconf.tab.c
scripts/kconfig/zconf.y:44 parser name defined to default :"parse"
"scripts/kconfig/zconf.y", line 97: junk after `%%' in definition section
Segmentation fault
scripts/Makefile.lib:228: recipe for target 'scripts/kconfig/zconf.tab.c' failed
make[1]: *** [scripts/kconfig/zconf.tab.c] Error 139
Makefile:491: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2
duncan at debian:~/archive/u-boot$ 

Now the set of git commands you providedduncan at debian:~/archive/u-boot$ git reset --hard
HEAD is now at a5742efa20 Prepare v2018.07-rc2
duncan at debian:~/archive/u-boot$ git reset --hard master
HEAD is now at a5742efa20 Prepare v2018.07-rc2
duncan at debian:~/archive/u-boot$ git pull
Already up-to-date.
duncan at debian:~/archive/u-boot$ git status
On branch master
Your branch is up-to-date with 'origin/master'.
nothing to commit, working tree clean
duncan at debian:~/archive/u-boot$ git log | head -1
commit a5742efa20384a27d51ee6c43d02c2025536c65d
duncan at debian:~/archive/u-boot$ make distclean
  CLEAN   scripts/basic
duncan at debian:~/archive/u-boot$  make menuconfig
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/kconfig/mconf.o
  YACC    scripts/kconfig/zconf.tab.c
scripts/kconfig/zconf.y:44 parser name defined to default :"parse"
"scripts/kconfig/zconf.y", line 97: junk after `%%' in definition section
Segmentation fault
scripts/Makefile.lib:228: recipe for target 'scripts/kconfig/zconf.tab.c' failed
make[1]: *** [scripts/kconfig/zconf.tab.c] Error 139
Makefile:491: recipe for target 'menuconfig' failed
make: *** [menuconfig] Error 2
duncan at debian:~/archive/u-boot$ 

this looks questionable:scripts/kconfig/zconf.y:44 parser name defined to default :"parse"
"scripts/kconfig/zconf.y", line 97: junk after `%%' in definition section

Debian version

duncan at debian:~/archive/u-boot$ cat /etc/debian_version
9.4
Should I redo the debian image?













   

   


More information about the U-Boot mailing list