Parse error in percona-server.spec (RHEL5)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Invalid
|
Undecided
|
Unassigned | ||
5.1 |
Invalid
|
Undecided
|
Unassigned | ||
5.5 |
Fix Released
|
Critical
|
Ignacio Nin | ||
5.6 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
percona-server.spec contains code that CentOS 5 rpmbuild(1) considers a parse error (output below). As a result it's not possible to build PS RPM's in CentOS 5. Relevant code:
Provides: mysql-server
#
%if %{rhel}
BuildRequires: pam-devel
%endif
#
BuildRequires: %{distro_buildreq}
This was introduced in revno 419. BuildRequires need to be consolidated.
$ sh ~/percona-
rm -rf Percona-
Prepare Percona Server sources
rm -rf Percona-
ln -s Percona-Server Percona-
ln -s Percona-Server Percona-
cp -R HandlerSocket-
patch -p1 -d Percona-
patching file HandlerSocket-
cp -R UDF "Percona-
cd "Percona-
Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL'
libtoolize: `config.guess' exists: use `--force' to overwrite
libtoolize: `config.sub' exists: use `--force' to overwrite
libtoolize: `ltmain.sh' exists: use `--force' to overwrite
Installing license files
install -m 644 COPYING.* Percona-
Percona Server source code is ready
Now change directory to Percona-
export CFLAGS="-O2 -g -fmessage-length=0 -D_FORTIFY_
export CXXFLAGS="-O2 -g -fmessage-length=0 -D_FORTIFY_
export LIBS=-lrt
and run cmake . -DCMAKE_
error: parse error in expression
error: /home/buildbot/
error: Package has no %description: Percona-Server-55
Related branches
description: | updated |
Changed in percona-server: | |
status: | New → Fix Committed |
Changed in percona-server: | |
milestone: | 5.5.30-30.1 → 5.5.30-30.2 |
It would seem that some values of the %{rhel} macro could trigger this error -- trying avoiding it and using pam-devel as a consolidated requirement since we are building with PAM anyway.