[FS#411] ncurses update commit 6a902108a8da710f5359db82bd8295eed571f0de broke some feeds packages

LEDE Bugs lede-bugs at lists.infradead.org
Thu Jan 19 18:02:32 PST 2017


A new Flyspray task has been opened.  Details are below. 

User who did this - Russell Senior (russell) 

Attached to Project - LEDE Project
Summary - ncurses update commit 6a902108a8da710f5359db82bd8295eed571f0de broke some feeds packages
Task Type - Bug Report
Category - Base system
Status - Unconfirmed
Assigned To - 
Operating System - All
Severity - Low
Priority - Very Low
Reported Version - Trunk
Due in Version - Undecided
Due Date - Undecided
Details -  - Device problem occurs on

Observed on mt7621 (dir860l), ar71xx, other targets (not target specific afaict)

 - Software versions of LEDE release, packages, etc.

Observed upto/including 254ccf9f4ca608efd1674f2cc47b44b86a3a63f4.  When selecting olsrd from packages feed, gpsd gets built.  The gpsd build fails (see attached gpsd build log), excerpted below:

[...]
mipsel-openwrt-linux-musl-gcc -o cgps -L/home/openwrt/src/lede/staging_dir/target-mipsel_24kc_musl-1.1.16/usr/lib -L/home/openwrt/src/lede/staging_dir/target-mipsel_24kc_musl-1.1.16/lib -L/home/openwrt/src/lede/staging_dir/too
lchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/usr/lib -L/home/openwrt/src/lede/staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/lib -znow -zrelro -pthread cgps.o -L. -lgps_static -lm -lrt
/home/openwrt/src/lede/staging_dir/toolchain-mipsel_24kc_gcc-5.4.0_musl-1.1.16/lib/gcc/mipsel-openwrt-linux-musl/5.4.0/../../../../mipsel-openwrt-linux-musl/bin/ld: copy reloc against protected `__stack_chk_guard' is dangerous
cgps.o: In function `die':
cgps.c:(.text+0x2): undefined reference to `isendwin'
cgps.c:(.text+0x7c): undefined reference to `mvcur'
cgps.c:(.text+0x82): undefined reference to `echo'
cgps.c:(.text+0x88): undefined reference to `endwin'
cgps.c:(.text+0xa8): undefined reference to `LINES'
cgps.c:(.text+0xac): undefined reference to `COLS'
cgps.o: In function `windowsetup':
cgps.c:(.text+0xb2): undefined reference to `initscr'
cgps.c:(.text+0xb8): undefined reference to `noecho'
cgps.c:(.text+0xf2): undefined reference to `newwin'
cgps.c:(.text+0x102): undefined reference to `newwin'
[...]

Reverting the ncurses update commit fixes the build

 - Steps to reproduce

Add CONFIG_PACKAGE_olsrd=y to your .config and build.

One or more files have been attached.

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=411



More information about the lede-bugs mailing list