From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 102385 invoked by alias); 6 Jan 2017 19:33:19 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 102370 invoked by uid 89); 6 Jan 2017 19:33:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-5.1 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=rpm, Hx-languages-length:781 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 06 Jan 2017 19:33:08 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2FB8061B8E for ; Fri, 6 Jan 2017 19:33:08 +0000 (UTC) Received: from host1.jankratochvil.net (ovpn-204-24.brq.redhat.com [10.40.204.24]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v06JX5Ds003573 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO) for ; Fri, 6 Jan 2017 14:33:07 -0500 Date: Fri, 06 Jan 2017 19:33:00 -0000 From: Jan Kratochvil To: gdb-patches@sourceware.org Subject: Re: [patch] contrib/gdb-add-index.sh: chmod u+w Message-ID: <20170106193303.GA26313@host1.jankratochvil.net> References: <20170106183710.GA2457@host1.jankratochvil.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170106183710.GA2457@host1.jankratochvil.net> User-Agent: Mutt/1.7.1 (2016-10-04) X-IsSubscribed: yes X-SW-Source: 2017-01/txt/msg00113.txt.bz2 On Fri, 06 Jan 2017 19:37:10 +0100, Jan Kratochvil wrote: > in Fedora 24 it still worked, in Fedora 25 it does not - *-debuginfo.rpm > no longer have the .gdb_index accelerating section now. > > It happens because: > objcopy: unable to copy file 'foo.debug'; reason: Permission denied > > *.debug files in Fedora were always 444 but the time gdb-add-index is run is > still before the *.debug split and in Fedora 24 the files were -rwxr-xr-x > that time while in Fedora 25 they are apparently no longer w. The problem was in Fedora /usr/lib/rpm/find-debuginfo.sh script regression. This GDB contrib/ patch is not required to make Fedora working. Although I find it as a good improvement anyway so keeping it here submitted. Jan