From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 25EC81396D0 for ; Sat, 19 Aug 2017 22:25:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D5D55E0E4B; Sat, 19 Aug 2017 22:25:06 +0000 (UTC) Received: from mail-pg0-x233.google.com (mail-pg0-x233.google.com [IPv6:2607:f8b0:400e:c05::233]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 79A2FE0E36 for ; Sat, 19 Aug 2017 22:25:06 +0000 (UTC) Received: by mail-pg0-x233.google.com with SMTP id i12so80927566pgr.3 for ; Sat, 19 Aug 2017 15:25:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sysdump.net; s=google; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=TKSIFsRk9e5UQVyTWg7kigyQhbMbN/cJsfsFdlTNH0U=; b=JXKx5iWdsWJnXPfvdnjk0LB7tc35ifja4lO0dsyLtyWuYW7HxRJE6FEskaLzU2yu/H S+yqxQVN0FFu4YX95i6XMHuwbQ3CForcwTCKs1yZUJqTRsTg6jidBgSfQsv91DoxJ7Ln /ddu0aNGEGyvFjupzgO3Ud4TTu71qbABdEKQOG/GxCjjaN9QusuvXmWSNPWoMyqjHpML 5B6INMNh3Ih3Vfq1iFLw5sr4wEujpiGczB9He/Rog9VAEfDC3IRJPjXD/Q0Hz3/07zVX KZFAdnU1o0zSAW+wpyxvdnPTpaWItr4prp7Sq9VuF3AW4cUtklcd7bMBuQjsNWlYOOsg PQ6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=TKSIFsRk9e5UQVyTWg7kigyQhbMbN/cJsfsFdlTNH0U=; b=pVBvswf1rxQ7XUMc985vh9fsS7Z7tRzGikURkIcSvjInD4vbEbVMa3UWQ3xoseroq+ tZLlgI8UVl0KTsB8Y/Aa7L5ytFGHP5BMIuo1myHxnihCxQCael4arDOJx7WwXq98hhg7 vdQatwkLS29kx8sADNnXLKlJLsKfDCPekFHkcjkygRcLNCKFJ5yHCKaIyp1XN34MA2ku NqH5T1xb1CmLLBL3KrhGJJhWxmOTil3+VHepnAsYsdQHSU2BpB41hX/+XB8SleMPDDsn YfdLm7DHXGNjAHCKA0ej0ztH3PT0gog8ufICQ7ZzOZiwNRrrsA7dPcJ8Vl4j5xy/qGUX kdBA== X-Gm-Message-State: AHYfb5igVfi/UTI4aCmOwuiIDGwKV6N0VH3entfjtfvYjacUQVb4EUzd sbwXNfk1ttk0/FbwEKj2PA== X-Received: by 10.84.198.3 with SMTP id o3mr14278913pld.11.1503181505269; Sat, 19 Aug 2017 15:25:05 -0700 (PDT) Received: from [192.168.1.19] ([47.155.65.60]) by smtp.gmail.com with ESMTPSA id o18sm113543pgd.51.2017.08.19.15.25.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 19 Aug 2017 15:25:04 -0700 (PDT) Subject: Re: [gentoo-dev] New SYMLINK_LIB=no migration tool for review To: gentoo-dev@lists.gentoo.org References: <1501689535.795.1.camel@gentoo.org> <1502573615.12010.4.camel@gentoo.org> From: Georgy Yakovlev Message-ID: <60c9f4d9-3398-1705-3dc4-9ea4539070f6@sysdump.net> Date: Sat, 19 Aug 2017 15:25:04 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 In-Reply-To: <1502573615.12010.4.camel@gentoo.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-Archives-Salt: f19c3d8f-172b-4593-9e85-5d4d2d090e9b X-Archives-Hash: 8a82658a4809eaec21959c1347a778d4 I've found couple of issues, or maybe not. systemd installs to /usr/lib/systemd (or /lib/systemd since 234) unconditionally. I'm not sure if it's special and should be allowed to do that, but it's the only package on the system (except gcc/$CHOST dir) that has 64-bit libraries and binaries in lib. Here is the list of the bugs I've found and opened, maybe you can add them as blockers for #506276 https://bugs.gentoo.org/show_bug.cgi?id=627744 https://bugs.gentoo.org/show_bug.cgi?id=627746 https://bugs.gentoo.org/show_bug.cgi?id=628338 On 08/12/2017 02:33 PM, Michał Górny wrote: > On śro, 2017-08-02 at 17:58 +0200, Michał Górny wrote: >> Hi, everyone. >> >> I've finally gotten around to writing a new tool for migrating amd64 >> systems to SYMLINK_LIB=no layout [1]. I've put it in symlink-lib- >> migration [2] repository along with a README. Please review it and give >> it more testing. > > I've pushed two important fixes now: > > a. The tool now processes unowned files as well -- *.{a,la,so} are left > in lib64 (i.e. the symlinks created by db.eclass and alikes) while > everything else goes into lib. > > b. I've fixed cleanup phase to also remove top-level files > and directories that were moved out of lib64. Also, I've fixed it not to > complain about trying to remove non-empty directories. > > >> [1]:https://bugs.gentoo.org/show_bug.cgi?id=506276 >> [2]:https://github.com/mgorny/symlink-lib-migration >