From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by sourceware.org (Postfix) with ESMTPS id E47203858D32; Wed, 15 Jun 2022 19:18:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org E47203858D32 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 4F0451F9EE; Wed, 15 Jun 2022 19:18:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1655320719; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZzSmCSoJ+8l38dr3RF5ZoeT3Ia6V4XVr7wr3Bk6I6zI=; b=xzvK26ES5CULiRT+Oh17POsj6Ixy1P3+fmt7ej/5/thVN3MpR9pmKW0b3s92Z98DstDMx1 4CDw+vYkjgI4RtUL9StDS41mrLIjyxc4E5IYeur6ay9nHDso8FfF0OmtLUZBy0fvylnkag TImoZ6q9+kLgB4blagrDD0i7+A19THE= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1655320719; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=ZzSmCSoJ+8l38dr3RF5ZoeT3Ia6V4XVr7wr3Bk6I6zI=; b=eD8xwiqGZml1lSNuGNdOSv4PV9E8Xh21h8G1QsUknS+u2eUqn1+56ciL8REZonMNz6TfEM rRN2WYnojtLBnABw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 2D31D139F3; Wed, 15 Jun 2022 19:18:39 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 2tAQCo8wqmLiJAAAMHmgww (envelope-from ); Wed, 15 Jun 2022 19:18:39 +0000 Message-ID: Date: Wed, 15 Jun 2022 21:18:38 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: gdb builder status (Was: Adding binutils to the GNU Toolchain buildbot on sourceware) Content-Language: en-US To: Mark Wielaard , Tom de Vries , Simon Marchi Cc: buildbot@sourceware.org, "gdb-patches@sourceware.org" References: <524b04b7-a78c-7aae-4605-b40f61e6830c@arm.com> <16fe426d-c436-f030-dc43-0e81e7f0e853@arm.com> <20220428141957.GB23335@gnu.wildebeest.org> <20220428162803.GD23335@gnu.wildebeest.org> <20220429200422.GB7305@gnu.wildebeest.org> <20220501194445.GB30898@gnu.wildebeest.org> <28a953d1-9fdc-e4f7-18cc-0b7b1a4e88ea@suse.de> <9576d8d18b533c753df75a2cdb6ca9d786d71ff3.camel@klomp.org> From: =?UTF-8?Q?Martin_Li=c5=a1ka?= In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: buildbot@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "The https://builder.sourceware.org/ buildbot" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 15 Jun 2022 19:18:43 -0000 On 6/15/22 16:38, Mark Wielaard wrote: > Hi Tom, > > On Wed, 2022-06-15 at 13:09 +0200, Mark Wielaard wrote: >>> I did wonder why the builder didn't catch this. I found out that >>> the >>> buildbot gdb-opensuseleap-x86_64 did't fail because the buildbot >>> builds >>> gdb without debuginfod support. >>> >>> Mark, is this something we want to fix? >>> >>> For opensuse it's package libdebuginfod-devel. >> >> Yep, that seems like a good idea. Should now be added to the >> opensuse- >> leap container. > > Note that this didn't actually work. Although the package is now > installed: > > builder@df808da35762:~/build> rpm -qa | grep debuginfod > libdebuginfod-devel-0.185-150400.3.35.x86_64 > > The configure test still fails: > > configure:7009: checking whether to use debuginfod > configure:7011: result: auto > configure:7017: checking for libdebuginfod >= 0.179 > configure:7024: $PKG_CONFIG --exists --print-errors "libdebuginfod >= 0.179" > configure:7027: $? = 0 > configure:7041: $PKG_CONFIG --exists --print-errors "libdebuginfod >= 0.179" > configure:7044: $? = 0 > configure:7069: gcc -o conftest -g -O2 -ldebuginfod conftest.c -ldl >&5 > /usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld: cannot find -ldebuginfod > collect2: error: ld returned 1 exit status > > The problem is: > > builder@df808da35762:~/build> ls -lah /usr/lib64/libdebuginfod.so > lrwxrwxrwx 1 root root 22 May 7 23:06 /usr/lib64/libdebuginfod.so -> > libdebuginfod-0.185.so > builder@df808da35762:~/build> ls -lah /usr/lib64/libdebuginfod-0.185.so > ls: cannot access '/usr/lib64/libdebuginfod-0.185.so': No such file or > directory > > Is that a opensuse leap packaging bug? Note we don't have the package in Leap and this is what I see when building the current Containerfile-opensuse-leap: STEP 3/10: RUN zypper -n install gcc gcc-c++ libtool ccache valgrind isl-devel mpc-devel mpfr-devel gmp-devel patch util-linux diffutils iproute2 bsdtar cpio procps coreutils make git autoconf dejagnu automake gettext-devel bison flex bzip2 libbz2-devel xz xz-devel gzip zlib-devel zstd libzstd-devel findutils file tar curl libarchive-devel libcurl-devel libmicrohttpd-devel sqlite-devel libelf-devel libdw-devel libdebuginfod-devel xmlto poppler-tools libxslt docbook-dtds docbook-xsl-stylesheets libxml2-devel dos2unix dpkg python3-devel python3-mock python3-rpm python3-pyxdg python3-pip openmpi-devel gdb help2man wget texinfo libexpat-devel glibc-devel glibc-locale ... 'libdebuginfod-devel' not found in package names. Trying capabilities. No provider of 'libdebuginfod-devel' found. ['--plus-content debug'?] Martin > > BTW. To debug such builder container issues you can use this IMHO handy > guide: > https://sourceware.org/git/?p=builder.git;a=blob;f=README_containers;hb=HEAD > >> CC buildbot list, where you can propose such patches yourself if you >> notice anything else missing. >> >> Cheers, >> >> Mark >>