Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 677654 - dev-libs/sway-1.0_rc1 - /bin/sh -c '/usr/bin/scdoc < ../sway-1.0-rc1/sway/sway.5.scd > sway.5' Error at 61:9: Cannot nest inline formatting (began with * at 61:1) ninja: build stopped: subcommand failed.
Summary: dev-libs/sway-1.0_rc1 - /bin/sh -c '/usr/bin/scdoc < ../sway-1.0-rc1/sway/swa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Aaron Bauman (RETIRED)
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-02-10 14:34 UTC by Amel Hodzic
Modified: 2019-02-13 00:04 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,5.81 KB, text/plain)
2019-02-10 14:34 UTC, Amel Hodzic
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Amel Hodzic 2019-02-10 14:34:24 UTC
Created attachment 564562 [details]
build.log

WARNING: Output file "@BASENAME@" for configure_file() at meson.build:177 overwrites configure_file() output at meson.build:162
Configuring 00-defaults using configuration
Build targets in project: 17
Option werror is: False [default: true]
Found ninja-1.8.2 at /usr/bin/ninja
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/sway-1.0_rc1/work/sway-1.0-rc1 ...
ninja -v -j1 -l0 -C /var/tmp/portage/dev-libs/sway-1.0_rc1/work/sway-1.0_rc1-build
ninja: Entering directory `/var/tmp/portage/dev-libs/sway-1.0_rc1/work/sway-1.0_rc1-build'
[1/272] /bin/sh -c '/usr/bin/scdoc < ../sway-1.0-rc1/sway/sway.1.scd > sway.1'
[2/272] /bin/sh -c '/usr/bin/scdoc < ../sway-1.0-rc1/sway/sway.5.scd > sway.5'
FAILED: sway.5 
/bin/sh -c '/usr/bin/scdoc < ../sway-1.0-rc1/sway/sway.5.scd > sway.5'
Error at 61:9: Cannot nest inline formatting (began with * at 61:1)
ninja: build stopped: subcommand failed.
 * ERROR: dev-libs/sway-1.0_rc1::gentoo failed (compile phase):
 *   ninja -v -j1 -l0 -C /var/tmp/portage/dev-libs/sway-1.0_rc1/work/sway-1.0_rc1-build failed
Comment 1 Niccolò Scatena 2019-02-10 16:03:10 UTC
You have an old version of scdoc installed. There is already a PR on github that fixes this.

Workaround:
  emerge =app-text/scdoc-1.8.1
  emerge =dev-libs/sway-1.0_rc1
Comment 2 Larry the Git Cow gentoo-dev 2019-02-13 00:04:43 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcd8d505572b7922e9939f5eaa442fa210f38052

commit dcd8d505572b7922e9939f5eaa442fa210f38052
Author:     Niccolò Scatena <speedjack95@gmail.com>
AuthorDate: 2019-02-09 23:47:06 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2019-02-13 00:04:18 +0000

    dev-libs/sway: various fixes
    
     - Use ${PN} wherever possible;
    
     - Remove bash-completion use flag: bash completions should be always
       installed (see [1]);
    
     - Remove clipboard use flag and related dep: makes no sense to add this
       here, if the user wants to add utilities to handle the clipboard under
       wayland it is just and emerge away; wl-clipboard has nothing to do
       with sway;
    
     - Rename use flag: doc -> man (doc is a global use flag used to install
       additional documentation that most users does not want);
    
     - The sway tray feature (enabled by the tray use flag) now requires a
       logind provider: reflect this in REQUIRED_USE (fixes #677748);
    
     - Fix order of (R)DEPEND;
    
     - Remove required use gdk-pixbuf[jpeg]: the jpeg use flag is not
       required to be enabled. If the user wants support for JPEG images, he
       can manually enable it in gdk-pixbuf (as for other img formats);
    
     - Remove libcap dep: the fcaps eclass automatically adds it if filecaps
       use flag is enabled;
    
     - Dependency dbus is no longer required with tray (now uses sd-bus from
       logind): remove anything related to it;
    
     - Move scdoc and wayland-protocols dependencies to BDEPEND;
    
     - Add dep on xkeyboard-config: see bug #674640;
    
     - Add man-pages parameter to meson (fixes bug #677654);
    
     - Disable swaybar man page installation when swaybar use flag is
       disabled;
    
     - Use $MY_PV in sway-version arg to meson to reflect upstream version
       in sway --version;
    
     - Add a reminder to set XDG_RUNTIME_DIR if it's not set by the
       environment. This is needed in systems without logind/consolekit.
    
    [1] www.gentoo.org/support/news-items/2014-11-25-bash-completion-2_1-r90.html
    
    Closes: https://bugs.gentoo.org/672590
    Closes: https://bugs.gentoo.org/675978
    Closes: https://bugs.gentoo.org/674640
    Closes: https://bugs.gentoo.org/677654
    Closes: https://bugs.gentoo.org/677748
    Package-Manager: Portage-2.3.59, Repoman-2.3.12
    Signed-off-by: Niccolò Scatena <speedjack95@gmail.com>
    Signed-off-by: Aaron Bauman <bman@gentoo.org>

 dev-libs/sway/metadata.xml                         |  5 +-
 dev-libs/sway/sway-1.0_beta1.ebuild                | 66 +++++++++++-------
 dev-libs/sway/sway-1.0_beta2.ebuild                | 66 +++++++++++-------
 ...{sway-1.0_rc1.ebuild => sway-1.0_rc1-r1.ebuild} | 79 +++++++++++++---------
 dev-libs/sway/sway-9999.ebuild                     | 79 ++++++++++++----------
 5 files changed, 174 insertions(+), 121 deletions(-)