Postings by Marek =?ISO-8859-1?Q?Skalick=FD?=

Fedora c++ default build flags

during a discussion with upstream (MongoDB) they asked me about default
Fedora C/C++ build flags. And I don't remember all Fedora System Wide
changes where it was introduced,... so is there some place where it's

Main upstream question was:
I don't know what is in those various hardening scripts, so hard to say
what they do. I am somewhat interested in whether you think we should
be applying these flags for our hardened builds.

gdbm reabase question

a new version of gdbm is out. So I would like to update gdbm in
(Important note to my question is that gdbm is in minimal buildroot.)

I've planned to do following (please correct me if I'm wrong it would
result in disaster):
1. build compat-gdbm package with current content of gdbm package
2. rebase gdbm package in rawhide (soname is changed!) and wait for
MassRebuild to rebuild other packages to rely back on gdbm instead

Question is:
Gdbm was also updated before F28 rebuild. But some packages failed to

armv7hl: ld: failed to set dynamic section sizes: Memory exhausted

I am building mongodb and on armv7hl I got "/bin/ld: failed to set
dynamic section sizes: Memory exhausted" error.

How to solve this? I would prefer more general solution that forcing to
-j1 and hope that I will help...

CCFLAGS="%{?optflags} -ggdb3 -fvisibility=hidden"
LINKFLAGS="%{?__global_ldflags} -Wl,-z,noexecstack -Wl,--reduce-memory-

Using %{?_smp_mflags}


fedpkg container-build labels error

I am building container using fedpkg and I am getting this error:

FAILED: BuildError: Required LABELs haven't been found in Dockerfile:
version (or Version).
  0 free  0 open  0 done  1 failed

But in Dockerfile I have

ENV NAME=mongodb \
    VERSION=0 \
    RELEASE=1 \

LABEL com.redhat.component = "$NAME" \
      name="$FGC/$NAME" \
      version="$VERSION" \
      release="$RELEASE.$DISTTAG" \
      architecture="$ARCH" \
      usage="docker run -d -e MONGODB_ADMIN_PASSWORD=my_pass

Where is a problem?


OpenShift in CI

what are advantages of having OpenShift in CentOS CI as a service

over using `oc cluster up` [1] and deploying it yourself ?


[1] <a href="" title=""></a>

Docker centos base image

what is a status of CentOS Docker container base image?

From Docker Hub [1] I can see that it was not updated for 3 months.
Since this there were two rebuilds of RHEL base image (latest released
on 2017-03-02).

What is a status of this?


[1] <a href="" title=""></a>

Different icu from upstream

packaging guidelines says that bundling should be avoided if upstream
supports it (build system has this option).

I was dealing with situation with icu. Fedora version differs from
bundled versions in packages.
Because of this for mozjs45 some tests are failing, so I had to disable
them. For mongodb it is the same.

MongoDB in EPEL7

current situation:
EPEL6 - MongoDB 2.4.x
EPEL7 - MongoDB 2.6.x

Upstream supports only upgrade to next major version. So from 2.4 it is
supported only to 2.6.
Therefore I kept MongoDB 2.6 in EPEL7 (even two next major versions are

But MongoDB 2.6 is going to EOL (probably this week), so MongoDB in
EPEL7 will be unsupported.

How to solve this - what EPEL/Fedora guidelines says about upgrades?
Upgrade EPEL6 to EPEL7?

Reserved GID for MongoDB

I am packaging MongoDB. It a database so it stores files and need
reserved UID and GID for it...

Today I figured out that for more than 4 years MongoDB does not use
reserved GID.
In UID and
GID is reserved. However MongoDB uses only UID staticaly. It is not
using preallocated GID -

So I would like to ask how to fix this?
Is is OK to simply fix this in Fedora master?

C++11 enabling in F22?

Hello everyone,
I would like to ask what do you think about enabling c++11 in library in
F22? Is it permitted by Fedora guidelines?

I am asking because of this bug -
<a href="" title=""></a> . And I want to know
the opinion of someone else, to decide.

Thank you,

New package request

Hello everyone,
does someone know how the "Request new package" in pkgdb works?
(<a href="" title=""></a> )- for 6 days I
have status of this request "Approved", but I can't do fedpkg clone...
What is wrong? What next step I should do?


Differences among koji hosts

what are differences among different koji hosts? Are they really the

I have problem with building MongoDB. In my point of view some build
tests are failing depending on the koji host building it.
If hosts name starts "buildhw" everything is OK.

Review Swap

Is anyone up for a review swap? I want to get mongo-tools into Fedora:

<a href="" title=""></a>

Let me know what I can review for you in return.


Review Swap

Is anyone up for a review swap? I need wiredtiger, which is a
new storage engine of mongodb 3.0 database.

<a href="" title=""></a>

Let me know what I can review for you in return.


ld terminated with signal 9 [Killed]

I were trying to compile f22 mongoDB package with enabled
_hardened_build .

Changing default configuration


does someone know what are Fedora Guidelines (or something similar)
saying about this bug
<a href="" title=""></a> ?
Is is possible to change default configuration file depending on
available free space?

(this change is about adding smallfile=true into mongod.conf file)


mongodb.conf rename


in Fedora Rawhide there is a new major version of mongoDB 2.6. With this
new version names of mongoDB configuration files will be changed - to
reflect names used in upstream rpms
(<a href="" title=""></a> )

mongodb.conf -> mongod.conf
mongodb-shard.conf -> mongos.conf

In Fedora mongodb.conf is used from version 12.

If this change should be a problem, please contact me...