<div dir="ltr">The error I was seeing went away... maybe it was due to a corrupt download? Now mysql builds fine for me.</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 18, 2017 at 9:46 AM, Kevin Funk <span dir="ltr"><<a href="mailto:kfunk@kde.org" target="_blank">kfunk@kde.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Sunday, 17 September 2017 21:04:55 CEST Albert Vaca wrote:<br>
> mysql-5.7.18-winx64.zip doesn't seem to have any "lib" directory in it.<br>
<br>
</span>Just tried -- for me it does. After unpacking:<br>
<br>
PS Z:\> dir Z:\kderoot\build\binary\mysql\<wbr>work\mysql-5.7.18-winx64\lib\<br>
<br>
<br>
Directory: Z:\kderoot\build\binary\mysql\<wbr>work\mysql-5.7.18-winx64\lib<br>
<br>
<br>
Mode LastWriteTime Length Name<br>
---- ------------- ------ ----<br>
d----- 9/18/2017 9:42 AM mecab<br>
d----- 9/18/2017 9:42 AM plugin<br>
------ 3/18/2017 9:45 AM 4928000 libmysql.dll<br>
------ 3/18/2017 9:45 AM 26956 libmysql.lib<br>
------ 3/18/2017 9:50 AM 24523264 libmysqld.dll<br>
------ 3/18/2017 9:50 AM 26226 libmysqld.lib<br>
------ 3/18/2017 9:45 AM 24389116 mysqlclient.lib<br>
------ 3/18/2017 9:50 AM 1088775462 mysqlserver.lib<br>
------ 3/18/2017 9:44 AM 45912 mysqlservices.lib<br>
<br>
<br>
But for me mysql fails later, at:<br>
<br>
*** Action: qmerge for binary/mysql ***<br>
executing command: "Z:\kderoot\bin\mysqld.exe" --console --initialize-insecure<br>
mysqld: Could not create or access the registry key needed for the MySQL<br>
application<br>
to log to the Windows EventLog. Run the application with sufficient<br>
privileges once to create the key, add the key manually, or turn off<br>
logging for that application.<br>
2017-09-18T07:42:57.009524Z 0 [Warning] TIMESTAMP with implicit DEFAULT value<br>
is deprecated. Please use --explicit_defaults_for_<wbr>timestamp server option (see<br>
documentation for more details).<br>
2017-09-18T07:42:57.009524Z 0 [ERROR] Cannot open Windows EventLog; check<br>
privileges, or start server with --log_syslog=0<br>
2017-09-18T07:42:57.025213Z 0 [ERROR] --initialize specified but the data<br>
directory has files in it. Aborting.<br>
2017-09-18T07:42:57.025213Z 0 [ERROR] Aborting<br>
<br>
Craft encountered an error: cmd: mysqld --console --initialize-insecure<br>
Action: qmerge for binary/mysql FAILED<br>
*** Craft all failed: binary/mysql after 1 minute 28 seconds ***<br>
<br>
<br>
I'm not actively using mysql in any of my projects, so I can't really help<br>
though.<br>
<br>
Regards,<br>
Kevin<br>
<div class="HOEnZb"><div class="h5"><br>
> On Sun, Sep 17, 2017 at 8:36 PM, Albert Vaca <<a href="mailto:albertvaka@gmail.com">albertvaka@gmail.com</a>> wrote:<br>
> > I'm seeing this error when building the mysql blueprint:<br>
> ><br>
> > PS C:\kde> craft mysql<br>
> > ==============================<wbr>==============================<br>
> > ==============================<wbr>==============================<br>
> > ==============================<wbr>==============================<br>
> > ==============================<wbr>===========================<br>
> > *** Handling package: binary/mysql, action: all ***<br>
> > *** Action: fetch for binary/mysql ***<br>
> > *** Action: unpack for binary/mysql ***<br>
> > Digests for 5.7.18: (['<wbr>bcd89314c51bc920d2351976bb34de<br>
> > 10f1081b52501fe9b0eb598826227e<wbr>f224'], CraftHash.HashAlgorithm.<wbr>SHA256)<br>
> > executing command: C:\kde\dev-utils\bin\7za.exe x -r -y<br>
> > -oC:\kde\build\binary\mysql\<wbr>work C:\kde\download\mysql-5.7.18-<wbr>winx64.zip<br>
> > -bso2 -bsp1<br>
> > *** Action: compile for binary/mysql ***<br>
> > *** Action: cleanimage for binary/mysql ***<br>
> > *** Action: install for binary/mysql ***<br>
> > [Errno 2] No such file or directory: 'C:\\kde\\build\\binary\\<br>
> > mysql\\work\\mysql-5.7.18-<wbr>winx64\\lib\\libmysqld.dll'<br>
> ><br>
> > Traceback (most recent call last):<br>
> > File "C:\kde\craft\bin\craft.py", line 427, in <module><br>
> ><br>
> > success = main()<br>
> ><br>
> > File "C:\kde\craft\bin\craft.py", line 416, in main<br>
> ><br>
> > if not run(package, action, tempArgs, package.children.values()):<br>
> > File "C:\kde\craft\bin\craft.py", line 221, in run<br>
> ><br>
> > directTargets=directTargets):<br>
> > File "C:\kde\craft\bin\craft.py", line 121, in handlePackage<br>
> ><br>
> > success = success and doExec(package, "install")<br>
> ><br>
> > File "C:\kde\craft\bin\craft.py", line 98, in doExec<br>
> ><br>
> > ret = package.instance.execute(<wbr>action)<br>
> ><br>
> > File "C:\kde\craft\bin\Package\<wbr>PackageBase.py", line 175, in execute<br>
> ><br>
> > return self.runAction(command)<br>
> ><br>
> > File "C:\kde\craft\bin\Package\<wbr>PackageBase.py", line 264, in runAction<br>
> ><br>
> > ok = getattr(self, functions[command])()<br>
> ><br>
> > File "C:\kde\etc\blueprints\<wbr>locations\craft-kde\binary\<wbr>mysql\mysql.py",<br>
> ><br>
> > line 37, in install<br>
> ><br>
> > os.path.join(self.installDir()<wbr>, "bin", "libmysqld.dll"))<br>
> ><br>
> > File "C:\Program Files (x86)\Python36\lib\shutil.py", line 241, in copy<br>
> ><br>
> > copyfile(src, dst, follow_symlinks=follow_<wbr>symlinks)<br>
> ><br>
> > File "C:\Program Files (x86)\Python36\lib\shutil.py", line 120, in<br>
> ><br>
> > copyfile<br>
> ><br>
> > with open(src, 'rb') as fsrc:<br>
> > FileNotFoundError: [Errno 2] No such file or directory:<br>
> > 'C:\\kde\\build\\binary\\<wbr>mysql\\work\\mysql-5.7.18-<br>
> > winx64\\lib\\libmysqld.dll'<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Kevin Funk | <a href="mailto:kfunk@kde.org">kfunk@kde.org</a> | <a href="http://kfunk.org" rel="noreferrer" target="_blank">http://kfunk.org</a></font></span></blockquote></div><br></div>