OpenWrt/LEDE Project

  • Status Closed
  • Percent Complete
    100%
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Very Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by Mircea IONICĂ - 22.02.2017
Last edited by Jo-Philipp Wich - 23.02.2017

FS#551 - leftover printf's in the new opkg (since Feb 20)

current LEDE opkg seems to have some leftover printfs

Example:

root@wifi-ap:~# opkg list-upgradable
alloc item for pkg=0x7e2ab0
alloc item for pkg=0x7c8900
alloc item for pkg=0x7dace0
[...]
alloc item for pkg=0x7def10
alloc item for pkg=0x7dcdd0
alloc item for pkg=0x7d4900
base-files - 172-r3554-f66a0c93b3 - 172-r3558-19720a6f03

Now, this is easily “fixed” with a

opkg list-upgradable | grep -v 'alloc item'

but a) it’s still annoying, and b) should be a very quick fix

Don’t know what commands this applies to (besides list-upgradable), but a quick recursive grep should probably show the extent of this inconvenience.

Also reported here: https://github.com/openwrt/packages/issues/4057

Closed by  Jo-Philipp Wich
23.02.2017 08:51
Reason for closing:  Fixed
Mircea IONICĂ commented on 22.02.2017 20:34

note. problem seems to be in libopkg/opkg_upgrade.c, function pkg_hash_check_installed_pkg_helper() - it's a printf

also found some ptr=%p instances in pkg_depends.c, but those are opkg_msg() calls - and I haven't seen any instances of those during normal operation

Admin
Jo-Philipp Wich commented on 23.02.2017 08:50

Thank you for the report; I removed the bad printf() with https://git.lede-project.org/9e4555f.

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing