From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (5751f4a1.skybroadband.com [87.81.244.161]) by mail.openembedded.org (Postfix) with ESMTP id D9DB974C8A for ; Wed, 4 Apr 2018 13:43:57 +0000 (UTC) Received: from hex ([192.168.3.34]) (authenticated bits=0) by dan.rpsys.net (8.15.2/8.15.2/Debian-3) with ESMTPSA id w34Dhpcm017811 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Wed, 4 Apr 2018 14:43:52 +0100 Message-ID: <1522849430.11431.367.camel@linuxfoundation.org> From: Richard Purdie To: Ola x Nilsson , Ola x Nilsson , "openembedded-core@lists.openembedded.org" Date: Wed, 04 Apr 2018 14:43:50 +0100 In-Reply-To: <1522153694838.99691@axis.com> References: <20180223074618.24928-1-olani@axis.com> <1522153694838.99691@axis.com> X-Mailer: Evolution 3.18.5.2-0ubuntu3.2 Mime-Version: 1.0 X-Virus-Scanned: clamav-milter 0.99.3 at dan X-Virus-Status: Clean Subject: Re: [PATCH] package.bbclass: Include dbgsrc for static libs X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Apr 2018 13:43:58 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit On Tue, 2018-03-27 at 12:28 +0000, Ola x Nilsson wrote: > ping? Fails if you enable ptest in openssl. Suspect you need to check if its a real file rather than a symlink and only check real files. Cheers, Richard ERROR: openssl-1.0.2o-r0 do_package: Error executing a python function in exec_python_func() autogenerated: The stack trace of python calls that resulted in this exception/failure was: File: 'exec_python_func() autogenerated', lineno: 2, function:      0001:  *** 0002:split_and_strip_files(d)      0003: File: '/media/build1/poky/meta/classes/package.bbclass', lineno: 969, function: split_and_strip_files      0965:                file = os.path.join(root, f)      0966:                if file.endswith(".ko") and file.find("/lib/modules/") != -1:      0967:                    kernmods.append(file)      0968:                    continue  *** 0969:                if isStaticLib(file):      0970:                    staticlibs.append(file)      0971:                    continue      0972:      0973:                # Skip debug files File: '/media/build1/poky/meta/classes/package.bbclass', lineno: 944, function: isStaticLib      0940:        return type      0941:      0942:    def isStaticLib(path):      0943:        if file.endswith('.a'):  *** 0944:            with open(path, 'rb') as fh:      0945:                magic = b'!\n'      0946:                start = fh.read(len(magic))      0947:                return start == magic      0948:        return False Exception: FileNotFoundError: [Errno 2] No such file or directory: '/media/build1/poky/build/tmp/work/core2-64-poky-linux/openssl/1.0.2o-r0/package/usr/lib/openssl/ptest/libssl.a' ERROR: openssl-1.0.2o-r0 do_package: Function failed: split_and_strip_files ERROR: Logfile of failure stored in: /media/build1/poky/build/tmp/work/core2-64-poky-linux/openssl/1.0.2o-r0/temp/log.do_package.20107 ERROR: Task (/media/build1/poky/meta/recipes-connectivity/openssl/openssl_1.0.2o.bb:do_package) failed with exit code '1' NOTE: Tasks Summary: Attempted 1308 tasks of which 1303 didn't need to be rerun and 1 failed.