pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/lang/python311



* On 2024-04-30 at 18:01 BST, Aleksey Cheusov wrote:

Module Name:    pkgsrc
Committed By:   cheusov
Date:           Tue Apr 30 17:01:15 UTC 2024

Modified Files:
        pkgsrc/lang/python311: Makefile options.mk

Log Message:
Add option "readline" enabled by default.
Either --with-readline=editline or --with-readline are added
 to CONFIGURE_ARGS depending on READLINE_TYPE.

These commits break the build on macOS:

  *** WARNING: renaming "_curses" since importing it failed: dlopen(/Volumes/Work/cvs/pkgsrc/lang/python311/work/Python-3.11.9/build/lib.macosx-14.4-arm64-3.11/_curses.so, 0x0002): symbol not found 
in flat namespace '_extended_color_content'
  *** WARNING: renaming "_curses_panel" since importing it failed: PyCapsule_Import could not import module "_curses"

leading to PLIST failures:

  ERROR: ************************************************************
  ERROR: The following files are in the PLIST but not in /Users/pbulk/build/lang/python311/work/.destdir/opt/pkg:
  ERROR:         /Users/pbulk/build/lang/python311/work/.destdir/opt/pkg/lib/python3.11/lib-dynload/_curses.so
  ERROR:         /Users/pbulk/build/lang/python311/work/.destdir/opt/pkg/lib/python3.11/lib-dynload/_curses_panel.so
  ERROR: ************************************************************
  ERROR: The following files are in /Users/pbulk/build/lang/python311/work/.destdir/opt/pkg but not in the PLIST:
  ERROR:         /Users/pbulk/build/lang/python311/work/.destdir/opt/pkg/lib/python3.11/lib-dynload/_curses_failed.so
  ERROR:         /Users/pbulk/build/lang/python311/work/.destdir/opt/pkg/lib/python3.11/lib-dynload/_curses_panel_failed.so
  *** Error code 1

I don't really understand what problems you are trying to solve with these changes, so I'll leave it to you to fix.

Thanks,

--
Jonathan Perkin   -   mnx.io   -   pkgsrc.smartos.org
Open Source Complete Cloud   www.tritondatacenter.com



Home | Main Index | Thread Index | Old Index