Antton Tapani | 30 Jul 15:11 2015
Picon

Emerge adventure with mingw - 11 issues 10 solutions

Hello,

I've been trying out emerge for the first time with varying rates of success, so I thought I'd document my progress. I use master branch (22.7.2015 [dmy]) as it seems to be recommended judging by discussion on the web, and by the fact that I was unable to run any other branch that I tried (python errors or errors during kdeenv setup). My final goal is to build Krita with mingw-w64 (against all recommendations, apparently), but in this instance I'm happy to just get the dependencies compiled. I have yet to actually run anything, so even if these fixes make the compiler happy, there's no guarantee that they actually work. If some other branch is supposed to be more functional, I may have just messed up the initial setup with them.

----kdeenv----
I got some problems with the powershell script, and the guide I was using failed to mention that the powershell bits are actually optional. There's also a bat version. I managed to run the ps1 script once but later it just kept crashing during the env setup. I didn't look into it further after discovering the bat. Just a heads-up that the bat may be a comfier option.

----emerge qt----
1.  A lot of the sourceforge links are no longer valid. Most links are forwarded automatically to new location, but some return 404. Easy to fix manually, but somewhat confusing initially.
2.  Websites may be down momentarily, causing some confusion whether a link is dead or not. I wasted some time trying to sort out activeperl, when it wasn't really broken.
3.  Openssl-1.0.2c is no longer available. Apparently emerge is happy if the new version number is added to the list and default target changed.
4.  Mysql download fails. cdn.mysql.com does not work anymore. Changed basepath to dev.mysql.com
5.  qt defaults to ANGLE+directx sdk. Failing that, it disables angle with a warning that build will most likely fail; continue? Added "-opengl desktop" to download\git\qtbase\configure.bat to force full opengl.
6.  Apparently building qtwebkit can randomly fail with "No such file or directory" errors. Simply trying again fixes this. It's also possible that the installation can fail silently. See point 9 further down.

I also found it strange that msys gave a big framed warning that shell must be restarted before continuing after first run. Then there was a prompt for continue yes/no. I was not present at the time so it happily defaulted to yes and soon crashed with some cryptic error (which I forgot to note down). This apparently left msys dysfunctional and it had to be reinstalled manually*1) [1]

----emerge frameworks----
(calligra guide [2] suggests emerging kdelibs, but this doesn't seem to exist anymore. I'm assuming there's something equivalent in frameworks)
7.  Building kdoctools fails. Added colon ':' to the list of escaped characters in download\git\kdoctools\cmake\uriencode.cmake [3]
8.  win32libs/gpg-error fails with a whole bunch of errors such as this:
R:/build/win32libs/gpg-error/work/mingw-w64-RelWithDebInfo-1.12/mkerrcodes.h:9:5: error: expected expression before ',' token
   { , "GPG_ERR_E2BIG" },
     ^
This is apparently caused by differing behaviour in gcc-5 compared to earlier versions. Suggested fix [4] is to add compiler flag -P via libgpg-error-x.xx\src\Makefile.am. This stumped me for  some time, because I didn't realize that this is an automake file which is not used by cmake. In our case the flags go to emerge\portage\win32libs\gpg-error\libgpg-error-cmake-1.12.diff to the generation calls for mkerrcodes.h and mkw32errmap.tab.h at lines 113 and 115 after the -E flags *2). There is a similar recent fix to this on this mailing list, but that didn't show up in searches while I was dealing with this.
9.   kdewebkit build failed, claiming that qtwebkit is not installed (missing cmake files in lib\cmake). This may relate to the random build fail of qtwebkit at point 6. I did a full rebuild with "emerge -i qtwebkit". After this, kdewebkit built successfully.
10.  khtml fails with "conflicting declarations" errors. There are two time.h files visible in include\mingw and mingw64\x86_64-w64-mingw32\include. I couldn't figure this one out, so I just removed the include\mingw one while building khtml, and then put it back. Probably not the best of ideas.
11.  Kross fails with errors:
CMakeFiles\metafunctiontest.dir/objects.a(metafunctiontest.cpp.obj): In function `Kross::MetaFunction::~MetaFunction()':
q:/kross/src/core/metafunction.h:128: undefined reference to `__imp__ZTVN5Kross12MetaFunctionE'
q:/kross/src/core/metafunction.h:128: undefined reference to `__imp__ZTVN5Kross12MetaFunctionE'
CMakeFiles\metafunctiontest.dir/objects.a(metafunctiontest.cpp.obj): In function `Kross::MetaFunction::MetaFunction(QObject*, QByteArray const&)':
q:/kross/src/core/metafunction.h:60: undefined reference to `__imp__ZTVN5Kross12MetaFunctionE'
collect2.exe: error: ld returned 1 exit status
Resulting from the call:
r:\mingw64\bin\g++.exe   -std=c++0x -fno-exceptions -Wall -Wextra -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual -Werror=return-type -O2 -g -DNDEBUG  -mwindows -Wl,--whole-archive CMakeFiles\metafunctiontest.dir/objects.a -Wl,--no-whole-archive  -o ..\bin\metafunctiontest.exe -Wl,--out-implib,..\lib\libmetafunctiontest.dll.a -Wl,--major-image-version,0,--minor-image-version,0 <at> CMakeFiles\metafunctiontest.dir\linklibs.rsp
(I understand this is not enough debugging information, but hopefully someone already has a solution off the cuff)

And this is where I'm stumped. I tried to debug this over a couple of days, and this goes a bit over my head. This was a fun excursion, and I'm going to leave it at that for now. I'll post a part2 if I ever get around the last one and the ones that inevitably emerge after it. Do tell me if some other branch is more functional and mingw friendly. I may have done something wrong to start with.
____________________________
*1) msys fix for the error: make: command not found [1]
run msys.bat (in \emerge\portage\dev-util\msys)
call pacman -Syu
confirm all prompts
run autorebase.bat (in \msys )
call pacman -S base-devel
select all whem prompted
start a new command prompt for kdeenv. The bats add some env variables that may mess up emerge

*2) example fix for libgpg-error-cmake-1.12.diff  (don't copypaste, may mess up the patch)
+add_custom_command(OUTPUT ${BIN_DIR}/mkerrcodes.h  COMMAND ${AWK_EXECUTABLE} -f ${SRC_DIR}/mkerrcodes1.awk ${SRC_DIR}/errnos.in > ${BIN_DIR}/_mkerrcodes.h
+                                                   #COMMAND set INCLUDE="\"${INCLUDE_STRING}\""
+                                                   COMMAND ${ERR_COMPILER} -E -P ${BIN_DIR}/_mkerrcodes.h ${NULL_DEVICE} | "\"${GREP_EXECUTABLE}\"" GPG_ERR_ |
+                                                       "\"${AWK_EXECUTABLE}\"" -f ${SRC_DIR}/mkerrcodes.awk > ${BIN_DIR}/mkerrcodes.h)
+add_custom_command(OUTPUT ${BIN_DIR}/mkw32errmap.tab.h COMMAND ${ERR_COMPILER} -E -P -DRESOLVE_MACROS ${SRC_DIR}/mkw32errmap.c ${NULL_DEVICE} | "\"${GREP_EXECUTABLE}\"" \"{&mkw32errmap_marker\" > ${BIN_DIR}/mkw32errmap.tab.h)

references:
[1] https://bugs.kde.org/show_bug.cgi?id=329856 (msys)
[2] https://community.kde.org/Calligra/Building_Calligra_on_Windows
[3] https://bugs.kde.org/show_bug.cgi?id=348061 (doctools)
[4] http://git.gnupg.org/cgi-bin/gitweb.cgi?p=libgpg-error.git;a=commitdiff;h=c01c8f0c4f55d76b037c7f6aa44ad25ede18d38a
_______________________________________________
Kde-windows mailing list
Kde-windows <at> kde.org
https://mail.kde.org/mailman/listinfo/kde-windows
Doug McGarrett | 24 Jul 02:07 2015
Picon

missing apps in the version on this machine

April 8,2014 version Missing Dolphin, and KPat in Games. Please how can 
I get these for a Win 7 laptop?

Thanx,  doug
_______________________________________________
Kde-windows mailing list
Kde-windows <at> kde.org
https://mail.kde.org/mailman/listinfo/kde-windows
Jeff | 22 Jul 19:47 2015

[Bug 350511] New: emerge frameworks fails on build of win32libs/gpg-error

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

            Bug ID: 350511
           Summary: emerge frameworks fails on build of
                    win32libs/gpg-error
           Product: kde-windows
           Version: unspecified
          Platform: MS Windows
                OS: MS Windows
            Status: UNCONFIRMED
          Severity: grave
          Priority: NOR
         Component: buildsystem
          Assignee: kde-windows <at> kde.org
          Reporter: jeffjl.kde <at> outlook.com

There seems to be something wrong with the .awk files that construct the
mkerrcodes.h file.  But whatever the cause, the mkerrcodes.h file ends up with
invalid syntax and generates errors when included in the mkerrcodes.c file and
compiled. (I'm using mingw.)  The mkerrcodes.h file contains structure
initialization lines like:

{ , "GPG_ERR_E2BIG" },

where there is supposed to be a number before the first comma.

Reproducible: Always

Steps to Reproduce:
1. 'emerge qt' has already completed, and much of 'emerge frameworks' has
completed
2. Use either 'emerge frameworks' or 'emerge --update gpg-error'
3.

Actual Results:  
About 110 occurrences of:

'R:/build/win32libs/gpg-error/work/mingw-w64-RelWithDebInfo-1.12/mkerrcodes.h:105:5:
error: expected expression before ',' token

for all of the "{ , "GPG_ERR_*" }," lines.

Then emerge ends.

Expected Results:  
Completed build of gpg-error

I am running Window 8.1.  This system has never had any KDE installation on it
before. I'm generally following the instructions from 
https://techbase.kde.org/Getting_Started/Build/Windows

--

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kde-windows mailing list
Kde-windows <at> kde.org
https://mail.kde.org/mailman/listinfo/kde-windows
Blackcrack | 5 Jul 10:15 2015
Picon

KDE + Reactos

Hi Peoples,

did you know to be KDE4Win now in the AppManager of Reactos ?
on start ask someone me, hey, should we developing KDE for Windows
loud or in the background.. so direcktly, try to ask if it's well to try KDE direcktly in Reactos..
(this was the time where i was personally an bit to much involved in Reactos
and was an bit more troubles as is would be well *g* no matter *g*)
How ever, i see to be KDE for windows is not very much developed
at this time.. and would be very fine, if i have an KDE for my Win7
or later .. i have see in Youtube different movie's where works well ..
but, it's not so well to say, yes, it can install and move direktly the Explorer
shell by side and overtake the Desktop and work
(with one klick in the installer" as defaultShell for the user.
would be fine, if works well and the KDE-Desktop overtrake's the Explorerdesktop fully as
Default Desktop/Shell include konsole with cmd.

Reactos it is an WinNT Compatible System and would be the NT-System vor manny
of peoples if it's finish and usable to be able for use the Win95 and old WinNT-XP from the old times..

in this view, would be very nice, if be KDE for WinNT be more updatet and
imho, can you slowly testing the actual Builds https://www.reactos.org/de/getbuilds
on compatibility of QT/your KDE-Desktop and make it maby more ready for install
to MS WinNT as a fully Shellrepleacement.

And Thank you for your Work in the last Years,
i heave eve try out you versions ..
but unfortunately was not on this step, where i can say, yes,
easy install + easy usable + easy integrating as fully default desktop.
it was any time a tinkering up to well usable as really well Desktop.
and this is not good ..
would be really grate, if in near time be more easily to use
easy the KDE-Desktop in WindowsNT. with one klick -> Replace the Windows-Shell !
for have an fully KDE-Desktop in WinNT.

you are have done a great Job up to now !
keep it up and make it more better,
    You are can do it !
 it's a Great project !


best regards and thank you very much !
Blacky

blackysgate.de
blackysgate.net
_______________________________________________
Kde-windows mailing list
Kde-windows <at> kde.org
https://mail.kde.org/mailman/listinfo/kde-windows
Scarlett Clark | 1 Jul 16:25 2015

Akademy anyone?

Hi all,
Anyone from the kde-windows team going to Akademy this year? I got stalled 
with Windows on my CI system due to dependency handling and I would like to 
work with someone to move forward and get emerge to work with our scripts. 
Thanks!
Scarlett
_______________________________________________
Kde-windows mailing list
Kde-windows <at> kde.org
https://mail.kde.org/mailman/listinfo/kde-windows

failure to run Skrooge on "installed" KDE

Post copied from KDE forum https://forum.kde.org/viewtopic
php?f=210&t=126708 

Hi, I'm moderately proficient IT-skills-wise and OS-installations but am now
newly dipping my toes into Linux-type environment  by attempting to install
Skrooge under Windows. I followed the Skrooge.org "Windows installation":


Get the KDE on Windows installer
In the startup wizard, select "package manager" as profile
Pick up a mirror...
Select "stable latest" for the version. 
Select Skrooge in the list of available packages
Install
Enjoy 


I followed KDE Installer for Windows - https://techbase.kde
org/Projects/KDE_o ... stallation (page last mod. 9 June 2013) - which
appears to advise the canny installer to choose "C:\KDE4" rather than the 
C:\Program Files" default on the screenshot, so I set up "C:\KDE". Likewise
it appears to advise "C:\KDE4-tmp" rather than the "C:\Documents and
Settings\Local Settings\temp" screenshot default, so I set up "C:\KDE-temp".
Everything appeared to install fine. 

Just one problem.  I found Skrooge.exe icon in C:\KDE\bin and copied it to
desktop, but it doesn't work. The program QT Assistant does *appear* to work
- but no other .exe programs in the bin directory do any more than open up a
command line for a couple of seconds. The Skrooge program icon had not
appeared anywhere else where I'd hope to find it, Desktop, Taskbar or Start
Menu; nor is there any indication of Skrooge in Programs - unlike WAMP which
I also installed on the C-drive. Neither could I find KDE4 nor Skrooge in
programs to Uninstall. I tried just moving the folders out of the C-drive
and reinstalling/uninstalling from the KDE installer. But I still get
prompts for the C-drives I'd set up, and not the default prompts it had had
originally.

I checked the Skrooge Windows installation:


In case you can't get skrooge working by following the above procedure, you
should check the following packages have been installed
qca
kdebase-runtime
kdelibs
sqlite

and kdebase-runtime was not visible, either in my download folder
C:\KDE-temp nor in the list of downloads possible when I reran the KDE
install program to search for more downloads. I see it is available online
but don't know if (a) it is still needed nor (b) how to install and
integrate it if needed. More Linux basics no doubt  I think the Windows KDE
installer prompts and tests page needs updating. So this is a request not
just for me but for potentially many others too. 

I liked the look of Skrooge particularly the multiple categorising facility,
though I realized it might be an interesting learning experience   . I've
been using Quicken 2000 but cannot export as .csv only as QIF and even there
I just hope it will work. I am just running a home business and would like
to find something that is reasonably similar to Quicken in style of use. My
hunch is that Skrooge should be a rising star - when Skrooge gets its
installation under Windows straightforward. 

All help gratefully received. 

 
Hi, I'm moderately proficient IT-skills-wise and OS-installations but am now newly dipping my toes into Linux-type environment by attempting to install Skrooge under Windows. I followed the Skrooge.org "Windows installation":

Get the KDE on Windows installer
In the startup wizard, select "package manager" as profile
Pick up a mirror...
Select "stable latest" for the version.
Select Skrooge in the list of available packages
Install
Enjoy


I followed KDE Installer for Windows - https://techbase.kde.org/Projects/KDE_o ... stallation (page last mod. 9 June 2013) - which appears to advise the canny installer to choose "C:\KDE4" rather than the "C:\Program Files" default on the screenshot, so I set up "C:\KDE". Likewise it appears to advise "C:\KDE4-tmp" rather than the "C:\Documents and Settings\Local Settings\temp" screenshot default, so I set up "C:\KDE-temp". Everything appeared to install fine.

Just one problem. I found Skrooge.exe icon in C:\KDE\bin and copied it to desktop, but it doesn't work. The program QT Assistant does *appear* to work - but no other .exe programs in the bin directory do any more than open up a command line for a couple of seconds. The Skrooge program icon had not appeared anywhere else where I'd hope to find it, Desktop, Taskbar or Start Menu; nor is there any indication of Skrooge in Programs - unlike WAMP which I also installed on the C-drive. Neither could I find KDE4 nor Skrooge in programs to Uninstall. I tried just moving the folders out of the C-drive and reinstalling/uninstalling from the KDE installer. But I still get prompts for the C-drives I'd set up, and not the default prompts it had had originally.

I checked the Skrooge Windows installation:

In case you can't get skrooge working by following the above procedure, you should check the following packages have been installed
qca
kdebase-runtime
kdelibs
sqlite

and kdebase-runtime was not visible, either in my download folder C:\KDE-temp nor in the list of downloads possible when I reran the KDE install program to search for more downloads. I see it is available online but don't know if (a) it is still needed nor (b) how to install and integrate it if needed. More Linux basics no doubt I think the Windows KDE installer prompts and tests page needs updating. So this is a request not just for me but for potentially many others too.

I liked the look of Skrooge particularly the multiple categorising facility, though I realized it might be an interesting learning experience . I've been using Quicken 2000 but cannot export as .csv only as QIF and even there I just hope it will work. I am just running a home business and would like to find something that is reasonably similar to Quicken in style of use. My hunch is that Skrooge should be a rising star - when Skrooge gets its installation under Windows straightforward.

All help gratefully received.
_______________________________________________
Kde-windows mailing list
Kde-windows <at> kde.org
https://mail.kde.org/mailman/listinfo/kde-windows
adimeymuc | 4 Jun 08:46 2015
Picon

[Bug 336401] Application crash when opening integrated file manager and/or opening images

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

adimeymuc <adimeymuc <at> gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |adimeymuc <at> gmail.com

--- Comment #1 from adimeymuc <adimeymuc <at> gmail.com> ---
I can confirm that this -- crash when the in gw  opened directory is renamed in
the file manage (here dolphin) -- also occurs with openSuse (Gwenview Version
4.14.0, with KDE 4.14.6):

Thread 1 (Thread 0x7f51ad6f2880 (LWP 7728)):
[KCrash Handler]
#5  0x00007f51acbede89 in  () at /usr/lib64/libkio.so.5
#6  0x00007f51acbee3e4 in  () at /usr/lib64/libkio.so.5
#7  0x00007f51acbee70d in  () at /usr/lib64/libkio.so.5
#8  0x00007f51ad0060f5 in Gwenview::ContextManager::setCurrentDirUrl(KUrl
const&) () at /usr/lib64/libgwenviewlib.so.4
#9  0x00007f51ac5471fa in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () at /usr/lib64/libQtCore.so.4
#10 0x00007f51acbe8675 in KDirLister::redirection(KUrl const&) () at
/usr/lib64/libkio.so.5
#11 0x00007f51acbf37f7 in KDirLister::Private::redirect(KUrl const&, KUrl
const&, bool) () at /usr/lib64/libkio.so.5
#12 0x00007f51acbf7059 in  () at /usr/lib64/libkio.so.5
#13 0x00007f51acbf7887 in  () at /usr/lib64/libkio.so.5
#14 0x00007f51acbf80eb in  () at /usr/lib64/libkio.so.5
#15 0x00007f51ac5471fa in QMetaObject::activate(QObject*, QMetaObject const*,
int, void**) () at /usr/lib64/libQtCore.so.4
#16 0x00007f51acc03f37 in OrgKdeKDirNotifyInterface::FileRenamed(QString
const&, QString const&) () at /usr/lib64/libkio.so.5
#17 0x00007f51acc045d3 in
OrgKdeKDirNotifyInterface::qt_metacall(QMetaObject::Call, int, void**) () at
/usr/lib64/libkio.so.5
#18 0x00007f51a67fdd4d in  () at /usr/lib64/libQtDBus.so.4
#19 0x00007f51ac54b59e in QObject::event(QEvent*) () at
/usr/lib64/libQtCore.so.4
#20 0x00007f51aae1576c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() at /usr/lib64/libQtGui.so.4
#21 0x00007f51aae1bcad in QApplication::notify(QObject*, QEvent*) () at
/usr/lib64/libQtGui.so.4
#22 0x00007f51abb34cea in KApplication::notify(QObject*, QEvent*) () at
/usr/lib64/libkdeui.so.5
#23 0x00007f51ac5332ad in QCoreApplication::notifyInternal(QObject*, QEvent*)
() at /usr/lib64/libQtCore.so.4
#24 0x00007f51ac53657d in QCoreApplicationPrivate::sendPostedEvents(QObject*,
int, QThreadData*) () at /usr/lib64/libQtCore.so.4
#25 0x00007f51ac5608fe in  () at /usr/lib64/libQtCore.so.4
#26 0x00007f51a5c7ba04 in g_main_context_dispatch () at
/usr/lib64/libglib-2.0.so.0
#27 0x00007f51a5c7bc48 in  () at /usr/lib64/libglib-2.0.so.0
#28 0x00007f51a5c7bcec in g_main_context_iteration () at
/usr/lib64/libglib-2.0.so.0
#29 0x00007f51ac5600be in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
at /usr/lib64/libQtCore.so.4
#30 0x00007f51aaeb2676 in  () at /usr/lib64/libQtGui.so.4
#31 0x00007f51ac531e6f in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib64/libQtCore.so.4
#32 0x00007f51ac532165 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at
/usr/lib64/libQtCore.so.4
#33 0x00007f51ac5375b9 in QCoreApplication::exec() () at
/usr/lib64/libQtCore.so.4
#34 0x0000000000429ded in  ()
#35 0x00007f51aa0d9b05 in __libc_start_main () at /lib64/libc.so.6
#36 0x000000000042a092 in _start ()

--

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kde-windows mailing list
Kde-windows <at> kde.org
https://mail.kde.org/mailman/listinfo/kde-windows
Boris Kheyfets | 26 May 18:16 2015
Picon

File name encoding

Hello,

I can't run okular.exe on Cyrillic file name: e.g. okular.exe тест.djvu turns into "Could not open ????.djvu" message. I can't run it from Windows's IE nor from within the Okular. Is there a solution?

Best,
Boris.




_______________________________________________
Kde-windows mailing list
Kde-windows <at> kde.org
https://mail.kde.org/mailman/listinfo/kde-windows
Jack Ostroff | 27 May 21:35 2015

emerge problem with openssl - mixing forward and back slashes

Hello,

I'm working on branch kde-4.13, and am stuck on openssl.  (1.0.1g). It's 
failing with:

\dev-utils\bin/perl.exe x86cpuid.pl coff -I. -I.. -I../include 
-IR:/include -D_WINDLL -DOPENSSL_USE_APPLINK -DOPENSSL_PIC -DZLIB_SHARED 
-DZLIB -DOPENSSL_THREADS -D_MT -DDSO_WIN32 -DL_ENDIAN 
-DWIN32_LEAN_AND_MEAN -fomit-frame-pointer -O3 -march=i486 -Wall 
-DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT 
-DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM 
-DRMD160_ASM -DAES_ASM -DVPAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM  > x86cpuid.s
/usr/bin/sh: dev-utilsbin/perl.exe: No such file or directory

Near the beginning (line72?) of the Makefile from openssl-1.0.0d, there 
is the line "PERL= \dev-utils\bin/perl.exe" and it seems the backslashes 
are being used to quote the following character instead of being swapped 
for forward slashes, leading to perl not being found.

I've tried creating a patch to switch the back to forward slashes, but I 
haven't  been able to get the correct syntax.

Any suggestions would be greatly appreciated.

Jack
_______________________________________________
Kde-windows mailing list
Kde-windows <at> kde.org
https://mail.kde.org/mailman/listinfo/kde-windows
Asuka Langley | 21 May 16:47 2015
Picon

[Bug 348061] New: Building of frameworks/kdoctools fails

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

            Bug ID: 348061
           Summary: Building of frameworks/kdoctools fails
           Product: kde-windows
           Version: unspecified
          Platform: MS Windows
                OS: MS Windows
            Status: UNCONFIRMED
          Severity: grave
          Priority: NOR
         Component: buildsystem
          Assignee: kde-windows <at> kde.org
          Reporter: AsukaLangleyfag <at> gmail.com

I used emerge frameworks command after successful building Qt 5.4.3 and met
this error while building frameworks/kdoctools

Reproducible: Always

Steps to Reproduce:
1. use master branch of emerge tool
2. try to emerge frameworks
3. when it's building frameworks/kdoctools you will meet error

Actual Results:  
file:///R:/build/frameworks/kdoctools/work/mingw-w64-RelWithDebInfo-master/src/customization/dtd/kdedbx45.dtd:102:
warning: failed to load external entity
"file:///R:/build/frameworks/kdoctools/work/mingw-w64-RelWithDebInfo-master/src/customization/dtd/r%3A/share/xml/docbook/schema/dtd/4.5/docbookx.dtd"
%DocBookDTD;
            ^
Entity: line 1:
 %DocBookDTD;
             ^
file:///R:/build/frameworks/kdoctools/work/mingw-w64-RelWithDebInfo-master/src/customization/dtd/modifications.elements:42:
validity error : PEReference: %div.title.content; not found
<!ELEMENT book %ho; ((%div.title.content;)?, bookinfo,
                                         ^
file:///R:/build/frameworks/kdoctools/work/mingw-w64-RelWithDebInfo-master/src/customization/dtd/modifications.elements:42:
parser error : ContentDecl : Name or '(' expected
<!ELEMENT book %ho; ((%div.title.content;)?, bookinfo,
                                         ^
file:///R:/build/frameworks/kdoctools/work/mingw-w64-RelWithDebInfo-master/src/customization/dtd/modifications.elements:42:
parser error : expected '>'
<!ELEMENT book %ho; ((%div.title.content;)?, bookinfo,
                                           ^
file:///R:/build/frameworks/kdoctools/work/mingw-w64-RelWithDebInfo-master/src/customization/dtd/modifications.elements:42:
parser error : Content error in the external subset
<!ELEMENT book %ho; ((%div.title.content;)?, bookinfo,
                                           ^
man-checkXML5.1.docbook:6: parser error : Entity 'language' not defined
<refentry lang="&language;">
                          ^
man-checkXML5.1.docbook:8: parser error : Entity 'kde' not defined
<title>&kde; User's Manual</title>
            ^
man-checkXML5.1.docbook:20: parser error : Entity 'XML' not defined
<refpurpose>An &XML; lint tool for &kde; DocBook &XML; documents.</refpurpose>
                    ^
man-checkXML5.1.docbook:20: parser error : Entity 'kde' not defined
<refpurpose>An &XML; lint tool for &kde; DocBook &XML; documents.</refpurpose>
                                        ^
man-checkXML5.1.docbook:20: parser error : Entity 'XML' not defined
<refpurpose>An &XML; lint tool for &kde; DocBook &XML; documents.</refpurpose>
                                                      ^
man-checkXML5.1.docbook:32: parser error : Entity 'kde' not defined
<para><command>checkXML5</command> is a tool to check for syntax errors in
&kde;

^
man-checkXML5.1.docbook:33: parser error : Entity 'XML' not defined
DocBook &XML; files.  It can also be used for other DocBook based
             ^
man-checkXML5.1.docbook:34: parser error : Entity 'XML' not defined
&XML; files, but you should use the less specific xmllint(1) tool if
     ^
man-checkXML5.1.docbook:35: parser error : Entity 'kde' not defined
you are not writing or otherwise working on &kde;
                                                 ^
Error: `xmllint --noout` outputted text
jom:
R:\build\frameworks\kdoctools\work\mingw-w64-RelWithDebInfo-master\docs\checkXML5\CMakeFiles\docs-checkXML5-checkXML5-1.dir\build.make
[docs\checkXML5\checkXML5.1] Error 1
jom:
R:\build\frameworks\kdoctools\work\mingw-w64-RelWithDebInfo-master\CMakeFiles\Makefile2
[docs\checkXML5\CMakeFiles\docs-checkXML5-checkXML5-1.dir\all] Error 2
jom:
R:\build\frameworks\kdoctools\work\mingw-w64-RelWithDebInfo-master\Makefile
[all] Error 2
emerge warning: while running make cmd: jom
emerge error: fatal error: package frameworks/kdoctools all failed

Expected Results:  
Built frameworks/kdoctools and continue of building Qt

KDECOMPILER = mingw-w64
Architecture = x64
OS - Windows 10 Technical Preview Build 10074 x64

--

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kde-windows mailing list
Kde-windows <at> kde.org
https://mail.kde.org/mailman/listinfo/kde-windows
Asuka Langley | 19 May 23:46 2015
Picon

[Bug 347970] New: Qt compilation fails with mingw-w64

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

            Bug ID: 347970
           Summary: Qt compilation fails with mingw-w64
           Product: kde-windows
           Version: unspecified
          Platform: Other
                OS: MS Windows
            Status: UNCONFIRMED
          Severity: grave
          Priority: NOR
         Component: buildsystem
          Assignee: kde-windows <at> kde.org
          Reporter: AsukaLangleyfag <at> gmail.com

Cannot compile Qt with mingw-w64 using build system  with "./emerge qt" command
and due of it all building fails.

Reproducible: Always

Steps to Reproduce:
1. get emerge tool with git clone  git://anongit.kde.org/emerge.git
2. copy ini file to KDEROOT/etc/ at set compiler to mingw-w64
3.  use kdeenv.bat or kdeenv.ps1 and go to emerge/bin and input "emerge qt"

Actual Results:  
Error, Last message: g++ -shared -pipe -fno-keep-inline-dllexport
-Ir:/build/binary/mysql-pkg/image-mingw-w64-RelWithDebInfo-5.6.24/include
-std=c++0x -fno-exceptions -frtti -Wl,-subsystem,windows
-Wl,--out-implib,R:\build\libs\qtbase\work\mingw-w64-RelWithDebInfo-5.4\plugins\sqldrivers\libqsqlmysql.a
-o ..\..\..\..\plugins\sqldrivers\qsqlmysql.dll .obj/release/main.o 
.obj/release/qsql_mysql.o  .obj/release/moc_qsql_mysql_p.o 
-Lr:/build/win32libs/icu/image-mingw-w64-RelWithDebInfo-55.1/lib
-Lr:/build/binary/mysql-pkg/image-mingw-w64-RelWithDebInfo-5.6.24/lib
-LR:/build/libs/qtbase/work/mingw-w64-RelWithDebInfo-5.4/lib -lQt5Sql -lQt5Core
.obj\release\qsqlmysql_resource_res.o
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x353): undefined reference to
`mysql_character_set_name <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x394): undefined reference to
`mysql_error <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x3af): undefined reference to
`mysql_errno <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x68d): undefined reference to
`mysql_stmt_error <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x69e): undefined reference to
`mysql_stmt_errno <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x8d4): undefined reference to
`mysql_stmt_result_metadata <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x901): undefined reference to
`mysql_num_fields <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0xaab): undefined reference to
`mysql_fetch_field <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0xc41): undefined reference to
`mysql_free_result <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0xc61): undefined reference to
`mysql_store_result <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0xc78): undefined reference to
`mysql_free_result <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0xcba): undefined reference to
`mysql_next_result <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0xcf3): undefined reference to
`mysql_stmt_close <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0xd63): undefined reference to
`mysql_free_result <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0xf9b): undefined reference to
`mysql_stmt_data_seek <at> 12'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0xfaf): undefined reference to
`mysql_stmt_fetch <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x1079): undefined reference to
`mysql_data_seek <at> 12'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x1093): undefined reference to
`mysql_fetch_row <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x111b): undefined reference to
`mysql_stmt_fetch <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x11df): undefined reference to
`mysql_fetch_row <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x12ae): undefined reference to
`mysql_stmt_num_rows <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x12ca): undefined reference to
`mysql_num_rows <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x158d): undefined reference to
`mysql_fetch_lengths <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x1bdb): undefined reference to
`mysql_real_query <at> 12'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x1ca3): undefined reference to
`mysql_store_result <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x1cd1): undefined reference to
`mysql_field_count <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x1d9e): undefined reference to
`mysql_field_count <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x1dff): undefined reference to
`mysql_affected_rows <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x1e3a): undefined reference to
`mysql_fetch_field_direct <at> 8'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x1f31): undefined reference to
`mysql_stmt_num_rows <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x1f47): undefined reference to
`mysql_num_rows <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x1fcf): undefined reference to
`mysql_stmt_insert_id <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x201b): undefined reference to
`mysql_insert_id <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x20f9): undefined reference to
`mysql_errno <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x211c): undefined reference to
`mysql_field_seek <at> 8'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x212a): undefined reference to
`mysql_fetch_field <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x2187): undefined reference to
`mysql_fetch_field <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x21a6): undefined reference to
`mysql_field_seek <at> 8'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x2248): undefined reference to
`mysql_free_result <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x22ec): undefined reference to
`mysql_next_result <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x23c4): undefined reference to
`mysql_store_result <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x23e5): undefined reference to
`mysql_field_count <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x24f8): undefined reference to
`mysql_affected_rows <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x252f): undefined reference to
`mysql_fetch_field_direct <at> 8'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x275d): undefined reference to
`mysql_stmt_init <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x2865): undefined reference to
`mysql_stmt_prepare <at> 12'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x291e): undefined reference to
`mysql_stmt_param_count <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x2941): undefined reference to
`mysql_stmt_param_count <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x2a81): undefined reference to
`mysql_stmt_reset <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x2b51): undefined reference to
`mysql_stmt_param_count <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x2b6c): undefined reference to
`mysql_stmt_param_count <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x2fa2): undefined reference to
`mysql_stmt_bind_param <at> 8'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x306e): undefined reference to
`mysql_stmt_execute <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x3171): undefined reference to
`mysql_stmt_affected_rows <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x31b9): undefined reference to
`mysql_stmt_bind_result <at> 8'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x329a): undefined reference to
`mysql_stmt_attr_set <at> 12'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x32b1): undefined reference to
`mysql_stmt_store_result <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x33a1): undefined reference to
`mysql_stmt_bind_result <at> 8'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x3f0e): undefined reference to
`mysql_init <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x40b6): undefined reference to
`mysql_real_connect <at> 32'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x417b): undefined reference to
`mysql_select_db <at> 8'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x4290): undefined reference to
`mysql_close <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x42ef): undefined reference to
`mysql_options <at> 12'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x4381): undefined reference to
`mysql_close <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x43d1): undefined reference to
`mysql_set_character_set <at> 8'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x43ef): undefined reference to
`mysql_get_client_version <at> 0'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x4404): undefined reference to
`mysql_get_server_version <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x4425): undefined reference to
`mysql_thread_init <at> 0'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x44c6): undefined reference to
`mysql_thread_end <at> 0'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x44d4): undefined reference to
`mysql_close <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x4583): undefined reference to
`mysql_get_server_version <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x45d8): undefined reference to
`mysql_list_tables <at> 8'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x45fe): undefined reference to
`mysql_data_seek <at> 12'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x460c): undefined reference to
`mysql_fetch_row <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x467a): undefined reference to
`mysql_free_result <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x4ef0): undefined reference to
`mysql_list_fields <at> 12'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x4f52): undefined reference to
`mysql_fetch_field <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x4f6e): undefined reference to
`mysql_free_result <at> 4'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x503e): undefined reference to
`mysql_query <at> 8'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x515a): undefined reference to
`mysql_query <at> 8'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x5276): undefined reference to
`mysql_query <at> 8'
.obj/release/qsql_mysql.o:qsql_mysql.cpp:(.text+0x54cc): undefined reference to
`mysql_real_escape_string <at> 16'
r:/mingw/bin/../lib/gcc/i686-w64-mingw32/4.9.2/../../../../i686-w64-mingw32/bin/ld.exe:
.obj/release/qsql_mysql.o: bad reloc address 0x4 in section `.data'
collect2.exe: error: ld returned 1 exit status

Expected Results:  
Compiled Qt

My system is Windows 10 Technical Preview Build 10074 so I can't use older
MSVS, but ICU builing fails with latest MSVS 2015, so the only way to build KDE
for me is to use mingw-w64.

--

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Kde-windows mailing list
Kde-windows <at> kde.org
https://mail.kde.org/mailman/listinfo/kde-windows

Gmane