From: Herve Codina <herve.codina@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 04/15] package/pkg-generic.mk: Fix .la files overwrite detection
Date: Thu, 24 Jun 2021 17:44:50 +0200 [thread overview]
Message-ID: <20210624174450.24fb83d4@fedora> (raw)
In-Reply-To: <20210622103039.GG44262@scaer>
Hi,
On Tue, 22 Jun 2021 12:30:39 +0200
"Yann E. MORIN" <yann.morin.1998@free.fr> wrote:
> On 2021-06-22 12:12 +0200, Thomas Petazzoni spake thusly:
> > On Tue, 22 Jun 2021 11:56:09 +0200
> > "Yann E. MORIN" <yann.morin.1998@free.fr> wrote:
> > > Sorry, but this patch (4/15) is fixing an issue introduced by the first
> > > patch, with:
> > I agree in principle. But here, it's really a new requirement that we
> > are adding on packages, and we *know* that even with Herv? patches
> > there will be some other packages that will need fixing.
>
> Sorry, but this patch is fixing the infra, not the packages.
>
> > So to me it's not really like introducing a regression in a patch, and
> > fixing it later.
>
> I never said it was a regression. ;-)
>
> > > > What about the others issues
> > > > detected ? Squash also together with the first patch ? I think it will
> > > > produce a huge patch quite complicate to understand even with all individual
> > > > commit message squashed.
> > >
> > > Ideally, I would say a series should first fix the issues, then
> > > introduce the tooling.
> >
> > No, please keep one series, but having the fixes *before* we introduce
> > the check.
>
> Exactly; I never said to split the series into two series. It should
> still be one.
>
> > And as stated above, the fixes will not fix all problems,
> > they will only fix the problems we know about. More problems will be
> > detected by the autobuilders thanks to the overwrite check.
>
> And this is totally OK. [0]
>
> > > > However, that being said, I can squash this patch (Fix .la files overwrite
> > > > detection) with the 1st one (detect files overwritten in TARGET_DIR and
> > > > HOST_DIR) if you still think it will be better.
> > >
> > > Yes, I still think that it is better.
> >
> > No, please don't squash, have fixes added before the overwrite check
> > instead.
>
> Well, I still disagree, because this patch really fixes an issue
> introduced *in the infra* by the first patch.
>
Well, my bad.
I think that the better thing to do is to fully rework the history.
First fixing overwrites and then introducing the overwrite detection tooling
(ie the actual PATCH 1 will be moved just before actual PATCH 12 and so
actual PATCH 4 simply disappears).
The patch introducing the tooling will explain in its commit message
why the calls to fixup-libtool-files and fixup-python-files are performed
before taking the overwrite snapshot and why it is safe (sed --in-place).
The variable <PKG>_PER_PACKAGE_TWEAK_HOOKS (or other name) will be introduced
before the tooling. The patches changing some packages to use this variable
(move tweaks from <PKG>_POST_CONFIGURE_HOOKS to <PKG>_PER_PACKAGE_TWEAK_HOOKS)
will also be introduced before the tooling even if these changes really make
sense after the tooling introduction.
Indeed, the notion of action done before taking the overwrite detection
snapshot (<PKG>_PER_PACKAGE_TWEAK_HOOKS) and action done after
(<PKG>_PRE_CONFIGURE_HOOKS, configure and <PKG>_POST_CONFIGURE_HOOKS)
makes sense only with the overwrite detection tool.
Is that seem better for everyone ?
Regards,
Herv?
--
Herv? Codina, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
next prev parent reply other threads:[~2021-06-24 15:44 UTC|newest]
Thread overview: 83+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-21 14:11 [Buildroot] [PATCH 00/15] Overwritten file detection and fixes, one more step to TLP build Herve Codina
2021-06-21 14:11 ` [Buildroot] [PATCH 01/15] package/pkg-generic.mk: detect files overwritten in TARGET_DIR and HOST_DIR Herve Codina
2021-06-21 21:31 ` Yann E. MORIN
2021-06-22 7:40 ` Herve Codina
2021-06-22 9:30 ` Thomas Petazzoni
2021-06-22 9:57 ` Nicolas Cavallari
2021-06-22 10:24 ` Yann E. MORIN
2021-06-24 14:09 ` Herve Codina
2021-06-24 16:18 ` Yann E. MORIN
2021-06-21 14:11 ` [Buildroot] [PATCH 02/15] package/e2fsprogs: fix fsck overwrite in HOST_DIR Herve Codina
2021-06-21 20:52 ` Thomas Petazzoni
2021-06-22 16:26 ` Herve Codina
2021-06-22 19:40 ` Yann E. MORIN
2021-06-24 14:13 ` Herve Codina
2021-06-21 14:11 ` [Buildroot] [PATCH 03/15] package/pkg-generic.mk: Remove Info documents dir entry Herve Codina
2021-06-21 20:51 ` Thomas Petazzoni
2021-06-22 8:43 ` Herve Codina
2021-06-22 9:34 ` Thomas Petazzoni
2021-06-22 20:18 ` Yann E. MORIN
2021-06-24 15:03 ` Herve Codina
2021-06-21 14:11 ` [Buildroot] [PATCH 04/15] package/pkg-generic.mk: Fix .la files overwrite detection Herve Codina
2021-06-21 20:54 ` Thomas Petazzoni
2021-06-22 18:01 ` Herve Codina
2021-06-21 21:42 ` Yann E. MORIN
2021-06-22 9:31 ` Herve Codina
2021-06-22 9:56 ` Yann E. MORIN
2021-06-22 10:12 ` Thomas Petazzoni
2021-06-22 10:30 ` Yann E. MORIN
2021-06-24 15:44 ` Herve Codina [this message]
2021-06-24 16:22 ` Yann E. MORIN
2021-06-21 14:11 ` [Buildroot] [PATCH 05/15] package/pkg-generic.mk: Perform .la files fixup in per-package HOST_DIR Herve Codina
2021-06-21 20:48 ` Thomas Petazzoni
2021-06-22 9:38 ` Herve Codina
2021-06-22 10:12 ` Yann E. MORIN
2021-06-24 16:20 ` Herve Codina
2021-06-21 14:11 ` [Buildroot] [PATCH 06/15] package/pkg-generic.mk: Introduce <PKG>_PER_PACKAGE_TWEAK_HOOKS Herve Codina
2021-06-21 15:10 ` Thomas Petazzoni
2021-06-22 20:39 ` Yann E. MORIN
2021-06-23 12:40 ` Thomas Petazzoni
2021-06-25 7:15 ` Herve Codina
2021-06-25 7:21 ` Herve Codina
2021-07-02 7:18 ` Herve Codina
2021-07-03 6:21 ` Yann E. MORIN
2021-06-21 14:11 ` [Buildroot] [PATCH 07/15] package/apr-util: Use <PKG>_PER_PACKAGE_TWEAK_HOOKS Herve Codina
2021-06-21 20:56 ` Thomas Petazzoni
2021-06-22 9:47 ` Herve Codina
2021-06-22 20:42 ` Yann E. MORIN
2021-06-25 7:30 ` Herve Codina
2021-06-21 14:11 ` [Buildroot] [PATCH 08/15] package/apache: Move APACHE_FIXUP_APR_LIBTOOL to <PKG>_PER_PACKAGE_TWEAK_HOOKS Herve Codina
2021-06-22 20:43 ` Yann E. MORIN
2021-06-21 14:11 ` [Buildroot] [PATCH 09/15] package/pkg-python: Remove _sysconfigdata*.pyc files when _sysconfigdata*.py are changed Herve Codina
2021-06-21 15:12 ` Thomas Petazzoni
2021-06-22 17:52 ` Herve Codina
2021-06-22 20:50 ` Yann E. MORIN
2021-06-25 8:04 ` Herve Codina
2021-06-21 14:11 ` [Buildroot] [PATCH 10/15] package/pkg-generic.mk: Move python fixup to generic package infrastructure Herve Codina
2021-06-22 21:01 ` Yann E. MORIN
2021-06-25 8:22 ` Herve Codina
2021-06-25 9:27 ` Yann E. MORIN
2021-06-21 14:11 ` [Buildroot] [PATCH 11/15] package/owfs: Remove Python sysconfigdata fixup Herve Codina
2021-06-22 21:02 ` Yann E. MORIN
2021-06-25 8:25 ` Herve Codina
2021-06-21 14:11 ` [Buildroot] [PATCH 12/15] package/pkg-generic.mk: Generate final rsync exclude file list Herve Codina
2021-06-22 21:15 ` Yann E. MORIN
2021-06-25 9:05 ` Herve Codina
2021-06-25 9:32 ` Yann E. MORIN
2021-06-21 14:11 ` [Buildroot] [PATCH 13/15] Makefile: Rsync global {TARGET, HOST}_DIR using exclusion " Herve Codina
2021-06-24 20:20 ` Yann E. MORIN
2021-06-24 20:34 ` Yann E. MORIN
2021-06-25 11:59 ` Herve Codina
2021-06-25 12:50 ` Yann E. MORIN
2021-06-25 12:00 ` Herve Codina
2021-06-21 14:11 ` [Buildroot] [PATCH 14/15] Makefile: Breaks hardlinks in global {TARGET, HOST}_DIR on per-package build Herve Codina
2021-06-24 20:22 ` Yann E. MORIN
2021-06-21 14:11 ` [Buildroot] [PATCH 15/15] package/pkg-generic.mk: Fix per-package <pkg>-{reconfigure, rebuild, reinstall} Herve Codina
2021-06-24 20:44 ` Yann E. MORIN
2021-06-25 14:00 ` Herve Codina
2021-06-21 20:42 ` [Buildroot] [PATCH 00/15] Overwritten file detection and fixes, one more step to TLP build Arnout Vandecappelle
2021-07-06 14:15 ` Herve Codina
2021-06-24 20:53 ` Yann E. MORIN
2021-06-25 9:08 ` Andreas Naumann
2021-06-25 13:13 ` Herve Codina
2021-06-25 14:55 ` Andreas Naumann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210624174450.24fb83d4@fedora \
--to=herve.codina@bootlin.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox