Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656516 - net-misc/owncloud-client ninja: error: build.ninja:2904: bad $-escape (literal $ must be written as $$)
Summary: net-misc/owncloud-client ninja: error: build.ninja:2904: bad $-escape (litera...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ninja-porting
  Show dependency tree
 
Reported: 2018-05-25 18:43 UTC by Israel G. Lugo
Modified: 2020-02-03 10:16 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,12.92 KB, text/x-log)
2018-05-25 18:43 UTC, Israel G. Lugo
Details
emerge --info =net-misc/owncloud-client-2.4.1 (emerge-info.txt,7.48 KB, text/plain)
2018-05-25 18:44 UTC, Israel G. Lugo
Details
Compressed ork/owncloud-client-2.4.1_build/build.ninja (build.ninja.gz,22.54 KB, application/gzip)
2018-05-25 18:46 UTC, Israel G. Lugo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Israel G. Lugo 2018-05-25 18:43:39 UTC
Created attachment 533186 [details]
build.log

Unable to build =net-misc/owncloud-client-2.4.0 and =net-misc/owncloud-client-2.4.1, using CMAKE_MAKEFILE_GENERATOR=ninja.

Attaching build log now, other files later.
Comment 1 Israel G. Lugo 2018-05-25 18:44:07 UTC
Created attachment 533188 [details]
emerge --info =net-misc/owncloud-client-2.4.1
Comment 2 Israel G. Lugo 2018-05-25 18:46:43 UTC
Created attachment 533190 [details]
Compressed ork/owncloud-client-2.4.1_build/build.ninja

The problem is visible on line 2904:

# Custom command for doc/CMakeFiles/doc-pdf

build doc/CMakeFiles/doc-pdf: CUSTOM_COMMAND || doc/doc-latex
  COMMAND = cd /var/tmp/portage/net-misc/owncloud-client-2.4.1/work/owncloud-client-2.4.1_build/doc && $(MAKE) -C /var/tmp/portage/net-misc/owncloud-client-2.4.1/work/owncloud-client-2.4.1_build/doc/latex all-pdf

Notice the $(MAKE). According to the error, this should be $$(MAKE)
Comment 3 Bernard Cafarelli gentoo-dev 2020-02-03 10:16:04 UTC
Hi, I just retested doc build with 2.6.1, using ninja (as it is our default nowadays), and documentation was correctly generated.

Hopefully this means it also works now for you, don't hesitate to reopen if that is not the case!