[OpenWrt-Devel] [LEDE-DEV] [PATCH 00/15] Metadata generator refactoring, cleanup and PROVIDES improvements

Weedy weedy2887 at gmail.com
Sun Jan 14 06:21:00 EST 2018


On 8 January 2018 at 14:02, Matthias Schiffer
<mschiffer at universe-factory.net> wrote:
> I've pushed an updated branch fixing the mistake Jo pointed out and some
> other stylistic improvements to the metadata2 branch of my staging tree [3].
>
>
>> [1] https://github.com/openwrt/packages/pull/5370
>> [2] https://github.com/openwrt-routing/packages/pull/345
>
> [3]
> https://git.lede-project.org/?p=openwrt/staging/neoraider.git;a=shortlog;h=refs/heads/metadata2


So the base repo works:
$ make
Checking 'working-make'... ok.
Checking 'case-sensitive-fs'... ok.
Checking 'proper-umask'... ok.
Checking 'gcc'... ok.
Checking 'working-gcc'... ok.
Checking 'g++'... ok.
Checking 'working-g++'... ok.
Checking 'ncurses'... ok.
Checking 'zlib'... ok.
Checking 'perl-thread-queue'... ok.
Checking 'tar'... ok.
Checking 'find'... ok.
Checking 'bash'... ok.
Checking 'patch'... ok.
Checking 'diff'... ok.
Checking 'cp'... ok.
Checking 'seq'... ok.
Checking 'awk'... ok.
Checking 'grep'... ok.
Checking 'getopt'... ok.
Checking 'stat'... ok.
Checking 'unzip'... ok.
Checking 'bzip2'... ok.
Checking 'wget'... ok.
Checking 'perl'... ok.
Checking 'python'... ok.
Checking 'git'... ok.
Checking 'file'... ok.
Checking 'ldconfig-stub'... ok.
Collecting package info: done
Collecting target info: done
WARNING: Makefile 'package/utils/busybox/Makefile' has a dependency on
'libpam', which does not exist
WARNING: Makefile 'package/utils/busybox/Makefile' has a build
dependency on 'libpam', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a
dependency on 'libgnutls', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a
dependency on 'libopenldap', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a
dependency on 'libidn', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a
dependency on 'libssh2', which does not exist
WARNING: Makefile 'package/boot/kexec-tools/Makefile' has a dependency
on 'liblzma', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on
'kmod-usb-musb-tusb6010', which does not exist
WARNING: Makefile 'package/network/services/lldpd/Makefile' has a
dependency on 'libnetsnmp', which does not exist
make[2]: Entering directory '/home/weedy/projects/openwrt-lede/scripts/config'
conf.c: In function 'check_stdin':
conf.c:78:3: warning: format not a string literal and no format
arguments [-Wformat-security]
   printf(_("aborted!\n\n"));
   ^~~~~~
conf.c:79:3: warning: format not a string literal and no format
arguments [-Wformat-security]
   printf(_("Console input/output is redirected. "));
   ^~~~~~
conf.c:80:3: warning: format not a string literal and no format
arguments [-Wformat-security]
   printf(_("Run 'make oldconfig' to update configuration.\n\n"));
   ^~~~~~
conf.c: In function 'conf_askvalue':
conf.c:90:3: warning: format not a string literal and no format
arguments [-Wformat-security]
   printf(_("(NEW) "));
   ^~~~~~
conf.c: In function 'conf_choice':
conf.c:291:5: warning: format not a string literal and no format
arguments [-Wformat-security]
     printf(_(" (NEW)"));
     ^~~~~~
conf.c: In function 'check_conf':
conf.c:439:6: warning: format not a string literal and no format
arguments [-Wformat-security]
      printf(_("*\n* Restart config...\n*\n"));
      ^~~~~~
conf.c: In function 'main':
conf.c:620:6: warning: format not a string literal and no format
arguments [-Wformat-security]
      _("\n*** The configuration requires explicit update.\n\n"));
      ^
conf.c:674:4: warning: format not a string literal and no format
arguments [-Wformat-security]
    fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n"));
    ^~~~~~~
conf.c:678:4: warning: format not a string literal and no format
arguments [-Wformat-security]
    fprintf(stderr, _("\n*** Error during update of the configuration.\n\n"));
    ^~~~~~~
conf.c:689:4: warning: format not a string literal and no format
arguments [-Wformat-security]
    fprintf(stderr, _("\n*** Error during writing of the configuration.\n\n"));
    ^~~~~~~
make[2]: Leaving directory '/home/weedy/projects/openwrt-lede/scripts/config'
make[2]: Entering directory '/home/weedy/projects/openwrt-lede'
make[3]: Entering directory '/home/weedy/projects/openwrt-lede/scripts/config'
make[3]: Leaving directory '/home/weedy/projects/openwrt-lede/scripts/config'
make[3]: Entering directory '/home/weedy/projects/openwrt-lede'
make[3]: Leaving directory '/home/weedy/projects/openwrt-lede'
WARNING: Makefile 'package/utils/busybox/Makefile' has a dependency on
'libpam', which does not exist
WARNING: Makefile 'package/utils/busybox/Makefile' has a build
dependency on 'libpam', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a
dependency on 'libgnutls', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a
dependency on 'libopenldap', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a
dependency on 'libidn', which does not exist
WARNING: Makefile 'package/network/utils/curl/Makefile' has a
dependency on 'libssh2', which does not exist
WARNING: Makefile 'package/boot/kexec-tools/Makefile' has a dependency
on 'liblzma', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on
'kmod-usb-musb-tusb6010', which does not exist
WARNING: Makefile 'package/network/services/lldpd/Makefile' has a
dependency on 'libnetsnmp', which does not exist
configuration written to .config

*** End of the configuration.
*** Execute 'make' to start the build or try 'make help'.

make[2]: Leaving directory '/home/weedy/projects/openwrt-lede'
 make[1] world
 make[2] tools/compile


But adding feeds pukes:
..
Installing package 'znc' from openwrtPackages
Installing package 'zoneinfo' from openwrtPackages
Installing package 'zsh' from openwrtPackages
+ make V=99 oldconfig
Collecting package info: done
WARNING: Makefile 'package/feeds/openwrtPackages/acme/Makefile' has a
dependency on 'luci-base', which does not exist
WARNING: Makefile 'package/feeds/openwrtPackages/acme/Makefile' has a
dependency on 'luci-app-uhttpd', which does not exist
WARNING: Makefile
'package/feeds/openwrtPackages/coova-chilli/Makefile' has a dependency
on 'libmatrixssl', which does not exist
WARNING: Makefile 'package/feeds/openwrtPackages/dynapoint/Makefile'
has a dependency on 'luci-lib-nixio', which does not exist
WARNING: Makefile 'package/feeds/openwrtPackages/libiio/Makefile' has
a dependency on 'libavahi-common', which does not exist
WARNING: Makefile 'package/kernel/linux/Makefile' has a dependency on
'kmod-usb-musb-tusb6010', which does not exist
WARNING: Makefile 'package/feeds/openwrtPackages/python/Makefile' has
a dependency on 'python-pip-conf-src', which does not exist
WARNING: Makefile 'package/feeds/openwrtPackages/sqm-scripts/Makefile'
has a dependency on 'luci-base', which does not exist
[ -L .config ] && export KCONFIG_OVERWRITECONFIG=1; \
    scripts/config/conf --oldconfig Config.in
tmp/.config-package.in:37300: syntax error
tmp/.config-package.in:37299: invalid option
tmp/.config-package.in:37318: syntax error
tmp/.config-package.in:37317: invalid option
make: *** [/home/weedy/projects/openwrt-lede/include/toplevel.mk:132:
oldconfig] Error 1


How do you want me to debug this?
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list