All of lore.kernel.org
 help / color / mirror / Atom feed
* [U-Boot] make Menuconfig Error
@ 2018-06-14 18:03 DH at synoia.com
  2018-06-14 18:19 ` Joe Hershberger
  2018-06-15 19:54 ` [U-Boot] make config Error Joe Hershberger
  0 siblings, 2 replies; 5+ messages in thread
From: DH at synoia.com @ 2018-06-14 18:03 UTC (permalink / raw)
  To: u-boot

Cloned most recent u-boot 2018.06.14
make clean works
make menuconfig fails:

/bin/sh: 1: bison: not found
scripts/kconfig/Makefile:229: recipe for target
'scripts/kconfig/dochecklxdialog' failed make[1]: ***
[scripts/kconfig/dochecklxdialog] Error 1 Makefile:491: recipe for
target 'menuconfig' failed make: *** [menuconfig] Error 2

I've checked for bison, visually and with apt-cache search but I have
found none.

Will try rebuild based on u-boot from 2018.05.14 on SPDX errors, That
version did build.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] make Menuconfig Error
  2018-06-14 18:03 [U-Boot] make Menuconfig Error DH at synoia.com
@ 2018-06-14 18:19 ` Joe Hershberger
  2018-06-15 19:54 ` [U-Boot] make config Error Joe Hershberger
  1 sibling, 0 replies; 5+ messages in thread
From: Joe Hershberger @ 2018-06-14 18:19 UTC (permalink / raw)
  To: u-boot

Hi Duncan,

On Thu, Jun 14, 2018 at 1:03 PM,  <DH@synoia.com> wrote:
> Cloned most recent u-boot 2018.06.14
> make clean works
> make menuconfig fails:
>
> /bin/sh: 1: bison: not found
> scripts/kconfig/Makefile:229: recipe for target
> 'scripts/kconfig/dochecklxdialog' failed make[1]: ***
> [scripts/kconfig/dochecklxdialog] Error 1 Makefile:491: recipe for
> target 'menuconfig' failed make: *** [menuconfig] Error 2
>
> I've checked for bison, visually and with apt-cache search but I have
> found none.

This was introduced with commit
e91610da7c8a9fe42f3e5a75f06c3d1a0cb5f815 (kconfig: re-sync with Linux
4.17-rc4)

It seems that they made bison an external dependency instead of
keeping the pre-compiled scripts/kconfig/zconf.tab.c_shipped and
friends.

> Will try rebuild based on u-boot from 2018.05.14 on SPDX errors, That
> version did build.
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] make config Error
  2018-06-14 18:03 [U-Boot] make Menuconfig Error DH at synoia.com
  2018-06-14 18:19 ` Joe Hershberger
@ 2018-06-15 19:54 ` Joe Hershberger
       [not found]   ` <1475463586.405677.1529094357509@mail.yahoo.com>
  1 sibling, 1 reply; 5+ messages in thread
From: Joe Hershberger @ 2018-06-15 19:54 UTC (permalink / raw)
  To: u-boot

On Fri, Jun 15, 2018 at 10:56 AM,  <DH@synoia.com> wrote:
> installed bison++

I just "sudo apt-get install flex bison" and it worked great.

>
> Cloned most recent u-boot 2018.06.14
>
> make clean works
> make menuconfig fails:
> make rpi_3_32b_config fails:
>
> 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
>
>
> This works on the u-boot version from one month ago.
>
> Suggestions welcome.
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> https://lists.denx.de/listinfo/u-boot

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] Fw:  make config Error
       [not found]   ` <1475463586.405677.1529094357509@mail.yahoo.com>
@ 2018-06-18 14:18     ` Duncan Hare
       [not found]       ` <20180618184257.pan6iii56sodexxr@excalibur.cnev.de>
  0 siblings, 1 reply; 5+ messages in thread
From: Duncan Hare @ 2018-06-18 14:18 UTC (permalink / raw)
  To: u-boot



 From: Joe Hershberger <joe.hershberger@ni.com>
 To: Duncan Hare <DH@synoia.com> 
Cc: Simon Glass <sjg@chromium.org>; Joe Hershberger <joe.hershberger@ni.com>; u-boot <u-boot@lists.denx.de>
 Sent: Friday, June 15, 2018 12:54 PM
 Subject: Re: [U-Boot] make config Error
    
On Fri, Jun 15, 2018 at 10:56 AM,  <DH@synoia.com> wrote:
> installed bison++

I just "sudo apt-get install flex bison" and it worked great.

>
> Cloned most recent u-boot 2018.06.14
>
___________________________________________________________________________________
Not so much for me:
Debian, with flex ncurses5-dev and bison++
root at debian:/home/duncan/archive/u-boot# make clean
root at debian:/home/duncan/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
root at debian:/home/duncan/archive/u-boot# ^C
root at debian:/home/duncan/archive/u-boot# 

Raspbian no flex :-(

pi@raspberrypi:~/server/archive/u-boot $ sudo apt install flex
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package flex is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'flex' has no installation candidate

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.

The 06.15.2018 version works.
Instead of installing bits and pieces of the toolchain, how about reverting to the previous  version?
Is there link to updated documentation for pre-regs? 

Duncan Hare
714 931 7952

   

   

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [U-Boot] Fw:  make config Error
       [not found]       ` <20180618184257.pan6iii56sodexxr@excalibur.cnev.de>
@ 2018-06-18 21:30         ` Duncan Hare
  0 siblings, 0 replies; 5+ messages in thread
From: Duncan Hare @ 2018-06-18 21:30 UTC (permalink / raw)
  To: u-boot



From: Karsten Merker <merker@debian.org>
 To: Duncan Hare <dh@synoia.com> 
Cc: U-Boot Mailing List <u-boot@lists.denx.de>
 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

   

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-06-18 21:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-14 18:03 [U-Boot] make Menuconfig Error DH at synoia.com
2018-06-14 18:19 ` Joe Hershberger
2018-06-15 19:54 ` [U-Boot] make config Error Joe Hershberger
     [not found]   ` <1475463586.405677.1529094357509@mail.yahoo.com>
2018-06-18 14:18     ` [U-Boot] Fw: " Duncan Hare
     [not found]       ` <20180618184257.pan6iii56sodexxr@excalibur.cnev.de>
2018-06-18 21:30         ` Duncan Hare

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.