Skip to content

mariadb-connector-c: fix mysql_version.h search error#71977

Merged
globin merged 1 commit intoNixOS:stagingfrom
Izorkin:connector-c-fix
Oct 25, 2019
Merged

mariadb-connector-c: fix mysql_version.h search error#71977
globin merged 1 commit intoNixOS:stagingfrom
Izorkin:connector-c-fix

Conversation

@Izorkin
Copy link
Copy Markdown
Contributor

@Izorkin Izorkin commented Oct 25, 2019

Motivation for this change

This commit fixed this error: (freeradius build with mysql)

builder for '/nix/store/14czlkwfbwd4hx7apaqcflanzdsxl434-freeradius-3.0.19.drv' failed with exit code 2; last 10 log lines:
  CC src/modules/rlm_sql/drivers/rlm_sql_sqlite/rlm_sql_sqlite.c
  LINK build/lib/rlm_sql_sqlite.la
  CC src/modules/rlm_sql/drivers/rlm_sql_null/rlm_sql_null.c
  LINK build/lib/rlm_sql_null.la
  CC src/modules/rlm_sql/drivers/rlm_sql_mysql/rlm_sql_mysql.c
  src/modules/rlm_sql/drivers/rlm_sql_mysql/rlm_sql_mysql.c:42:12: fatal error: mysql_version.h: No such file or directory
   #  include <mysql_version.h>
              ^~~~~~~~~~~~~~~~~
  compilation terminated.
  make: *** [scripts/boiler.mk:635: build/objs/src/modules/rlm_sql/drivers/rlm_sql_mysql/rlm_sql_mysql.lo] Error 1
[1 built (1 failed), 0.0 MiB DL]
error: build of '/nix/store/14czlkwfbwd4hx7apaqcflanzdsxl434-freeradius-3.0.19.drv' failed
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @

@Izorkin
Copy link
Copy Markdown
Contributor Author

Izorkin commented Oct 25, 2019

cc @Mic92 @aanderse @globin

@ofborg ofborg bot requested a review from globin October 25, 2019 10:18
@ofborg ofborg bot added 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 501-1000 This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches. labels Oct 25, 2019
@globin globin merged commit 3df190c into NixOS:staging Oct 25, 2019
@Izorkin Izorkin deleted the connector-c-fix branch October 25, 2019 11:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 501-1000 This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-darwin: 501+ This PR causes many rebuilds on Darwin and should normally target the staging branches. 10.rebuild-linux: 501+ This PR causes many rebuilds on Linux and should normally target the staging branches. 10.rebuild-linux: 1001-2500 This PR causes many rebuilds on Linux and should target the staging branches.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants