From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6727118917296193536 X-Received: by 2002:a2e:891a:: with SMTP id d26mr15112612lji.26.1566284058774; Mon, 19 Aug 2019 23:54:18 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a19:c317:: with SMTP id t23ls1574155lff.16.gmail; Mon, 19 Aug 2019 23:54:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqzfWKlI+FvFGd8h83x4PH79vUTCrTHmvf2818fYKE3Tfv3G3N0potGMlnH2Fh9sQO349xql X-Received: by 2002:ac2:5939:: with SMTP id v25mr14590044lfi.115.1566284058182; Mon, 19 Aug 2019 23:54:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566284058; cv=none; d=google.com; s=arc-20160816; b=QEFuH/cqkleAvduHu0elbIC8hY4Dsj+jv0bwYzYqgyHzI9tKPG53q3q86LMv/Nqb3z I/ZbNkWggyXdFVYuR2fis9oEBJ7//mDP0PXzF+qy1fSbgPYV/c84mDRjJfFs0AWkWH/4 STUVhKP1xq2r6wSA0g5wptHkKuQjBrPxPbfit6FYNV09BhEVacjpDo3j2WqBWtkjcZ+X y+JHRSP1JdT3ZO9c32UANT4dXPdHz3xHInw2Bmsv/sa4A5MfMrocYO+oTRcQusmoJmTq A34mUS3ic74tVPYfDYg49nM/LupHiBxbeVlcBes9CbwOtTfvYLUULRYhctsE66b70mNS tB5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:content-language:in-reply-to:mime-version :user-agent:date:message-id:from:references:to:subject; bh=l/g+hg9LsFYcqvV6Fs6S7IfmyvoPJzUqOK0P8pQ9e1o=; b=aFGVB2E9W8LwIvukA1eoTfxWnc4MgYkkzcIYzL0YgBXy8HhEyYUP/38qlL+gJNSN5n 3TfWoX/x3sCj0o92p1H17214pxBc3SkgPvvWPPLOS2N131EvHyeVTl1OObR86l9IvMv0 SFL9cjJ8S7su2ruw5wCuyd3NkWUCNcC0fXR02LKeMe767sa7/TJ9v3hubK2NqzQrBxJV 4iHOoE1a0qOkiY+uZ+FiSkGbxTz+CbuTG0MfUfNGCDyQbBs2L6qjrsPP4ZYSAG8PxRn3 HcHOHE094zC9cCbiMeCLozQVOgHbOSyGLyecGbjwZmtIHkXX31K2y0rIfXjTPGjae2qU tyMw== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Return-Path: Received: from david.siemens.de (david.siemens.de. [192.35.17.14]) by gmr-mx.google.com with ESMTPS id m20si634394lfh.1.2019.08.19.23.54.17 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Aug 2019 23:54:18 -0700 (PDT) Received-SPF: pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.14 as permitted sender) client-ip=192.35.17.14; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.14 as permitted sender) smtp.mailfrom=claudius.heine.ext@siemens.com; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=siemens.com Received: from mail1.sbs.de (mail1.sbs.de [192.129.41.35]) by david.siemens.de (8.15.2/8.15.2) with ESMTPS id x7K6sHg6031348 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 20 Aug 2019 08:54:17 +0200 Received: from [139.25.0.7] (linux-ses-ext02.ppmd.siemens.net [139.25.0.7]) by mail1.sbs.de (8.15.2/8.15.2) with ESMTP id x7K6sHEM009317; Tue, 20 Aug 2019 08:54:17 +0200 Subject: Re: Sporadic build failure of next To: "[ext] Jan Kiszka" , isar-users References: <1caa3be8-d9c7-0f31-7cb7-4ee3ad43af27@siemens.com> From: Claudius Heine Message-ID: Date: Tue, 20 Aug 2019 08:54:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <1caa3be8-d9c7-0f31-7cb7-4ee3ad43af27@siemens.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-TUID: aUi43iVMQbHr Hi Jan, On 20/08/2019 07.37, [ext] Jan Kiszka wrote: > Hi, > > attached a build failure of 49895c62cdca. I ran that build 3 more times, > but it didn't trigger an issue again. Looks like some false sharing, but > I do not have an idea yet of what exactly. This is probably the important part of the log: | dpkg-shlibdeps: error: no dependency information found for /lib/arm-linux-gnueabihf/libc.so.6 (used by debian/libhello/usr/lib/arm-linux-gnueabihf/libhello.so.0.0.0) | Hint: check if the library actually comes from a package. | dh_shlibdeps: dpkg-shlibdeps -Tdebian/libhello.substvars debian/libhello/usr/lib/arm-linux-gnueabihf/libhello.so.0.0.0 returned exit code 2 The manpage dpkg-shlibdeps(1) states: no dependency information found for library-file (used by binary). The library needed by binary has been found by dpkg-shlibdeps in library- file but dpkg-shlibdeps has been unable to find any dependency information for that library. To find out the dependency, it has tried to map the library to a Debian package with the help of dpkg -S library-file. Then it checked the corresponding shlibs and symbols files in /var/lib/dpkg/info/, and in the various package's build trees (debian/*/DEBIAN/). This failure can be caused by a bad or missing shlibs or symbols file in the package of the library. It might also happen if the library is built within the same source package and if the shlibs files has not yet been created (in which case you must fix debian/rules to create the shlibs before calling dpkg-shlibdeps). Bad RPATH can also lead to the library being found under a non-canonical name (example: /usr/lib/openoffice.org/../lib/libssl.so.0.9.8 instead of /usr/lib/libssl.so.0.9.8) that's not associated to any package, dpkg-shlibdeps tries to work around this by trying to fallback on a canonical name (using realpath(3)) but it might not always work. It's always best to clean up the RPATH of the binary to avoid problems. Calling dpkg-shlibdeps in verbose mode (-v) will provide much more information about where it tried to find the dependency information. This might be useful if you don't understand why it's giving you this error. Maybe inspection of the work space on the ci server when this error occurred will help. regards, Claudius -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-54 Fax: (+49)-8142-66989-80 Email: ch@denx.de