From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1Y0l9H-00038u-9t for ptxdist@pengutronix.de; Tue, 16 Dec 2014 06:58:19 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1Y0l9H-0006nW-8M for ptxdist@pengutronix.de; Tue, 16 Dec 2014 06:58:19 +0100 Date: Tue, 16 Dec 2014 06:58:19 +0100 From: Michael Olbrich Message-ID: <20141216055819.GP31594@pengutronix.de> References: <20141212161217.GN31594@pengutronix.de> <5053571.Pnod4RTFze@ws-stein> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <5053571.Pnod4RTFze@ws-stein> Subject: Re: [ptxdist] [ANNOUNCE] OSELAS.Toolchain() 2014.12.0 released Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi, On Mon, Dec 15, 2014 at 09:50:36AM +0100, Alexander Stein wrote: > On Friday 12 December 2014 17:12:17, Michael Olbrich wrote: > > I'm happy to announce that I've just released OSELAS.Toolchain-2014.12.0. > > Thanks for the new release. But I have trouble generating the .deb file. I'm running a non-Debian disto, Gentoo in particular, but this souldn't matter as the debian related packages are installed. > I attached the logfile containing the .deb build step. I'm not a shell expert, but it seems to me that the argument list is too long. > As I don't need the .deb file, I workaround that by touching e.g. dist/oselas.toolchain-2014.12.0-arm-1136jfs-linux-gnueabi-gcc-4.9.2-glibc-2.20-binutils-2.24-kernel-3.16-sanitized_2014.12.0_amd64.deb > Any idea how to fix that? [...] > ----------------------------------------------------------------------------------------------------------------------------------------- > target: oselas.toolchain-2014.12.0-arm-1136jfs-linux-gnueabi-gcc-4.9.2-glibc-2.20-binutils-2.24-kernel-3.16-sanitized_2014.12.0_amd64.deb > ----------------------------------------------------------------------------------------------------------------------------------------- > > Copy data... > Generate dependencies... > dpkg-shlibdeps: error: no dependency information found for /lib64/libc.so.6 (used by /home/alex/Dokumente/repo/OSELAS.Toolchain/dist//oselas.toolchain-2014.12.0-arm-1136jfs-linux-gnueabi-gcc-4.9.2-glibc-2.20-binutils-2.24-kernel-3.16-sanitized-temp/tmp/opt/OSELAS.Toolchain-2014.12.0/arm-1136jfs-linux-gnueabi/gcc-4.9.2-glibc-2.20-binutils-2.24-kernel-3.16-sanitized/bin/arm-1136jfs-linux-gnueabi-gcc-ar) > Hint: check if the library actually comes from a package. [...] > make: *** [/home/alex/Dokumente/repo/OSELAS.Toolchain/dist/oselas.toolchain-2014.12.0-arm-1136jfs-linux-gnueabi-gcc-4.9.2-glibc-2.20-binutils-2.24-kernel-3.16-sanitized_2014.12.0_amd64.deb] Error 2 With the new release, make_deb.sh uses dpkg-shlibdeps to expand the dependencies of the Debian packages. This is done by checking all binaries and collecting the libraries they need. If dpkg-shlibdeps finds a library that is not part of a Debian package, it fails with this error. I've seen this on one host as well (with /lib/libc.so.6). I _think_ it's just a leftover from a failed update, because it doesn't exist on the other servers. But we've not removed it yet. Hacking the ptxconfig file to remove the option should probably work for you. I guess I should make those packages optional for future releases. Michael -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de