From 47a641fec133658cd543df0d99b5d0d0c7ff47da Mon Sep 17 00:00:00 2001 From: "Andrew J. Hesford" Date: Fri, 7 Oct 2022 08:47:36 -0400 Subject: [PATCH] python3-pandas: rebuild for missing symbol, disable parallel builds An intermittent "missing symbol" problem, together with recent i686 failures, suggests that there may be a race in the build. --- srcpkgs/python3-pandas/template | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/srcpkgs/python3-pandas/template b/srcpkgs/python3-pandas/template index b1c8f0286bd..b498f2d6449 100644 --- a/srcpkgs/python3-pandas/template +++ b/srcpkgs/python3-pandas/template @@ -1,7 +1,7 @@ # Template file for 'python3-pandas' pkgname=python3-pandas version=1.5.0 -revision=1 +revision=2 wrksrc="pandas-${version}" build_style=python3-module hostmakedepends="python3-setuptools python3-Cython python3-numpy" @@ -15,24 +15,18 @@ homepage="https://pandas.pydata.org/" changelog="https://pandas.pydata.org/pandas-docs/stable/whatsnew/index.html" distfiles="https://github.com/pandas-dev/pandas/archive/v${version}.tar.gz" checksum=ab23595e2105e2595b14c37f5e88a24d065eb60432e9f45c78f8613ba956eacd - -# Try to avoid an intermittent i686 build failure -# https://build.voidlinux.org/builders/i686_builder/builds/39813/steps/shell_3/logs/stdio -case "$XBPS_TARGET_MACHINE" in - i686*) disable_parallel_build=yes ;; -esac +# Builds seem to sometimes have missing symbol problems; +# the intermittent nature suggests this might be a race +disable_parallel_build=yes pre_build() { - # Try to avoid the aforementioned intermittent i686 build failure + # Try to avoid i686 build failure case "$XBPS_TARGET_MACHINE" in i686*) CFLAGS="${CFLAGS// -g/ -g1}" CXXFLAGS="${CXXFLAGS// -g/ -g1}" ;; esac - - # setup.py allows a -j argument to parallelize builds - make_build_args+=" ${makejobs}" } do_check() {