Docs generation: This bit in rules does not work:

override_dh_auto_build-indep:
    dh_auto_build -- sub-Source-QtWebChannel-pro-clean
    dh_auto_build -- -CSource -fMakefile.api docs

Commenting out, of course, results in no docs being generated. Can someone
explain to me what it is trying to do and what I can perhaps do to fix it?
For reference I am using qtwebkit packaging as a base and fixing things as
I go. And as instructed asking for help when needed.
Thanks!
Scarlett


On Fri, Jun 24, 2016 at 7:14 AM, Scarlett Clark <
scarlett.gately.cl...@gmail.com> wrote:

>
>
> On Thu, Jun 23, 2016 at 7:11 PM, Scarlett Clark <
> scarlett.gately.cl...@gmail.com> wrote:
>
>> Ok so all of that is sorted now ( needed the upstream tarballs )
>>
>> But now a new level of fail.
>>
>>  dpkg-buildpackage -rfakeroot -D -us -uc
>> dpkg-buildpackage: source package qtwebchannel-opensource-src
>> dpkg-buildpackage: source version 5.6.1-1+dfsg-1
>> dpkg-buildpackage: source distribution UNRELEASED
>> dpkg-buildpackage: source changed by Scarlett Clark <sgcl...@kubuntu.org>
>>  dpkg-source --before-build qtwebchannel-opensource-src-5.6.1
>> dpkg-buildpackage: host architecture amd64
>>  fakeroot debian/rules clean
>> dh clean --parallel --dbg-package=libqt5webchannel5-dbg --with
>> pkgkde_symbolshelper
>>    dh_testdir -O--dbg-package=libqt5webchannel5-dbg
>>    dh_auto_clean -O--dbg-package=libqt5webchannel5-dbg
>>    debian/rules override_dh_clean
>> make[1]: Entering directory
>> '/home/scarlett/qtwebchannel-opensource-src-5.6.1'
>> make[1]: 'override_dh_clean' is up to date.
>> make[1]: Leaving directory
>> '/home/scarlett/qtwebchannel-opensource-src-5.6.1'
>>  dpkg-source -b qtwebchannel-opensource-src-5.6.1
>> dpkg-source: info: using source format '3.0 (quilt)'
>> dpkg-source: info: building qtwebchannel-opensource-src using existing
>> ./qtwebchannel-opensource-src_5.6.1-1+dfsg.orig.tar.xz
>> dpkg-source: info: building qtwebchannel-opensource-src in
>> qtwebchannel-opensource-src_5.6.1-1+dfsg-1.debian.tar.xz
>> dpkg-source: info: building qtwebchannel-opensource-src in
>> qtwebchannel-opensource-src_5.6.1-1+dfsg-1.dsc
>>  debian/rules build
>> dh build --parallel --dbg-package=libqt5webchannel5-dbg --with
>> pkgkde_symbolshelper
>>    dh_auto_build -O--dbg-package=libqt5webchannel5-dbg
>> -Nqtwebchannel5-doc -Nqtwebchannel5-doc-html
>>         make -j1
>> make[1]: Entering directory
>> '/home/scarlett/qtwebchannel-opensource-src-5.6.1'
>> make[1]: *** No targets specified and no makefile found.  Stop.
>> make[1]: Leaving directory
>> '/home/scarlett/qtwebchannel-opensource-src-5.6.1'
>> dh_auto_build: make -j1 returned exit code 2
>> debian/rules:24: recipe for target 'build' failed
>> make: *** [build] Error 2
>> dpkg-buildpackage: error: debian/rules build gave error exit status 2
>> debuild: fatal error at line 1376:
>> dpkg-buildpackage -rfakeroot -D -us -uc failed
>>
>> And looking it over it looks like
>> override_dh_auto_configure:
>>     # Run qmake once to create .qmake.conf and be sure to append the
>> following values.
>>     qmake
>>
>> # Enable gstabs debugging symbols only on gstab_architectures.
>> ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),
>> $(gstab_architectures)))
>>     echo "QMAKE_CXXFLAGS -= -g" >> .qmake.conf
>>     echo "QMAKE_CXXFLAGS += -gstabs" >> .qmake.conf
>> # Enable normal debugging symbols only on fulldebug_architectures.
>> else ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),
>> $(fulldebug_architectures)))
>>     echo "QMAKE_CXXFLAGS += -g" >> .qmake.conf
>> else
>> # Disable debugging symbols in all the other archs.
>>     echo "QMAKE_CXXFLAGS -= -g" >> .qmake.conf
>>     echo "QMAKE_CXXFLAGS -= -gstabs" >> .qmake.conf
>> endif
>>
>> # Disable JIT on selected architectures
>> ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),
>> $(disabled_jit_architectures)))
>>     echo "QMAKE_CXXFLAGS += -DENABLE_JIT=0" >> .qmake.conf
>> endif
>>
>> # Disable header precompliation as it creates invalid includes on certain
>> # architectures causing build failure. LP: 1395661
>> ifeq ($(DEB_HOST_ARCH),$(findstring $(DEB_HOST_ARCH),
>> $(disabled_pch_architectures)))
>>     echo "CONFIG -= precompile_header" >> .qmake.conf
>> endif
>>
>>     # Run qmake again now with the proper values.
>>     qmake
>>
>>     # Upstream 5.6.0 RC tarball was generated improperly and has no
>> synced headers
>>     /usr/lib/$(DEB_HOST_MULTIARCH)/qt5/bin/syncqt.pl Source -version
>> $(upstream_version)
>>
>> Is being skipped altogether. Looking at .qmake.conf and those values are
>> not in there.
>>
>> Ideas?
>> Scarlett
>>
>>
>>
>>
> Nevermind I got past this, I had to remove cruft .debhelper/* that was
> brought in from qtwebkit package I started with.
>
> Cheers,
> Scarlett
>
>
>> On Thu, Jun 23, 2016 at 5:18 PM, Lisandro Damián Nicanor Pérez <
>> perezme...@gmail.com> wrote:
>>
>>> Hi! Sounds like you are missing a build dependency. qtbase5-dev and
>>> qtbase5-
>>> private-dev *maybe*.
>>>
>>>
>>> --
>>> Dadme voto electrónico y con una terminal os haré presidente.
>>>   el.machi
>>>
>>> Lisandro Damián Nicanor Pérez Meyer
>>> http://perezmeyer.com.ar/
>>> http://perezmeyer.blogspot.com/
>>>
>>
>>
>

Reply via email to