From kde-release-team Sat Aug 22 11:43:35 2015 From: "Albert Astals Cid" Date: Sat, 22 Aug 2015 11:43:35 +0000 To: kde-release-team Subject: Re: Review Request 124801: set cmake_min_req to match kdelibs policy and enable newer cmake policies Message-Id: <20150822114335.12562.29742 () mimi ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-release-team&m=144024384112237 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--===============9117231559610290237==" --===============9117231559610290237== Content-Type: multipart/alternative; boundary="===============5670510918172725913==" --===============5670510918172725913== MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit > On ago. 22, 2015, 10:23 a.m., Urs Wolfer wrote: > > So do you still think cherry-picking of c8789dd6546c8fd8d00e4c0ed1ac8fa48d337acf into Applications/15.08 is required (I'm not sure because of the discussion)? Do other apps also have this line in Applications/15.08? I guess it won't hurt, but it's not *required* since as far as i can see it builds fine in jenkins https://build.kde.org/job/krdc%20Applications-15.08%20stable-qt4/ - Albert ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/124801/#review84182 ----------------------------------------------------------- On ago. 18, 2015, 9:55 a.m., Heiko Becker wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://git.reviewboard.kde.org/r/124801/ > ----------------------------------------------------------- > > (Updated ago. 18, 2015, 9:55 a.m.) > > > Review request for Release Team and Urs Wolfer. > > > Repository: krdc > > > Description > ------- > > This is just a cherry-pick of c8789dd6546c8fd8d00e4c0ed1ac8fa48d337acf from master. With the recent cmake changes to kdelibs>4.14.10 krdc fails to build with newer cmake versions with the error below. Adding the release-team, because it touches a dependency requirement and this patch might be nice to have in the 15.08.0 tarball. > > Error: > * In program cave perform install --hooks --managed-output --output-exclusivity with-others =kde/krdc-15.08.0:4::kde --destination installed --replacing =kde/krdc-15.08.0:4::installed --x-of-y 1 of 1: > * When installing 'kde/krdc-15.08.0:4::kde' replacing { 'kde/krdc-15.08.0:4::installed' }: > * When running an ebuild command on 'kde/krdc-15.08.0:4::kde': > * Install failed for 'kde/krdc-15.08.0:4::kde' (paludis::ActionFailedError) > > -- Configuring incomplete, errors occurred! > See also "/var/tmp/paludis/build/kde-krdc-15.08.0/work/build/CMakeFiles/CMakeOutput.log". > See also "/var/tmp/paludis/build/kde-krdc-15.08.0/work/build/CMakeFiles/CMakeError.log". > CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:112 (elseif): > given arguments: > > "VERSION_LESS" "3.1" > > Unknown arguments specified > Call Stack (most recent call first): > /usr/share/cmake/Modules/FindPkgConfig.cmake:501 (_pkgconfig_parse_options) > /usr/share/cmake/Modules/FindOpenSSL.cmake:43 (pkg_check_modules) > /usr/share/apps/cmake/modules/Qt4ConfigDependentSettings.cmake:224 (FIND_PACKAGE) > /usr/share/apps/cmake/modules/FindQt4.cmake:1207 (INCLUDE) > /usr/share/apps/cmake/modules/FindKDE4Internal.cmake:395 (find_package) > /usr/share/cmake/Modules/FindKDE4.cmake:108 (find_package) > CMakeLists.txt:6 (find_package) > > > CMake Warning (dev) in CMakeLists.txt: > No cmake_minimum_required command is present. A line of code such as > > cmake_minimum_required(VERSION 3.3) > > should be added at the top of the file. The version specified may be lower > if you wish to support older CMake versions for this project. For more > information run "cmake --help-policy CMP0000". > This warning is for project developers. Use -Wno-dev to suppress it. > > > Diffs > ----- > > CMakeLists.txt 26417cf89c5bf54283be4c03b642d280e62758c2 > > Diff: https://git.reviewboard.kde.org/r/124801/diff/ > > > Testing > ------- > > Successfully built against kdelibs-4.14.11 and cmake 3.3.1. > > > Thanks, > > Heiko Becker > > --===============5670510918172725913== MIME-Version: 1.0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: 7bit
This is an automatically generated e-mail. To reply, visit: https://git.reviewboard.kde.org/r/124801/

On agost 22nd, 2015, 10:23 a.m. UTC, Urs Wolfer wrote:

So do you still think cherry-picking of c8789dd6546c8fd8d00e4c0ed1ac8fa48d337acf into Applications/15.08 is required (I'm not sure because of the discussion)? Do other apps also have this line in Applications/15.08?

I guess it won't hurt, but it's not required since as far as i can see it builds fine in jenkins https://build.kde.org/job/krdc%20Applications-15.08%20stable-qt4/


- Albert


On agost 18th, 2015, 9:55 a.m. UTC, Heiko Becker wrote:

Review request for Release Team and Urs Wolfer.
By Heiko Becker.

Updated ago. 18, 2015, 9:55 a.m.

Repository: krdc

Description

This is just a cherry-pick of c8789dd6546c8fd8d00e4c0ed1ac8fa48d337acf from master. With the recent cmake changes to kdelibs>4.14.10 krdc fails to build with newer cmake versions with the error below. Adding the release-team, because it touches a dependency requirement and this patch might be nice to have in the 15.08.0 tarball.

Error:
  * In program cave perform install --hooks --managed-output --output-exclusivity with-others =kde/krdc-15.08.0:4::kde --destination installed --replacing =kde/krdc-15.08.0:4::installed --x-of-y 1 of 1:
  * When installing 'kde/krdc-15.08.0:4::kde' replacing { 'kde/krdc-15.08.0:4::installed' }:
  * When running an ebuild command on 'kde/krdc-15.08.0:4::kde':
  * Install failed for 'kde/krdc-15.08.0:4::kde' (paludis::ActionFailedError)

-- Configuring incomplete, errors occurred!
See also "/var/tmp/paludis/build/kde-krdc-15.08.0/work/build/CMakeFiles/CMakeOutput.log".
See also "/var/tmp/paludis/build/kde-krdc-15.08.0/work/build/CMakeFiles/CMakeError.log".
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:112 (elseif):
  given arguments:

    "VERSION_LESS" "3.1"

  Unknown arguments specified
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:501 (_pkgconfig_parse_options)
  /usr/share/cmake/Modules/FindOpenSSL.cmake:43 (pkg_check_modules)
  /usr/share/apps/cmake/modules/Qt4ConfigDependentSettings.cmake:224 (FIND_PACKAGE)
  /usr/share/apps/cmake/modules/FindQt4.cmake:1207 (INCLUDE)
  /usr/share/apps/cmake/modules/FindKDE4Internal.cmake:395 (find_package)
  /usr/share/cmake/Modules/FindKDE4.cmake:108 (find_package)
  CMakeLists.txt:6 (find_package)


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.3)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

Testing

Successfully built against kdelibs-4.14.11 and cmake 3.3.1.

Diffs

  • CMakeLists.txt (26417cf89c5bf54283be4c03b642d280e62758c2)

View Diff

--===============5670510918172725913==-- --===============9117231559610290237== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KcmVsZWFzZS10 ZWFtIG1haWxpbmcgbGlzdApyZWxlYXNlLXRlYW1Aa2RlLm9yZwpodHRwczovL21haWwua2RlLm9y Zy9tYWlsbWFuL2xpc3RpbmZvL3JlbGVhc2UtdGVhbQo= --===============9117231559610290237==--