Opened 6 years ago

Closed 5 years ago

#58028 closed defect (wontfix)

petsc-devel +openblas: patch error

Reported by: mf2k (Frank Schima) Owned by: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: petsc

Description

$ sudo port install petsc-devel +openblas
--->  Computing dependencies for petsc-devel
--->  Fetching archive for petsc-devel
--->  Attempting to fetch petsc-devel-3.7.99_6+hwloc+mpich+openblas.darwin_17.x86_64.tbz2 from https://packages.macports.org/petsc-devel
--->  Attempting to fetch petsc-devel-3.7.99_6+hwloc+mpich+openblas.darwin_17.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/petsc-devel
--->  Attempting to fetch petsc-devel-3.7.99_6+hwloc+mpich+openblas.darwin_17.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/petsc-devel
--->  Fetching distfiles for petsc-devel
--->  Attempting to fetch d745d2547b89.tar.gz from https://distfiles.macports.org/petsc-devel
--->  Verifying checksums for petsc-devel                                            
--->  Extracting petsc-devel
--->  Applying patches to petsc-devel
Error: Failed to patch petsc-devel: command execution failed

Attachments (1)

main.log (61.5 KB) - added by mf2k (Frank Schima) 6 years ago.

Download all attachments as: .zip

Change History (7)

Changed 6 years ago by mf2k (Frank Schima)

Attachment: main.log added

comment:1 Changed 6 years ago by mf2k (Frank Schima)

:info:patch --->  Applying patch-sundials.py.diff
:debug:patch Environment: 
:debug:patch CC_PRINT_OPTIONS='YES'
:debug:patch CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_math_petsc/petsc-devel/work/.CC_PRINT_OPTIONS'
:debug:patch CPATH='/opt/local/include'
:debug:patch LIBRARY_PATH='/opt/local/lib'
:debug:patch MACOSX_DEPLOYMENT_TARGET='10.13'
:info:patch Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_math_petsc/petsc-devel/work/d745d2547b89" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/github.com/macports/macports-ports/math/petsc/files/patch-sundials.py.diff'
:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_math_petsc/petsc-devel/work/d745d2547b89" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/github.com/macports/macports-ports/math/petsc/files/patch-sundials.py.diff'
:info:patch patching file config/BuildSystem/config/packages/sundials.py
:info:patch Hunk #1 FAILED at 18.
:info:patch 1 out of 1 hunk FAILED -- saving rejects to file config/BuildSystem/config/packages/sundials.py.rej

comment:2 Changed 6 years ago by mf2k (Frank Schima)

Owner: seanfarley deleted

comment:3 Changed 6 years ago by ryandesign (Ryan Carsten Schmidt)

The patch works for the petsc port, but does not apply cleanly to the petsc-devel subport. We could fix the patch by making the portfile use a different patchfile for petsc and petsc-devel.

However, petsc-devel is at a commit dated 2016-09-28, which is much older than the petsc port's version (which in turn is also outdated). Is there a reason why we need to keep the petsc-devel subport anymore? I suggest marking petsc-devel replaced_by petsc.

comment:4 Changed 5 years ago by chrstphrchvz (Christopher Chavez)

In 2f6a601853977ec4c806bcbe15cc11b6d224fd78/macports-ports (master):

petsc-devel: mark obsolete, replace with petsc

It was suggested that petsc-devel be obsoleted in favor of petsc
which is less outdated.
See: #58028#comment:3

comment:5 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Owner: set to MarcusCalhoun-Lopez
Status: assignedaccepted

Closing since petsc-devel no longer exists.

comment:6 Changed 5 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: wontfix
Status: acceptedclosed
Note: See TracTickets for help on using tickets.