[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Pushing a bunch of packages to jessie-backports



> I've uploaded all what I prepared to this URL:
> http://sid.gplhost.com/bpo/

THANK YOU!

| $ dget http://sid.gplhost.com/bpo/routes_2.2-1~bpo8+1.dsc
| dget: retrieving http://sid.gplhost.com/bpo/routes_2.2-1~bpo8+1.dsc
|   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
|                                  Dload  Upload   Total   Spent    Left  Speed
| 100  2208  100  2208    0     0   2759      0 --:--:-- --:--:-- --:--:--  2760
| dget: retrieving http://sid.gplhost.com/bpo/routes_2.2.orig.tar.gz
|   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
|                                  Dload  Upload   Total   Spent    Left  Speed
|   0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (22) The requested URL returned error: 404 Not Found
| dget: curl routes_2.2.orig.tar.gz http://sid.gplhost.com/bpo/routes_2.2.orig.tar.gz failed
| routes_2.2-1~bpo8+1.dsc:
|       Good signature found
|    skipping  routes_2.2.orig.tar.gz (not present)
|    skipping  routes_2.2-1~bpo8+1.debian.tar.xz (not present)
| dscverify: routes_2.2-1~bpo8+1.dsc didn't specify any files present locally
| Validation FAILED!!

that's the first mistake most backporters do, they forgot to include orig tarball
(ftp masters would detect that and reject your package, additional work for them)

solution: pass -sa to dpkg-source ("--force-orig-source" in sbuild or "--debbuildopts -sa" in pbuilder)

| $ sbuild
| dh_testdir
| dh_testroot
| rm -rf dist build
| find . -name "*\.py[co]" -delete
| find . -name "\._*" -delete
| rm -rf docs/_build
| dh_clean Routes.egg-info/* build-docs
| dpkg-source: info: using source format `3.0 (quilt)'
| dpkg-source: info: building routes using existing ./routes_2.2.orig.tar.gz
| dpkg-source: warning: ignoring deletion of file Routes.egg-info/requires.txt, use --include-removal to override
| dpkg-source: warning: ignoring deletion of file Routes.egg-info/not-zip-safe, use --include-removal to override
| dpkg-source: warning: ignoring deletion of file Routes.egg-info/top_level.txt, use --include-removal to override
| dpkg-source: warning: ignoring deletion of file Routes.egg-info/dependency_links.txt, use --include-removal to override
| dpkg-source: warning: ignoring deletion of file Routes.egg-info/SOURCES.txt, use --include-removal to override
| dpkg-source: warning: ignoring deletion of file Routes.egg-info/PKG-INFO, use --include-removal to override
| dpkg-source: info: building routes in routes_2.2-1~bpo8+1.debian.tar.xz
| dpkg-source: info: building routes in routes_2.2-1~bpo8+1.dsc
| sbuild (Debian sbuild) 0.65.2 (24 Mar 2015) on piotro.shiva.flightbox.pl
| 
| ╔══════════════════════════════════════════════════════════════════════════════╗
| ║ routes 2.2-1~bpo8+1 (amd64)                                26 lis 2015 15:50 ║
| ╚══════════════════════════════════════════════════════════════════════════════╝
| 
| Package: routes
| Version: 2.2-1~bpo8+1
| Source Version: 2.2-1~bpo8+1
| Distribution: jessie
| Machine Architecture: amd64
| Host Architecture: amd64
| Build Architecture: amd64
| 
| I: NOTICE: Log filtering will replace 'build/routes-vU6ObA/routes-2.2' with '«PKGBUILDDIR»'
| I: NOTICE: Log filtering will replace 'build/routes-vU6ObA' with '«BUILDDIR»'
| I: NOTICE: Log filtering will replace 'var/lib/schroot/mount/jessie-amd64-sbuild-f18e36b9-a8f5-4b90-a0b8-55df3891c3af' with '«CHROOT»'
| 
| ┌──────────────────────────────────────────────────────────────────────────────┐
| │ Update chroot                                                                │
| └──────────────────────────────────────────────────────────────────────────────┘
| 
| Ign http://ftp.pl.debian.org jessie InRelease
| Hit http://ftp.pl.debian.org jessie-backports InRelease
| Hit http://ftp.pl.debian.org jessie Release.gpg
| Hit http://ftp.pl.debian.org jessie Release
| Get:1 http://ftp.pl.debian.org jessie-backports/main amd64 Packages/DiffIndex [7819 B]
| Get:2 http://ftp.pl.debian.org jessie-backports/contrib amd64 Packages/DiffIndex [1057 B]
| Get:3 http://ftp.pl.debian.org jessie-backports/non-free amd64 Packages/DiffIndex [919 B]
| Get:4 http://ftp.pl.debian.org jessie-backports/contrib Translation-en/DiffIndex [643 B]
| Get:5 http://ftp.pl.debian.org jessie-backports/main Translation-en/DiffIndex [4093 B]
| Get:6 http://ftp.pl.debian.org jessie-backports/non-free Translation-en/DiffIndex [643 B]
| Hit http://ftp.pl.debian.org jessie/main Sources
| Hit http://ftp.pl.debian.org jessie/main amd64 Packages
| Hit http://ftp.pl.debian.org jessie/main Translation-en
| Fetched 15.2 kB in 2s (6504 B/s)
| Reading package lists...
| Reading package lists...
| Building dependency tree...
| Reading state information...
| 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
| 
| ┌──────────────────────────────────────────────────────────────────────────────┐
| │ Fetch source files                                                           │
| └──────────────────────────────────────────────────────────────────────────────┘
| 
| 
| Local sources
| ─────────────
| 
| /tmp/build/routes_2.2-1~bpo8+1.dsc exists in /tmp/build; copying to chroot
| 
| Check architectures
| ───────────────────
| 
| 
| Check dependencies
| ──────────────────
| 
| Merged Build-Depends: build-essential, fakeroot
| Filtered Build-Depends: build-essential, fakeroot
| dpkg-deb: building package `sbuild-build-depends-core-dummy' in `/«BUILDDIR»/resolver-fTSapT/apt_archive/sbuild-build-depends-core-dummy.deb'.
| OK
| Ign file: ./ InRelease
| Get:1 file: ./ Release.gpg [299 B]
| Get:2 file: ./ Release [2119 B]
| Ign file: ./ Translation-en
| Reading package lists...
| Reading package lists...
| 
| ┌──────────────────────────────────────────────────────────────────────────────┐
| │ Install core build dependencies (apt-based resolver)                         │
| └──────────────────────────────────────────────────────────────────────────────┘
| 
| Installing build dependencies
| Reading package lists...
| Building dependency tree...
| Reading state information...
| The following NEW packages will be installed:
|   sbuild-build-depends-core-dummy
| debconf: delaying package configuration, since apt-utils is not installed
| 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
| Need to get 0 B/822 B of archives.
| After this operation, 0 B of additional disk space will be used.
| Selecting previously unselected package sbuild-build-depends-core-dummy.
| (Reading database ... 11867 files and directories currently installed.)
| Preparing to unpack .../sbuild-build-depends-core-dummy.deb ...
| Unpacking sbuild-build-depends-core-dummy (0.invalid.0) ...
| Setting up sbuild-build-depends-core-dummy (0.invalid.0) ...
| Merged Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, init, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit-utils, tar, util-linux, libc6-dev | libc-dev, gcc (>= 4:4.9.1), g++ (>= 4:4.9.1), make, dpkg-dev (>= 1.17.11), debhelper (>= 9), dh-python, python-all (>= 2.6.6-3~), python-setuptools (>= 0.6b3), python-sphinx (>= 1.3), python3-repoze.lru, python3-all, python3-setuptools, python3-sphinx, python-six, python3-six
| Filtered Build-Depends: base-files, base-passwd, bash, bsdutils, coreutils, dash, debianutils, diffutils, dpkg, e2fsprogs, findutils, grep, gzip, hostname, init, libc-bin, login, mount, ncurses-base, ncurses-bin, perl-base, sed, sysvinit-utils, tar, util-linux, libc6-dev, gcc (>= 4:4.9.1), g++ (>= 4:4.9.1), make, dpkg-dev (>= 1.17.11), debhelper (>= 9), dh-python, python-all (>= 2.6.6-3~), python-setuptools (>= 0.6b3), python-sphinx (>= 1.3), python3-repoze.lru, python3-all, python3-setuptools, python3-sphinx, python-six, python3-six
| dpkg-deb: building package `sbuild-build-depends-routes-dummy' in `/«BUILDDIR»/resolver-Blgj_w/apt_archive/sbuild-build-depends-routes-dummy.deb'.
| OK
| Ign file: ./ InRelease
| Get:1 file: ./ Release.gpg [299 B]
| Get:2 file: ./ Release [2119 B]
| Ign file: ./ Translation-en
| Reading package lists...
| Reading package lists...
| 
| ┌──────────────────────────────────────────────────────────────────────────────┐
| │ Install routes build dependencies (apt-based resolver)                       │
| └──────────────────────────────────────────────────────────────────────────────┘
| 
| Installing build dependencies
| Reading package lists...
| Building dependency tree...
| Reading state information...
| Some packages could not be installed. This may mean that you have
| requested an impossible situation or if you are using the unstable
| distribution that some required packages have not yet been created
| or been moved out of Incoming.
| The following information may help to resolve the situation:
| 
| The following packages have unmet dependencies:
|  sbuild-build-depends-routes-dummy : Depends: python-sphinx (>= 1.3) but it is not going to be installed
| E: Unable to correct problems, you have held broken packages.
| apt-get failed.
| Package installation failed
| Not removing build depends: cloned chroot in use
| 
| ┌──────────────────────────────────────────────────────────────────────────────┐
| │ Cleanup                                                                      │
| └──────────────────────────────────────────────────────────────────────────────┘
| 
| Purging /«BUILDDIR»
| Not cleaning session: cloned chroot in use
| E: Package build dependencies not satisfied; skipping
| 
| ┌──────────────────────────────────────────────────────────────────────────────┐
| │ Summary                                                                      │
| └──────────────────────────────────────────────────────────────────────────────┘
| 
| Build Architecture: amd64
| Build-Space: 0
| Build-Time: 0
| Distribution: jessie
| Fail-Stage: install-deps
| Host Architecture: amd64
| Install-Time: 0
| Job: /tmp/build/routes_2.2-1~bpo8+1.dsc
| Machine Architecture: amd64
| Package: routes
| Package-Time: 0
| Source-Version: 2.2-1~bpo8+1
| Space: 0
| Status: failed
| Version: 2.2-1~bpo8+1
| ────────────────────────────────────────────────────────────────────────────────
| Finished at 20151126-1550
| Build needed 00:00:00, 0k disc space
| E: Package build dependencies not satisfied; skipping

that's why I don't believe you built it in jessie. python-sphinx is not backported
and you didn't mention any patches

solutions:
1) backport python-sphinx, or
2) use patch from Ubuntu: https://patches.ubuntu.com/r/routes/routes_2.2-1ubuntu1.patch


now that you have working package, you can test it in jessie. After
upload, please subscribe routes' bugs.


Reply to: