diff --git a/build/python313/build.sh b/build/python313/build.sh index 9492b77c7..fbc1d0eb7 100755 --- a/build/python313/build.sh +++ b/build/python313/build.sh @@ -28,17 +28,8 @@ BUILD_DEPENDS_IPS=" developer/pkg-config ooce/developer/autoconf-archive " +# The python ctypes module runs '/usr/bin/dump' from here. RUN_DEPENDS_IPS=" - compress/bzip2 - database/sqlite-3 - library/expat - library/libffi - library/libxml2 - library/ncurses - library/readline - library/security/openssl-3 - library/zlib - system/library/gcc-runtime developer/object-file " XFORM_ARGS="-D PYTHONVER=$MVER" diff --git a/build/python313/local.mog b/build/python313/local.mog index b9b426f75..386898e16 100644 --- a/build/python313/local.mog +++ b/build/python313/local.mog @@ -15,9 +15,10 @@ license LICENSE license=PSFv2 # Drop static library drop> -# Remove idle +# Remove idle and things that depend on it drop > drop> + drop> # Move binaries from usr/bin to private bin drop> -# Prevent pkgdepend from reporting an error - set pkg.depend.bypass-generate .*> +# Prevent pkgdepend from attempting to resolve __main__ dependencies in +# tracing/profiling modules as it will fail. + set pkg.depend.bypass-generate .*> # Move libpython3.so and replace with a symlink that can be mediated. The # mediator is applied below