Re: [ptxdist] websocat rust package
On Fri, Aug 4, 2023 at 3:01 PM Ladislav Michl wrote: > > Hi, > > On Fri, Aug 04, 2023 at 10:54:59AM -0400, Jon Ringle wrote: > > I'm trying to create a new package to build websocat ( > > https://github.com/vi/websocat). > > Here is the websocat.make file I have now: > > it seems something eat your whitespace, so output is a bit hard to read. > As you didn't provide complete patch, I can only guess websocat.in is > not selecting OPENSSL... Thank you. That was it. Patch coming up shortly...
Re: [ptxdist] websocat rust package
Hi, On Fri, Aug 04, 2023 at 10:54:59AM -0400, Jon Ringle wrote: > I'm trying to create a new package to build websocat ( > https://github.com/vi/websocat). > Here is the websocat.make file I have now: it seems something eat your whitespace, so output is a bit hard to read. As you didn't provide complete patch, I can only guess websocat.in is not selecting OPENSSL... > # > # We provide this package > # > PACKAGES-$(PTXCONF_WEBSOCAT) += websocat > > # > > # Paths and names > > # > > WEBSOCAT_VERSION := 1.11.0 > WEBSOCAT_MD5 := 2a43004dc1c256119089994b5ddb414b > WEBSOCAT := websocat-$(WEBSOCAT_VERSION) > WEBSOCAT_SUFFIX := tar.gz > WEBSOCAT_URL := > https://github.com/vi/websocat/archive/refs/tags/v${WEBSOCAT_VERSION}.$(WEBSOCAT_SUFFIX) > WEBSOCAT_SOURCE := $(SRCDIR)/$(WEBSOCAT).$(WEBSOCAT_SUFFIX) > WEBSOCAT_DIR := $(BUILDDIR)/$(WEBSOCAT) > WEBSOCAT_LICENSE := MIT > WEBSOCAT_LICENSE_FILES := > file://LICENSE;md5=240269ccb62c2c66a81d8fdd094dd69f > > WEBSOCAT_MAKE_ENV := \ > $(CROSS_CARGO_ENV) \ > $(CROSS_ENV_PKG_CONFIG) \ > PKG_CONFIG_SYSROOT_DIR=/. > > WEBSOCAT_CONF_TOOL := cargo > WEBSOCAT_CONF_OPT := \ > $(CROSS_CARGO_OPT) \ > --features=ssl > > > It is failing in the compile stage: > > > target: websocat.compile > > > ptxdist: executing: cd > /home/local/GRIDPOINT/jringle/git/gridpoint-com/gpec2phx/ptxdist/platform-ec2k/build-target/websocat-1.11.0 > && PATH=/home/local/GRIDPOINT/jringle/git/gridpoint-com/gp > ec2phx/ptxdist/platform-ec2k/sysroot-cross/usr/bin:/home/local/GRIDPOINT/jringle/git/gridpoint-com/gpec2phx/ptxdist/platform-ec2k/sysroot-cross/usr/sbin:/home/local/GRIDPOINT/jringle/git/gr > idpoint-com/gpec2phx/ptxdist/platform-ec2k/sysroot-host/usr/lib/wrapper:/home/local/GRIDPOINT/jringle/git/gridpoint-com/gpec2phx/ptxdist/platform-ec2k/sysroot-host/usr/bin:/home/local/GRIDP > OINT/jringle/git/gridpoint-com/gpec2phx/ptxdist/platform-ec2k/sysroot-host/usr/sbin:/home/local/GRIDPOINT/jringle/git/gridpoint-com/gpec2phx/ptxdist/selected_toolchain:/usr/local/lib/ptxdis > t-2023.08.1_GP/bin:/opt/bin:/home/local/GRIDPOINT/jringle/git/gridpoint-com/gpec2phx/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin > HTTPS_PROXY=PTXDIST-UNALLOWED-DOWNLOAD > HTTP_PROXY=PTXDIST-UNALLOWED-DOWNLOAD > https_proxy=PTXDIST-UNALLOWED-DOWNLOAD > http_proxy=PTXDIST-UNALLOWED-DOWNLOAD PKGCONFIG_WHITELIST_HOST='libcrypto > libssl openssl' PKGCONFIG_WHITELIST_TA > RGET='' PKGCONFIG_WHITELIST_SRC='websocat' > SYSROOT='/home/local/GRIDPOINT/jringle/git/gridpoint-com/gpec2phx/ptxdist/platform-ec2k/sysroot-target' > V=1 VERBOSE=1 KBUILD_BUILD_TIMESTAMP=2022- > 04-13T00:00:00+00:00 KBUILD_BUILD_USER=ptxdist KBUILD_BUILD_HOST=ptxdist > CARGO_HOME='/home/local/GRIDPOINT/jringle/git/gridpoint-com/gpec2phx/ptxdist/platform-ec2k/build-target/websocat-1.1 > 1.0/ptxdist-cargo-home' CARGO_BUILD_TARGET="arm-v7a-linux-gnueabihf" > RUST_TARGET_PATH=/home/local/GRIDPOINT/jringle/git/gridpoint-com/gpec2phx/ptxdist/platform-ec2k/selected_toolchain > PKG_C > ONFIG=arm-v7a-linux-gnueabihf-pkg-config PKG_CONFIG_SYSROOT_DIR=/. cargo > build --target "arm-v7a-linux-gnueabihf" --release --frozen -j16 > > [...snip...] > > error: failed to run custom build command for `openssl-sys v0.9.75` > > Caused by: > process didn't exit successfully: > `/home/local/GRIDPOINT/jringle/git/gridpoint-com/gpec2phx/ptxdist/platform-ec2k/build-target/websocat-1.11.0/target/release/build/openssl-sys-62d0d30c1c7 > 985aa/build-script-main` (exit status: 101) > --- stdout > cargo:rustc-cfg=const_fn > cargo:rerun-if-env-changed=ARM_V7A_LINUX_GNUEABIHF_OPENSSL_LIB_DIR > ARM_V7A_LINUX_GNUEABIHF_OPENSSL_LIB_DIR unset > cargo:rerun-if-env-changed=OPENSSL_LIB_DIR > OPENSSL_LIB_DIR unset > cargo:rerun-if-env-changed=ARM_V7A_LINUX_GNUEABIHF_OPENSSL_INCLUDE_DIR > ARM_V7A_LINUX_GNUEABIHF_OPENSSL_INCLUDE_DIR unset > cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR > OPENSSL_INCLUDE_DIR unset > cargo:rerun-if-env-changed=ARM_V7A_LINUX_GNUEABIHF_OPENSSL_DIR > ARM_V7A_LINUX_GNUEABIHF_OPENSSL_DIR unset > cargo:rerun-if-env-changed=OPENSSL_DIR > OPENSSL_DIR unset > cargo:rerun-if-env-changed=OPENSSL_NO_PKG_CONFIG > cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_arm-v7a-linux-gnueabihf > cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_arm_v7a_linux_gnueabihf > cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS > cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS > cargo:rerun-if-env-changed=PKG_CONFIG_arm-v7a-linux-gnueabihf > cargo:rerun-if-env-changed=PKG_CONFIG_arm_v7a_linux_gnueabihf > cargo:rerun-if-env-changed=TARGET_PKG_CONFIG > cargo:rerun-if-env-changed=PKG_CONFIG > cargo:rerun-if-env-changed=PKG_CONFIG_arm-v7a-linux-gnueabihf > cargo:rerun-if-env-changed=PKG_CONFIG_arm_v7a_linux_gnueabihf > cargo:rerun-if-env-changed=TARGET_PKG_CONFIG > cargo:rerun-if-env-changed=PKG_CONFIG > cargo:rerun-if-env-changed=OPENSSL_STATIC > cargo:rerun-if-env-changed=OPENSSL_DYNAMIC >