[MacPorts] #65285: mpich-gcc11 +universal fails at destroot on Leopard
MacPorts
noreply at macports.org
Tue Nov 29 22:25:33 UTC 2022
#65285: mpich-gcc11 +universal fails at destroot on Leopard
---------------------------+-------------------------------------
Reporter: barracuda156 | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: powerpc, leopard, ppc64
Port: mpich-gcc11 |
---------------------------+-------------------------------------
Comment (by kencu):
Oh, sure, I know how to fix it, but I thought you had been stuck for
months and months and just needed a clue to get yourself started.
Step 1 is to look at the two la files and see why they differ. These are
just text files, so open them both up in a text editor.
Usually it is very minor stuff, like timestamps or comments -- meaningless
stuff. If that is the case, and it almost always is the case, then you
have two choices.
1. copy on onto the other in a pre-destroot block. This is easy enough,
but it takes a moment to work out the exact copy, of course.
2. disable the error. I do this myself, manually, in the muniversal PG in
my personal tree, by changing the comments in this bit here to disable the
error and copy in one of the la files.
https://github.com/kencu/kencu-
ports/commit/323ceed0164869dc145fc5277753034477ab33c4
That trick, of course, would not be acceptable to a macports admin in
general, so you have to do the other thing.
Whenever you see that two files differ and cannot be merged, this is the
approach to take. If they are text files, almost always it is some trivial
thing. Sometimes, it is more complicated, which is why the PG flags it as
an error -- to make you look at it..
--
Ticket URL: <https://trac.macports.org/ticket/65285#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list