DevHeads.net

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

gdbm reabase question

Hi,
a new version of gdbm is out. So I would like to update gdbm in
Rawhide.
(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
compat-gdbm

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

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

Hi,
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-
overheads,--no-keep-memory"

Using %{?_smp_mflags}

Thanks,
Marek

fedpkg container-build labels error

Hi,
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 \
    ARCH=x86_64

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
$FGC/$NAME" \
      help="help.1"

Where is a problem?

Thanks,
Marek

OpenShift in CI

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

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

Regards,
Marek

[1] <a href="https://github.com/openshift/origin/blob/master/docs/cluster_up_dow" title="https://github.com/openshift/origin/blob/master/docs/cluster_up_dow">https://github.com/openshift/origin/blob/master/docs/cluster_up_dow</a>
n.md

Docker centos base image

Hi,
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?

Thanks,
Marek

[1] <a href="https://hub.docker.com/_/centos/" title="https://hub.docker.com/_/centos/">https://hub.docker.com/_/centos/</a>

Different icu from upstream

Hi,
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

Hi,
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
released).

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

Hello,
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 https://git.fedorahosted.org/cgit/setup.git/tree/uidgid#n151 UID and
GID is reserved. However MongoDB uses only UID staticaly. It is not
using preallocated GID - http://pkgs.fedoraproject.org/cgit/rpms/mongod
b.git/tree/mongodb.spec#n327

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="https://bugzilla.redhat.com/show_bug.cgi?id=1274307" title="https://bugzilla.redhat.com/show_bug.cgi?id=1274307">https://bugzilla.redhat.com/show_bug.cgi?id=1274307</a> . And I want to know
the opinion of someone else, to decide.

Thank you,
Marek

New package request

Hello everyone,
does someone know how the "Request new package" in pkgdb works?
(<a href="https://fedoraproject.org/wiki/PackageDB_admin_requests" title="https://fedoraproject.org/wiki/PackageDB_admin_requests">https://fedoraproject.org/wiki/PackageDB_admin_requests</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?

Thanks,
Marek

Differences among koji hosts

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

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="https://bugzilla.redhat.com/show_bug.cgi?id=1218277" title="https://bugzilla.redhat.com/show_bug.cgi?id=1218277">https://bugzilla.redhat.com/show_bug.cgi?id=1218277</a>

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

Thanks,
Marek

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="https://bugzilla.redhat.com/show_bug.cgi?id=1201662" title="https://bugzilla.redhat.com/show_bug.cgi?id=1201662">https://bugzilla.redhat.com/show_bug.cgi?id=1201662</a>

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

Thanks,
Marek

ld terminated with signal 9 [Killed]

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

Changing default configuration

Hi,

does someone know what are Fedora Guidelines (or something similar)
saying about this bug
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=1077369" title="https://bugzilla.redhat.com/show_bug.cgi?id=1077369">https://bugzilla.redhat.com/show_bug.cgi?id=1077369</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)

Thanks,
Marek

mongodb.conf rename

Hi,

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="http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/RPMS/" title="http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/RPMS/">http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/RPMS/</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...

Thanks,
Marek