Opened 2 years ago
Last modified 2 years ago
#65285 assigned defect
mpich-gcc11 +universal fails at destroot on Leopard
Reported by: | barracuda156 | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | powerpc, leopard, ppc64 | Cc: | eborisch (Eric A. Borisch) |
Port: | mpich-gcc11 |
Description (last modified by mascguy (Christopher Nielsen))
Command failed: /usr/bin/cmp -s ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/hydra_nameserver-mpich-gcc11" ".../mpich-gcc11/work/destroot-ppc64//opt/local/bin/hydra_nameserver-mpich-gcc11" && /bin/cp -v ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/hydra_nameserver-mpich-gcc11" ".../mpich-gcc11/work/destroot-powerpc//opt/local/bin" Command failed: /usr/bin/cmp -s ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/hydra_persist-mpich-gcc11" ".../mpich-gcc11/work/destroot-ppc64//opt/local/bin/hydra_persist-mpich-gcc11" && /bin/cp -v ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/hydra_persist-mpich-gcc11" ".../mpich-gcc11/work/destroot-powerpc//opt/local/bin" Command failed: /usr/bin/cmp -s ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/hydra_pmi_proxy-mpich-gcc11" ".../mpich-gcc11/work/destroot-ppc64//opt/local/bin/hydra_pmi_proxy-mpich-gcc11" && /bin/cp -v ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/hydra_pmi_proxy-mpich-gcc11" ".../mpich-gcc11/work/destroot-powerpc//opt/local/bin" Command failed: /usr/bin/cmp -s ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpicc-mpich-gcc11" ".../mpich-gcc11/work/destroot-ppc64//opt/local/bin/mpicc-mpich-gcc11" && /bin/cp -v ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpicc-mpich-gcc11" ".../mpich-gcc11/work/destroot-powerpc//opt/local/bin" /usr/bin/lipo: can't figure out the architecture type of: .../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpicc-mpich-gcc11 Command failed: /usr/bin/lipo -create ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpicc-mpich-gcc11" ".../mpich-gcc11/work/destroot-ppc64//opt/local/bin/mpicc-mpich-gcc11" -output ".../mpich-gcc11/work/destroot-powerpc//opt/local/bin/mpicc-mpich-gcc11" /usr/bin/libtool: file: .../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpicc-mpich-gcc11 is not an object file (not allowed in a library) /usr/bin/libtool: file: .../mpich-gcc11/work/destroot-ppc64//opt/local/bin/mpicc-mpich-gcc11 is not an object file (not allowed in a library) Command failed: /usr/bin/libtool ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpicc-mpich-gcc11" ".../mpich-gcc11/work/destroot-ppc64//opt/local/bin/mpicc-mpich-gcc11" -o ".../mpich-gcc11/work/destroot-powerpc//opt/local/bin/mpicc-mpich-gcc11" ---> Patching 1-mpicc-mpich-gcc11: s:-arch +[0-9a-zA-Z_]+::g ---> Patching 2-mpicc-mpich-gcc11: s:-arch +[0-9a-zA-Z_]+::g ---> Patching 1-mpicc-mpich-gcc11: s:-m32::g ---> Patching 2-mpicc-mpich-gcc11: s:-m32::g ---> Patching 1-mpicc-mpich-gcc11: s:-m64::g ---> Patching 2-mpicc-mpich-gcc11: s:-m64::g Command failed: /usr/bin/cmp -s ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpichversion-mpich-gcc11" ".../mpich-gcc11/work/destroot-ppc64//opt/local/bin/mpichversion-mpich-gcc11" && /bin/cp -v ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpichversion-mpich-gcc11" ".../mpich-gcc11/work/destroot-powerpc//opt/local/bin" Command failed: /usr/bin/cmp -s ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpicxx-mpich-gcc11" ".../mpich-gcc11/work/destroot-ppc64//opt/local/bin/mpicxx-mpich-gcc11" && /bin/cp -v ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpicxx-mpich-gcc11" ".../mpich-gcc11/work/destroot-powerpc//opt/local/bin" /usr/bin/lipo: can't figure out the architecture type of: .../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpicxx-mpich-gcc11 Command failed: /usr/bin/lipo -create ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpicxx-mpich-gcc11" ".../mpich-gcc11/work/destroot-ppc64//opt/local/bin/mpicxx-mpich-gcc11" -output ".../mpich-gcc11/work/destroot-powerpc//opt/local/bin/mpicxx-mpich-gcc11" /usr/bin/libtool: file: .../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpicxx-mpich-gcc11 is not an object file (not allowed in a library) /usr/bin/libtool: file: .../mpich-gcc11/work/destroot-ppc64//opt/local/bin/mpicxx-mpich-gcc11 is not an object file (not allowed in a library) Command failed: /usr/bin/libtool ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpicxx-mpich-gcc11" ".../mpich-gcc11/work/destroot-ppc64//opt/local/bin/mpicxx-mpich-gcc11" -o ".../mpich-gcc11/work/destroot-powerpc//opt/local/bin/mpicxx-mpich-gcc11" ---> Patching 1-mpicxx-mpich-gcc11: s:-arch +[0-9a-zA-Z_]+::g ---> Patching 2-mpicxx-mpich-gcc11: s:-arch +[0-9a-zA-Z_]+::g ---> Patching 1-mpicxx-mpich-gcc11: s:-m32::g ---> Patching 2-mpicxx-mpich-gcc11: s:-m32::g ---> Patching 1-mpicxx-mpich-gcc11: s:-m64::g ---> Patching 2-mpicxx-mpich-gcc11: s:-m64::g Command failed: /usr/bin/cmp -s ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpiexec.hydra-mpich-gcc11" ".../mpich-gcc11/work/destroot-ppc64//opt/local/bin/mpiexec.hydra-mpich-gcc11" && /bin/cp -v ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpiexec.hydra-mpich-gcc11" ".../mpich-gcc11/work/destroot-powerpc//opt/local/bin" Command failed: /usr/bin/cmp -s ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpifort-mpich-gcc11" ".../mpich-gcc11/work/destroot-ppc64//opt/local/bin/mpifort-mpich-gcc11" && /bin/cp -v ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpifort-mpich-gcc11" ".../mpich-gcc11/work/destroot-powerpc//opt/local/bin" /usr/bin/lipo: can't figure out the architecture type of: .../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpifort-mpich-gcc11 Command failed: /usr/bin/lipo -create ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpifort-mpich-gcc11" ".../mpich-gcc11/work/destroot-ppc64//opt/local/bin/mpifort-mpich-gcc11" -output ".../mpich-gcc11/work/destroot-powerpc//opt/local/bin/mpifort-mpich-gcc11" /usr/bin/libtool: file: .../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpifort-mpich-gcc11 is not an object file (not allowed in a library) /usr/bin/libtool: file: .../mpich-gcc11/work/destroot-ppc64//opt/local/bin/mpifort-mpich-gcc11 is not an object file (not allowed in a library) Command failed: /usr/bin/libtool ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpifort-mpich-gcc11" ".../mpich-gcc11/work/destroot-ppc64//opt/local/bin/mpifort-mpich-gcc11" -o ".../mpich-gcc11/work/destroot-powerpc//opt/local/bin/mpifort-mpich-gcc11" ---> Patching 1-mpifort-mpich-gcc11: s:-arch +[0-9a-zA-Z_]+::g ---> Patching 2-mpifort-mpich-gcc11: s:-arch +[0-9a-zA-Z_]+::g ---> Patching 1-mpifort-mpich-gcc11: s:-m32::g ---> Patching 2-mpifort-mpich-gcc11: s:-m32::g ---> Patching 1-mpifort-mpich-gcc11: s:-m64::g ---> Patching 2-mpifort-mpich-gcc11: s:-m64::g Command failed: /usr/bin/cmp -s ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpivars-mpich-gcc11" ".../mpich-gcc11/work/destroot-ppc64//opt/local/bin/mpivars-mpich-gcc11" && /bin/cp -v ".../mpich-gcc11/work/destroot-ppc//opt/local/bin/mpivars-mpich-gcc11" ".../mpich-gcc11/work/destroot-powerpc//opt/local/bin" .../mpich-gcc11/work/destroot-ppc//opt/local/bin/parkill-mpich-gcc11 -> .../mpich-gcc11/work/destroot-powerpc//opt/local/bin/parkill-mpich-gcc11 xinstall: mkdir .../mpich-gcc11/work/destroot-powerpc//opt/local/etc xinstall: mkdir .../mpich-gcc11/work/destroot-powerpc//opt/local/include xinstall: mkdir .../mpich-gcc11/work/destroot-powerpc//opt/local/include/mpich-gcc11 Command failed: /usr/bin/cmp -s ".../mpich-gcc11/work/destroot-ppc//opt/local/include/mpich-gcc11/mpi.h" ".../mpich-gcc11/work/destroot-ppc64//opt/local/include/mpich-gcc11/mpi.h" && /bin/cp -v ".../mpich-gcc11/work/destroot-ppc//opt/local/include/mpich-gcc11/mpi.h" ".../mpich-gcc11/work/destroot-powerpc//opt/local/include/mpich-gcc11" /usr/bin/lipo: can't figure out the architecture type of: .../mpich-gcc11/work/destroot-ppc//opt/local/include/mpich-gcc11/mpi.h Command failed: /usr/bin/lipo -create ".../mpich-gcc11/work/destroot-ppc//opt/local/include/mpich-gcc11/mpi.h" ".../mpich-gcc11/work/destroot-ppc64//opt/local/include/mpich-gcc11/mpi.h" -output ".../mpich-gcc11/work/destroot-powerpc//opt/local/include/mpich-gcc11/mpi.h" /usr/bin/libtool: file: .../mpich-gcc11/work/destroot-ppc//opt/local/include/mpich-gcc11/mpi.h is not an object file (not allowed in a library) /usr/bin/libtool: file: .../mpich-gcc11/work/destroot-ppc64//opt/local/include/mpich-gcc11/mpi.h is not an object file (not allowed in a library) Command failed: /usr/bin/libtool ".../mpich-gcc11/work/destroot-ppc//opt/local/include/mpich-gcc11/mpi.h" ".../mpich-gcc11/work/destroot-ppc64//opt/local/include/mpich-gcc11/mpi.h" -o ".../mpich-gcc11/work/destroot-powerpc//opt/local/include/mpich-gcc11/mpi.h" Command failed: test "`head -c2 .../mpich-gcc11/work/destroot-ppc//opt/local/include/mpich-gcc11/mpi.h`" = '#!' .../mpich-gcc11/work/destroot-ppc//opt/local/include/mpich-gcc11/mpi_proto.h -> .../mpich-gcc11/work/destroot-powerpc//opt/local/include/mpich-gcc11/mpi_proto.h .../mpich-gcc11/work/destroot-ppc//opt/local/include/mpich-gcc11/mpicxx.h -> .../mpich-gcc11/work/destroot-powerpc//opt/local/include/mpich-gcc11/mpicxx.h .../mpich-gcc11/work/destroot-ppc//opt/local/include/mpich-gcc11/mpio.h -> .../mpich-gcc11/work/destroot-powerpc//opt/local/include/mpich-gcc11/mpio.h .../mpich-gcc11/work/destroot-ppc//opt/local/include/mpich-gcc11/mpiof.h -> .../mpich-gcc11/work/destroot-powerpc//opt/local/include/mpich-gcc11/mpiof.h xinstall: mkdir .../mpich-gcc11/work/destroot-powerpc//opt/local/lib xinstall: mkdir .../mpich-gcc11/work/destroot-powerpc//opt/local/lib/mpich-gcc11 Command failed: /usr/bin/cmp -s ".../mpich-gcc11/work/destroot-ppc//opt/local/lib/mpich-gcc11/libmpi.12.dylib" ".../mpich-gcc11/work/destroot-ppc64//opt/local/lib/mpich-gcc11/libmpi.12.dylib" && /bin/cp -v ".../mpich-gcc11/work/destroot-ppc//opt/local/lib/mpich-gcc11/libmpi.12.dylib" ".../mpich-gcc11/work/destroot-powerpc//opt/local/lib/mpich-gcc11" Command failed: /usr/bin/cmp -s ".../mpich-gcc11/work/destroot-ppc//opt/local/lib/mpich-gcc11/libmpi.a" ".../mpich-gcc11/work/destroot-ppc64//opt/local/lib/mpich-gcc11/libmpi.a" && /bin/cp -v ".../mpich-gcc11/work/destroot-ppc//opt/local/lib/mpich-gcc11/libmpi.a" ".../mpich-gcc11/work/destroot-powerpc//opt/local/lib/mpich-gcc11" Command failed: /usr/bin/cmp -s ".../mpich-gcc11/work/destroot-ppc//opt/local/lib/mpich-gcc11/libmpi.la" ".../mpich-gcc11/work/destroot-ppc64//opt/local/lib/mpich-gcc11/libmpi.la" && /bin/cp -v ".../mpich-gcc11/work/destroot-ppc//opt/local/lib/mpich-gcc11/libmpi.la" ".../mpich-gcc11/work/destroot-powerpc//opt/local/lib/mpich-gcc11" /usr/bin/lipo: can't figure out the architecture type of: .../mpich-gcc11/work/destroot-ppc//opt/local/lib/mpich-gcc11/libmpi.la Command failed: /usr/bin/lipo -create ".../mpich-gcc11/work/destroot-ppc//opt/local/lib/mpich-gcc11/libmpi.la" ".../mpich-gcc11/work/destroot-ppc64//opt/local/lib/mpich-gcc11/libmpi.la" -output ".../mpich-gcc11/work/destroot-powerpc//opt/local/lib/mpich-gcc11/libmpi.la" /usr/bin/libtool: file: .../mpich-gcc11/work/destroot-ppc//opt/local/lib/mpich-gcc11/libmpi.la is not an object file (not allowed in a library) /usr/bin/libtool: file: .../mpich-gcc11/work/destroot-ppc64//opt/local/lib/mpich-gcc11/libmpi.la is not an object file (not allowed in a library) Command failed: /usr/bin/libtool ".../mpich-gcc11/work/destroot-ppc//opt/local/lib/mpich-gcc11/libmpi.la" ".../mpich-gcc11/work/destroot-ppc64//opt/local/lib/mpich-gcc11/libmpi.la" -o ".../mpich-gcc11/work/destroot-powerpc//opt/local/lib/mpich-gcc11/libmpi.la" Error: Failed to destroot mpich-gcc11: /opt/local/lib/mpich-gcc11/libmpi.la differs in .../mpich-gcc11/work/destroot-ppc and .../mpich-gcc11/work/destroot-ppc64 and cannot be merged Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_mpich/mpich-gcc11/main.log for details.
Attachments (3)
Change History (11)
Changed 2 years ago by barracuda156
Attachment: | main.log.zip added |
---|
Changed 2 years ago by barracuda156
Attachment: | config_ppc.log added |
---|
Changed 2 years ago by barracuda156
Attachment: | config_ppc64.log added |
---|
comment:1 Changed 2 years ago by mascguy (Christopher Nielsen)
Description: | modified (diff) |
---|
comment:2 Changed 2 years ago by mascguy (Christopher Nielsen)
Description: | modified (diff) |
---|
comment:3 Changed 2 years ago by barracuda156
comment:4 Changed 2 years ago by mascguy (Christopher Nielsen)
Cc: | eborisch added |
---|
comment:5 follow-up: 6 Changed 2 years ago by kencu (Ken)
this:
Error: Failed to destroot mpich-gcc11: /opt/local/lib/mpich-gcc11/libmpi.la differs
comment:6 Changed 2 years ago by barracuda156
Replying to kencu:
this:
Error: Failed to destroot mpich-gcc11: /opt/local/lib/mpich-gcc11/libmpi.la differs
Yeah, but why? Any ideas how to fix?
comment:7 Changed 2 years ago by barracuda156
Summary: | mpich-gcc11 fails at destroot on Leopard → mpich-gcc11 +universal fails at destroot on Leopard |
---|
comment:8 Changed 2 years ago by kencu (Ken)
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.
- 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.
- 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..
Do we know what goes wrong in this case? It seems to be universal-only issue, since I have
mpich-gcc10
forppc
on 10.5.8 andmpich-gcc11
on 10.6 PPC built.