[csw-maintainers] reinplace before extract?

Dagobert Michelsen dam at opencsw.org
Fri Jul 26 17:00:27 CEST 2013


Hi Peter,

Am 26.07.2013 um 12:12 schrieb Peter FELECAN <pfelecan at opencsw.org>:

> I observe a very strange phenomenon: in the qt4-gcc recipe there is the
> following:
…
> What intrigues me is that I have 2 instances of the reinplace call: one
> before the extraction and the other one after; however, there are to
> instances of the information message: "[extract-modulated] complete for
> qt."
> 
> In the end the reimplacement is executed but the initial error messages
> are disturbing.

Short answer: This is safe to ignore.

> Can a knowledgeable soul explore and explain?


Sure. This is due to modulations, some phases are done in global modulation,
some in isa-specific modulations. In the global modulation all files from DISTFILES
are *copied* to $(WORKDIR), in isa-specific modulations these files are *unpacked*
to the isa-specific $(WORKDIR). As reinplacements are invoked after the extract
phase they may fail if they are applied to files resulting from unpacking in
global context. The rationale is that it may be necessary to put files from DISTFILES
verbatim in a package, this is doable by copying them during merge from global
phase to $(PKGROOT).

An alternative solution would be to specifically define to which phase you would
like to apply the reinplacement.

Please see also
  http://sourceforge.net/apps/trac/gar/wiki/Modulations


Best regards

  -- Dago

-- 
"You don't become great by trying to be great, you become great by wanting to do something,
and then doing it so hard that you become great in the process." - xkcd #896



More information about the maintainers mailing list