Re: x11/plasma5-plasma-desktop fails to build

2018-02-28 Thread Stefan Rumetshofer
Now after updating the ports from area51 the problem has gone. All ports
were built fine.

2018-02-12 18:01 GMT+01:00 Jeremy :

> That is weird. I just rebuilt a bunch of plasma5 stuff again to update all
> of the kf5 stuff to 5.43.0. x11/plamsa5-plasma-desktop rebuilt fine again
> (twice now). But you can also look at the suggestion from Kwanza.Pili
> comment #5 from the kde bug report.
>
> https://bugs.kde.org/show_bug.cgi?id=389982
>
>
> My fix is to comment out the line in kcms/lookandfeel/kcm.cpp that starts
>> with K_PLUGIN_FACTORY_WITH_JSON. The build is then succeeds.
>
>
>
> I tried Kwanza.Pili's suggestion before I applied Tobias's patch and that
> also worked for me. I also created a new and clean ports tree and
> repository with poudriere  just for plasma 5.12 building and testing to
> ensure it would build and work correctly.
>
>
> On Mon, Feb 12, 2018 at 7:51 AM, Stefan Rumetshofer 
> wrote:
>
>> On my system the build has failed again with the same error as in the
>> first post :(
>>
>> Stefan
>>
>> 2018-02-11 19:46 GMT+01:00 Stefan Rumetshofer :
>>
>>> Hi Tobias,
>>>
>>> I have applied the patch. Poudriere is now running. This could take a
>>> while.
>>>
>>> 2018-02-11 11:19 GMT+01:00 Tobias C. Berner :
>>>
 Moin moin,

 Could you try with this patch applied to the ports tree?
 http://people.freebsd.org/~tcberner/patches/0001-Add-custom-
 target-to-kf5-kcoreaddons-desktop2json.patch


 mfg Tobias

 On 10 February 2018 at 21:57, Jeremy  wrote:

> I'm afraid I can't get plasma5-plasma-desktop to build either. It
> fails with exactly the same error that Stefan Rumetshofer reported. I have
> tried to build it several times. I am using poudriere with 12 current. I
> have tried to build it using MAKE_JOBS_UNSAFE as well and it still will 
> not
> build. A couple of CMake warnings I see from the build log:
>
> CMake Warning (dev) at 
> /usr/local/lib/cmake/KF5Package/KF5PackageMacros.cmake:26
> (message):
>   Deprecated: use kpackage_install_bundled_package
> Call Stack (most recent call first):
>   kcms/lookandfeel/CMakeLists.txt:59 (kpackage_install_package)
> This warning is for project developers.  Use -Wno-dev to suppress it.
>
> CMake Warning at /usr/local/lib/cmake/KF5Package/KF5PackageMacros.cmake:73
> (message):
>   KPackage components should be specified in reverse domain notation.
>   Appstream information won't be generated for kcm_lookandfeel.
> Call Stack (most recent call first):
>   kcms/lookandfeel/CMakeLists.txt:59 (kpackage_install_package)
>
> I am scratching my head on this one.
>
> Thanks for your help in advance,
> Jeremy Cox
>


>>>
>>
>


Re: x11/plasma5-plasma-desktop fails to build

2018-02-12 Thread Jeremy
That is weird. I just rebuilt a bunch of plasma5 stuff again to update all
of the kf5 stuff to 5.43.0. x11/plamsa5-plasma-desktop rebuilt fine again
(twice now). But you can also look at the suggestion from Kwanza.Pili
comment #5 from the kde bug report.

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


My fix is to comment out the line in kcms/lookandfeel/kcm.cpp that starts
> with K_PLUGIN_FACTORY_WITH_JSON. The build is then succeeds.



I tried Kwanza.Pili's suggestion before I applied Tobias's patch and that
also worked for me. I also created a new and clean ports tree and
repository with poudriere  just for plasma 5.12 building and testing to
ensure it would build and work correctly.


On Mon, Feb 12, 2018 at 7:51 AM, Stefan Rumetshofer 
wrote:

> On my system the build has failed again with the same error as in the
> first post :(
>
> Stefan
>
> 2018-02-11 19:46 GMT+01:00 Stefan Rumetshofer :
>
>> Hi Tobias,
>>
>> I have applied the patch. Poudriere is now running. This could take a
>> while.
>>
>> 2018-02-11 11:19 GMT+01:00 Tobias C. Berner :
>>
>>> Moin moin,
>>>
>>> Could you try with this patch applied to the ports tree?
>>> http://people.freebsd.org/~tcberner/patches/0001-Add-custom-
>>> target-to-kf5-kcoreaddons-desktop2json.patch
>>>
>>>
>>> mfg Tobias
>>>
>>> On 10 February 2018 at 21:57, Jeremy  wrote:
>>>
 I'm afraid I can't get plasma5-plasma-desktop to build either. It fails
 with exactly the same error that Stefan Rumetshofer reported. I have tried
 to build it several times. I am using poudriere with 12 current. I have
 tried to build it using MAKE_JOBS_UNSAFE as well and it still will not
 build. A couple of CMake warnings I see from the build log:

 CMake Warning (dev) at 
 /usr/local/lib/cmake/KF5Package/KF5PackageMacros.cmake:26
 (message):
   Deprecated: use kpackage_install_bundled_package
 Call Stack (most recent call first):
   kcms/lookandfeel/CMakeLists.txt:59 (kpackage_install_package)
 This warning is for project developers.  Use -Wno-dev to suppress it.

 CMake Warning at /usr/local/lib/cmake/KF5Package/KF5PackageMacros.cmake:73
 (message):
   KPackage components should be specified in reverse domain notation.
   Appstream information won't be generated for kcm_lookandfeel.
 Call Stack (most recent call first):
   kcms/lookandfeel/CMakeLists.txt:59 (kpackage_install_package)

 I am scratching my head on this one.

 Thanks for your help in advance,
 Jeremy Cox

>>>
>>>
>>
>


Re: x11/plasma5-plasma-desktop fails to build

2018-02-12 Thread Stefan Rumetshofer
On my system the build has failed again with the same error as in the first
post :(

Stefan

2018-02-11 19:46 GMT+01:00 Stefan Rumetshofer :

> Hi Tobias,
>
> I have applied the patch. Poudriere is now running. This could take a
> while.
>
> 2018-02-11 11:19 GMT+01:00 Tobias C. Berner :
>
>> Moin moin,
>>
>> Could you try with this patch applied to the ports tree?
>> http://people.freebsd.org/~tcberner/patches/0001-Add-custom-
>> target-to-kf5-kcoreaddons-desktop2json.patch
>>
>>
>> mfg Tobias
>>
>> On 10 February 2018 at 21:57, Jeremy  wrote:
>>
>>> I'm afraid I can't get plasma5-plasma-desktop to build either. It fails
>>> with exactly the same error that Stefan Rumetshofer reported. I have tried
>>> to build it several times. I am using poudriere with 12 current. I have
>>> tried to build it using MAKE_JOBS_UNSAFE as well and it still will not
>>> build. A couple of CMake warnings I see from the build log:
>>>
>>> CMake Warning (dev) at 
>>> /usr/local/lib/cmake/KF5Package/KF5PackageMacros.cmake:26
>>> (message):
>>>   Deprecated: use kpackage_install_bundled_package
>>> Call Stack (most recent call first):
>>>   kcms/lookandfeel/CMakeLists.txt:59 (kpackage_install_package)
>>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>>
>>> CMake Warning at /usr/local/lib/cmake/KF5Package/KF5PackageMacros.cmake:73
>>> (message):
>>>   KPackage components should be specified in reverse domain notation.
>>>   Appstream information won't be generated for kcm_lookandfeel.
>>> Call Stack (most recent call first):
>>>   kcms/lookandfeel/CMakeLists.txt:59 (kpackage_install_package)
>>>
>>> I am scratching my head on this one.
>>>
>>> Thanks for your help in advance,
>>> Jeremy Cox
>>>
>>
>>
>


Re: x11/plasma5-plasma-desktop fails to build

2018-02-11 Thread Jeremy
Thanks for the patch! I applied it and rebuilt those ports with poudriere
with no issues this time. Plasma 5.12 is working well. Thanks guys for all
your hard work keeping KDE updated and working on FreeBSD.

Regards,
Jeremy Cox


On Feb 11, 2018 12:46, "Stefan Rumetshofer"  wrote:

Hi Tobias,

I have applied the patch. Poudriere is now running. This could take a while.

2018-02-11 11:19 GMT+01:00 Tobias C. Berner :

> Moin moin,
>
> Could you try with this patch applied to the ports tree?
> http://people.freebsd.org/~tcberner/patches/0001-Add-custom-
> target-to-kf5-kcoreaddons-desktop2json.patch
>
>
> mfg Tobias
>
> On 10 February 2018 at 21:57, Jeremy  wrote:
>
>> I'm afraid I can't get plasma5-plasma-desktop to build either. It fails
>> with exactly the same error that Stefan Rumetshofer reported. I have tried
>> to build it several times. I am using poudriere with 12 current. I have
>> tried to build it using MAKE_JOBS_UNSAFE as well and it still will not
>> build. A couple of CMake warnings I see from the build log:
>>
>> CMake Warning (dev) at 
>> /usr/local/lib/cmake/KF5Package/KF5PackageMacros.cmake:26
>> (message):
>>   Deprecated: use kpackage_install_bundled_package
>> Call Stack (most recent call first):
>>   kcms/lookandfeel/CMakeLists.txt:59 (kpackage_install_package)
>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>
>> CMake Warning at /usr/local/lib/cmake/KF5Package/KF5PackageMacros.cmake:73
>> (message):
>>   KPackage components should be specified in reverse domain notation.
>>   Appstream information won't be generated for kcm_lookandfeel.
>> Call Stack (most recent call first):
>>   kcms/lookandfeel/CMakeLists.txt:59 (kpackage_install_package)
>>
>> I am scratching my head on this one.
>>
>> Thanks for your help in advance,
>> Jeremy Cox
>>
>
>


Re: x11/plasma5-plasma-desktop fails to build

2018-02-11 Thread Stefan Rumetshofer
Hi Tobias,

I have applied the patch. Poudriere is now running. This could take a while.

2018-02-11 11:19 GMT+01:00 Tobias C. Berner :

> Moin moin,
>
> Could you try with this patch applied to the ports tree?
> http://people.freebsd.org/~tcberner/patches/0001-Add-custom-target-to-kf5-
> kcoreaddons-desktop2json.patch
>
>
> mfg Tobias
>
> On 10 February 2018 at 21:57, Jeremy  wrote:
>
>> I'm afraid I can't get plasma5-plasma-desktop to build either. It fails
>> with exactly the same error that Stefan Rumetshofer reported. I have tried
>> to build it several times. I am using poudriere with 12 current. I have
>> tried to build it using MAKE_JOBS_UNSAFE as well and it still will not
>> build. A couple of CMake warnings I see from the build log:
>>
>> CMake Warning (dev) at 
>> /usr/local/lib/cmake/KF5Package/KF5PackageMacros.cmake:26
>> (message):
>>   Deprecated: use kpackage_install_bundled_package
>> Call Stack (most recent call first):
>>   kcms/lookandfeel/CMakeLists.txt:59 (kpackage_install_package)
>> This warning is for project developers.  Use -Wno-dev to suppress it.
>>
>> CMake Warning at /usr/local/lib/cmake/KF5Package/KF5PackageMacros.cmake:73
>> (message):
>>   KPackage components should be specified in reverse domain notation.
>>   Appstream information won't be generated for kcm_lookandfeel.
>> Call Stack (most recent call first):
>>   kcms/lookandfeel/CMakeLists.txt:59 (kpackage_install_package)
>>
>> I am scratching my head on this one.
>>
>> Thanks for your help in advance,
>> Jeremy Cox
>>
>
>


Re: x11/plasma5-plasma-desktop fails to build

2018-02-11 Thread Tobias C. Berner
Moin moin,

Could you try with this patch applied to the ports tree?
http://people.freebsd.org/~tcberner/patches/0001-Add-custom-target-to-kf5-kcoreaddons-desktop2json.patch


mfg Tobias

On 10 February 2018 at 21:57, Jeremy  wrote:

> I'm afraid I can't get plasma5-plasma-desktop to build either. It fails
> with exactly the same error that Stefan Rumetshofer reported. I have tried
> to build it several times. I am using poudriere with 12 current. I have
> tried to build it using MAKE_JOBS_UNSAFE as well and it still will not
> build. A couple of CMake warnings I see from the build log:
>
> CMake Warning (dev) at 
> /usr/local/lib/cmake/KF5Package/KF5PackageMacros.cmake:26
> (message):
>   Deprecated: use kpackage_install_bundled_package
> Call Stack (most recent call first):
>   kcms/lookandfeel/CMakeLists.txt:59 (kpackage_install_package)
> This warning is for project developers.  Use -Wno-dev to suppress it.
>
> CMake Warning at /usr/local/lib/cmake/KF5Package/KF5PackageMacros.cmake:73
> (message):
>   KPackage components should be specified in reverse domain notation.
>   Appstream information won't be generated for kcm_lookandfeel.
> Call Stack (most recent call first):
>   kcms/lookandfeel/CMakeLists.txt:59 (kpackage_install_package)
>
> I am scratching my head on this one.
>
> Thanks for your help in advance,
> Jeremy Cox
>


Re: x11/plasma5-plasma-desktop fails to build

2018-02-09 Thread Tobias C. Berner
We could mark it as MAKE_JOBS_UNSAFE for the moment -- feel free to do so :)


mfg Tobias

On 9 February 2018 at 23:27, Adriaan de Groot 
wrote:

> On Friday, 9 February 2018 20:56:18 CET Tobias C. Berner wrote:
> > this is a timing issue in the build (something does not get properly
> > ordered). You can try building it without any parallel makejobs -- which
> > might make it succeed.
> > I'm lucky enough that it does not trigger it often for me. -- i.e. try
> > again, it could work.
>
> I haven't seen it at all - I think my pou is limited to 6 jobs.
>
> > Upstream is aware of the issue already.
>
> Aware, yes, but unlikely to spend time hunting down the missing arc in the
> dependency graph. I'll have to sit down at some point and check most
> carefully
> what is going on. (Possibly making the JSON generation much much slower
> will
> show it up, too) (Maybe using gmake instead of ninja will solve it, too)
>
> [ade]


Re: x11/plasma5-plasma-desktop fails to build

2018-02-09 Thread Tobias C. Berner
Hi Stefan

this is a timing issue in the build (something does not get properly
ordered). You can try building it without any parallel makejobs -- which
might make it succeed.
I'm lucky enough that it does not trigger it often for me. -- i.e. try
again, it could work.

Upstream is aware of the issue already.



mfg Tobias

On 9 February 2018 at 10:36, Stefan Rumetshofer  wrote:

> I am trying to build kde5 from area51 with poudriere on
> 11.1-RELEASE-amd64, but x11/plasma5-plasma-desktop (5.12.0) fails with
> following in the log:
>
> []
> [645/974] : && /usr/local/libexec/ccache/c++ -fPIC -O2 -pipe
> -fstack-protector -fno-strict-aliasing -std=c++0x -fno-operator-names
> -fno-exceptions -Wno-gnu-zero-variadic-macro-arguments -Wall -Wextra
> -Wcast-align -Wchar-subscripts -Wformat-security -Wno-long-long
> -Wpointer-arith -Wundef -Wnon-virtual-dtor -Woverloaded-virtual
> -Werror=return-type -Wvla -Wdate-time -fdiagnostics-color=always -O2 -pipe
> -fstack-protector -fno-strict-aliasing  -Wl,--no-undefined
> -Wl,--fatal-warnings -Wl,--enable-new-dtags  -fstack-protector -shared  -o
> kcms/style/kcm_style.so kcms/style/CMakeFiles/kcm_style.dir/__/krdb/krdb.cpp.o
> kcms/style/CMakeFiles/kcm_style.dir/styleconfdialog.cpp.o
> kcms/style/CMakeFiles/kcm_style.dir/kcmstyle.cpp.o
> kcms/style/CMakeFiles/kcm_style.dir/klauncher_iface.cpp.o
> kcms/style/CMakeFiles/kcm_style.dir/kcm_style_autogen/mocs_compilation.cpp.o
> -Wl,-rpath,/usr/local/lib:/usr/local/lib/qt5:
> /usr/local/lib/libKF5KCMUtils.so.5.42.0 /usr/local/lib/libKF5Plasma.so.5.42.0
> /usr/local/lib/libSM.so /usr/local/lib/libICE.so /usr/local/lib/libX11.so
> /usr/local/lib/libXext.so /usr/local/lib/libKF5KDELibs4Support.so.5.42.0
> /usr/local/lib/libKF5NewStuff.so.5.42.0 /usr/local/lib/libKF5Package.so.5.42.0
> /usr/local/lib/libKF5Notifications.so.5.42.0
> /usr/local/lib/libKF5Crash.so.5.42.0 
> /usr/local/lib/libKF5KIOFileWidgets.so.5.42.0
> /usr/local/lib/libKF5Bookmarks.so.5.42.0 /usr/local/lib/libKF5Solid.so.5.42.0
> /usr/local/lib/libKF5UnitConversion.so.5.42.0
> /usr/local/lib/libKF5Parts.so.5.42.0 
> /usr/local/lib/libKF5NewStuffCore.so.5.42.0
> /usr/local/lib/libKF5XmlGui.so.5.42.0 
> /usr/local/lib/qt5/libQt5PrintSupport.so.5.9.4
> /usr/local/lib/libKF5TextWidgets.so.5.42.0 
> /usr/local/lib/libKF5SonnetUi.so.5.42.0
> /usr/local/lib/libKF5Attica.so.5.42.0 
> /usr/local/lib/libKF5KIOWidgets.so.5.42.0
> /usr/local/lib/libKF5Completion.so.5.42.0 
> /usr/local/lib/libKF5KIOCore.so.5.42.0
> /usr/local/lib/libKF5Service.so.5.42.0 
> /usr/local/lib/libKF5IconThemes.so.5.42.0
> /usr/local/lib/libKF5ConfigWidgets.so.5.42.0 
> /usr/local/lib/libKF5I18n.so.5.42.0
> /usr/local/lib/libKF5GuiAddons.so.5.42.0 /usr/local/lib/libKF5Codecs.so.5.42.0
> /usr/local/lib/libKF5ConfigGui.so.5.42.0 
> /usr/local/lib/libKF5ConfigCore.so.5.42.0
> /usr/local/lib/qt5/libQt5Xml.so.5.9.4 /usr/local/lib/libKF5Auth.so.5.42.0
> /usr/local/lib/libKF5WindowSystem.so.5.42.0 
> /usr/local/lib/libKF5JobWidgets.so.5.42.0
> /usr/local/lib/qt5/libQt5X11Extras.so.5.9.4 
> /usr/local/lib/qt5/libQt5DBus.so.5.9.4
> /usr/local/lib/libKF5CoreAddons.so.5.42.0 
> /usr/local/lib/libKF5WidgetsAddons.so.5.42.0
> /usr/local/lib/qt5/libQt5Network.so.5.9.4 
> /usr/local/lib/libKF5ItemViews.so.5.42.0
> /usr/local/lib/qt5/libQt5Widgets.so.5.9.4 
> /usr/local/lib/qt5/libQt5Gui.so.5.9.4
> /usr/local/lib/qt5/libQt5Core.so.5.9.4 
> -Wl,-rpath-link,/usr/local/lib/qt5:/usr/local/lib
> && :
> [646/974] /usr/local/libexec/ccache/c++  -DKCOREADDONS_LIB -DQT_CORE_LIB
> -DQT_DBUS_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0 -DQT_GUI_LIB
> -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_URL_CAST_FROM_STRING -DQT_QML_LIB
> -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_XML_LIB 
> -DTRANSLATION_DOMAIN=\"kcm_desktoptheme\"
> -D_LARGEFILE64_SOURCE -Dkcm_desktoptheme_EXPORTS -Ikcms/desktoptheme
> -I/wrkdirs/usr/ports/x11/plasma5-plasma-desktop/work/
> plasma-desktop-5.12.0/kcms/desktoptheme 
> -Ikcms/desktoptheme/kcm_desktoptheme_autogen/include
> -I. -isystem /usr/local/include/KF5/KCoreAddons -isystem
> /usr/local/include/KF5 -isystem /usr/local/include/qt5 -isystem
> /usr/local/include/qt5/QtCore -isystem 
> /usr/local/lib/qt5/mkspecs/freebsd-clang
> -isystem /usr/local/include/KF5/KCMUtils -isystem 
> /usr/local/include/qt5/QtWidgets
> -isystem /usr/local/include/qt5/QtGui -isystem /usr/local/include -isystem
> /usr/local/include/KF5/KConfigWidgets -isystem
> /usr/local/include/KF5/KCodecs -isystem /usr/local/include/KF5/KWidgetsAddons
> -isystem /usr/local/include/KF5/KConfigGui -isystem
> /usr/local/include/qt5/QtXml -isystem /usr/local/include/KF5/KConfigCore
> -isystem /usr/local/include/KF5/KAuth -isystem /usr/local/include/KF5/KService
> -isystem /usr/local/include/KF5/KI18n -isystem
> /usr/local/include/KF5/Plasma -isystem /usr/local/include/KF5/KPackage
> -isystem /usr/local/include/KF5/KDeclarative -isystem
> /usr/local/include/qt5/QtQml -isystem /usr/local/include/qt5/QtNetwork
> -isystem