Received: from eggs.gnu.org ([2001:4830:134:3::10]:42812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZyMe-0003Q7-6B for qemu-devel@nongnu.org; Wed, 17 Aug 2016 06:46:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZyMa-0000Mu-6j for qemu-devel@nongnu.org; Wed, 17 Aug 2016 06:46:28 -0400 Received: from indium.canonical.com ([91.189.90.7]:53694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZyMa-0000Mi-0v for qemu-devel@nongnu.org; Wed, 17 Aug 2016 06:46:24 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.76 #1 (Debian)) id 1bZyMY-0001RA-UA for ; Wed, 17 Aug 2016 10:46:23 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id C2CAE2E80CB for ; Wed, 17 Aug 2016 10:46:22 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Wed, 17 Aug 2016 10:35:54 -0000 From: "T. Huth" <1094786@bugs.launchpad.net> Reply-To: Bug 1094786 <1094786@bugs.launchpad.net> Sender: bounces@canonical.com References: <20121230234607.23420.96231.malonedeb@gac.canonical.com> Message-Id: <20160817103555.30128.31240.malone@gac.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1094786] Re: static build with curses fails if requires -ltinfo List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Patch had been included here: http://git.qemu.org/?p=3Dqemu.git;a=3Dcommitdiff;h=3Dcfeda5f4b8710b6ba14 So I think we can now mark this ticket as "Fix released". ** Changed in: qemu Status: New =3D> Fix Released -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1094786 Title: static build with curses fails if requires -ltinfo Status in QEMU: Fix Released Bug description: On my system (amd64 Debian wheezy/sid) static ncurses build requires -lti= nfo: $ pkg-config --libs --static ncurses -lncurses -ltinfo $ ../../configure --enable-curses --static # Actually this fails on line if compile_prog "" "$curses_lib" ; then # with ERROR ERROR: User requested feature curses ERROR: configure was not able to find it ERROR # but if we add -ltinfo to this line check succeds ... static build yes ... $ make ... ... CC i386-softmmu/hw/i386/../kvm/pci-assign.o LINK i386-softmmu/qemu-system-i386 ../os-posix.o: In function `change_process_uid': /home/vadim/soft/qemu/os-posix.c:205: warning: Using 'initgroups' in stat= ically linked applications requires at runtime the shared libraries from th= e glibc version used for linking # and many alike warnings ... ../ui/curses.o: In function `curses_cursor_position': /home/vadim/soft/qemu/ui/curses.c:137: undefined reference to `COLS' /home/vadim/soft/qemu/ui/curses.c:137: undefined reference to `LINES' /home/vadim/soft/qemu/ui/curses.c:138: undefined reference to `stdscr' /home/vadim/soft/qemu/ui/curses.c:139: undefined reference to `curs_set' ../ui/curses.o: In function `curses_calc_pad': /home/vadim/soft/qemu/ui/curses.c:68: undefined reference to `stdscr' /home/vadim/soft/qemu/ui/curses.c:69: undefined reference to `stdscr' ... and so on I tried to build the very minimal static qemu executable. Actual configur= e line I tried first was = ../../configure --target-list=3Di386-softmmu --disable-sdl --disable-virt= fs --disable-vnc --disable-xen --disable-brlapi --disable-bluez --disable-s= lirp --disable-kvm --disable-user --disable-vde --disable-vhost-net --disab= le-spice --disable-libiscsi --disable-smartcard --disable-usb-redir --disab= le-guest-agent --audio-drv-list=3D --audio-card-list=3D --enable-curses -= -static and the errors was the same. To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1094786/+subscriptions