DragonFlyBSD / DPorts

The dedicated application build system for DragonFly BSD
Other
89 stars 44 forks source link

Making of Mysql fails on 4.0.1 #123

Closed bluesun08 closed 9 years ago

bluesun08 commented 9 years ago

/usr/obj/dports/databases/mysql55-server/work/mysql-5.5.40/extra/yassl/include/openssl/rsa.h:26:8: error: expected identifier before numeric constant /usr/obj/dports/databases/mysql55-server/work/mysql-5.5.40/extra/yassl/include/openssl/rsa.h:26:8: error: expected '}' before numeric constant /usr/obj/dports/databases/mysql55-server/work/mysql-5.5.40/extra/yassl/include/openssl/rsa.h:26:8: error: expected unqualified-id before numeric constant /usr/obj/dports/databases/mysql55-server/work/mysql-5.5.40/extra/yassl/include/openssl/rsa.h:26:19: error: expected declaration before '}' token --- extra/yassl/CMakeFiles/yassl.dir/src/ssl.cpp.o --- *\ [extra/yassl/CMakeFiles/yassl.dir/src/ssl.cpp.o] Error code 1

make[4]: stopped in /usr/obj/dports/databases/mysql55-server/work/mysql-5.5.40 1 error

make[4]: stopped in /usr/obj/dports/databases/mysql55-server/work/mysql-5.5.40 --- extra/yassl/CMakeFiles/yassl.dir/all --- *\ [extra/yassl/CMakeFiles/yassl.dir/all] Error code 2

make[3]: stopped in /usr/obj/dports/databases/mysql55-server/work/mysql-5.5.40 A failure has been detected in another branch of the parallel make

make[4]: stopped in /usr/obj/dports/databases/mysql55-server/work/mysql-5.5.40 --- extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/all --- *\ [extra/yassl/taocrypt/CMakeFiles/taocrypt.dir/all] Error code 2

make[3]: stopped in /usr/obj/dports/databases/mysql55-server/work/mysql-5.5.40 2 errors

make[3]: stopped in /usr/obj/dports/databases/mysql55-server/work/mysql-5.5.40 *\ [all] Error code 2

make[2]: stopped in /usr/obj/dports/databases/mysql55-server/work/mysql-5.5.40 1 error

make[2]: stopped in /usr/obj/dports/databases/mysql55-server/work/mysql-5.5.40 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *\ Error code 1

Stop. make[1]: stopped in /usr/dports/databases/mysql55-server *\ Error code 1

Stop. make: stopped in /usr/dports/databases/mysql55-server jupiter#

jrmarino commented 9 years ago

fair warning: pasting a partial log with no descriptive text is a pet peeve of mine.

Obviously this port builds because it's in dports. If it doesn't, either you are using non-default options (in which case you failed to mentioned them in the missing descriptive text) or you are building on a live system (in other words, not poudriere) which is very difficult to troubleshoot. Since it builds in clean environment, we'll tell you to try again in jail environement like poudriere/

bluesun08 commented 9 years ago

I made a fresh 4.0.1 installation and tried to compile mysql with the default options. I beg your pardon if i offended your sensibilities.

jrmarino commented 9 years ago

strangely, that apology doesn't come across as genuine.

I ran this port through the builder (release 4.0). It builds fine: http://pkgbox64.dragonflybsd.org/bulk/Release40-default/20141202_130250/logs/mysql55-server-5.5.40.log

Just use a binary package if you are keeping the default options.

bluesun08 commented 9 years ago

O.k. but after installation of the binary package i get this messages:

rcstart mysql rcorder: file /usr/local/etc/rc.d/tcsd' is before unknown provisionkerberos' rcorder: file /usr/local/etc/rc.d/tcsd' is before unknown provisionhastd' rcorder: requirement tpmd' in file/usr/local/etc/rc.d/tcsd' has no providers. mysql depends on tcsd, current state:

"markuspf" gave me the following advise (https://github.com/DragonFlyBSD/DPorts/issues/121):

Just to be clear, DragonFly does have support for TPM and it works (if you have a TPM), and there are tpmd and tcsd in ports, for whatever they are worth. The fact that these dependencies show up is just due to the preselection of options for ports which you can influence by building packages yourself (if you dare).

So i'm stumped.

jrmarino commented 9 years ago

Markuspf left out the part were Kerberos is not part of the base system of DragonFly, unlike FreeBSD. Install the kerberos package separately.

Building the port from source would not solve the runtime issues.

jrmarino commented 9 years ago

Reading this over, it seems like DragonFly needs to add Kerberos (Heimdal?) as an unconditional dependency of mysql server (or perhaps to an option that happens to be on by default, rquires checking)

jrmarino commented 9 years ago

Closing -- track issue #121 for resolution.