[kdiff3] [Bug 405918] INSTALL instructions don't work

Ross Boylan bugzilla_noreply at kde.org
Fri Mar 29 23:24:30 GMT 2019


https://bugs.kde.org/show_bug.cgi?id=405918

--- Comment #3 from Ross Boylan <Ross.Boylan at ucsf.edu> ---
craft kdiff3 did a lot more, but had a hiccup along the way and then a heart
attack:

Hiccup:
*** Craft all succeeded: libs/dbus after 5 seconds ***
===============================================================================================================================================================================================
*** Handling package: binary/mysql, action: all ***
*** Action: fetch-binary for binary/mysql ***
wget
https://files.kde.org/craft/master/Qt_5.12.2/windows/msvc2017_64/cl/RelWithDebInfo/binary/mysql/mysql-5.7.18-7-20190319T110634-windows-msvc2017_64-cl.7z
C:/Users/rdboylan/Documents/src/CraftRoot/downl
100%[======================================================================================================>]
 60.38M  17.5MB/s    in 3.3s
executing command:
C:\Users\rdboylan\Documents\src\CraftRoot\dev-utils\bin\7za.exe x -r -y
-oC:\Users\rdboylan\Documents\src\CraftRoot\build\binary\mysql\image-RelWithDebInfo-5.7.18
C:\Users\rdboylan\Documents\src\CraftRoot\download\cache\Qt_5.12.2\windows\msvc2017_64\cl\RelWithDebInfo\binary\mysql\mysql-5.7.18-7-20190319T110634-windows-msvc2017_64-cl.7z
-t7z -bso2 -bsp1
executing command: C:\Users\rdboylan\Documents\src\CraftRoot\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.
2019-03-29T21:44:15.689166Z 0 [Warning] TIMESTAMP with implicit DEFAULT value
is deprecated. Please use --explicit_defaults_for_timestamp server option (see
documentation for more details).
2019-03-29T21:44:15.690169Z 0 [ERROR] Cannot open Windows EventLog; check
privileges, or start server with --log_syslog=0
2019-03-29T21:44:18.180819Z 0 [Warning] InnoDB: New log files created,
LSN=45790
2019-03-29T21:44:18.823955Z 0 [Warning] InnoDB: Creating foreign key constraint
system tables.
2019-03-29T21:44:19.129020Z 0 [Warning] No existing UUID has been found, so we
assume that this is the first time that this server has been started.
Generating a new UUID: ce849c47-526b-11e9-aca6-b88584b6a8d5.
2019-03-29T21:44:19.225276Z 0 [Warning] Gtid table is not ready to be used.
Table 'mysql.gtid_executed' cannot be opened.
2019-03-29T21:44:19.233296Z 1 [Warning] root at localhost is created with an empty
password ! Please consider switching off the --initialize-insecure option.
*** Craft all succeeded: binary/mysql after 1 minute 18 seconds ***
===============================================================================================================================================================================================
Comments:
  1) Running without elevated privileges seems the likely immediate cause;
  2) But it seems odd that elevated privileges should be required for what I
understand to be a build form source step;
  3) It's unclear to me what the status is at the end.  On the one hand, there
is [ERROR} in the middle of the log.  On the other hand the final message
indicates success.

At any rate, execution continued for quite awhile.  But then
*** Craft all succeeded: kde/frameworks/tier1/kcodecs after 15 seconds ***
===============================================================================================================================================================================================
*** Handling package: libs/boost/boost-headers, action: all ***
*** Action: fetch-binary for libs/boost/boost-headers ***
*** libs/boost/boost-headers not found in cache ***
*** Action: fetch for libs/boost/boost-headers ***
wget https://dl.bintray.com/boostorg/release/1.69.0/source/boost_1_69_0.tar.gz
C:/Users/rdboylan/Documents/src/CraftRoot/downl
100%[======================================================================================================>]
106.53M  41.6MB/s    in 2.6s
*** Action: unpack for libs/boost/boost-headers ***
Failed to unpack boost_1_69_0.tar.gz
Traceback (most recent call last):
  File "C:\Users\rdboylan\Documents\src\CraftRoot\craft\bin\utils.py", line 86,
in unpackFile
    shutil.unpack_archive(os.path.join(downloaddir, filename), workdir)
  File "C:\Program Files (x86)\Microsoft Visual
Studio\Shared\Python37_64\lib\shutil.py", line 999, in unpack_archive
    func(filename, extract_dir, **kwargs)
  File "C:\Program Files (x86)\Microsoft Visual
Studio\Shared\Python37_64\lib\shutil.py", line 934, in _unpack_tarfile
    tarobj.extractall(extract_dir)
  File "C:\Program Files (x86)\Microsoft Visual
Studio\Shared\Python37_64\lib\tarfile.py", line 2002, in extractall
    numeric_owner=numeric_owner)
  File "C:\Program Files (x86)\Microsoft Visual
Studio\Shared\Python37_64\lib\tarfile.py", line 2044, in extract
    numeric_owner=numeric_owner)
  File "C:\Program Files (x86)\Microsoft Visual
Studio\Shared\Python37_64\lib\tarfile.py", line 2114, in _extract_member
    self.makefile(tarinfo, targetpath)
  File "C:\Program Files (x86)\Microsoft Visual
Studio\Shared\Python37_64\lib\tarfile.py", line 2155, in makefile
    with bltn_open(targetpath, "wb") as target:
FileNotFoundError: [Errno 2] No such file or directory:
'C:\\Users\\rdboylan\\Documents\\src\\CraftRoot\\build\\_\\20653f50\\boost_1_69_0\\libs\\geometry\\doc\\html\\geometry\\reference\\spatial_indexes\\boost__geometry__index__rtree\\rtree_parameters_type_const____indexable_getter_const____value_equal_const____allocator_type_const___.html'
Action: unpack for libs/boost/boost-headers:1.69.0 FAILED
*** Craft all failed: libs/boost/boost-headers after 5 minutes 30 seconds ***
fatal error: package libs/boost/boost-headers all failed
PS C:\Users\rdboylan\Documents\src\CraftRoot>

It sat for awhile, I think at the wget, before failing.  Checking now, the file
referenced in "No such file" is not there, though the directory it is in does
exist.  The only file in it is rtree__.html.  It looks as if
\rtree_parameters_type_const____indexable_getter_const____value_equal_const____allocator_type_const___.html
might be an error, with the argument parameters turned into text.
C:\Users\rdboylan\Documents\src\CraftRoot\download\archives\libs\boost\boost-headers\boost_1_69_0.tar.gz
exists with c 109MB.
gzip --test says the file is OK.  And the URL used for downloading seems to
point at a valid location.  There is a boatload of security software on the
system, mostly not under my control.  It definitely slows things down and it
might have blocked access to some  file.

BTW, I'm the one working on the VS2019 code for craft.  This definitely does
not mean I'm knowledgeable about craft.

Ross
________________________________________
From: michael <bugzilla_noreply at kde.org>
Sent: Friday, March 29, 2019 1:44 PM
To: Boylan, Ross
Subject: [kdiff3] [Bug 405918] INSTALL instructions don't work

https://bugs.kde.org/show_bug.cgi?id=405918

--- Comment #1 from michael <reeves.87 at gmail.com> ---
Try the fallowing:
1)cd to your craft root
Run:
2)C:\CraftRoot\craft\craftenv.ps1
3)craft kdiff3
4)craft --package kdiff3

The craft root I was running still had build products from the last run.

--
You are receiving this mail because:
You reported the bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Kde-windows mailing list