steveayre / mysql-cluster Goto Github PK
View Code? Open in Web Editor NEWMySQL Cluster packaging for Debian Wheezy (squeeze backport in branch)
MySQL Cluster packaging for Debian Wheezy (squeeze backport in branch)
When trying to build mysql-cluster on debian squeeze I'm getting this (some months ago I was able to build it on debian squeeze)
dh_install --fail-missing \
-Xusr/share/man/ \
-Xlibmysqlclient_r.so \
-Xusr/share/mysql/magic \
-Xmysql/plugin/daemon_example.ini \
-Xusr/bin/mysqlaccess.conf \
-Xusr/share/mysql/mysql-log-rotate \
-Xusr/share/mysql/mysql.server \
-Xusr/share/mysql/binary-configure \
-Xusr/share/mysql/my-
cp -a ./debian/additions/my-cluster.cnf debian/mysql-cluster-common//etc/mysql/conf.d//
cp -a debian/tmp/usr/share/mysql/java/clusterj-7.2.8.jar debian/mysql-cluster-clusterj/usr/share/java//
cp -a debian/tmp/usr/share/mysql/java/clusterj-api-7.2.8.jar debian/mysql-cluster-clusterj/usr/share/java//
cp -a debian/tmp/usr/share/mysql/java/clusterj-api-7.2.8.jar debian/mysql-cluster-clusterj/usr/share/java//
dh_install: usr/lib/libmysqlclient.so.18.0.0 exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/libmysqlclient.so exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/libmysqlclient.so.18 exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/libndbclient.so exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/libndbclient_static.a exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/libmysqlclient.a exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/libmysqld.a exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/libndbclient.so.6.0.0 exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/libmysqlclient_r.a exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/libmysqlservices.a exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/mysql/plugin/auth_socket.so exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/mysql/plugin/auth.so exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/mysql/plugin/qa_auth_server.so exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/mysql/plugin/semisync_master.so exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/mysql/plugin/semisync_slave.so exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/mysql/plugin/ha_example.so exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/mysql/plugin/libdaemon_example.so exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/mysql/plugin/qa_auth_interface.so exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/mysql/plugin/adt_null.so exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/mysql/plugin/qa_auth_client.so exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/mysql/plugin/mypluglib.so exists in debian/tmp but is not installed to anywhere
dh_install: usr/lib/mysql/plugin/auth_test_plugin.so exists in debian/tmp but is not installed to anywhere
dh_install: missing files, aborting
make[1]: *** [override_dh_install] Ошибка 255
make[1]: Leaving directory `/home/antmat/mysql-cluster-tmp/mysql-cluster/wheezy'
make: *** [binary-indep] Ошибка 2
dpkg-buildpackage: ошибка: fakeroot debian/rules binary возвратил код ошибки 2
Sorry for russian, I have russian locale - I suppose it is clear that it returns an error.
Please ask, if I can help you in any way.
Thanks!
There appears to have been new comment added to the upstream mysqld_safe.sh file that breaks the scripts__mysqld_safe.sh__signals.patch.
Changing it to the below worked for me:
-- snip --
@@ -29,9 +29,8 @@
syslog_tag_mysqld=mysqld
syslog_tag_mysqld_safe=mysqld_safe
-trap '' 1 2 3 15 # we shouldn't let anyone kill us
-trap '' 13 # not even SIGPIPE
+trap '' 13 # we shouldn't let SIGPIPE kill us, other signals are handled properly later
@@ -135,7 +134,7 @@
-- snip --
It seems that mysql-client metapackage is broken. because it depends on mysql-client-5.1 in squeeze and mysql-cluster-server-sql depends not on mysql-client, but on mysql-client-cluster-7.2. So mysql-client-cluster-7.2 and mysql-client-5.1 are being installing simultaneously. It leads to conflict in dpkg.
So I suggest either uncommenting mysql-client package in your packaging or making all your components depend not on mysql-client-cluster-7.2, but on mysql-client package. The first one is preferable in my opinion.
Sorry for my english,
Cheers!
Anton Matveenko
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.