From mboxrd@z Thu Jan 1 00:00:00 1970 X-GM-THRID: 6727118917296193536 X-Received: by 2002:ac2:4644:: with SMTP id s4mr14348281lfo.158.1566286629866; Tue, 20 Aug 2019 00:37:09 -0700 (PDT) X-BeenThere: isar-users@googlegroups.com Received: by 2002:a2e:91d9:: with SMTP id u25ls2010563ljg.15.gmail; Tue, 20 Aug 2019 00:37:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqzFsa9jBBwPOfbQAu44f8Ao5Vai7925e3Gh8Dfw1vDklx6Xd6ouqsYhO6O/5spc+z67R7J7 X-Received: by 2002:a05:651c:20d:: with SMTP id y13mr15015613ljn.112.1566286629529; Tue, 20 Aug 2019 00:37:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566286629; cv=none; d=google.com; s=arc-20160816; b=CO/IarVTzSkxPULziR9o7bXAEveoz/GegCdgKek0OVoH0aqnKrwsKRZPUQtdx8BU5L Zhf2SM889JCvx6UZjSM0b1/IjwJVjd02fFo12+Y5GZtPcRKExkLMP+tjXnBFBNt8hA+X 2W7Qf4Pqkpbo6Zpc7T9NuEPbH71qdzfwPAgur0pzshMwY8wrrb/SUcHNDD2XdlMRs1Wd Nl5XXF+mMA4t/E74l+PCSFN0PDxQ17VyW8906TnOpTlv7UGUrsNWWDQm/Miih3GJDQLr XUsq308PEfsclVgymnTxeOXt0SZsFmnGcLyANJJ5X3qDCgEHGV9DW10etjsuFz2I2nxo cebQ== 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=QFfQeBB5M2oWA95qkoWkdGE1sZjf/m5VSo1EKPOt2TI=; b=GvKH6a0ZrVfP+1o2pYBqQ65Cyf5mavO/scVXeyEgxGPOyOvDrufaou76FN1CAVELi8 OixmYlnnd0Q3je5I/OsY0i9AtQlxZntF/op+jK4gfDV6PcTYI6DCeygJJ3jhVyWLq+rH 1QtcVscVeQaKgDwaHxueUZUab04l5i5oHeCDJZsbdGJec12b7I2waaUO8f1VIpBd78wX xW7ulRhZXlrQtPcGcCpSluAUuOywqYxOic0sO54EZuhT6+JB3wYylToQkuIx3Q/DOD1/ BDKyqFHj8qsQolvEzaNKSIF2d2MXD1W0ustM7JpwW3f2e+pP1KIHNSMgUa4hL+28sXVQ EfqA== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.28 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 goliath.siemens.de (goliath.siemens.de. [192.35.17.28]) by gmr-mx.google.com with ESMTPS id t23si1017238lfk.2.2019.08.20.00.37.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Aug 2019 00:37:09 -0700 (PDT) Received-SPF: pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.28 as permitted sender) client-ip=192.35.17.28; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of claudius.heine.ext@siemens.com designates 192.35.17.28 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 goliath.siemens.de (8.15.2/8.15.2) with ESMTPS id x7K7b8hL018506 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 20 Aug 2019 09:37:08 +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 x7K7b8UL014535; Tue, 20 Aug 2019 09:37:08 +0200 Subject: Re: Sporadic build failure of next To: Jan Kiszka , isar-users References: <1caa3be8-d9c7-0f31-7cb7-4ee3ad43af27@siemens.com> From: Claudius Heine Message-ID: Date: Tue, 20 Aug 2019 09:37:08 +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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit X-TUID: /r7RurLnDPV9 On 20/08/2019 09.09, Jan Kiszka wrote: > On 20.08.19 08:54, Claudius Heine wrote: >> 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. > > Unfortunately, that is history already (disposed docker builds). But it > has to be something that destroyed the information because the later > builds got past this point. Maybe its a issue with the libhello package? What I found odd was the path. libc6-armhf-cross contains the libc here: libc6-armhf-cross: /usr/arm-linux-gnueabihf/lib/libc.so.6 So a simple search (dpkg -S) for '/lib/arm-linux-gnueabihf/libc.so.6' will not give that result. Maybe the rpath needs to be fixed? Maybe the rpath is sometimes fixed, and sometimes not? race? 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