debian/rules doesn't honor HS_CXX and UDF_CXX

Bug #1079688 reported by Ignacio Nin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
Low
Ignacio Nin
5.1
Fix Released
Low
Ignacio Nin
5.5
Fix Released
Low
Ignacio Nin
5.6
Fix Released
Low
Ignacio Nin
Percona XtraDB Cluster moved to https://jira.percona.com/projects/PXC
Fix Released
Low
Ignacio Nin

Bug Description

debian/rules doesn't honor HS_CXX and UDF_CXX when building, it just uses g++:

line 192 of build/debian/rules from 5.1:

        cd storage/HandlerSocket-Plugin-for-MySQL && \
        ./autogen.sh && \
        CXX=g++ ./configure --with-mysql-source="$(MYSQL_SRC)" \
        --with-mysql-bindir="$(MYSQL_SRC)/scripts" \
        --with-mysql-plugindir="/usr/lib/mysql/plugin" \
        --libdir="/usr/lib" \
        --prefix="/usr" && \

Same with UDF_CXX at line 202:

        cd UDF/ && CXX=g++ ./configure --includedir=$(MYSQL_SRC)/include --libdir=/usr/lib/mysql/plugin && $(MAKE) all && $(MAKE) install DESTDIR=$(TMP)/

Same happens in 5.5, line 57:

        cd storage/HandlerSocket-Plugin-for-MySQL && \
        bash -x autogen.sh && \
        CXX=g++ CXXFLAGS="$(CXXFLAGS) -I$(CURDIR)/release/include" \
                ./configure --with-mysql-source=$(CURDIR) \
                        --with-mysql-bindir=$(CURDIR)/release/scripts \
                        --with-mysql-plugindir=$(prefix)/lib/mysql/plugin \
                        --libdir=$(prefix)/lib \
                        --prefix=$(prefix) && \
        make $(MAKE_JFLAG)
        # Build UDF
        cd UDF && \
        CXX=g++ CXXFLAGS="$(CXXFLAGS) -I$(CURDIR)/release/include" \
                ./configure --includedir=$(CURDIR)/include \
                        --libdir=$(prefix)/lib/mysql/plugin && \
        make $(MAKE_JFLAG)

Related branches

Changed in percona-xtradb-cluster:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Ignacio Nin (ignacio-nin)
milestone: none → 5.5.28
Stewart Smith (stewart)
Changed in percona-xtradb-cluster:
importance: High → Low
status: Confirmed → Triaged
Changed in percona-xtradb-cluster:
milestone: 5.5.28 → none
Changed in percona-xtradb-cluster:
milestone: none → 5.5.30-24.8
tags: added: low-hanging-fruit
Changed in percona-xtradb-cluster:
status: Triaged → Fix Committed
Changed in percona-xtradb-cluster:
status: Fix Committed → Fix Released
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PXC-1134

Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-1949

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.