Date: Wed, 1 Jan 2020 18:07:24 +0100 From: Piotr Kubaj <pkubaj@anongoth.pl> To: Jason Bacon <bacon4000@gmail.com> Cc: Yuri <yuri@rawbw.com>, Sunpoet Po-Chuan Hsieh <sunpoet@freebsd.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r521506 - head/science/hdf5 Message-ID: <20200101170724.GA83141@KGPE-D16> In-Reply-To: <41685c64-27a2-931b-ded6-10e118b935d9@gmail.com> References: <201912301657.xBUGvCns014808@repo.freebsd.org> <f34960d7-ab20-303a-103f-8d62a85001c0@rawbw.com> <04c9d508-7dd8-5db4-01cb-84259741e11e@gmail.com> <41685c64-27a2-931b-ded6-10e118b935d9@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--J/dobhs11T7y2rNN Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 20-01-01 10:56:30, Jason Bacon wrote: > On 2020-01-01 09:30, Jason Bacon wrote: > > On 2020-01-01 03:46, Yuri wrote: > > > On 2019-12-30 08:57, Sunpoet Po-Chuan Hsieh wrote: > > > > Log: > > > > =C2=A0=C2=A0 Update to 1.10.6 > > > > =C2=A0=C2=A0 =C2=A0=C2=A0 Changes: https://portal.hdfgroup.org/disp= lay/support/HDF5+1.10.6 > > > >=20 > > > > Modified: > > > > =C2=A0=C2=A0 head/science/hdf5/Makefile > > > > =C2=A0=C2=A0 head/science/hdf5/distinfo > > > > =C2=A0=C2=A0 head/science/hdf5/pkg-plist > > >=20 > > >=20 > > > This commit broke science/rmf > > >=20 > > >=20 > > > Yuri > > >=20 > > Perhaps we could develop a poudriere option to test all dependents as > > well as dependencies?=C2=A0 Obviously this would increase testing time > > significantly for some ports, but making thorough testing convenient for > > the developer is the main thing. > >=20 > > An easy way to prevent breakages like this one would be a great > > improvement to the ports system.=C2=A0 Even an imperfect solution would= be a > > huge help here, I think. > >=20 > > =C2=A0=C2=A0=C2=A0 JB > >=20 > Or just script around it.=C2=A0 The hack below should list virtually all = direct > dependent ports, though there might be weird edge cases it misses. >=20 > #!/bin/sh >=20 > usage() > { > =C2=A0=C2=A0=C2=A0 printf "Usage: $0 category/port\n" > =C2=A0=C2=A0=C2=A0 exit 1 > } >=20 > if [ $# !=3D 1 ]; then > =C2=A0=C2=A0=C2=A0 usage > fi >=20 > : ${PORTSDIR:=3D/usr/ports} > cd $PORTSDIR >=20 > # One category at a time to avoid "argument list too long" > # Combine '\' continued *_DEPENDS lines and check for category/port. > for category in *; do > =C2=A0=C2=A0=C2=A0 if [ $category !=3D Templates ] && [ -e $category/Make= file ]; then > =C2=A0=C2=A0=C2=A0 for port in $category/*; do > =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 if [ -e $port/Makefile ] && \ > =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 awk '{ if (sub(/= \\$/,"")) printf "%s", $0; else print $0 }' \ > =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 $port/Makefile* = | grep -q "_DEPENDS.*:$1"; then > =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 echo $port > =C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 fi > =C2=A0=C2=A0=C2=A0 done > =C2=A0=C2=A0=C2=A0 fi > done >=20 > hdf5 has some big dependents (e.g. octave) so it would take a while to te= st > them all, but I'm not sure there's any other way to be certain.=C2=A0 Mos= t ports > don't have many big dependents, so it wouldn't cost much to test them all= =2E=C2=A0 > Also, testing dependents on one OS version and architecture would probably > catch almost all the issues. I disagree, there are many issues that happen only on non-x86 architectures. The usual causes are: - different base compiler, - lack of SSE, - different endianness, - unsigned vs signer char. Simple ports will build everywhere, but more sophisticated ones don't have = to. >=20 > FreeBSD coral.acadix=C2=A0 bacon ~ 790: dependent-ports science/hdf5 > audio/csound > biology/kallisto > cad/freecad > cad/gmsh > devel/py-tables > french/aster > french/med > graphics/alembic > graphics/blender > graphics/caffe > graphics/gdal > graphics/opencv > graphics/openimageio > graphics/qgis > graphics/qgis-ltr > graphics/vigra > graphics/vips > graphics/vv > math/ambit > math/armadillo > math/deal.ii > math/dynare > math/flann > math/labplot > math/libmesh > math/mathgl > math/matio > math/moab > math/octave > math/pdal > math/scilab > science/ALPSCore > science/avogadro2 > science/avogadrolibs > science/cdo > science/cgnslib > science/chemps2 > science/chrono > science/code_saturne > science/erkale > science/fleur > science/gnudatalanguage > science/h5utils > science/h5z-zfp > science/highfive > science/InsightToolkit > science/jdftx > science/kst2 > science/lm > science/meep > science/minc2 > science/mpb > science/netcdf > science/paraview > science/py-h5py > science/py-netCDF4 > science/qmcpack > science/rmf > science/silo > sysutils/slurm-wlm >=20 > --=20 > Earth is a beta site. >=20 >=20 --J/dobhs11T7y2rNN Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAl4M0cwACgkQelmbhSCD nJ0vlhAAprNIgVYOeSsPey3Z9P8Eq+21dPpJ2BIaTiVeiXXtdqJ6hQuP9CETu3M9 RERFch6Bc3Qe4aeTTW36Q0dNQ3alwoigOxgViS9Lt2QKLGyPIlhx4mwhWtd59CAn w/U++uuEYzZvbiL2ELUvTI2s+1DUP6rj+oBJBVQzfAh0afa9k2uX6h9C+XA6mHYY vRIq7BsmnY5blNDLKQcx+tGQ7eoPJBa02aXnLpsBJF6QSnUU0jt23mRpGLQKVWd9 R67ZkwS01ZWi3/6qEPS16/MajQsxw/pMhAE79q/5Ydf7NQLYrxuG/ojvJxyRuwRi K9LUO8NhArzNmRM1b+2wgU/rEumbW5JVdsVUud4jplgPyiIbhwmGdFMOtbxTsE+k w9JVOMOuZo02qjim3w/cbp+UfqRP6O7lGYPkrgCwKFy7L88FEEsPH8z6C1DVV4JX IrhT1tOsIkWJATOOPVaH/8K6T1N+BcRA2d5LyGXGPgmGTk7EWC73aZO31pslfwSj avMmK9pomff02NsG7TmvHwHSbMDYSNS0nb1Jot/db9grhFCx89POtFMj+Wvsiqmm XA2MPkA/XP2o4huFbSe6JVFocVY++ksRak2wK72PZlSAEMq5WPj1CsORrenKMgZP pUw5/Ns6BxGsrfw7pWZ73TzBfNWy2wFbWKntyBobvqa6/RiwNvA= =1Ozg -----END PGP SIGNATURE----- --J/dobhs11T7y2rNN--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200101170724.GA83141>