[kdesrc-build] [Bug 402509] --stop-on-failure can't be added to the command-line invocation after the thing you want to build; must be before

2018-12-25 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=402509

--- Comment #4 from Nate Graham  ---
Thanks for fixing it so quickly! I'll get involved with the Gitlab instance for
future bug reports.

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdesrc-build] [Bug 402509] --stop-on-failure can't be added to the command-line invocation after the thing you want to build; must be before

2018-12-25 Thread Michael Pyne
https://bugs.kde.org/show_bug.cgi?id=402509

Michael Pyne  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED
   Version Fixed In||19.01
  Latest Commit||e743b5bb9f3031411429455494f
   ||0aa1deac22336

--- Comment #3 from Michael Pyne  ---
Fixed, see https://invent.kde.org/kde/kdesrc-build/issues/8 and
https://invent.kde.org/kde/kdesrc-build/commit/e743b5bb9f3031411429455494f0aa1deac22336
for details. Thanks for the report Nate!

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdesrc-build] [Bug 402509] --stop-on-failure can't be added to the command-line invocation after the thing you want to build; must be before

2018-12-24 Thread Michael Pyne
https://bugs.kde.org/show_bug.cgi?id=402509

--- Comment #2 from Michael Pyne  ---
And now that I've removed the ~/kde/src directory (but not other directories)
and tried again, both forms of the command line are equivalent (and incorrect,
only building 2 modules).

-- 
You are receiving this mail because:
You are watching all bug changes.

[kdesrc-build] [Bug 402509] --stop-on-failure can't be added to the command-line invocation after the thing you want to build; must be before

2018-12-24 Thread Michael Pyne
https://bugs.kde.org/show_bug.cgi?id=402509

--- Comment #1 from Michael Pyne  ---
I don't think this is a failure directly about --stop-on-failure's positioning.
The option is handled by Perl's standard library (Getopt::Long module) and that
supports moving --options around as you would expect. The error message also
says something about libdbusmenu-qt (which is the only bazaar user in
kdesrc-build, so perhaps an error with that).

However there is definitely something screwy going on. Compare these commands
run from a completely empty kdesrc-build setup (only kdesrc-build
--metadata-only being run):

$ kdesrc-build -p kguiaddons --include-dependencies --stop-on-failure

Building extra-cmake-modules from  (1/2)
Cloning extra-cmake-modules
Source update complete for extra-cmake-modules: 1 file affected.
Preparing build system for extra-cmake-modules.
Running cmake...
Compiling... succeeded (after 0 seconds)
Installing.. succeeded (after 0 seconds)

Building kguiaddons from frameworks (2/2)
Cloning kguiaddons
Source update complete for kguiaddons: 1 file affected.
Preparing build system for kguiaddons.
Running cmake...
Compiling... succeeded (after 0 seconds)
Installing.. succeeded (after 0 seconds)

<<<  PACKAGES SUCCESSFULLY BUILT  >>>
extra-cmake-modules
kguiaddons

Removing 1 out of 1 old log directories...


But moving kguiaddons to the end...:

$ kdesrc-build -p --include-dependencies --stop-on-failure kguiaddons

Building libdbusmenu-qt (1/92)
No changes to libdbusmenu-qt source, proceeding to build.
Compiling... succeeded (after 0 seconds)
Installing.. succeeded (after 0 seconds)

Building taglib (2/92)
Cloning taglib
Source update complete for taglib: 1 file affected.
Preparing build system for taglib.
Compiling... succeeded (after 0 seconds)
Installing.. succeeded (after 0 seconds)

Building extra-cmake-modules from frameworks (3/92)
Cloning extra-cmake-modules
Source update complete for extra-cmake-modules: 1 file affected.
Preparing build system for extra-cmake-modules.
Running cmake...
Compiling... succeeded (after 0 seconds)
Installing.. succeeded (after 0 seconds)

...

Building libgpg-error (91/92)
Cloning libgpg-error
Source update complete for libgpg-error: 1 file affected.
Preparing build system for libgpg-error.
Compiling... succeeded (after 0 seconds)
Installing.. succeeded (after 0 seconds)

Building gpgme (92/92)
Cloning gpgme
Source update complete for gpgme: 1 file affected.
Preparing build system for gpgme.
Compiling... succeeded (after 0 seconds)
Installing.. succeeded (after 0 seconds)

<<<  PACKAGES SUCCESSFULLY BUILT  >>>
Built 92 modules

Removing 1 out of 1 old log directories...

You'll note that kguiaddons isn't the last module built either! This one will
take a bit to troubleshoot...

-- 
You are receiving this mail because:
You are watching all bug changes.