Opened 7 years ago
Closed 7 years ago
#55481 closed defect (fixed)
mpich-devel-clang50 failed to apply patch
Reported by: | aaschwanden (Andy Aschwanden) | Owned by: | eborisch (Eric A. Borisch) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | sean, MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
Port: | mpich-devel-clang50 |
Description
Hi,
after the latest selfupdate, I'm unable to build mpich-devel-clang because it bails while applying the patch, see below:
$ sudo port -v upgrade mpich-devel-clang50 ---> Computing dependencies for mpich-devel-clang50. ---> Applying patches to mpich-devel-clang50 ---> Applying patch-pkt_CTS_handler.diff Executing: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_mpich/mpich-devel-clang50/work/mpich-3.3a2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/science/mpich/files/patch-pkt_CTS_handler.diff' patching file src/mpid/ch3/channels/nemesis/src/mpid_nem_lmt.c Hunk #1 FAILED at 299. 1 out of 1 hunk FAILED -- saving rejects to file src/mpid/ch3/channels/nemesis/src/mpid_nem_lmt.c.rej Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_mpich/mpich-devel-clang50/work/mpich-3.3a2" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/science/mpich/files/patch-pkt_CTS_handler.diff' Exit code: 1 Error: Failed to patch mpich-devel-clang50: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_mpich/mpich-devel-clang50/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug.
I'm attaching the log file too.
Attachments (2)
Change History (7)
Changed 7 years ago by aaschwanden (Andy Aschwanden)
comment:1 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Cc: | MarcusCalhoun-Lopez added |
---|
comment:2 Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Cc: | sean added |
---|---|
Keywords: | haspatch added |
Changed 7 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Attachment: | Portfile.diff added |
---|
comment:3 Changed 7 years ago by mf2k (Frank Schima)
Cc: | eborisch removed |
---|---|
Owner: | set to eborisch |
Status: | new → assigned |
comment:4 Changed 7 years ago by aaschwanden (Andy Aschwanden)
Thanks for the patch, this worked and mpich built successfully.
comment:5 Changed 7 years ago by eborisch (Eric A. Borisch)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
This patch was added to allow 32-bit builds for non-devel subports.
Attached is a possible solution.