[Bug 1716047] Re: rustc control file contains unsupported restriction formulas in control file
Charles F. Stephens
cfs at purestorage.com
Tue Oct 10 17:35:32 UTC 2017
Right now we are stuck because we can't issue security updates
internally because we can't construct our APT repository.
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1716047
Title:
rustc control file contains unsupported restriction formulas in
control file
Status in rustc package in Ubuntu:
Incomplete
Bug description:
The trusty back port of the rustc source package breaks dependency
computation using apt because it contains qualifiers in the Build-
Depends that are not understood by the trusty version of apt.
Build-Depends: debhelper (>= 9), rustc (>= 1.14.0+dfsg) [!powerpc], rustc (<= 1.15.1++) [!powerpc], autotools-dev, binutils-2.26, cmake3, curl, gperf, libedit-dev, llvm-3.9-dev (>= 1:3.9-5), llvm-3.9-tools (>= 1:3.9-5), python, zlib1g-dev, nodejs [!arm64] <!nocheck>, valgrind <!nocheck>, git <!nocheck>, procps <!nocheck>, libjs-jquery <!nocheck>, antlr <!nocheck>, bison <!nocheck>, flex <!nocheck>, default-jdk <!nocheck>
Build-Depends-Indep: libjs-jquery <!nodoc>, pandoc (>= 1.9), po4a, texlive-xetex, texlive-latex-base, texlive-generic-recommended, texlive-fonts-recommended, lmodern
Namely it's the "<!nocheck>" and "<!nodoc>" qualifiers.
This is breaking our builds which run germinate which calls on APT to
parse various APT files, include Sources (even though it doesn't
actually use it):
/usr/bin/germinate --no-rdepends -S file:///buildtree/germinate/seeds -s pure -a amd64 -c main,universe -d trusty,trusty-updates,trusty-security -m http://apt-svc.redacted.example.com/trusty/trusty-20170615
rm: cannot remove ‘*’: No such file or directory
Downloading http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty/main/binary-amd64/Packages.bz2 file ...
Decompressing http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty/main/binary-amd64/Packages.bz2 file ...
Downloading http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty/main/source/Sources.bz2 file ...
Decompressing http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty/main/source/Sources.bz2 file ...
Downloading http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty/main/debian-installer/binary-amd64/Packages.bz2 file ...
Decompressing http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty/main/debian-installer/binary-amd64/Packages.bz2 file ...
Downloading http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty/universe/binary-amd64/Packages.bz2 file ...
Decompressing http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty/universe/binary-amd64/Packages.bz2 file ...
Downloading http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty/universe/source/Sources.bz2 file ...
Decompressing http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty/universe/source/Sources.bz2 file ...
Downloading http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty/universe/debian-installer/binary-amd64/Packages.bz2 file ...
Decompressing http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty/universe/debian-installer/binary-amd64/Packages.bz2 file ...
Downloading http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty-updates/main/binary-amd64/Packages.bz2 file ...
Decompressing http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty-updates/main/binary-amd64/Packages.bz2 file ...
Downloading http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty-updates/main/source/Sources.bz2 file ...
Decompressing http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty-updates/main/source/Sources.bz2 file ...
Downloading http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty-updates/main/debian-installer/binary-amd64/Packages.bz2 file ...
Downloading http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty-updates/main/debian-installer/binary-amd64/Packages.gz file ...
Downloading http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty-updates/main/debian-installer/binary-amd64/Packages file ...
Missing installer Packages file for main (ignoring)
Downloading http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty-updates/universe/binary-amd64/Packages.bz2 file ...
Decompressing http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty-updates/universe/binary-amd64/Packages.bz2 file ...
Downloading http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty-updates/universe/source/Sources.bz2 file ...
Decompressing http://apt-svc.redacted.example.com/trusty/trusty-20170615/dists/trusty-updates/universe/source/Sources.bz2 file ...
Traceback (most recent call last):
File "/usr/bin/germinate", line 35, in <module>
main(sys.argv)
File "/usr/lib/python3/dist-packages/germinate/scripts/germinate_main.py", line 119, in main
g.parse_archive(archive)
File "/usr/lib/python3/dist-packages/germinate/germinator.py", line 512, in parse_archive
self._parse_source(section)
File "/usr/lib/python3/dist-packages/germinate/germinator.py", line 497, in _parse_source
self._sources[src][field] = self._parse_src_depends(value)
File "/usr/lib/python3/dist-packages/germinate/germinator.py", line 473, in _parse_src_depends
return apt_pkg.parse_src_depends(value, False)
ValueError: Problem Parsing Dependency
root at dc200f95b5d5:~/oo#
Recommend removing these incompatible qualifiers from rustc control
file for the trusty backport.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rustc/+bug/1716047/+subscriptions
More information about the Ubuntu-sponsors
mailing list