[OpenWrt-Devel] Problems w/ "make defconfig oldconfig" after rebasing

Kevin Darbyshire-Bryant kevin at darbyshire-bryant.me.uk
Sun Jun 30 15:03:51 EDT 2019



> On 30 Jun 2019, at 19:27, Philip Prindeville <philipp_subx at redfish-solutions.com> wrote:
> 
> I’ve been busy with other things, and just had a chance to try to get caught up with OpenWRT and my tickets, etc.  I rebased openwrt and packages, then did “make defconfig oldconfig” but I’m seeing:
> 
> WARNING: Makefile 'package/feeds/packages/zabbix/Makefile' has a dependency on 'libmariadbclient', which does not exist
> WARNING: Makefile 'package/feeds/packages/zabbix/Makefile' has a dependency on 'libmariadbclient', which does not exist
> tmp/.config-package.in:55: syntax error
> tmp/.config-package.in:54: invalid option
> tmp/.config-package.in:13106: syntax error
> tmp/.config-package.in:13105: invalid option
> 
> Looking at this file, I get:
> 
>    53                  select PACKAGE_attendedsysupgrade-common
>    54                  select PACKAGE_ucert if PACKAGE_ucert-full<PACKAGE_auc
>    55                  select PACKAGE_libblobmsg-json
>    56                  help
>    57                   CLI client for attended-sysupgrade
> 
>> 
> 11304
> 11305          config PACKAGE_kmod-ipt-conntrack
> 11306                  tristate "kmod-ipt-conntrack..................... Basic connection tracking modules"
> 11307                  default y if DEFAULT_kmod-ipt-conntrack
> 11308                  default m if ALL||ALL_NONSHARED||ALL_KMODS
> 
> etc.
> 
> I’m building with:
> 
> commit 4c8d5cd20e467c76db185742f9f92fd64eaa36c8
> Author: 李国 <uxgood.org at gmail.com>
> Date:   Thu Apr 4 03:42:16 2019 +0000
> 
>    x86: add EFI images and make iso images EFI bootable
> 
> cherry-picked into my tree, but this should be the cause.
> 
> Anyone have an idea of what’s going on?

There were some tweaks to how config interpreted package definitions.  Unfortunately ‘make’ doesn’t pick up the changes to config’s source, so it needs to be manually cleaned.

make -C scripts/config clean

Should do the trick.  I got bitten by this too :-)


Cheers,

Kevin D-B

gpg: 012C ACB2 28C6 C53E 9775  9123 B3A2 389B 9DE2 334A

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20190630/73bbf3af/attachment.sig>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list