[Bug 1319295] Re: Lintian uses a lot of time doing analyzing of HTML pages in package

Niels Thykier niels at thykier.net
Sat May 30 06:45:39 UTC 2015


** Bug watch added: Debian Bug tracker #745877
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745877

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to lintian in Ubuntu.
https://bugs.launchpad.net/bugs/1319295

Title:
  Lintian uses a lot of time doing analyzing of HTML pages in package

Status in lintian package in Ubuntu:
  Confirmed

Bug description:
  Reproduced by downloading this package:
  http://downloads.typesafe.com/scala/2.11.0/scala-2.11.0.deb and
  running lintian:

  $ lintian Downloads/scala-2.11.0.deb 
  W: scala: control-file-is-empty conffiles
  W: scala: copyright-without-copyright-notice
  E: scala: description-starts-with-package-name
  E: scala: maintainer-address-missing LAMP/EPFL and Typesafe, Inc.
  E: scala: depends-on-obsolete-package depends: openjdk-6-jre
  W: scala: symlink-should-be-relative usr/bin/fsc /usr/share/scala/bin/fsc
  W: scala: symlink-should-be-relative usr/bin/scala /usr/share/scala/bin/scala
  W: scala: symlink-should-be-relative usr/bin/scalac /usr/share/scala/bin/scalac
  W: scala: symlink-should-be-relative usr/bin/scaladoc /usr/share/scala/bin/scaladoc
  W: scala: symlink-should-be-relative usr/bin/scalap /usr/share/scala/bin/scalap
  W: scala: extra-license-file usr/share/doc/scala/LICENSE.md
  W: scala: extra-license-file usr/share/doc/scala/License.rtf
  W: scala: embedded-javascript-library usr/share/doc/scala/api/scala-compiler/lib/jquery.js

  After that output, lintian hangs using 100% CPU.

  Ah, after running strace, I see that it is actually analyzing the HTML
  files, probably searching for more JS libs:

  open("/tmp/temp-lintian-lab-BaiIBy3nuO/pool/s/scala/scala_2.11.0_all_binary/unpacked/usr/share/doc/scala/api/scala-compiler/scala/tools/nsc/backend/icode/Primitives$Negation.html", O_RDONLY) = 3
  ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fff1c308600) = -1 ENOTTY (Inappropriate ioctl for device)
  lseek(3, 0, SEEK_CUR)                   = 0
  fstat(3, {st_mode=S_IFREG|0644, st_size=42983, ...}) = 0
  fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
  read(3, "<!DOCTYPE html >\n<html>\n        "..., 8192) = 8192
  read(3, "   <span class=\"filtertype\">Orde"..., 8192) = 8192
  read(3, "ass=\"signature\">\n      <span cla"..., 8192) = 8192
  read(3, "></span>)</span><span class=\"res"..., 8192) = 8192
  read(3, "span class=\"kind\">def</span>\n   "..., 8192) = 8192
  read(3, "Negation\">ICodes.Negation</a> to"..., 8192) = 2023
  read(3, "", 8192)                       = 0
  close(3)                                = 0
  open("/tmp/temp-lintian-lab-BaiIBy3nuO/pool/s/scala/scala_2.11.0_all_binary/unpacked/usr/share/doc/scala/api/scala-compiler/scala/tools/nsc/backend/icode/Primitives$OR$.html", O_RDONLY) = 3
  ioctl(3, SNDCTL_TMR_TIMEBASE or SNDRV_TIMER_IOCTL_NEXT_DEVICE or TCGETS, 0x7fff1c308600) = -1 ENOTTY (Inappropriate ioctl for device)
  lseek(3, 0, SEEK_CUR)                   = 0
  fstat(3, {st_mode=S_IFREG|0644, st_size=22583, ...}) = 0
  fcntl(3, F_SETFD, FD_CLOEXEC)           = 0
  read(3, "<!DOCTYPE html >\n<html>\n        "..., 8192) = 8192
  read(3, "<a id=\"asInstanceOf[T0]:T0\"></a>"..., 8192) = 8192
  read(3, "<span class=\"params\">(<span name"..., 8192) = 6199
  read(3, "", 8192)                       = 0
  close(3)

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: lintian 2.5.22ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-26.48-generic 3.13.11
  Uname: Linux 3.13.0-26-generic x86_64
  NonfreeKernelModules: nvidia wl
  ApportVersion: 2.14.1-0ubuntu3.1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Wed May 14 10:06:46 2014
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-precise-amd64-20130203-1
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2014-03-12 (62 days ago)
  InstallationMedia: Ubuntu 12.04 "Precise" - Build amd64 LIVE Binary 20130203-13:50
  PackageArchitecture: all
  SourcePackage: lintian
  UpgradeStatus: Upgraded to trusty on 2014-04-22 (21 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lintian/+bug/1319295/+subscriptions



More information about the foundations-bugs mailing list