Not the answer you need?
Register and ask your own question!

Missing Macro in Percona-XtraDB-Cluster-5.5.23-23.5.333.rhel5.src.rpm

ostermanosterman EntrantInactive User Role Beginner
Building the Percona-XtraDB-Cluster-5.5.23-23.5.333.rhel5.src.rpm on "CentOS 5.4" works for me, but results in improperly named RPMs.


rpmbuild --rebuild Percona-XtraDB-Cluster-5.5.23-23.5.333.rhel5.src.rpm ...snip...Wrote: /usr/src/redhat/RPMS/i386/Percona-XtraDB-Cluster-server-5.5.23-%{wsrep_version}.1.rhel5.i386.rpmWrote: /usr/src/redhat/RPMS/i386/Percona-XtraDB-Cluster-client-5.5.23-%{wsrep_version}.1.rhel5.i386.rpmWrote: /usr/src/redhat/RPMS/i386/Percona-XtraDB-Cluster-test-5.5.23-%{wsrep_version}.1.rhel5.i386.rpmWrote: /usr/src/redhat/RPMS/i386/Percona-XtraDB-Cluster-devel-5.5.23-%{wsrep_version}.1.rhel5.i386.rpmWrote: /usr/src/redhat/RPMS/i386/Percona-XtraDB-Cluster-shared-5.5.23-%{wsrep_version}.1.rhel5.i386.rpmWrote: /usr/src/redhat/RPMS/i386/Percona-XtraDB-Cluster-debuginfo-5.5.23-%{wsrep_version}.1.rhel5.i386.rpm</pre>


Looking at the .spec file we see it's not defined.


grep wsrep_version percona-xtradb-cluster.spec %define percona_server_version %{wsrep_version}%define release %{release_tag}%{wsrep_version}.%{revision}.%{distribution}</pre>



Thanks for putting effort into making these RPM releases! We really appreciate it.


Erik Osterman

Comments

  • lefredlefred Contributor Inactive User Role Beginner
    Thank you for this notification.
  • LowercasesLowercases Entrant Inactive User Role Beginner
    Hello Erik,

    Please take a look at our build/build-rpm.sh scripts, it shows how we set it just-in-time for compilation. Furthermore, I'd advise to use these convenience scripts since they work on CXXFLAGS and cleanup, etc..

    Thanks!


    Ignacio.
Sign In or Register to comment.

MySQL, InnoDB, MariaDB and MongoDB are trademarks of their respective owners.
Copyright ©2005 - 2020 Percona LLC. All rights reserved.