%{valgrind_arches}
by Florian Weimer
I had occasion to look at the valgrind use in spec files because we
might have an architecture regression downstream. I noticed that a lot
of packages have hard-coded lists of architectures on which valgrind is
available. Starting with Fedora 24, this lists is also available in the
%{valgrind_arches} macro provided by redhat-rpm-config.
%{valgrind_arches} is always safe to use if you do not run valgrind
during build, but only need valgrind-devel because it accurately
reflects the availability of these packages.
If you run valgrind during build (BuildRequires: valgrind), you may
encounter scenarios where it is supported only on a subset of
architectures for your tests due to valgrind limitations. Here is what
we use in glibc to set the valgrind support status:
# Default: Always run valgrind tests if there is architecture support.
%ifarch %{valgrind_arches}
%bcond_without valgrind
%else
%bcond_with valgrind
%endif
# Restrict %%{valgrind_arches} further in case there are problems with
# the smoke test.
%if %{with valgrind}
%ifarch ppc64 ppc64p7
# The valgrind smoke test does not work on ppc64, ppc64p7 (bug 1273103).
%undefine with_valgrind
%endif
%endif
(There are probably ways to express this in a less clumsy fashion.)
The idea is to never go beyond the set of architectures listed in
%{valgrind_arches}.
Thanks,
Florian
5 years, 9 months
HEADS UP: /usr/bin/cython(ize) is now in python3-Cython
by Miro Hrončok
Cython-0.28.4-3.fc29 has landed in rawhide.
It moves all stuff in /usr/bin to pytyon3 package only, because the
functionality is the same on whatever Python version.
This might break your package if you BR Cython.
Here are some tips that should be Fedora/EPEL version agnostic:
If you need to use /usr/bin/cython (or /usr/bin/cythonize) during build,
BR /usr/bin/cython (or /usr/bin/cythonize).
If you need to use Cython from Python (from cython import...), BR
pytnonX-Cython or pythonXdist(cython) (for X={2,3} as needed).
If you would like to use Cython from the command line and explicitly use
a Python version (e.g. not to drag an unnecessary dependency on the
other Python version), you can use %{__pythonX} -m cython or pythonX -m
cython.
I'll give it some time to settle and later I will scratch build all
packages that BR Cython and see if we broke them, will apply fixes.
Packages that use Cython at build time:
Maintainers by package:
CheMPS2 talcite
PyYAML jeckersb
autowrap sagitter
blueman pwalter
borgbackup bpereto fschwarz
brltty jskarvad limb olysonek
bzr hno pstodulk vvitek
cassandra acaringi hhorak trepik
ceph branto dachary dmick ke4qqq kkeithle ktdreyer steve
stingray
compizconfig-python jskarvad raveit65
dionaea rebus
eclipse-pydev akurtakov jjohnstn
espresso deji junghans tomspur
git-fame fale ignatenkobrain
h5py stevetraylen terjeros
ipython churchyard cstratak dcantrel ignatenkobrain lbalhar
mrunge salimma tomspur
libfreenect jkastner kwizart rmattes
libmacaroons bbockelm
libplist pbrobinson
netcdf4-python orion
numpy cstratak jspaleta limb orion rdieter tomspur ttomecek
openfst jjames mikep
openms sagitter
petsc4py sagitter
pocketsphinx jjames mikep
printrun churchyard
pygame jkaluza jskarvad limb
pygrib jdekloe
pyliblo fab
pymilia sergiopr
pyproj jdekloe
pystatgrab fab heliocastro potty slankes ttorling
python-MDAnalysis rathann
python-admesh churchyard
python-afl mcyprian orphan
python-aiohttp fab ignatenkobrain
python-assimulo sagitter
python-astropy orion sergiopr
python-astropy-healpix lupinix
python-astroscrappy lupinix
python-basemap jspaleta limb
python-bintrees rkuska
python-cartopy qulogic
python-cassandra-driver filabrazilska lbalhar lkundrak praiskup
python-cffi brouhaha jdulaney
python-compreffor athoscr
python-cradox jpena
python-cypari2 pcpa
python-cysignals pcpa
python-djvulibre bstinson
python-falcon abompard carlwgeorge jamielennox
python-fiona qulogic
python-fpylll pcpa
python-gensim besser82
python-giacpy sagitter
python-gmpy2 jjames orion
python-gsd rathann
python-gssapi rharwood simo sross
python-healpy lupinix
python-hidapi besser82
python-httptools ignatenkobrain
python-hug hguemar
python-jnius raphgro
python-kmod grover
python-libdiscid ohaessler
python-line_profiler jacksonisaac
python-lupa dhanesh95
python-lxml fale ignatenkobrain mizdebsk
python-meliae lmacken tadej
python-mistune lupinix
python-msgpack dfateyev fab ktdreyer pjp sundaram
python-multidict athmane ignatenkobrain
python-nipy ignatenkobrain
python-numpy-stl churchyard
python-orderedset jjames
python-pandas kushal orion sergiopr wakko666
python-peewee cstratak mstuchli vkrizan
python-photutils sergiopr
python-plyvel dcallagh
python-pybloomfiltermmap athmane
python-pyclipper athoscr
python-pymssql melmorabity
python-pyopengl swt2c
python-pytaglib ignatenkobrain
python-pywt ignatenkobrain sergiopr
python-rasterio qulogic
python-rencode jgu orion patches
python-scikit-image orion sergiopr
python-scikit-learn besser82 ignatenkobrain lupinix sergiopr
python-shapely jcp volter
python-slixmpp fantom
python-smartcols ignatenkobrain
python-ssh2-python ignatenkobrain
python-statsmodels sergiopr
python-tables tnorth zbyszek
python-theano ignatenkobrain jjames
python-thriftpy ignatenkobrain
python-tinycss brouhaha
python-uvloop ignatenkobrain
python-yarl fab ignatenkobrain
python-zmq ralph tomspur
python2-astropy lupinix
python2-ipython lbalhar
python3-cangjie bochecha
sagemath pcpa
sphinxbase jjames mikep
sphinxtrain jjames mikep
sympy cbm jjames jussilehtola orion
urh jskarvad
xpra jgu sagitter sergiomb
Packages by maintainer:
abompard python-falcon
acaringi cassandra
akurtakov eclipse-pydev
athmane python-multidict python-pybloomfiltermmap
athoscr python-compreffor python-pyclipper
bbockelm libmacaroons
besser82 python-gensim python-hidapi python-scikit-learn
bochecha python3-cangjie
bpereto borgbackup
branto ceph
brouhaha python-cffi python-tinycss
bstinson python-djvulibre
carlwgeorge python-falcon
cbm sympy
churchyard ipython printrun python-admesh python-numpy-stl
cstratak ipython numpy python-peewee
dachary ceph
dcallagh python-plyvel
dcantrel ipython
deji espresso
dfateyev python-msgpack
dhanesh95 python-lupa
dmick ceph
fab pyliblo pystatgrab python-aiohttp python-msgpack python-yarl
fale git-fame python-lxml
fantom python-slixmpp
filabrazilska python-cassandra-driver
fschwarz borgbackup
grover python-kmod
heliocastro pystatgrab
hguemar python-hug
hhorak cassandra
hno bzr
ignatenkobrain git-fame ipython python-aiohttp python-httptools
python-lxml python-multidict python-nipy python-pytaglib python-pywt
python-scikit-learn python-smartcols python-ssh2-python python-theano
python-thriftpy python-uvloop python-yarl
jacksonisaac python-line_profiler
jamielennox python-falcon
jcp python-shapely
jdekloe pygrib pyproj
jdulaney python-cffi
jeckersb PyYAML
jgu python-rencode xpra
jjames openfst pocketsphinx python-gmpy2 python-orderedset
python-theano sphinxbase sphinxtrain sympy
jjohnstn eclipse-pydev
jkaluza pygame
jkastner libfreenect
jpena python-cradox
jskarvad brltty compizconfig-python pygame urh
jspaleta numpy python-basemap
junghans espresso
jussilehtola sympy
ke4qqq ceph
kkeithle ceph
ktdreyer ceph python-msgpack
kushal python-pandas
kwizart libfreenect
lbalhar ipython python-cassandra-driver python2-ipython
limb brltty numpy pygame python-basemap
lkundrak python-cassandra-driver
lmacken python-meliae
lupinix python-astropy-healpix python-astroscrappy python-healpy
python-mistune python-scikit-learn python2-astropy
mcyprian python-afl
melmorabity python-pymssql
mikep openfst pocketsphinx sphinxbase sphinxtrain
mizdebsk python-lxml
mrunge ipython
mstuchli python-peewee
ohaessler python-libdiscid
olysonek brltty
orion netcdf4-python numpy python-astropy python-gmpy2
python-pandas python-rencode python-scikit-image sympy
orphan python-afl
patches python-rencode
pbrobinson libplist
pcpa python-cypari2 python-cysignals python-fpylll sagemath
pjp python-msgpack
potty pystatgrab
praiskup python-cassandra-driver
pstodulk bzr
pwalter blueman
qulogic python-cartopy python-fiona python-rasterio
ralph python-zmq
raphgro python-jnius
rathann python-MDAnalysis python-gsd
raveit65 compizconfig-python
rdieter numpy
rebus dionaea
rharwood python-gssapi
rkuska python-bintrees
rmattes libfreenect
sagitter autowrap openms petsc4py python-assimulo python-giacpy xpra
salimma ipython
sergiomb xpra
sergiopr pymilia python-astropy python-pandas python-photutils
python-pywt python-scikit-image python-scikit-learn python-statsmodels
simo python-gssapi
slankes pystatgrab
sross python-gssapi
steve ceph
stevetraylen h5py
stingray ceph
sundaram python-msgpack
swt2c python-pyopengl
tadej python-meliae
talcite CheMPS2
terjeros h5py
tnorth python-tables
tomspur espresso ipython numpy python-zmq
trepik cassandra
ttomecek numpy
ttorling pystatgrab
vkrizan python-peewee
volter python-shapely
vvitek bzr
wakko666 python-pandas
zbyszek python-tables
--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
5 years, 9 months
[heads up] SELinux support for boltd service
by Lukas Vrabec
Hi,
I saw several bugs where boltd daemon runs as unconfined_service_t. I
have prepared new SELinux module for it.
I'll push it to Fedora Rawhide and also Fedora 28 soon. This module will
be in permissive mode, which means policy for boltd won't be enforced by
kernel, just AVCs will be logged even if the whole system will be in
Enforcing state.
If you'll find some AVCs related to boltd, please use this bugzilla[1]
to report them.
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1607974.
Thanks,
Lukas.
--
Lukas Vrabec
Software Engineer, Security Technologies
Red Hat, Inc.
5 years, 9 months
Summary/Minutes from today's FESCo Meeting (2018-08-06)
by Jared K. Smith
Minutes:
https://meetbot.fedoraproject.org/fedora-meeting-1/2018-08-06/fesco.2018-...
Minutes (text):
https://meetbot.fedoraproject.org/fedora-meeting-1/2018-08-06/fesco.2018-...
Log:
https://meetbot.fedoraproject.org/fedora-meeting-1/2018-08-06/fesco.2018-...
Meeting started by jsmith at 15:04:11 UTC. The full logs are available
athttps://meetbot.fedoraproject.org/fedora-meeting-1/2018-08-06/fesco.201...
.
Meeting summary
---------------
* init process (jsmith, 15:04:17)
* Discussed and voted in tickets (jsmith, 15:05:46)
* Tickets 1953 and 1954 were discussed and voted on in tickets, and
were both approved. (jsmith, 15:06:09)
* Follow-ups (jsmith, 15:06:36)
* #1935 [Security] Remove packages which has a consistent bad security
record from the distribution (jsmith, 15:06:50)
* LINK: https://pagure.io/fesco/issue/1935 (jsmith, 15:07:06)
* LINK:
https://bugzilla.redhat.com/buglist.cgi?bug_status=NEW&bug_status=ASSIGNE...
(zbyszek, 15:13:09)
* AGREED: #1935 Defer the discussion to Flock, and encourage FESCo
members to attend the Security Team talk. (+1:5,+0:0,-1:0) (jsmith,
15:16:04)
* New Business (jsmith, 15:16:16)
* #1394 F29 Self Contained Change: Minishift Spin (jsmith, 15:16:40)
* LINK: https://pagure.io/fesco/issue/1934 (jsmith, 15:17:47)
* AGREED: Fesco #1934 Spin is approved (+1:5,+0:0,-1:0) (jsmith,
15:20:38)
* #1955 Let's get rid of filedeps (FESCo edition) (jsmith, 15:20:41)
* LINK: https://pagure.io/fesco/issue/1955 (jsmith, 15:20:41)
* AGREED: Defer decision on #1955 until after Flock (and a chance to
talk with the DNF team) (+1:5,+0:0,-1:0) (jsmith, 15:30:17)
* Next Week's Chair (jsmith, 15:30:23)
* AGREED: maxamillion to chair next meeting on Aug 20th (jsmith,
15:32:54)
* Open Floor (jsmith, 15:32:58)
* AGREED: FESCo members to vote in ticket 1965 as quickly as possible.
(+1:5,+0:0,-1:0) (jsmith, 15:48:04)
* LINK: https://bugzilla.redhat.com/show_bug.cgi?id=1600386
(zbyszek, 15:48:35)
* AGREED: Try talking with mnalband at Flock about RHBZ1600386, then
try a thread on the devel list next (jsmith, 16:01:02)
Meeting ended at 16:03:22 UTC.
Action Items
------------
Action Items, by person
-----------------------
* **UNASSIGNED**
* (none)
People Present (lines said)
---------------------------
* jsmith (93)
* zbyszek (41)
* nirik (31)
* contyk (22)
* zodbot (16)
* maxamillion (16)
* mhroncok (13)
* tyll (0)
* sgallagh (0)
* bowlofeggs (0)
* jwb (0)
5 years, 9 months
enabling KCM in the Fedora kernels
by Kaleb S. KEITHLEY
Hi,
How would one go about requesting this be enabled by default?
Upstream NFS-Ganesha devs have been playing with it a bit and got a
modest performance boost.
It's conceivable that GlusterFS could utilize it too.
Thanks,
--
Kaleb
5 years, 9 months
Updates to mathematical software
by Jerry James
Hello everyone. Months ago, I started working on updates to a couple of
our mathematical packages. But they, in turn, required other packages to
be updated, and those updates required other packages to be updated, and
the whole thing kind of snowballed. I believe that I have finally reached
a point of closure, where I can update the whole pile and have everything
still work afterwards.
I propose to do the following updates and builds in Rawhide in about a
week. If maintainers of any of these packages object, please let me know
the nature of your objection.
The only explicit soname bump in these updates is libntl.so.35 to
libntl.so.36. However, there are a few other libraries that changed ABI
without a corresponding soname bump (typically with an soname of
libfoo.so.0, sigh), so I will rebuild all consumers.
Changes:
- arb: update from 2.11.1 to 2.13.0
- brial: update from 0.8.5 to 1.2.3. Build for both python 2 and 3.
Add a %check script.
- cbmc: rebuild for glpk 4.65
- coin-or-lemon: rebuild for glpk 4.65
- eclib: update from 20170815 to 20171002
- fflas-ffpack: update from 2.2.2 to 2.3.2. Drop all patches.
- flint: rebuild for ntl 11.0.0. Attempt to work around bz 1555151 on
arm.
- gap-pkg-float: rebuild for libfplll 5.2.1 and mpfi 1.5.3
- gfan: build libgfan as a shared library and distribute it in a new
subpackage, which obsoletes the erroneous gfanlib subpackage of Singular.
- giac: rebuild for libfplll 5.2.1 and mpfi 1.5.3
- givaro: update from 4.0.2 to 4.0.4
- glpk: update from 4.61 to 4.65. Add a patch slated for 4.66, needed
by sagemath. Build with ODBC and MariaDB support.
- latte-integrale: rebuild for ntl 11.0.0 and glpk 4.65
- libfplll: update from 5.1.0 to 5.2.1. Drop the rounding patch, fixed
upstream.
- libgap: require the GAP default packages (silences startup warnings
about missing packages).
- linbox: update from 1.4.2 to 1.5.2. Drop upstreamed fplll patch. Add
gcc8 patch as recommended by upstream to fix a C++ issue.
- Macaulay2: update from 1.9.2 to 1.11. Drop upstreamed verbose_build,
givaro, pari, and endian patches.
- mpfi: update from 1.5.1 to 1.5.3. Drop the aarch64 patch, fixed
upstream.
- normaliz: update from 3.4.0 to 3.5.4. Drop all patches.
- ntl: update from 10.5.0 to 11.0.0
- octave: rebuild for glpk 4.65
- openms: rebuild for glpk 4.65
- pari: backport ellratpoints and hyperellratpoints from pari 2.10
alpha, needed by sagemath. The alternative is to update pari to an alpha
version, which makes me very uncomfortable.
- polymake: update from 3.1 to 3.2r3. Drop upstreamed gcc7 patch.
- ppl: rebuild for glpk 4.65
- pynac: update from 0.7.8 to 0.7.16. Drop arch conditionals for giac,
which is now available on all supported arches.
- python-cvxopt: update from 1.1.9 to 1.2.0
- python-cypari2: update from 1.1.3 to 1.1.4. Drop upstreamed offbyone
patch.
- python-cysignals: update from 1.6.4 to 1.7.1
- python-flask-autoindex: update from 0.4.1 to 0.6. Drop upstreamed
tests patch. Build for both python 2 and 3. Build and package the
documentation.
- python-flask-silk: update from 0.1.2 to 0.2. Do not bundle
flask-sphinx-themes. Build for both python 2 and 3. Build and package the
documentation. Add a %check script.
- python-fpylll: update from 0.2.4dev to 0.4.0dev for libfplll 5.2.1.
- python-gmpy2: update from 2.0.8 to 2.1.0a2. The alpha version has
some functions required by the latest sagemath. Since the only consumers
of this package currently in Fedora are sagemath and sympy, which is
consumed by sagemath, I figure that if the sagemath team is going to
require an alpha version, they are only hurting themselves if something
goes wrong.
- sagemath: update from 8.0 to 8.2. Numerous changes were necessary to
make this work.
- shogun: rebuild for glpk 4.65. Add two patches to fix FTBFS. The
sources use some deprecated json-c macros, which are no longer defined by
default; the first patch includes the relevant header. The second patch
works around a bug in pybtex, which has already been reported to upstream
pybtex and fixed in git. If a new pybtex release is made soon, I will
build it and drop this patch.
- Singular: drop the mistakenly exposed gfanlib package; build with
libgfan instead. Rebuild for ntl 11.0.0 and polymake 3.2r2. Drop the
sequence-point patch, which patches the libgfan sources.
NOTE ON MPFR: There is an update to mpfr 4 in the works:
https://fedoraproject.org/wiki/Changes/mpfr-4.0.0. The above updates help
that effort in the following ways:
- The mpfi update brings in a version that is compatible with both mpfr
3 and 4, so when the time comes, simply rebuilding against mpfr 4 will work.
- The sagemath update brings in a version that wants mpfr 4. For now, I
will patch it to use the old mpfr 3 interface. Once we have mpfr 4
available, all we have to do is remove that patch and rebuild.
Let me know of any concerns you might have about this pile of updates. As
usual with this particular set of packages, some builds take many hours, so
the rebuilds will probably span multiple days. Expect broken deps reports
out of Rawhide while in the middle. They will disappear once the entire
stack has been built.
Regards,
--
Jerry James
http://www.jamezone.org/
5 years, 9 months