I keep getting this compilation error in all machine i have tried to build on:
[ 40%] Building CXX object storage/innobase/CMakeFiles/innobase.dir/row/row0log.cc.o
/root/packages/mysql/src/mysql-5.6.13/storage/innobase/row/row0log.cc: In function ‘dberr_t row_log_table_apply_ops(que_thr_t*, row_merge_dup_t*)’:
/root/packages/mysql/src/mysql-5.6.13/storage/innobase/row/row0log.cc:2367:11: error: ‘srv_buf_size’ was not declared in this scope
ofs, srv_buf_size);
^
/root/packages/mysql/src/mysql-5.6.13/storage/innobase/row/row0log.cc: In function ‘dberr_t row_log_apply_ops(trx_t*, dict_index_t*, row_merge_dup_t*)’:
/root/packages/mysql/src/mysql-5.6.13/storage/innobase/row/row0log.cc:3156:11: error: ‘srv_buf_size’ was not declared in this scope
ofs, srv_buf_size);
^
/root/packages/mysql/src/mysql-5.6.13/storage/innobase/row/row0log.cc: In function ‘dberr_t row_log_table_apply_ops(que_thr_t*, row_merge_dup_t*)’:
/root/packages/mysql/src/mysql-5.6.13/storage/innobase/row/row0log.cc:2310:39: warning: ignoring return value of ‘int ftruncate(int, __off64_t)’, declared with attribute warn_unused_result [-Wunused-result]
ftruncate(index->online_log->fd, 0);
^
/root/packages/mysql/src/mysql-5.6.13/storage/innobase/row/row0log.cc: In function ‘dberr_t row_log_apply_ops(trx_t*, dict_index_t*, row_merge_dup_t*)’:
/root/packages/mysql/src/mysql-5.6.13/storage/innobase/row/row0log.cc:3103:39: warning: ignoring return value of ‘int ftruncate(int, __off64_t)’, declared with attribute warn_unused_result [-Wunused-result]
ftruncate(index->online_log->fd, 0);
^
make[2]: *** [storage/innobase/CMakeFiles/innobase.dir/row/row0log.cc.o] Error 1
make[1]: *** [storage/innobase/CMakeFiles/innobase.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Search Criteria
Package Details: libmysqlclient 9.0.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/mysql.git (read-only, click to copy) |
---|---|
Package Base: | mysql |
Description: | MySQL client libraries |
Upstream URL: | https://www.mysql.com/products/community/ |
Licenses: | GPL-2.0-only |
Conflicts: | libmariadbclient, mariadb-libs |
Provides: | libmariadbclient, libmysqlclient, mariadb-libs |
Submitter: | Barthalion |
Maintainer: | Muflone |
Last Packager: | Muflone |
Votes: | 82 |
Popularity: | 0.075250 |
First Submitted: | 2013-04-25 19:13 (UTC) |
Last Updated: | 2024-08-11 14:51 (UTC) |
Dependencies (18)
- libsasl
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compatAUR)
- zstd (zstd-gitAUR, zstd-staticAUR)
- cmake (cmake-gitAUR) (make)
- icu (icu-gitAUR) (make)
- jemalloc (jemalloc-gitAUR) (make)
- libaio (libaio-gitAUR) (make)
- libedit (make)
- libevent (libevent-gitAUR) (make)
- libfido2 (libfido2-fullAUR) (make)
- libtirpc (make)
- openssl (openssl-gitAUR, openssl-staticAUR) (make)
- rapidjson (rapidjson-gitAUR) (make)
- re2 (re2-gitAUR) (make)
- rpcsvc-proto (make)
- systemd-libs (systemd-chromiumos-libsAUR, systemd-libs-gitAUR, systemd-libs-fmlAUR, systemd-libs-selinuxAUR) (make)
- systemd-tools (systemd-chromiumosAUR, systemd-gitAUR, systemd-fmlAUR, systemd-selinuxAUR, systemd) (make)
- zlib (zlib-ng-compat-gitAUR, zlib-gitAUR, zlib-ng-compatAUR) (make)
Required by (308)
- amarok (requires mariadb-libs)
- amarok-git (requires libmariadbclient)
- anubis (requires libmariadbclient) (make)
- azerothcore (requires mariadb-libs)
- bacula-bat (requires libmariadbclient) (make)
- bacula-common (requires libmariadbclient) (make)
- bacula-console (requires libmariadbclient) (make)
- bacula-dir (requires libmariadbclient) (make)
- bacula-dir-mariadb (requires libmariadbclient)
- bacula-dir-mariadb (requires libmariadbclient) (make)
- bacula-dir-mysql (requires libmariadbclient) (make)
- bacula-dir-postgresql (requires libmariadbclient) (make)
- bacula-dir-sqlite3 (requires libmariadbclient) (make)
- bacula-fd (requires libmariadbclient) (make)
- bacula-sd (requires libmariadbclient) (make)
- bareos-bconsole (requires libmariadbclient) (make)
- bareos-common (requires libmariadbclient) (make)
- bareos-contrib-director-python-plugins (requires libmariadbclient) (make)
- bareos-contrib-filedaemon-python-plugins (requires libmariadbclient) (make)
- bareos-contrib-tools (requires libmariadbclient) (make)
- Show 288 more...
Sources (8)
<deleted-account> commented on 2013-08-19 22:10 (UTC)
<deleted-account> commented on 2013-07-10 23:45 (UTC)
@rustam problem FIXED!
rustam commented on 2013-07-10 11:19 (UTC)
@vfbsilva: I've updated the package so it now cleans out the build directory before building, this should resolve the problem.
<deleted-account> commented on 2013-07-10 04:21 (UTC)
I cannot build this package
==> Making package: mysql 5.6.12-2 (Wed Jul 10 01:13:20 BRT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found mysql-5.6.12.tar.gz
-> Found mysql-5.6.12.tar.gz.asc
-> Found mysqld-post.sh
-> Found mysqld-tmpfile.conf
-> Found mysqld.service
==> Validating source files with sha256sums...
mysql-5.6.12.tar.gz ... Passed
mysql-5.6.12.tar.gz.asc ... Skipped
mysqld-post.sh ... Passed
mysqld-tmpfile.conf ... Passed
mysqld.service ... Passed
==> Verifying source file signatures with gpg...
mysql-5.6.12.tar.gz ... FAILED (unknown public key 8C718D3B5072E1F5)
==> WARNING: Warnings have occurred while verifying the signatures.
Please make sure you really trust them.
==> Extracting sources...
-> Extracting mysql-5.6.12.tar.gz with bsdtar
==> Removing existing pkg/ directory...
==> Starting build()...
mkdir: cannot create directory ‘build’: File exists
==> ERROR: A failure occurred in build().
Aborting...
The build failed.
local database is up to date
How should I proceed?
rustam commented on 2013-06-13 09:07 (UTC)
Ah, I see now. On my systems it just throws a warning but doesn't prevent building, and I can see the same in the Arch wiki http://bit.ly/12oPo0W. Not sure why it's the error in your case. The reason for this verification failure is that Oracle's GPG keys are not added to the keyring. So, successful GPG checking would require you to manually init the keyring and import their key, run:
gpg --list-keys
gpg --recv-keys 8C718D3B5072E1F5
Then try installing aur/mysql again, it should resolve the problem. Probably I will need to drop gpg checking in this AUR package, as it makes no sense for me manually adding the signature, or build another package with their keyring and install it prior to MySQL installation as a dependency.
kralibes commented on 2013-06-13 06:13 (UTC)
With yaourt.
Now I see that it's not a checksum error but an error of failing gpg signature - sorry for this.
(german)
==> Überprüfe Signaturen der Quell-Dateien mit gpg...
mysql-5.6.11.tar.gz ... FEHLGESCHLAGEN
==> FEHLER: Eine oder mehrere PGP-Signaturen konnten nicht überprüft werden.
==> ERROR: Makepkg was unable to build mysql.
==> Restart building mysql ? [y/N]
==> ------------------------------
rustam commented on 2013-06-11 18:38 (UTC)
@kralibes: I see no issues with checksums; double checked it and it's valid and the package builds on my machines. Do you use yaourt or manually downloaded the pkgbuild and building in a directory with makepkg? In the latter case, try removing mysql-5.6.11.tar.gz and re-download it.
kralibes commented on 2013-06-11 18:10 (UTC)
No valid checksum for mysql 5.6.11.
rustam commented on 2013-05-29 10:20 (UTC)
MySQL 5.6.11 is the current stable GA release, so I'm gonna update this package to that version shortly. I've submitted the mysql55 package for those who still need v5.5.
Barthalion commented on 2013-05-16 13:01 (UTC)
If you don't have time to compile new release on your own, I uploaded signed packages here: http://repo.bpiotrowski.pl/tmp/mysql/
Pinned Comments
Muflone commented on 2023-08-16 17:21 (UTC) (edited on 2023-08-16 20:41 (UTC) by Muflone)
Warning
https://dev.mysql.com/doc/refman/8.1/en/downgrading.html
Downgrade from MySQL 8.1 to MySQL 8.0 or earlier is not supported. The only supported alternative is to restore a backup taken before upgrading. It is therefore imperative that you back up your data before starting the upgrade process.
MySQL 8.0 is available in https://aur.archlinux.org/packages/mysql80