Ah I believe that may be it. I have the following in the home directory:

[kdedev@d6701d3a4a0d ~]$ cat ~/.kdesrc-buildrc
> # See the kdesrc-buildrc-sample for explanations of what the options do, or
> # view the manpage or kdesrc-build documentation at
> # http://kdesrc-build.kde.org/documentation/
> global
>     branch-group kf5-qt5
>     qtdir /usr     # Where to find Qt5
>     source-dir /work/source
>     build-dir /work/build
>     kdedir /work/install # Where to install KF5-based software
>
>     cxxflags -pipe -DQT_STRICT_ITERATORS -DQURL_NO_CAST_FROM_STRING
> -DQT_NO_HTTP -DQT_NO_FTP -Wformat -Werror=return-type -Wno-variadic-macros
> -Wlogical-op
>     # WARNING: opensuse users need -DLIB_SUFFIX=64 here, as long as
> FindKDE4Internal.cmake is used
>     #          if you're using a distro without "lib64", remove the option.
>     # cmake-options -DKDE4_BUILD_TESTS=TRUE -DLIB_SUFFIX=64
>     cmake-options -DBUILD_TESTING=TRUE -DCMAKE_BUILD_TYPE=Debug
> -DCMAKE_INSTALL_LIBDIR=lib -DLIB_SUFFIX=64
>
>     make-options -j4
>     stop-on-failure true
> end global
> # Instead of specifying modules here, the current best practice is to
> refer to
> # KF5 module lists maintained with kdesrc-build by the KF5 developers. As
> new
> # modules are added or modified, the kdesrc-build KF5 module list is
> altered to
> # suit, and when you update kdesrc-build you will automatically pick up the
> # needed changes.
> # NOTE: You MUST change the path below to include the actual path to your
> # kdesrc-build installation.
> include ./kdesrc-build/kf5-frameworks-build-include
> include ./kdesrc-build/kf5-workspace-build-include
> include ./kdesrc-build/kf5-applications-build-include
> # If you wish to maintain the module list yourself that is possible, simply
> # look at the files pointed to above and use the "module-set" declarations
> that
> # they use, with your own changes.
> [kdedev@d6701d3a4a0d ~]$


I have the same file in the root directory so running it via sudo probably
reads that. I'm not sure which file gets used in that case really:
*/home/$user/.kdesrc-buildrc*,
*/root/.kdesrc-buildrc* or
*$pwd/.kdesrc-buildrc*

On Mon, Sep 28, 2015 at 8:57 PM, Jeremy Whiting <jpwhit...@kde.org> wrote:

> kdesrc-build uses a .kdesrc-buildrc file in $HOME or in the current
> working directory if found. It also takes command-line arguments like
> --stop-on-failure but I thought that wasn't the default. Maybe it has
> been set in the .kdesrc-buildrc file in that project? More
> documentation can be found here: https://kdesrc-build.kde.org/ and
> here: https://kdesrc-build.kde.org/documentation/
>
> Hope that helps,
> Jeremy
>
> On Mon, Sep 28, 2015 at 7:52 PM, Jeffrey Brusseau <bobajef...@gmail.com>
> wrote:
> > Yes, it stops the whole thing. I don't know why kdesrc-build doesn't just
> > skip over those packages. I'm just using the default setup generated from
> > "sudo ./run.py --base archlinux" in this project:
> > https://github.com/Wenzel/docker-kdesrc-build and running "sudo
> > ./kdesrc-build/kdesrc-build" from inside the container.
> >
> > Is there perhaps a settings file or flag that determines if kdesrc-build
> > skip over optional dependencies or not? If so I'll have to check it out
> more
> > closely.
> >
> > By the way phonon-gstreamer configures and builds now so that's no
> longer an
> > issue. Now it fails on compiling plasma-nm and that stops the whole
> thing.
> >
> > On Mon, Sep 28, 2015 at 2:25 PM, Gregor Mi <codestr...@posteo.org>
> wrote:
> >>
> >> Hi,
> >>
> >> phonon-gstreamer is one of the few packages that never could be built on
> >> my openSUSE 13.2
> >> configuration. But normally the rest of the packages will be built
> anyway.
> >> Does the whole
> >> build process stop?
> >>
> >>
> >> On 27/09/15 07:06, Jeffrey Brusseau wrote:
> >> > I'm trying to set up the KF5 environment in a archlinux base docker
> >> > container using the
> >> > scripts found here: https://github.com/Wenzel/docker-kdesrc-build
> >> >
> >> > When I run *sudo ./kdesrc-build/kdesrc-build* (from inside the
> >> > container) it fails on
> >> > phonon-gstreamer with this output:
> >> >
> >> >     Building phonon-gstreamer from phonon (65/222)
> >> >     Updating phonon-gstreamer (to branch master)
> >> >     No source update, but the last configure failed
> >> >     Source update complete for phonon-gstreamer: no files affected
> >> >     Preparing build system for phonon-gstreamer.
> >> >     Removing files in build directory for phonon-gstreamer
> >> >     Old build system cleaned, starting new build system.
> >> >     Running cmake...
> >> >     Unable to configure phonon-gstreamer with CMake!
> >> >     Unable to configure phonon-gstreamer with KDE
> >> >     phonon-gstreamer didn't build, stopping here.
> >> >     Removing 5 out of 6 old log directories...
> >> >     <<<  PACKAGES FAILED TO BUILD  >>>
> >> >     phonon-gstreamer -
> >> > /work/source/log/2015-09-27-06/phonon-gstreamer/cmake.log
> >> >     :-(
> >> >     Your logs are saved in /work/source/log/2015-09-27-06
> >> >     [kdedev@8e5590b73373 ~]$
> >> >
> >> >
> >> >
> >> > This is what's in
> >> > //work/source/log/2015-09-27-06/phonon-gstreamer/cmake.log/:
> >> >
> >> >     [kdedev@8e5590b73373 ~]$ cat
> >> > /work/source/log/2015-09-27-06/phonon-gstreamer/cmake.log
> >> >     # kdesrc-build running: 'cmake'
> >> > '/work/source/kdesupport/phonon/phonon-gstreamer'
> >> >     '-DBUILD_TESTING=TRUE' '-DCMAKE_BUILD_TYPE=Debug'
> >> > '-DCMAKE_INSTALL_LIBDIR=lib'
> >> >     '-DLIB_SUFFIX=64' '-DPHONON_BUILD_PHONON4QT5=ON'
> >> > '-DCMAKE_CXX_FLAGS:STRING=-pipe
> >> >     -DQT_STRICT_ITERATORS -DQURL_NO_CAST_FROM_STRING -DQT_NO_HTTP
> >> > -DQT_NO_FTP -Wformat
> >> >     -Werror=return-type -Wno-variadic-macros -Wlogical-op '
> >> >     '-DCMAKE_INSTALL_PREFIX=/work/install'
> >> >     # from directory: /work/build/kdesupport/phonon/phonon-gstreamer
> >> >     -- The C compiler identification is GNU 5.2.0
> >> >     -- The CXX compiler identification is GNU 5.2.0
> >> >     -- Check for working C compiler: /usr/bin/cc
> >> >     -- Check for working C compiler: /usr/bin/cc -- works
> >> >     -- Detecting C compiler ABI info
> >> >     -- Detecting C compiler ABI info - done
> >> >     -- Detecting C compile features
> >> >     -- Detecting C compile features - done
> >> >     -- Check for working CXX compiler: /usr/bin/c++
> >> >     -- Check for working CXX compiler: /usr/bin/c++ -- works
> >> >     -- Detecting CXX compiler ABI info
> >> >     -- Detecting CXX compiler ABI info - done
> >> >     -- Detecting CXX compile features
> >> >     -- Detecting CXX compile features - done
> >> >     -- Looking for __GLIBC__
> >> >     -- Looking for __GLIBC__ - found
> >> >     -- Performing Test _OFFT_IS_64BIT
> >> >     -- Performing Test _OFFT_IS_64BIT - Success
> >> >     -- Using CMake automoc builtin
> >> >     -- Found Phonon4Qt5: /work/install/lib/cmake/phonon4qt5
> >> >     -- Found OpenGL: /usr/lib64/libGL.so
> >> >     -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
> >> >     -- checking for module 'gstreamer-1.0'
> >> >     --   found gstreamer-1.0, version 1.4.5
> >> >     -- Found GStreamer: /usr/lib64/libgstreamer-1.0.so
> >> > <http://libgstreamer-1.0.so>
> >> >     -- checking for module 'gstreamer-plugins-base-1.0'
> >> >     --   found gstreamer-plugins-base-1.0, version 1.4.5
> >> >     -- checking for module 'gstreamer-audio-1.0'
> >> >     --   found gstreamer-audio-1.0, version 1.4.5
> >> >     -- checking for module 'gstreamer-cdda-1.0'
> >> >     --   package 'gstreamer-cdda-1.0' not found
> >> >     -- Could not find cdda plugin
> >> >     -- CDDA library:
> >> >     -- CDDA include dir:
> >> >     -- checking for module 'gstreamer-netbuffer-1.0'
> >> >     --   package 'gstreamer-netbuffer-1.0' not found
> >> >     -- Could not find netbuffer plugin
> >> >     -- NETBUFFER library:
> >> >     -- NETBUFFER include dir:
> >> >     -- checking for module 'gstreamer-pbutils-1.0'
> >> >     --   found gstreamer-pbutils-1.0, version 1.4.5
> >> >     -- checking for module 'gstreamer-riff-1.0'
> >> >     --   found gstreamer-riff-1.0, version 1.4.5
> >> >     -- checking for module 'gstreamer-rtp-1.0'
> >> >     --   found gstreamer-rtp-1.0, version 1.4.5
> >> >     -- checking for module 'gstreamer-rtsp-1.0'
> >> >     --   found gstreamer-rtsp-1.0, version 1.4.5
> >> >     -- checking for module 'gstreamer-sdp-1.0'
> >> >     --   found gstreamer-sdp-1.0, version 1.4.5
> >> >     -- checking for module 'gstreamer-tag-1.0'
> >> >     --   found gstreamer-tag-1.0, version 1.4.5
> >> >     -- checking for module 'gstreamer-video-1.0'
> >> >     --   found gstreamer-video-1.0, version 1.4.5
> >> >     -- checking for module 'glib-2.0'
> >> >     --   found glib-2.0, version 2.44.1
> >> >     -- Found GLIB2: /usr/lib64/libglib-2.0.so <http://libglib-2.0.so>
> >> >     -- checking for module 'gobject-2.0'
> >> >     --   found gobject-2.0, version 2.44.1
> >> >     -- Found GOBJECT: /usr/lib64/libgobject-2.0.so
> >> >     <http://libgobject-2.0.so>;/usr/lib64/libgmodule-2.0.so
> >> >     <http://libgmodule-2.0.so>;/usr/lib64/libgthread-2.0.so
> >> >     <http://libgthread-2.0.so>;/usr/lib64/libglib-2.0.so
> >> > <http://libglib-2.0.so>
> >> >     -- Found LibXml2: /usr/lib64/libxml2.so (found version "2.9.2")
> >> >     -- Building against Phonon 4.7 API
> >> >     CMake Error at /usr/lib64/cmake/Qt5Core/Qt5CoreMacros.cmake:310
> >> > (message):
> >> >       The first argument to qt5_use_modules must be an existing
> target.
> >> >     Call Stack (most recent call first):
> >> >       gstreamer/CMakeLists.txt:96 (qt5_use_modules)
> >> >
> >> >     -- Configuring incomplete, errors occurred!
> >> >     See also
> >> >
> "/work/build/kdesupport/phonon/phonon-gstreamer/CMakeFiles/CMakeOutput.log".
> >> >     [kdedev@8e5590b73373 ~]$
> >> >
> >> >
> >> > Anyone know what the issue is?
> >
> >
> >
> >
> >>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> unsubscribe
> >>> <<
> >
>
> >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to
> unsubscribe <<
>
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Reply via email to