ruby: retry to build for *-musl
chroot: copy UTC as localtime as fallback if /etc/localtime does not exist. It looks as if ruby's rdoc was failing in a function using /etc/localtime.
This commit is contained in:
parent
ed306bd3d6
commit
6c320e98ba
|
@ -82,7 +82,11 @@ chroot_prepare() {
|
|||
fi
|
||||
|
||||
# Create some required files.
|
||||
[ -f /etc/localtime ] && cp -f /etc/localtime $XBPS_MASTERDIR/etc
|
||||
if [ -f /etc/localtime ]; then
|
||||
cp -f /etc/localtime $XBPS_MASTERDIR/etc
|
||||
elif [ -f /usr/share/zoneinfo/UTC ]; then
|
||||
cp -f /usr/share/zoneinfo/UTC $XBPS_MASTERDIR/etc/localtime
|
||||
fi
|
||||
|
||||
for f in dev sys proc host boot; do
|
||||
[ ! -d $XBPS_MASTERDIR/$f ] && mkdir -p $XBPS_MASTERDIR/$f
|
||||
|
|
|
@ -19,12 +19,6 @@ hostmakedepends="pkg-config bison groff doxygen graphviz"
|
|||
makedepends="zlib-devel readline-devel libffi-devel libressl-devel
|
||||
gdbm-devel libyaml-devel pango-devel"
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
*-musl) # Broken on the builders but successfully built locally
|
||||
broken="https://build.voidlinux.eu/builders/x86_64-musl_builder/builds/6630/steps/shell_3/logs/stdio"
|
||||
;;
|
||||
esac
|
||||
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" ruby"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue