Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 733888 - dev-ros/qt_gui_cpp-0.4.1 - ninja: error: build.ninja:599: bad $-escape (literal $ must be written as $$)
Summary: dev-ros/qt_gui_cpp-0.4.1 - ninja: error: build.ninja:599: bad $-escape (liter...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robot Operating System team
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: ninja-porting
  Show dependency tree
 
Reported: 2020-07-25 14:03 UTC by Alessandro Barbieri
Modified: 2020-11-02 01:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (qt_gui_cpp-0.4.1:20200725-105711.log,10.65 KB, text/plain)
2020-07-25 14:04 UTC, Alessandro Barbieri
Details
emerge --info output (info,12.22 KB, text/plain)
2020-07-25 14:05 UTC, Alessandro Barbieri
Details
fixed ebuild (qt_gui_cpp-0.4.1-r1.ebuild,748 bytes, text/plain)
2020-07-29 23:46 UTC, Victor Mataré
Details
ceph-15.2.5-r1:20201101-045106.log (ceph-15.2.5-r1:20201101-045106.log,661.49 KB, text/plain)
2020-11-02 01:33 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alessandro Barbieri 2020-07-25 14:03:38 UTC
-- Configuring done
-- Generating done
CMake Error:
  Running

   '/usr/bin/ninja' '-C' '/var/tmp/portage/dev-ros/qt_gui_cpp-0.4.1/work/qt_gui_cpp-0.4.1_build' '-t' 'cleandead'

  failed with:

   ninja: error: build.ninja:599: bad $-escape (literal $ must be written as $$)





CMake Error:
  Running

   '/usr/bin/ninja' '-C' '/var/tmp/portage/dev-ros/qt_gui_cpp-0.4.1/work/qt_gui_cpp-0.4.1_build' '-t' 'recompact'

  failed with:

   ninja: error: build.ninja:599: bad $-escape (literal $ must be written as $$)





CMake Generate step failed.  Build files cannot be regenerated correctly.
 * ERROR: dev-ros/qt_gui_cpp-0.4.1::gentoo failed (configure phase):
 *   cmake failed
 *
 * Call stack:
 *     ebuild.sh, line  125:  Called src_configure
 *   environment, line 4400:  Called ros-catkin_src_configure
 *   environment, line 4332:  Called cmake_src_configure
 *   environment, line 2475:  Called die
 * The specific snippet of code:
 *       "${CMAKE_BINARY}" "${cmakeargs[@]}" "${CMAKE_USE_DIR}" || die "cmake failed";
 *
Comment 1 Alessandro Barbieri 2020-07-25 14:04:32 UTC
Created attachment 650710 [details]
build.log

buildlog
Comment 2 Alessandro Barbieri 2020-07-25 14:05:59 UTC
Created attachment 650712 [details]
emerge --info output

emerge --info
Comment 3 Victor Mataré 2020-07-29 23:46:20 UTC
Created attachment 651472 [details]
fixed ebuild

Attached a fixed ebuild that simply sets the cmake generator back to Unix Makefiles
Comment 4 Victor Mataré 2020-07-29 23:47:28 UTC
Of course that's just a workaround. For a real fix someone will have to take the issue upstream I suppose...
Comment 5 Alexis Ballier gentoo-dev 2020-07-30 14:10:39 UTC
commit b4fd3b777a58c1e164c46214c024a5dc8821370d
Author: Alexis Ballier <aballier@gentoo.org>
Date:   Tue Jul 28 15:31:01 2020 +0200

    dev-ros/qt_gui_cpp: fix build
    
    Package-Manager: Portage-3.0.1, Repoman-2.3.23
    Signed-off-by: Alexis Ballier <aballier@gentoo.org>


should have fixed it
Comment 6 Alessandro Barbieri 2020-11-02 01:33:29 UTC
Created attachment 669653 [details]
ceph-15.2.5-r1:20201101-045106.log

buildlog