From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 178B8139576 for ; Sat, 29 Oct 2016 14:50:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E393D21C0A5; Sat, 29 Oct 2016 14:50:15 +0000 (UTC) Received: from mail-yw0-f173.google.com (mail-yw0-f173.google.com [209.85.161.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9245021C07B for ; Sat, 29 Oct 2016 14:50:15 +0000 (UTC) Received: by mail-yw0-f173.google.com with SMTP id u124so113433125ywg.3 for ; Sat, 29 Oct 2016 07:50:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=h3xMXTt/X4jxjg61FNU1coXEWpG47+/zfUpAntjW2Sw=; b=a+0cklAoy3X923gpOzneSc+HxihlrhS0fIk3tMEU8h5yp0v9w7Rs6b0DouQVnU3qi0 Rf9Qz7TCSVGq3mSdRv5LxGOhkGyFYViqzyroRBaJPy2hL6ximHoP6pIOiKnKgnPcOzRS tBEqI7CkmqHUFLx+ZpQo4jpvRRxvub+a4mrk/cUnwbY5q4+ga4mm/EeEzTBtPyZ3P+oC bDavxR5Hbp575kBPjxnde4s+cNSBSFGir1IbteUV7rvc6Jlu/WRlwlD1wf4nDvWoM7wr 2gSo2CGKUIqfhpg/vibEgWQ1BE4I6ouRo4tSEpZLOAUsykfzYHIVh0mV6OPbKrQH6xMD h4Fw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=h3xMXTt/X4jxjg61FNU1coXEWpG47+/zfUpAntjW2Sw=; b=WbDSWxGJITbWquPIWrSSGXZytJ8q5QABl2qIj03DWYjiyIXTjtuRa6JCeGROX4xCwL p89HNu2JC1t+XoyvcV2vZBq4op26PXK15v6aw4pni/fBQd3daMc85XmcymxeCYQCBrCs hgKAaXEL2LC/JEPVAPzrzSmaSxrqXQGKCy+idGLg61S2zstcVe/RG1XWpq1JC6uMlJpZ v8EKusm1pxT6psuFge1cepAIKti0Lu8IgpQ2bWC202IDNL9r34Q6HS8dNb3/Yhme0FtW s89r1Wg6r1D8LHlKN+shBVTki8C3jEdSplL7IRv3zXfvr42FfnWGwG3bC5QGdWWeVYad nwBw== X-Gm-Message-State: ABUngveSErSWvI5hiUTqteCS9tFgRKF6WedwLpgrdTqrtbCoB1HWctvpDGOe007BYFp59g== X-Received: by 10.129.138.133 with SMTP id a127mr15864365ywg.290.1477752614459; Sat, 29 Oct 2016 07:50:14 -0700 (PDT) Received: from [10.10.0.10] (67-8-110-87.res.bhn.net. [67.8.110.87]) by smtp.gmail.com with ESMTPSA id y144sm6389654ywa.31.2016.10.29.07.50.13 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 29 Oct 2016 07:50:14 -0700 (PDT) Subject: Re: [gentoo-user] Upgrade of gdb this morning failed to compile To: gentoo-user@lists.gentoo.org References: <20161029030313.GA5279@solfire> From: Fernando Rodriguez Message-ID: Date: Sat, 29 Oct 2016 10:52:42 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <20161029030313.GA5279@solfire> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-Archives-Salt: 2c8563dc-1f71-4b31-931a-168697d1281c X-Archives-Hash: 49e9736a26e69cb81cc62e03d482d338 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 10/28/2016 11:03 PM, Meino.Cramer@gmx.de wrote: > > Hi, > > the daily update I usually do failed while compiling gdb: > > Before I post every bit/log of the compilation process... > > Here are the last lines. Is there already known, how to fix that? > > > libdecnumber.a -ldl -ldl -ltermcap -lncurses -lm -ldl -lpthread > -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic > ../libiberty/libiberty.a build-gnulib/import/libgnu.a -ldl > -Wl,--dynamic-list=./proc-service.list > /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: > > > warning: libncurses.so.5, needed by /lib64/libreadline.so.6, may > conflict with libncurses.so.6 > /usr/lib/gcc/x86_64-pc-linux-gnu/4.9.3/../../../../x86_64-pc-linux-gnu/bin/ld: > > > tui-io.o: undefined reference to symbol 'resetty' > /lib64/libtinfo.so.6: error adding symbols: DSO missing from command > line collect2: error: ld returned 1 exit status Makefile:1405: > recipe for target 'gdb' failed make[2]: *** [gdb] Error 1 make[2]: > Leaving directory > '/var/tmp/portage/sys-devel/gdb-7.10.1/work/gdb-7.10.1/gdb' > Makefile:8119: recipe for target 'all-gdb' failed make[1]: *** > [all-gdb] Error 2 make[1]: Leaving directory > '/var/tmp/portage/sys-devel/gdb-7.10.1/work/gdb-7.10.1' Makefile:845: > recipe for target 'all' failed make: *** [all] Error 2 * ERROR: > sys-devel/gdb-7.10.1::gentoo failed (compile phase): * emake failed > > Cheers, Meino Looks like gdb is linking againt libreadline but libreadline is linked against ncurses 5 and you're trying to link gdb against ncurses 6. So rebuild libreadline which should cause it to link against version 6 and try again. Also you may want to disable the tinfo flag for ncurses 6 because it's problematic and mostly needed by binary packages and I don't think you have any linked against ncurses 6. - -- Fernando Rodriguez -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYFLe6AAoJEPbOFX/5Ulwc/00P/jPMf4tVQoRM13EK0HrWoZGz vWwqz6uHRx/7JxVl+vbZ9q9NjAOJYujJABBHfsTy2dYuM/hV8XqcMQUD9fzQX/Ug b3MJnCHh92AD7f1kInfxtFOF7Av6iSpwu/orj/H2UkGgAhGMoPK0M9RoTpGo9SaA UZGn7M/U66k22PnoeyV2ekdnwBp/kWOXJe90vNeXEiAlteYV3bd7onCkRRRRQtbQ t2HfmLxP8x5XLM6aZ3ZQg7pV5GgHC2vXt209twSgUETwzYckz6VcaolQcAHCrxk4 8TBaSU9BpudVGFOXXaEqEnh0MX8+E3oh01Mu4j0rmnZ6rVX4kXcXUa7Oh1Q8dCRO M3fbyqOV88uDQlTgKSE9vtJWcOCV5m8xe7YqXC90eb3jdZ3mrVckYyIEKYSJYiri i0EvZf+WNXCpoNnwRD2GQFVkqdyEWElRu498smKiXY9dTLl5MBvZVauGwzrPXWTU 1pVhyGHBBjIseUk79ycSUyNeIA68wgEbxAD+J9VFnzKbYGYo4/ZnrA/KQ+4DWiSy En/XY8afn8lHjXmSnajI7MX4Su3QC9Gz5zCmNGC6Px1RAN0YwtZjAH3SQG3v1aWH M5dK0ahS5bmwOrRRuSAGh8xNEeAjGhW4RuHF4gZd6V7IViP/EfpvNaiiVLsZZc1b 4LBYZwviEBTd7ynqC9SW =Oy1Z -----END PGP SIGNATURE-----