D28755: Breeze Icons cannot be built from read-only source location

Jonathan Marten noreply at phabricator.kde.org
Sat Apr 11 15:14:36 BST 2020


marten created this revision.
marten added a reviewer: Breeze.
Herald added a project: Frameworks.
Herald added a subscriber: kde-frameworks-devel.
marten requested review of this revision.

REVISION SUMMARY
  In the situation, for example, where a master source tree may be shared among a number of build systems via NFS (each build system needs its own writeable build directory, of course).  However, building the Breeze icons needs write access to the source tree for the SVG validation check, which is run in CMAKE_CURRENT_SOURCE_DIR:
  
  [100%] Validating SVG
  breezeicons/validate_svg.sh: line 3: xmlerrors: Read-only file system
  rm: cannot remove 'xmlerrors': No such file or directory
  make[2]: *** [CMakeFiles/breeze-validate-svg.dir/build.make:58: CMakeFiles/breeze-validate-svg] Error 1
  make[1]: *** [CMakeFiles/Makefile2:231: CMakeFiles/breeze-validate-svg.dir/all] Error 2
  make: *** [Makefile:130: all] Error 2
  
  This change writes the temporary XML error file to CMAKE_CURRENT_BINARY_DIR, which can be relied on to be writeable.

TEST PLAN
  Build Breeze Icons with this change, observed that the SVG validation check completes with no 'read-only file system' errors.

REPOSITORY
  R266 Breeze Icons

REVISION DETAIL
  https://phabricator.kde.org/D28755

AFFECTED FILES
  CMakeLists.txt
  validate_svg.sh

To: marten, #breeze
Cc: kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200411/5b54416e/attachment.html>


More information about the Kde-frameworks-devel mailing list