FS#56098 - [ncurses] After updating ncurses 6.0+20170902-2, I can't compile programs with gcc.

Attached to Project: Arch Linux
Opened by H. Emre ARI (darksoul) - Monday, 23 October 2017, 16:15 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 23 October 2017, 16:24 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: The ncurses library was working well before the updated it. But now, I can no longer use this library.
I ran this command to compile the my programs.
$ gcc -lncurses sourcefile.c -o program

I got this errors:
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../lib/libncursesw.so: undefined reference to symbol 'stdscr'
/usr/lib/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status


Additional info:
* package version: 6.0+20170902-2
* releated part of pacman log file:

[2017-10-23 00:52] [PACMAN] starting full system upgrade
[2017-10-23 00:54] [ALPM] transaction started
[2017-10-23 00:54] [ALPM] upgraded ncurses (6.0+20170902-1 -> 6.0+20170902-2)
[2017-10-23 00:54] [ALPM] transaction completed
[2017-10-23 00:54] [ALPM] running 'systemd-update.hook'...
[2017-10-23 13:40] [PACMAN] Running '/usr/bin/pacman -S --asdeps python2-setuptools'
[2017-10-23 13:40] [ALPM] transaction started
[2017-10-23 13:40] [ALPM] installed python2-pyparsing (2.2.0-1)
[2017-10-23 13:40] [ALPM] installed python2-six (1.11.0-1)
[2017-10-23 13:40] [ALPM] installed python2-packaging (16.8-2)
[2017-10-23 13:40] [ALPM] installed python2-appdirs (1.4.3-1)
[2017-10-23 13:40] [ALPM] installed python2-setuptools (1:36.6.0-1)
[2017-10-23 13:40] [ALPM] transaction completed
[2017-10-23 13:40] [ALPM] running 'systemd-update.hook'...
[2017-10-23 14:32] [PACMAN] Running '/usr/bin/pacman -U /home/heari/ins-programs/pycharm-community/pycharm-community-2017.2.3-1-x86_64.pkg.tar.xz'
[2017-10-23 14:32] [ALPM] transaction started
[2017-10-23 14:33] [ALPM] installed pycharm-community (2017.2.3-1)
[2017-10-23 14:33] [ALPM] transaction completed
[2017-10-23 14:33] [ALPM] running 'systemd-update.hook'...
[2017-10-23 14:33] [ALPM] running 'update-desktop-database.hook'...
[2017-10-23 15:41] [PACMAN] Running 'pacman -Syu'
[2017-10-23 15:41] [PACMAN] synchronizing package lists
[2017-10-23 15:41] [PACMAN] starting full system upgrade
[2017-10-23 15:41] [ALPM] transaction started
[2017-10-23 15:41] [ALPM] upgraded gnome-shell (3.26.1+3+g43ec5280b-1 -> 3.26.1+6+g78d58deb5-1)
[2017-10-23 15:41] [ALPM] transaction completed
[2017-10-23 15:41] [ALPM] running 'glib-compile-schemas.hook'...
[2017-10-23 15:41] [ALPM] running 'systemd-update.hook'...
[2017-10-23 15:41] [ALPM] running 'update-desktop-database.hook'...
[2017-10-23 18:53] [PACMAN] Running 'pacman -Syu lib32-ncurses'
[2017-10-23 18:53] [PACMAN] synchronizing package lists
[2017-10-23 18:53] [PACMAN] starting full system upgrade
[2017-10-23 18:53] [ALPM] transaction started
[2017-10-23 18:53] [ALPM] reinstalled lib32-ncurses (6.0+20170527-2)
[2017-10-23 18:53] [ALPM] transaction completed
[2017-10-23 18:53] [ALPM] running 'systemd-update.hook'...
[2017-10-23 19:01] [PACMAN] Running 'pacman -Syu ncurses'
[2017-10-23 19:01] [PACMAN] synchronizing package lists
[2017-10-23 19:01] [PACMAN] starting full system upgrade
[2017-10-23 19:01] [ALPM] transaction started
[2017-10-23 19:01] [ALPM] reinstalled ncurses (6.0+20170902-2)
[2017-10-23 19:01] [ALPM] transaction completed
[2017-10-23 19:01] [ALPM] running 'systemd-update.hook'...
[2017-10-23 19:01] [PACMAN] Running 'pacman -Syu ncurses-dev'
[2017-10-23 19:01] [PACMAN] synchronizing package lists
[heari@arch-heari ncurses]$ cat /var/log/pacman.log | grep -e "ncurses"
[2017-10-18 12:19] [ALPM] installed ncurses (6.0+20170902-1)
[2017-10-20 11:26] [ALPM] installed lib32-ncurses (6.0+20170527-2)
[2017-10-21 17:52] [PACMAN] Running 'pacman -Syu ncurses'
[2017-10-23 00:54] [ALPM] upgraded ncurses (6.0+20170902-1 -> 6.0+20170902-2)
[2017-10-23 18:53] [PACMAN] Running 'pacman -Syu lib32-ncurses'
[2017-10-23 18:53] [ALPM] reinstalled lib32-ncurses (6.0+20170527-2)
[2017-10-23 19:01] [PACMAN] Running 'pacman -Syu ncurses'
[2017-10-23 19:01] [ALPM] reinstalled ncurses (6.0+20170902-2)
[2017-10-23 19:01] [PACMAN] Running 'pacman -Syu ncurses-dev'



Steps to reproduce:
This task depends upon

Closed by  Doug Newgard (Scimmia)
Monday, 23 October 2017, 16:24 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#56000 

Loading...