Arx Libertatis Bug Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
OPEN  Bug report #1580  -  Inkscape --export-file deprecation error
Posted Sep 09, 2021 - updated Jan 13, 2022   Shortlink: http://arx.vg/1580
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
Issue details
  • Type of issue
    Bug report
  • Status
     
    New
  • Assigned to
    Not assigned to anyone
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     outoftime
  • Owned by
    Not owned by anyone
  • Estimated time
    Not estimated
  • Category
    Not determined
  • Resolution
    Not determined
  • Priority
    Not determined
  • Reproducability
    Always
  • Severity
    Not determined
  • Targetted for
    icon_milestones.png Not determined
  • OS
    icon_customdatatype.png Not determined
  • Architecture
    icon_customdatatype.png Not determined
  • Fixed in
    icon_customdatatype.png Not determined
Issue description
  1. /tmp/ArxLibertatis/build $ make -j2
  2. [ 4%] Note: The unity build binaries may take a long time to compile, without any indication of progress. Be patient.
  3. [ 4%] Built target generate_core_Version_cpp
  4. [ 4%] Built target ub_notice
  5. [ 4%] Built target validate_desktop_file
  6. [ 9%] Rendering arx-libertatis-16.svg to arx-libertatis-16@2x.png
  7. [ 22%] Built target arx
  8. [ 31%] Built target arxtool
  9. [ 40%] Built target ArxIO
  10. [ 45%] Rendering arx-libertatis-32.svg to arx-libertatis-32@2x.png
  11. Unknown option --export-file=/tmp/ArxLibertatis/build/data.generated/icons/arx-libertatis-16@2x.png
  12. make[2]: *** [CMakeFiles/arx-libertatis-icon.dir/build.make:182: data.generated/icons/arx-libertatis-16@2x.png] Error 1
  13. make[2]: *** Waiting for unfinished jobs....
  14. Unknown option --export-file=/tmp/ArxLibertatis/build/data.generated/icons/arx-libertatis-32@2x.png
  15. make[2]: *** [CMakeFiles/arx-libertatis-icon.dir/build.make:191: data.generated/icons/arx-libertatis-32@2x.png] Error 1
  16. make[1]: *** [CMakeFiles/Makefile2:202: CMakeFiles/arx-libertatis-icon.dir/all] Error 2


https://gitlab.com/inkscape/inkscape/-/issues/516 according to this issue, command call have to be changed

Workaround:
  1. /tmp/ArxLibertatis/build $ sed -i -r 's/(--export-file)/\1name/g' CMakeFiles/arx-libertatis-icon.dir/build.make
Steps to reproduce this issue
Follow build instructions: `git clone --recurse-submodules https://github.com/arx/ArxLibertatis.git && cd ArxLibertatis/build && cmake ../ && make -j2`

System info:
  1. $ inkscape --version
  2. Inkscape 1.0.2 (e86c870879, 2021-01-15)
  3. Pango version: 1.48.7



#1
icon_reply.pngReply
Comment posted by
 Daniel Scharrer
Jan 13, 01:09
This works for me - the --export-filename option is detected in cmake/FindInkscape.cmake.

Please post the FULL configure and build output, as well as the output of `inkscape --help` if you are still having problems.