Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian build failure. #22244

Closed
qgib opened this issue Feb 8, 2016 · 5 comments
Closed

Debian build failure. #22244

qgib opened this issue Feb 8, 2016 · 5 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS

Comments

@qgib
Copy link
Contributor

qgib commented Feb 8, 2016

Author Name: Andy Wood (Andy Wood)
Original Redmine Issue: 14248
Affected QGIS version: master
Redmine category:build/install


A clean build on Debian testing fails at the start (problem has been around for a few days):

dpkg-source --before-build qgis_src
fakeroot debian/rules clean
dh clean --with python2 --parallel --builddirectory=debian/build
dh: No compatibility level specified in debian/compat
dh: This package will soon FTBFS; time to fix it!
dh: Compatibility levels before 4 are no longer supported (level 1 requested)
debian/rules:214: recipe for target 'clean' failed
make: *** [clean] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2


Related issue(s): #22281 (relates)
Redmine related issue(s): 14289


@qgib
Copy link
Contributor Author

qgib commented Feb 8, 2016

Author Name: Jürgen Fischer (@jef-n)


Refer to "Building debian packages":https://htmlpreview.github.io/?https://raw.github.com/qgis/QGIS/master/doc/INSTALL.html#toc11 (ie. you need a changelog entry for stretch to get @9@ into @debian/compat@ from @debian/compat.in@)


  • resolution was changed from to worksforme
  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Feb 9, 2016

Author Name: Andy Wood (Andy Wood)


This does not seem to work as documented any more:

$ git clone git://github.com/qgis/Quantum-GIS.git qgis_src
Cloning into 'qgis_src'...
remote: Counting objects: 339925, done.
remote: Compressing objects: 100% (172/172), done.
remote: Total 339925 (delta 83), reused 2 (delta 2), pack-reused 339749
Receiving objects: 100% (339925/339925), 1.15 GiB | 7.08 MiB/s, done.
Resolving deltas: 100% (267653/267653), done.
Checking connectivity... done.
Checking out files: 100% (13108/13108), done.
$ cd qgis_src
$ dch -l ~stretch --force-distribution --distribution stretch "stretch build"
dch warning: Recognised distributions are: unstable, testing, stable,
oldstable, experimental, {testing-,stable-,oldstable-,}proposed-updates,
{testing,stable,oldstable}-security, wheezy-backports, jessie-backports and UNRELEASED.
Using your request anyway.
$ dpkg-buildpackage -us -uc -b
dpkg-buildpackage: source package qgis
dpkg-buildpackage: source version 2.13.0~stretch1
dpkg-buildpackage: source distribution stretch
dpkg-buildpackage: source changed by Andy Wood <###>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build qgis_src
 fakeroot debian/rules clean
dh clean --with python2 --parallel --builddirectory=debian/build
dh: No compatibility level specified in debian/compat
dh: This package will soon FTBFS; time to fix it!
dh: Compatibility levels before 4 are no longer supported (level 1 requested)
debian/rules:214: recipe for target 'clean' failed
make: *** [clean] Error 2
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2

If you rm debian/compat and then dch and dpkg-buildpackage, does it still work for you?


  • status_id was changed from Closed to Reopened

@qgib
Copy link
Contributor Author

qgib commented Feb 9, 2016

Author Name: Jürgen Fischer (@jef-n)


Fixed in changeset "41ac88ad3e1d21f759bd4b36268273f58af48bf5".


  • status_id was changed from Reopened to Closed

@qgib
Copy link
Contributor Author

qgib commented Feb 9, 2016

Author Name: Andy Wood (Andy Wood)


Thank you for the update, however I fear it has introduced another problem:

dpkg-source: error: syntax error in qgis_src/debian/control at line 76: duplicate field Conflicts found
dpkg-buildpackage: error: dpkg-source --before-build qgis_src gave error exit status 25

Package: qgis
[...]
Conflicts: uim-qt3
[...]
Conflicts: uim-qt3, qgis-plugin-grass (<< 1:2.13.0+git20160204)


  • status_id was changed from Closed to Reopened

@qgib
Copy link
Contributor Author

qgib commented Feb 9, 2016

Author Name: Andy Wood (Andy Wood)


Seems to be fixed now.


  • status_id was changed from Reopened to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS labels May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Build/Install Related to compiling or installing QGIS
Projects
None yet
Development

No branches or pull requests

1 participant