Debian source package build fails

Bug #881944 reported by Nils Meyer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
High
Alexey Bychko
5.1
Won't Fix
Undecided
Unassigned
5.5
Fix Released
High
Alexey Bychko

Bug Description

Trying to build the source package (unmodified) yields the following error:

cd storage/HandlerSocket-Plugin-for-MySQL && make DESTDIR=/usr/src/percona-server-5.5-5.5.16-rel22.0/debian/tmp/ install
make[1]: Entering directory `/usr/src/percona-server-5.5-5.5.16-rel22.0/storage/HandlerSocket-Plugin-for-MySQL'
make[1]: *** No rule to make target `install'. Stop.
make[1]: Leaving directory `/usr/src/percona-server-5.5-5.5.16-rel22.0/storage/HandlerSocket-Plugin-for-MySQL'
make: *** [binary] Error 2

I used the following steps trying to build the package:
# apt-get build-dep percona-server-5.5
# apt-get source percona-server-5.5
# cd /usr/src/percona-server-5.5-5.5.16-rel22.0/
# ./debian/rules binary

System is Ubuntu 11.10 on x86_64.

Tags: pkg

Related branches

Revision history for this message
Stewart Smith (stewart) wrote :

Are you still seeing this problem? We're testing on Ubuntu 11.10 now, so this problem shouldn't exist anymore....

Changed in percona-server:
status: New → Incomplete
Revision history for this message
Nils Meyer (nils-nm) wrote :

Tried with 5.5.19-rel24.0, same error during make install.

Revision history for this message
Nils Meyer (nils-nm) wrote :

Seems like "debian/rules binary" skips a few steps (configure / make for UDF and HandlerSocket). If I do the following:

# apt-get build-dep percona-server-5.5
# apt-get source percona-server-5.5
# cd /usr/src/percona-server-5.5-5.5.19-rel24.0/
# ./debian/rules build
# ./debian/rules binary

it builds the packages perfectly. Could be an oversight on my part, for most packages I don't need to run the build step.

Changed in percona-server:
status: Incomplete → New
Stewart Smith (stewart)
Changed in percona-server:
importance: Undecided → High
assignee: nobody → Ignacio Nin (ignacio-nin)
Revision history for this message
Raghavendra D Prabhu (raghavendra-prabhu) wrote :

Following

 # apt-get build-dep percona-server-5.5
# apt-get source percona-server-5.5
# cd percona-server-5.5-5.5.27-rel28.1
# ./debian/rules binary

on Precise I got the error

make[1]: Leaving directory `/root/percona-server-5.5-5.5.27-rel28.1/obj-x86_64-linux-gnu'
cd storage/HandlerSocket-Plugin-for-MySQL && make DESTDIR=/root/percona-server-5.5-5.5.27-rel28.1/debian/tmp/ install
make[1]: Entering directory `/root/percona-server-5.5-5.5.27-rel28.1/storage/HandlerSocket-Plugin-for-MySQL'
make[1]: *** No rule to make target `install'. Stop.
make[1]: Leaving directory `/root/percona-server-5.5-5.5.27-rel28.1/storage/HandlerSocket-Plugin-for-MySQL'
make: *** [binary] Error 2

Changed in percona-server:
status: New → Confirmed
tags: added: pkg
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-510

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.