#67207 closed defect (fixed)

gdb @13.1_0+python310: patch fails

Reported by: ShadSterling (Shad Sterling) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: jrabinow
Port: gdb

Description

from main.log:

:debug:patch system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gdb/gdb/work/gdb-13.1" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/gdb/files/patch-python-config.py.diff'
:info:patch patching file 'gdb/python/python-config.py'
:info:patch 1 out of 1 hunks failed--saving rejects to 'gdb/python/python-config.py.rej'
:info:patch Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_gdb/gdb/work/gdb-13.1" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/gdb/files/patch-python-config.py.diff'

from python-config.py.rej:

                     libs.insert(0, "-L" + getvar("LIBPL"))
                 elif os.name == "nt":
                     libs.insert(0, "-L" + sysconfig.PREFIX + "/libs")
-            if getvar("LINKFORSHARED") is not None:
+            if not getvar("PYTHONFRAMEWORK"):
                 libs.extend(getvar("LINKFORSHARED").split())
         print(to_unix_path(" ".join(libs)))

Attachments (2)

main.log (63.9 KB) - added by ShadSterling (Shad Sterling) 13 months ago.
python-config.py.rej (397 bytes) - added by ShadSterling (Shad Sterling) 13 months ago.

Download all attachments as: .zip

Change History (5)

Changed 13 months ago by ShadSterling (Shad Sterling)

Attachment: main.log added

Changed 13 months ago by ShadSterling (Shad Sterling)

Attachment: python-config.py.rej added

comment:1 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)

Summary: gdb @ 13.1_0 patch failsgdb @13.1_0: patch fails

comment:2 Changed 13 months ago by jmroot (Joshua Root)

Cc: jrabinow added
Summary: gdb @13.1_0: patch failsgdb @13.1_0+python310: patch fails

comment:3 Changed 13 months ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to ryandesign
Resolution: fixed
Status: newclosed

In 92fd7524837325413c6c57879526edfc49b05482/macports-ports (master):

gdb: Update python patchfile

Closes: #67207

Note: See TracTickets for help on using tickets.