Modify

Opened 3 years ago

Last modified 3 years ago

#18489 reopened defect

OpenWRT SDK converts boolean config options to tristate

Reported by: anonymous Owned by: developers
Priority: normal Milestone:
Component: packages Version: Barrier Breaker 14.07
Keywords: Cc:

Description

It makes SDK to build unwanted packages and mostly gives build errors of unsatisfied dependencies.

I.e. some package depends on python-mini. Python-mini is a part of python package, one of which parts depends on sqlite3. Since original firmware do not have libncurses and libreadline it fails to build.

Attachments (0)

Change History (3)

comment:1 Changed 3 years ago by nbd

  • Resolution set to too_vague
  • Status changed from new to closed

What does this have to do with boolean vs tristate? Shouldn't the feeds script pick up those dependencies as well?

comment:2 Changed 3 years ago by yuuki@…

I have built OpenWRT firmware which has sqlite3 and python packages disabled but python-mini. Firmware build ok and works ok. I built SDK from this buildroot and tried to built third-party package on top of this SDK. This package depends on python-mini. After package feed installation I type "make menuconfig" to enable package and see
tmp/.config-package.in:134:warning: type of 'PACKAGE_python-mini' redefined from 'boolean' to 'tristate'
After this I see previously disabled packages in Languages->Python in <M> state. If I try to build package and its dependencies by "make", SDK tries to build sqlite3 and fails to do so, since there is no libncurses and libreadline in dependencies (sqlite3 depends on them). If I disable all <M> state packages in menuconfig, SDK successfully build my package.

My package do not have direct dependency on sqlite3. Package python-sqlite has it and when SDK sets it in <M> state, it tries to build it.

comment:3 Changed 3 years ago by yuuki@…

  • Resolution too_vague deleted
  • Status changed from closed to reopened

SDK enables unwanted packages and breaks build

#
# Languages
#

#
# Python
#
CONFIG_PACKAGE_python-bzip2=m
CONFIG_PACKAGE_python-doc=m
CONFIG_PACKAGE_python-expat=m
CONFIG_PACKAGE_python-gdbm=m
CONFIG_PACKAGE_python-gzip=m
CONFIG_PACKAGE_python-ncurses=m
CONFIG_PACKAGE_python-openssl=m
CONFIG_PACKAGE_python-shutil=m
CONFIG_PACKAGE_python-sqlite3=m

Add Comment

Modify Ticket

Action
as reopened .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.