Error crafting mysql
Kevin Funk
kfunk at kde.org
Mon Sep 18 07:46:34 UTC 2017
On Sunday, 17 September 2017 21:04:55 CEST Albert Vaca wrote:
> mysql-5.7.18-winx64.zip doesn't seem to have any "lib" directory in it.
Just tried -- for me it does. After unpacking:
PS Z:\> dir Z:\kderoot\build\binary\mysql\work\mysql-5.7.18-winx64\lib\
Directory: Z:\kderoot\build\binary\mysql\work\mysql-5.7.18-winx64\lib
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 9/18/2017 9:42 AM mecab
d----- 9/18/2017 9:42 AM plugin
------ 3/18/2017 9:45 AM 4928000 libmysql.dll
------ 3/18/2017 9:45 AM 26956 libmysql.lib
------ 3/18/2017 9:50 AM 24523264 libmysqld.dll
------ 3/18/2017 9:50 AM 26226 libmysqld.lib
------ 3/18/2017 9:45 AM 24389116 mysqlclient.lib
------ 3/18/2017 9:50 AM 1088775462 mysqlserver.lib
------ 3/18/2017 9:44 AM 45912 mysqlservices.lib
But for me mysql fails later, at:
*** Action: qmerge for binary/mysql ***
executing command: "Z:\kderoot\bin\mysqld.exe" --console --initialize-insecure
mysqld: Could not create or access the registry key needed for the MySQL
application
to log to the Windows EventLog. Run the application with sufficient
privileges once to create the key, add the key manually, or turn off
logging for that application.
2017-09-18T07:42:57.009524Z 0 [Warning] TIMESTAMP with implicit DEFAULT value
is deprecated. Please use --explicit_defaults_for_timestamp server option (see
documentation for more details).
2017-09-18T07:42:57.009524Z 0 [ERROR] Cannot open Windows EventLog; check
privileges, or start server with --log_syslog=0
2017-09-18T07:42:57.025213Z 0 [ERROR] --initialize specified but the data
directory has files in it. Aborting.
2017-09-18T07:42:57.025213Z 0 [ERROR] Aborting
Craft encountered an error: cmd: mysqld --console --initialize-insecure
Action: qmerge for binary/mysql FAILED
*** Craft all failed: binary/mysql after 1 minute 28 seconds ***
I'm not actively using mysql in any of my projects, so I can't really help
though.
Regards,
Kevin
> On Sun, Sep 17, 2017 at 8:36 PM, Albert Vaca <albertvaka at gmail.com> wrote:
> > I'm seeing this error when building the mysql blueprint:
> >
> > PS C:\kde> craft mysql
> > ============================================================
> > ============================================================
> > ============================================================
> > =========================================================
> > *** Handling package: binary/mysql, action: all ***
> > *** Action: fetch for binary/mysql ***
> > *** Action: unpack for binary/mysql ***
> > Digests for 5.7.18: (['bcd89314c51bc920d2351976bb34de
> > 10f1081b52501fe9b0eb598826227ef224'], CraftHash.HashAlgorithm.SHA256)
> > executing command: C:\kde\dev-utils\bin\7za.exe x -r -y
> > -oC:\kde\build\binary\mysql\work C:\kde\download\mysql-5.7.18-winx64.zip
> > -bso2 -bsp1
> > *** Action: compile for binary/mysql ***
> > *** Action: cleanimage for binary/mysql ***
> > *** Action: install for binary/mysql ***
> > [Errno 2] No such file or directory: 'C:\\kde\\build\\binary\\
> > mysql\\work\\mysql-5.7.18-winx64\\lib\\libmysqld.dll'
> >
> > Traceback (most recent call last):
> > File "C:\kde\craft\bin\craft.py", line 427, in <module>
> >
> > success = main()
> >
> > File "C:\kde\craft\bin\craft.py", line 416, in main
> >
> > if not run(package, action, tempArgs, package.children.values()):
> > File "C:\kde\craft\bin\craft.py", line 221, in run
> >
> > directTargets=directTargets):
> > File "C:\kde\craft\bin\craft.py", line 121, in handlePackage
> >
> > success = success and doExec(package, "install")
> >
> > File "C:\kde\craft\bin\craft.py", line 98, in doExec
> >
> > ret = package.instance.execute(action)
> >
> > File "C:\kde\craft\bin\Package\PackageBase.py", line 175, in execute
> >
> > return self.runAction(command)
> >
> > File "C:\kde\craft\bin\Package\PackageBase.py", line 264, in runAction
> >
> > ok = getattr(self, functions[command])()
> >
> > File "C:\kde\etc\blueprints\locations\craft-kde\binary\mysql\mysql.py",
> >
> > line 37, in install
> >
> > os.path.join(self.installDir(), "bin", "libmysqld.dll"))
> >
> > File "C:\Program Files (x86)\Python36\lib\shutil.py", line 241, in copy
> >
> > copyfile(src, dst, follow_symlinks=follow_symlinks)
> >
> > File "C:\Program Files (x86)\Python36\lib\shutil.py", line 120, in
> >
> > copyfile
> >
> > with open(src, 'rb') as fsrc:
> > FileNotFoundError: [Errno 2] No such file or directory:
> > 'C:\\kde\\build\\binary\\mysql\\work\\mysql-5.7.18-
> > winx64\\lib\\libmysqld.dll'
--
Kevin Funk | kfunk at kde.org | http://kfunk.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-windows/attachments/20170918/483c5857/attachment.sig>
More information about the Kde-windows
mailing list