[Nix-dev] MariaDB 10.1.10 cycle
Игорь Пашев
pashev.igor at gmail.com
Fri Jan 8 09:50:42 CET 2016
I know MariaDB 10.1.10 is not packaged yet,
but simple version bump does not work:
patching script interpreter paths in
/nix/store/vwdhxnwq8n6kgyis6kf3yllkmlzwz5xi-mariadb-10.1.10-lib
/nix/store/vwdhxnwq8n6kgyis6kf3yllkmlzwz5xi-mariadb-10.1.10-lib/bin/mysql_config:
interpreter directive changed from "/bin/sh" to
"/nix/store/fz5cv1c7jm8wf0hllp51izk0didjyvaq-bash-4.3-p42/b
in/sh "
cycle detected in the references of
‘/nix/store/sc2cac78vpgm82f42av8yl7f4izbi5f5-mariadb-10.1.10’
cannot build derivation
‘/nix/store/dbamz2hdcymb1ss7gl65amcl6fkpqsm6-system-path.drv’: 1
dependencies couldn't be built
cannot build derivation
‘/nix/store/3cs1f7fbj3nwypb4hbrvqz6fsby5mr6r-unit-mariadb-maintenance.service.drv’:
1 dependencies couldn't be built
cannot build derivation
‘/nix/store/d7zs1c42z8f6b4nvm403vjy6ll6k4mh5-unit-mariadb-slaves.service.drv’:
1 dependencies couldn't be built
I think this is the cause:
# grep -rnH /nix/store/sc2cac78vpgm82f42av8yl7f4izbi5f5-mariadb-10.1.10
/nix/store/vwdhxnwq8n6kgyis6kf3yllkmlzwz5xi-mariadb-10.1.10-lib
/nix/store/vwdhxnwq8n6kgyis6kf3yllkmlzwz5xi-mariadb-10.1.10-lib/include/mysql/my_config.h:631:#define
SHAREDIR "/nix/store/sc2cac78vpgm82f42av8yl7f4izbi5f5-mariadb-10.1.10/share/mysql"
How do we fix this?
It looks like we can just remove that macro:
https://github.com/MariaDB/server/search?p=2&q=SHAREDIR&utf8=%E2%9C%93
More information about the nix-dev
mailing list