Received: from eggs.gnu.org ([140.186.70.92]:35403) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZ6T1-00022q-PK for qemu-devel@nongnu.org; Fri, 09 Dec 2011 14:50:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RZ6Sz-0007sc-Ma for qemu-devel@nongnu.org; Fri, 09 Dec 2011 14:50:47 -0500 Received: from indium.canonical.com ([91.189.90.7]:44870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RZ6Sz-0007sL-9m for qemu-devel@nongnu.org; Fri, 09 Dec 2011 14:50:45 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1RZ6Sx-0003wY-Uh for ; Fri, 09 Dec 2011 19:50:43 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id E67FC2E8047 for ; Fri, 9 Dec 2011 19:50:43 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Fri, 09 Dec 2011 19:39:42 -0000 From: Vagrant Cascadian <902306@bugs.launchpad.net> Sender: bounces@canonical.com References: <20111209193942.26180.18749.malonedeb@soybean.canonical.com> Message-Id: <20111209193942.26180.18749.malonedeb@soybean.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 902306] [NEW] qemu-user -static variants require shared libraries Reply-To: Bug 902306 <902306@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Public bug reported: somehwere in the qemu 1.0 series, the qemu-user static variants started issuing build warnings like so: /usr/lib/gcc/i486-linux-gnu/4.6/../../../i386-linux-gnu/libglib-2.0.a(gut= ils.o): In function `g_get_any_init_do': (.text+0xe37): warning: Using 'getpwuid' in statically linked application= s requires at runtime the shared libraries from the gli bc version used for linking /usr/lib/gcc/i486-linux-gnu/4.6/../../../i386-linux-gnu/libglib-2.0.a(gut= ils.o): In function `g_get_any_init_do': (.text+0xe2a): warning: Using 'setpwent' in statically linked application= s requires at runtime the shared libraries from the gli bc version used for linking /usr/lib/gcc/i486-linux-gnu/4.6/../../../i386-linux-gnu/libglib-2.0.a(gut= ils.o): In function `g_get_any_init_do': (.text+0xe40): warning: Using 'endpwent' in statically linked application= s requires at runtime the shared libraries from the gli bc version used for linking /usr/lib/gcc/i486-linux-gnu/4.6/../../../i386-linux-gnu/libglib-2.0.a(gut= ils.o): In function `g_get_any_init_do': (.text+0xb7a): warning: Using 'getpwnam_r' in statically linked applicati= ons requires at runtime the shared libraries from the g libc version used for linking /usr/lib/gcc/i486-linux-gnu/4.6/../../../i386-linux-gnu/libglib-2.0.a(gut= ils.o): In function `g_get_any_init_do': (.text+0xbbb): warning: Using 'getpwuid_r' in statically linked applicati= ons requires at runtime the shared libraries from the g libc version used for linking for a full log, see: https://buildd.debian.org/status/fetch.php?pkg=3Dqemu&arch=3Damd64&ver=3D1.= 0~rc4%2Bdfsg-1&stamp=3D1322591568 i've also tested with qemu/master from today (commit 217bfb445b54db618a30f3a39170bebd9fd9dbf2), and it has the same issue. This seems to cause adduser, addgroup, etc. to fail in cross- architecture chroots that use statically built qemu-user binaries to emulate the foreign architecture. Older versions (0.12-0.15, at least) didn't seem to have this issue. live well, vagrant ** Affects: qemu Importance: Undecided Status: New ** Affects: qemu (Debian) Importance: Unknown Status: Unknown ** Bug watch added: Debian Bug tracker #651083 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D651083 ** Also affects: qemu (Debian) via http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D651083 Importance: Unknown Status: Unknown -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/902306 Title: qemu-user -static variants require shared libraries Status in QEMU: New Status in =E2=80=9Cqemu=E2=80=9D package in Debian: Unknown Bug description: somehwere in the qemu 1.0 series, the qemu-user static variants started issuing build warnings like so: /usr/lib/gcc/i486-linux-gnu/4.6/../../../i386-linux-gnu/libglib-2.0.a(g= utils.o): In function `g_get_any_init_do': (.text+0xe37): warning: Using 'getpwuid' in statically linked applicati= ons requires at runtime the shared libraries from the gli bc version used for linking /usr/lib/gcc/i486-linux-gnu/4.6/../../../i386-linux-gnu/libglib-2.0.a(g= utils.o): In function `g_get_any_init_do': (.text+0xe2a): warning: Using 'setpwent' in statically linked applicati= ons requires at runtime the shared libraries from the gli bc version used for linking /usr/lib/gcc/i486-linux-gnu/4.6/../../../i386-linux-gnu/libglib-2.0.a(g= utils.o): In function `g_get_any_init_do': (.text+0xe40): warning: Using 'endpwent' in statically linked applicati= ons requires at runtime the shared libraries from the gli bc version used for linking /usr/lib/gcc/i486-linux-gnu/4.6/../../../i386-linux-gnu/libglib-2.0.a(g= utils.o): In function `g_get_any_init_do': (.text+0xb7a): warning: Using 'getpwnam_r' in statically linked applica= tions requires at runtime the shared libraries from the g libc version used for linking /usr/lib/gcc/i486-linux-gnu/4.6/../../../i386-linux-gnu/libglib-2.0.a(g= utils.o): In function `g_get_any_init_do': (.text+0xbbb): warning: Using 'getpwuid_r' in statically linked applica= tions requires at runtime the shared libraries from the g libc version used for linking for a full log, see: https://buildd.debian.org/status/fetch.php?pkg=3Dqemu&arch=3Damd64&ver=3D= 1.0~rc4%2Bdfsg-1&stamp=3D1322591568 i've also tested with qemu/master from today (commit 217bfb445b54db618a30f3a39170bebd9fd9dbf2), and it has the same issue. This seems to cause adduser, addgroup, etc. to fail in cross- architecture chroots that use statically built qemu-user binaries to emulate the foreign architecture. Older versions (0.12-0.15, at least) didn't seem to have this issue. live well, vagrant To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/902306/+subscriptions