From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=altlinux.org; s=dkim; h=Subject:In-Reply-To:Content-Type:MIME-Version: References:Message-ID:To:From:Date:Sender:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=WvCEWGxAvTT0vDEQLpmflIWVKIk2EEr9HBVrCnb4cRI=; b=sJFlEaxVGGLFWxT75J5JluTWGJ +5K0rKULl26GqrP2RWC+gpg3B22O75fXDWoYMuBvLntI8XjET5jNiCL/1Aex2W/LHjucM6P8giW+X jGgsMvwCgq/Iq2V2jxKPtVZsaiazYCa1RY1GxPTWws0BqybwNYnH86Za2GlHgV86Z1gaHn4Er152f ROi0PUsNV54wV1Isx/p7a2Ud3ZZk2Hx3LjAMqywGMyxdfe8s264taOXpgE5Ks04P4dYZhHpW3V5tK l5MY81zQ/cSZXM8ViefrsXh2RzP/Wi6WTpUGKaL+s9c096TysOCXGWRaAd4ZNyPdKRe6ZeBSPejwK /Gjoy2rA==; Date: Tue, 12 Jan 2021 15:11:28 +0300 From: Arseny Maslennikov To: ALT Linux Team development discussions Message-ID: References: <20210107205220.GA1094824@lks.home> <20210111160945.GA1739369@lks.home> <20210111214100.GA1776208@lks.home> <20210111231642.GB14540@altlinux.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rKharzW/jMJrVWIA" Content-Disposition: inline In-Reply-To: <20210111231642.GB14540@altlinux.org> OpenPGP: url=http://grep.cs.msu.ru/~ar/pgp-key.asc X-SA-Exim-Connect-IP: 37.204.119.143 X-SA-Exim-Mail-From: arseny@altlinux.org X-SA-Exim-Version: 4.2.1 X-SA-Exim-Scanned: Yes (on mail.cs.msu.ru) Subject: Re: [devel] [#263468] EPERM (try 14) llvm-common.git=11.0.0-alt2 srpm=llvm11.0-11.0.0-alt2.src.rpm X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 12 Jan 2021 12:11:32 -0000 Archived-At: List-Archive: List-Post: --rKharzW/jMJrVWIA Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 12, 2021 at 02:16:42AM +0300, Dmitry V. Levin wrote: > On Mon, Jan 11, 2021 at 10:41:00PM +0100, Konstantin Lepikhov wrote: > [...] > > > =D0=92=D0=BE=D1=82 =D1=82=D1=83=D1=82 =D0=BD=D0=B0=D0=BF=D0=B8=D1=81= =D0=B0=D0=BD=D0=BE, =D0=BF=D0=BE=D1=87=D0=B5=D0=BC=D1=83 man1dir =D0=BD=D0= =B5 =D0=BB=D0=B8=D1=88=D0=BD=D0=B8=D0=B9: > > >=20 > > > > > +# Symlink man pages to the man dirs. > > > > > +for mand in %buildroot%llvm_datadir/man/man*; do > > > > > + mand_index=3D"${mand##*/man}" > > > > > + for m in "$mand"/*.[1-9]*; do > > > > > + # Let's force compress the man page, then symlink it. > > > > > + # /usr/lib/llvm-11.0/share/man/manD/utilX.D.xz -> /usr/share/m= an/manD/utilX-11.D.xz > > > > > + # Otherwise, brp-alt(compress) keeps fucking us up. =D0=92=D0=BE=D1=82 =D0=B7=D0=B0 =D1=8D=D1=82=D0=B8=D0=BC: > > > > > + # It remakes the symlinks first, then compresses their targets, > > > > > + # severing the symlinks. =D0=90 =D0=BD=D0=B0=D0=B4=D0=BE =D0=BD=D0=B0=D0=BE=D0=B1=D0=BE=D1=80=D0=BE= =D1=82. =D0=9F=D1=80=D0=B8=D1=85=D0=BE=D0=B4=D0=B8=D1=82=D1=81=D1=8F =D1=81=D0=B6= =D0=B8=D0=BC=D0=B0=D1=82=D1=8C =D0=B2 =D1=81=D0=B5=D0=BA=D1=86=D0=B8=D0=B8 = %install, =D0=B4=D0=BE =D1=82=D0=BE=D0=B3=D0=BE, =D0=BA=D0=B0=D0=BA =D0=B4= =D0=BE =D1=8D=D1=82=D0=BE=D0=B3=D0=BE =D0=B4=D0=BE=D0=B1=D0=B5=D1=80=D1=91= =D1=82=D1=81=D1=8F brp: > > > > > + /usr/lib/rpm/compress_files "$m" > > > > > + > > > > > + mb=3D"$(basename "$m")" # e. g. llvm-ar.1.xz > > > > > + new_mb=3D"${mb%%.[1-9]*}-%v_major.$mand_index" # e. g. llvm-ar= -11.1.xz > > > > > + > > > > > + mkdir -p "%buildroot%_mandir/man$mand_index" > > > > > + ln -srv "$m" "%buildroot%_mandir/man$mand_index/$new_mb" > > > > > + done > > > > > +done > > =D0=9D=D1=83 =D1=82=D0=B0=D0=BA =D0=BA=D0=BE=D1=81=D1=82=D1=8B=D0=BB=D1= =8C =D0=B6=D0=B5=D0=B6. =D0=A3 =D0=BD=D0=B0=D1=81 =D1=82=D1=83=D1=82 =D0=B5= =D1=81=D1=82=D1=8C =D0=BC=D0=B0=D0=BD=D1=82=D0=B5=D0=B9=D0=BD=D0=B5=D1=80= =D1=8B rpm, =D0=BF=D0=BE=D1=87=D0=B5=D0=BC=D1=83 =D0=BE=D0=BD=D0=B8 =D0=BD= =D0=B5 =D0=BF=D0=BE=D0=BC=D0=BE=D0=B3=D0=B0=D1=8E=D1=82? >=20 > =D0=A2=D0=B0=D0=BA, =D0=B0 =D0=B2 =D1=87=D1=91=D0=BC =D0=BF=D1=80=D0=BE= =D0=B1=D0=BB=D0=B5=D0=BC=D0=B0 =D0=B8 =D0=B7=D0=B0=D1=87=D0=B5=D0=BC =D0=BF= =D0=BE=D0=BD=D0=B0=D0=B4=D0=BE=D0=B1=D0=B8=D0=BB=D0=B8=D1=81=D1=8C =D0=BA= =D0=BE=D1=81=D1=82=D1=8B=D0=BB=D0=B8? =D0=A7=D1=83=D1=82=D1=8C =D0=B2=D1=8B=D1=88=D0=B5. > =D0=9C=D0=BE=D0=B6=D0=B5=D1=82 =D0=B1=D1=8B=D1=82=D1=8C, =D0=B2=D1=81=D1= =91 =D1=83=D0=B6=D0=B5 =D0=B1=D1=8B=D0=BB=D0=BE =D0=BF=D1=80=D0=B8=D0=B4=D1= =83=D0=BC=D0=B0=D0=BD=D0=BE =D0=BC=D0=BD=D0=BE=D0=B3=D0=BE =D0=BB=D0=B5=D1= =82 =D0=BD=D0=B0=D0=B7=D0=B0=D0=B4, =D0=B0 =D0=B2=D1=8B =D0=B5=D1=89=D1=91 = =D0=BD=D0=B5 =D0=B2 =D0=BA=D1=83=D1=80=D1=81=D0=B5, > =D1=87=D1=82=D0=BE =D1=8D=D1=82=D0=BE =D0=B1=D1=8B=D0=BB=D0=BE =D0=BF=D1= =80=D0=B8=D0=B4=D1=83=D0=BC=D0=B0=D0=BD=D0=BE =D0=B8=D0=BC=D0=B5=D0=BD=D0= =BD=D0=BE =D0=B4=D0=BB=D1=8F =D0=B2=D0=B0=D1=88=D0=B5=D0=B3=D0=BE =D1=81=D0= =BB=D1=83=D1=87=D0=B0=D1=8F? ;) =D0=9D=D0=B5 =D0=B8=D1=81=D0=BA=D0=BB=D1=8E=D1=87=D0=B0=D1=8E. --rKharzW/jMJrVWIA Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE56JD3UKTLEu/ddrm9dQjyAYL01AFAl/9kfAACgkQ9dQjyAYL 01DMNQ//YgMuHhhqTdlMjPP/QJkqcZwqRP3qUqMqA65VhTyeg8N+Dj00d9xyu/zP gmZt5fj5SHD2XFtS7CgI53J/zbwmRID8dGYeGvYh8rRGMyqKuyInN0/UMM83x7WW HV46ogC8zL9pY5TkffA77kSufUVtyCYTT0SmhohFHIJQlA6V0BbvhoTmD0v5g1tt gI4q7QDkHgHc5DBC4eTpYOIMyTdmIZeXA6dDBwN7IKkNx6rYHgQNTVeg5h6jiVNX mobn0dK+MREF2zJEujAffbhL9dDgByXkopaVtqcYoi3DCWsNKqAtWOSwMeYtfAtS kRjW7sulyBCBOn1E17YSNjMQBCNQfi/zhw0HIL5gGIjLnZP/xLFf+gSPeka5464I 3lIXlfUtL+LrOA8ExZkxpcDYXGFu+bp/NkpSFYJ0IYHCxn4rpB0ZCwcsEJU15CqS Nr/g5PY+LqrDo52DW7bFhLZDW1e4PHSgfVq0rNAJDQWstGZwbZSxUKesO6H/lJ09 3tq+NuqMyLcS/3ouPH8rLVqo3nHo14indM8hxOynne6KButQdUke0Evc0sQ9kkmj 1VMep2eD8soKH4ulwsPwKBZsMYFGtScMq+eyXYL01zjpGMX9AKz8SRiazfO/50Ji AG5711EcCismspZBjPIcl2khWMYEIcDvDgqjZIX5utzPwQp30vs= =XMEW -----END PGP SIGNATURE----- --rKharzW/jMJrVWIA--