DevHeads.net

Postings by Richard Shaw

%py3_build should accept options

Just want to get others opinions before filing a bug...

Currently %py3_build expands to:

$ rpm -E %py3_build
\
CFLAGS="${CFLAGS:-${RPM_OPT_FLAGS}}"
LDFLAGS="${LDFLAGS:-${RPM_LD_FLAGS}}"\
/usr/bin/python3 setup.py build --executable="/usr/bin/python3 -s"
sleep 1

This does not allow passing of any options that I can tell... For now I'll
just paste this into my spec file.

Thanks,
Richard

install command nit

I noticed a warning on one of my packages that the appdata file was marked
as executable. The source file is not, its 644, but I use the install
command to install it to the metainfo directory.

Does "install" install files as executable by default or is something else
going on here?

Adding -m 0644 fixed it but it shouldn't be necessary.

Thanks,
Richard

Any interest in PySide2 (Qt 5 bindings) for Fedora?

I found the following BZ ticket which explains this situation...

<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1634658" title="https://bugzilla.redhat.com/show_bug.cgi?id=1634658">https://bugzilla.redhat.com/show_bug.cgi?id=1634658</a>

FreeCAD chose to use PySide over PyQt so this (and a couple of other
packages) are preventing me from switching it over to Qt5.

Is there anyone interested in getting PySide2 in Fedora and willing to
submit a Review Request? I'll volunteer to be the reviewer..

Thanks,
Richard

rpmbuild: File listed twice (but only build-ids)

I'm working on the recent release of mythtv and everything compiled fine
until I got to the rpm packaging part which I got the following output:

File listed twice:
/usr/lib/.build-id/01/02700911bb4fe728258f16703a35d816ddb31f
File listed twice:
/usr/lib/.build-id/5f/dc725022956f8f935afc0d29ad91594f57ee6e
File listed twice:
/usr/lib/.build-id/67/82796d2132f1b0dc2f865d208297340b1e7005
File listed twice:
/usr/lib/.build-id/83/30ab4fd5e920cc992a734b234d62fc7895db0f
File listed twice:
/usr/lib/.build-id/94/1a02be6311015e5b7f7b1778d463475925b5bc
File listed twice:
/usr/lib/.bu

WHINE: Can we please stop breaking firewalld with fail2ban?

It seems at least once a year I look through my logs to find that fail2ban
is no longer functioning ever since the switch from iptables to firewalld...

I've spent way too much time on this but I really do try to fix things
myself and learn more about the innards of linux.

Currently I'm getting:
ERROR: '/usr/sbin/iptables-restore -w -n' failed: iptables-restore v1.8.0
(legacy): Set fail2ban-sshd doesn't exist.

Intent to retire: yaml-cpp03

At the time yaml-cpp 0.6 was released several packages still needed the 0.3
API so the yaml-cpp03 package was created.

Currently no package requires the library on F28 through Rawhide and it has
a couple of CVE's attached to it that will not get fixed.

My intention since there are no dependencies in Fedora is to retire it
immediately.

I have not yet evaluated EPEL...

Thanks,
Richard

CMake: OpenGL_GL_PREFERENCE GLVND or LEGACY?

The current version of CMake in rawhide (not sure about f29) now defaults
to GLVND instead of LEGACY and this caused blender to fail to build
correctly.

That got me to think... Is there any reason for us to prefer one over the
other as a *disto*?

What are the consequences of choosing one or the other?

fedpkg build disconnects?

I've never had this problem before but for the last week or so I frequently
get the following at some point before the build completes:

Could not execute build: ('Connection aborted.', RemoteDisconnected('Remote
end closed connection without response'))

I know it doesn't affect the build but sometimes I do like to wait and make
sure all arches complete before working on other dependencies.

Thanks,
Richard

blender: Not linking against libGL

I'm working on updating the blender package to build against OpenImageIO
2.0.3 in rawhide and have worked through the API changes but the build
still fails when linking blenderplayer due to undefined references to
functions provided by the libGL library.

I checked the last good build in koji and as expected I see "-lGL" for
blender and blenderplayer but not in my mock builds.

Does this have something to do with with the new mesa packages or a cmake
error with the FindGLEW module?

I'll keep poking around but hopefully someone knows the answer :)

Thanks,
Richard

Heads up: OpenImageIO 2.0 released

I plan on updating OIIO to the 2.0.3 release this weekend for rawhide after
completing test builds of dependencies.

Bodhi update problems?

I've noticed the following two things happening the last couple of weeks...

1. When I add updates for one package and then type in a new name at the
top and select the other package I want in the update the existing updates
that are checked off turn into six digit numbers.

2. All of my updates started showing "logout required" but I haven't
changed the way I submit updates.

Anyone else seeing this?

Thanks,
Richard

Heads up: OpenImageIO 2.0 for Rawhide

Upstream has just released 2.0 RC1 and I'm working on test builds. I don't
expect much to change at this point as they run master in production so
it's pretty stable.

It is a SONAME bump so once the 2.0 GA release happens I plan to update
Rawhide only at this time and rebuild dependencies unless there's a need
for it to land in F29.

There are several packages that will need to be rebuilt but I believe
Blender is the biggest consumer of OIIO for the Cycles rendering engine.

Thanks,
Richard

>1yo BZ: Could not apply database update "DBXUpdate-2016-08-09-13-16-00.bin"...: Invalid argument

Just installed F29 on a HP 15-g023cl and was checking things out post
install and ran into this failed service I wasn't familiar with.

# systemctl status dbxtool
● dbxtool.service - Secure Boot DBX (blacklist) updater
Loaded: loaded (/usr/lib/systemd/system/dbxtool.service; enabled; vendor
preset: enabled)
Active: failed (Result: exit-code) since Thu 2018-11-22 11:21:39 CST;
22min ago
Process: 784 ExecStart=/usr/bin/dbxtool -a /usr/share/dbxtool/ -q
(code=exited, status=1/FAILURE)
Main PID: 784 (code=exited, status=1/FAILURE)

Nov 22 11:21:38 localhost.localdomain systemd[1]: Started

openmpi dependency problem?

I've been working on getting a good build of FreeCAD 0.17 in Fedora (long
story) and I was finally able to get a good scratch build on Rawhide so I
decided to do a local mock build for Fedora 28 so I could actually test the
package...

As expected it built fine but I can't install it due to a dependency on
libmpi...

# dnf install ./freecad-0.17-2.fc28.x86_64.rpm
./freecad-data-0.17-2.fc28.noarch.rpm
Last metadata expiration check: 0:04:30 ago on Sat 03 Nov 2018 07:21:52 AM
CDT.
Error:
Problem 1: conflicting requests
- nothing provides libmpi.so.20()(64bit) needed by
freecad-1:0.17-2.fc28.x

Build ID conflict?!?

First time I've run into this...

Working on a new package and tried to install it only to get:

Error: Transaction check error:
file /usr/lib/.build-id/67/7d4bdbbde390cc49fddb539cceb06ccb80efd6 from
install of ft8call-0.6.4-1.fc28.x86_64 conflicts with file from package
hamlib-3.2-1.fc28.x86_64
file /usr/lib/.build-id/dc/0fdb3cc1c3d70f4eee314404d00591091eb879 from
install of ft8call-0.6.4-1.fc28.x86_64 conflicts with file from package
hamlib-3.2-1.fc28.x86_64

It does build against hamlib...

Thanks,
Richard

Looking for new maintainer for FreeCAD

I really like having a real 3D CAD program on Fedora but unfortunately with
the 0.17 release there are multiple issues that need to be addressed and I
just don't have time time, or frankly the expertise, to deal with them.

FreeCAD has a lot of dependencies and bundles some of them which I have
unbundled, but with the new release it doesn't like the versions (or the
forks) that are in Fedora such as smesh and OCE.

Here's all the links for the history of the problems...

smesh:
The version of smesh in fedora is version 6 and is provided by this fork:
<a href="https://github.com/tpaviot/smesh/issues/55" title="https://github.com/tpaviot/smesh/issues/55">https://github.com/tpaviot/smesh/issues/55</a>

Review Request: robin-map

This is a super easy header only library that will be needed for the next
major release of OpenImageIO (1.9).

Description:
The robin-map library is a C++ implementation of a fast hash map and hash
set
using open-addressing and linear robin hood hashing with backward shift
deletion to resolve collisions.

<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1591375" title="https://bugzilla.redhat.com/show_bug.cgi?id=1591375">https://bugzilla.redhat.com/show_bug.cgi?id=1591375</a>

I may have time for an easy review swap.

Thanks,
Richard

Purpose of non-user visible groups in comps?

I'm looking at updating the groups in comps for MinGW and there is already
a mingw32 group but it's not user visible.

My plan would be to update it so there is a user visible group, something
to the effect of "MinGW Development" that would install a basic mingw
development environment for both 32 and 64 bit windows applications.

Is there any special handling that needs to be done of the old group? Or
should I leave it alone and just create the new group?

Thanks,
Richard

openCOLLADA soname bump

openCOLLADA has been built for Fedora as a git checkout since it was first
imported. At some point upstream finally started to maintain an actual
release with version (still no soversion, but that's another story).

I plan to build 1.6.62 in Rawhide and F28 and rebuild Blender with it
(already tested locally) which is the only dependency I could find.

Thanks,
Richard

OpenCOLLADA build error

I'm getting the following error when I build with mock in both f27 and
rawhide:

BUILDSTDERR: In file included from
/builddir/build/BUILD/OpenCOLLADA-1.6.62/COLLADABaseUtils/src/COLLADABUURI.cpp:18:
BUILDSTDERR: /usr/include/pcre.h:325:33: error: conflicting declaration
'typedef struct real_pcre8_or_16 pcre'
BUILDSTDERR: typedef struct real_pcre8_or_16 pcre;
BUILDSTDERR: ^~~~
BUILDSTDERR: In file included from
/builddir/build/BUILD/OpenCOLLADA-1.6.62/COLLADABaseUtils/src/COLLADABUURI.cpp:14:
BUILDSTDERR:
/builddir/build/BUILD/OpenCOLLADA-1.6.62/COLLADABaseUtil

FreeCAD: undefined reference to `Py::ifPyErrorThrowCxxException()'

I've posted to upstreams mailing list but have not as of yet gotten a
response.

I've run into the following error trying to build the latest version of
FreeCAD which requires python-pycxx but Rawhide now has 7.0.3 and the
bundled version appears to be 6.2.8.

I'm used to undefined references indicating that a library is missing at
the linker stage, but in the case of python-pycxx, it's a copylib.

FreeCAD crashing on save

I recently had a new bug reported[1] that every time the user attempts to
save FreeCAD crashes. There hasn't been a new release until just recently
for over a year (or two?) so my assumption is that something changed in a
depedenant library but there's so much information in the backtrace I'm
unable to figure it out on my own.

Building the 0.17 prerelease did not help so I don't think it's a gcc bug
but I can't reproduce the problem in F27 so for now it seems to be rawhide
only...

Any pointers appreciated.

Thanks,
Richard

[1] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=1561893" title="https://bugzilla.redhat.com/show_bug.cgi?id=1561893">https://bugzilla.redhat.com/show_bug.cgi?id=1561893</a>

Practical use of fedabipkgdiff

I'm working on a new version of hamlib (3.1 -> 3.2) and instead of building
manually or downloading packages and using abi-compliance-checker, I was
going to try and use fedabipkgdiff from the libabigail package.

How do I go about doing that (best practice) that should be less work than
doing everything manually. Ideally I wouldn't have to build the packages
locally but I'm fine with that if I have to. I would much rather just be
able to compare what's in rawhide (--from fc29) to a scratch build I
performed.

Thoughts?

Thanks,
Richard

EL6 fails NVRA check

I bumped the epoch on the referenced subpackage but the check doesn't seem
to care:

<class 'psycopg2.IntegrityError'>: duplicate key value violates unique
constraint "rpminfo_unique_nvra"
DETAIL: Key (name, version, release, arch,
external_repo_id)=(tqsllib-devel, 2.4, 1.el6, x86_64, 0) already exists.

Shouldn't the check include the epoch?

Koji Build: <a href="https://koji.fedoraproject.org/koji/taskinfo?taskID=26117322" title="https://koji.fedoraproject.org/koji/taskinfo?taskID=26117322">https://koji.fedoraproject.org/koji/taskinfo?taskID=26117322</a>

Thanks,
Richard

How to waiver no test results found?

I tried using waiverdb-cli per the wiki and created a waiver for the
rpmlint results because it's all I can see:

]$ curl "
<a href="https://taskotron.fedoraproject.org/resultsdb_api/api/v2.0/results?testcases=dist.rpmlint&amp;item=qodem-1.0.0-2.fc26" title="https://taskotron.fedoraproject.org/resultsdb_api/api/v2.0/results?testcases=dist.rpmlint&amp;item=qodem-1.0.0-2.fc26">https://taskotron.fedoraproject.org/resultsdb_api/api/v2.0/results?testc...</a>
"
{
"data": [
{
"data": {
"item": [
"qodem-1.0.0-2.fc26"
],
"type": [
"koji_build"
]
},
"groups": [
"f789370a-20d3-11e8-8415-525400fc9f92"
],
"href": "
<a href="https://taskotron.fedoraproject.org/resultsdb_api/api/v2.0/results/20029537" title="https://taskotron.fedoraproject.org/resultsdb_api/api/v2.0/results/20029537">https://taskotron.fedoraproject.org/resultsdb_api/api/v2.0/results/20029537</a>
",
"id": 20029537,
"note"

Correct way to perform a pull pull request?

Looking at the documentation in the wiki[1] I'm confused...

Short version of the steps:
1. Got to pagure.io and fork the project...

Umm... You can't fork a project from the Fedora instance of pagure (
src.fedoraproject.org) from pagure.io...

Thanks,
Richard

[1]
<a href="https://fedoraproject.org/wiki/How_to_fix_bugs_on_the_Fedora_Project_website#Filing_Pull_Requests" title="https://fedoraproject.org/wiki/How_to_fix_bugs_on_the_Fedora_Project_website#Filing_Pull_Requests">https://fedoraproject.org/wiki/How_to_fix_bugs_on_the_Fedora_Project_web...</a>

Add ability to check ABI compliance from fedpkg?

I don't have to do it for many of my packages, but I do regularly check ABI
compliance before performing an update so I know if I need to rebuild
dependencies or not.

Currently my workflow is something like:

$ cd abicompare/<pkgname>
$ mkdir <oldver> <newver>
$ cd <oldver> (unpack pakage and -devel package)
(same for <newver>)
$ abi-compliance-checker -l <package> -vnum <newver> -dump <newver>
$ abi-compliance-checker -l <package> -vnum <oldver> -dump <oldver>
$ abi-compliance-checker -l <package> -old <oldabidump_dir> -new
<newabidump_dir>
$ scp -r <html_report> <fedorapeople>:public_html/c

Add link to cvedetail.com in CVE bugs?

I'm probably in the minority, but I wasn't even aware of this sight and I
found it very helpful in addressing some CVE's for one of my packages. It
provides links to bug trackers, links to other distros, and links to
commits that address the CVE.

It would be really helpful to provide a link in the CVE bugs.

Thanks,
Richard

f2c new version

While going through packages to add the BR for gcc/gcc-c++ I noticed that
the f2c package needed some attention.

I've cleaned up the spec file immensely and updated to the latest version.
Checking with abi-compliance-checker shows the ABI hasn't changed so I plan
to do the new build now.

Thanks,
Richard

dnf: Can't tell me what is pulling in a dependency?

I was updating my mythtv box and I saw that it was pulling in some mysql
community packages as a dependency but I looked through the options and I
couldn't find ANYTHING that would tell me what was pulling in those
packages. Nov "-v" and not "--debugsolver".

Is it really not possible?

Thanks,
Richard