Package: src:ikvm Version: 7.2.4630.5+ds-2 User: [email protected] Usertags: binary-indep Severity: important
Dear maintainer: I tried to build this package with "dpkg-buildpackage -A" (i.e. only architecture-independent packages), and it failed: -------------------------------------------------------------------------------- [...] debian/rules build-indep nant -v -f:ikvm-7.2.4630.5/ikvm.build signed NAnt 0.92 (Build 0.92.4526.0; rc1; 05/23/2012) Copyright (C) 2001-2012 Gerry Shaw http://nant.sourceforge.net Buildfile: file:///<<BUILDDIR>>/ikvm-7.2.4630.5+ds/ikvm-7.2.4630.5/ikvm.build Target framework: Mono 4.0 Profile Base Directory: /<<BUILDDIR>>/ikvm-7.2.4630.5+ds/ikvm-7.2.4630.5. Target(s) specified: signed [include] Including file /<<BUILDDIR>>/ikvm-7.2.4630.5+ds/ikvm-7.2.4630.5/ikvm.include. [... snipped ...] [csc] "/<<BUILDDIR>>/ikvm-7.2.4630.5+ds/ikvm-7.2.4630.5/awt/robot.cs" [csc] "/<<BUILDDIR>>/ikvm-7.2.4630.5+ds/ikvm-7.2.4630.5/awt/theming.cs" [csc] "/<<BUILDDIR>>/ikvm-7.2.4630.5+ds/ikvm-7.2.4630.5/awt/toolkit-0.95.cs" [csc] [csc] Starting '/usr/bin/mono ( "/usr/lib/mono/4.5/mcs.exe" @"/tmp/tmpf480096.tmp")' in '/<<BUILDDIR>>/ikvm-7.2.4630.5+ds/ikvm-7.2.4630.5/awt' [csc] /<<BUILDDIR>>/ikvm-7.2.4630.5+ds/ikvm-7.2.4630.5/awt/toolkit-0.95.cs(572,34): warning CS0809: Obsolete member `ikvm.awt.NetToolkit.getFontList()' overrides non-obsolete member `sun.awt.SunToolkit.getFontList()' [csc] /<<BUILDDIR>>/ikvm-7.2.4630.5+ds/ikvm-7.2.4630.5/awt/../bin/IKVM.OpenJDK.SwingAWT.dll (Location of the symbol related to previous warning) [csc] Compilation succeeded - 1 warning(s) BUILD SUCCEEDED - 0 non-fatal error(s), 3 warning(s) Total time: 1.8 seconds. [nant] /<<BUILDDIR>>/ikvm-7.2.4630.5+ds/ikvm-7.2.4630.5/jvm/jvm.build Buildfile: file:///<<BUILDDIR>>/ikvm-7.2.4630.5+ds/ikvm-7.2.4630.5/jvm/jvm.build Target framework: Mono 4.0 Profile Base Directory: /<<BUILDDIR>>/ikvm-7.2.4630.5+ds/ikvm-7.2.4630.5/jvm. Target(s) specified: JVM [include] Including file /<<BUILDDIR>>/ikvm-7.2.4630.5+ds/ikvm-7.2.4630.5/ikvm.include. Function platform::is-win32 is deprecated. Use the is-windows function instead. version: [copy] Copying 1 file to '/<<BUILDDIR>>/ikvm-7.2.4630.5+ds/ikvm-7.2.4630.5/jvm/jvm.rc'. [copy] Copying '/<<BUILDDIR>>/ikvm-7.2.4630.5+ds/ikvm-7.2.4630.5/jvm/jvm.rc.in' to '/<<BUILDDIR>>/ikvm-7.2.4630.5+ds/ikvm-7.2.4630.5/jvm/jvm.rc'. BUILD SUCCEEDED - 0 non-fatal error(s), 1 warning(s) Total time: 0 seconds. BUILD SUCCEEDED - 0 non-fatal error(s), 1 warning(s) Total time: 287.2 seconds. mkdir scripts mkdir: cannot create directory 'scripts': File exists debian/rules:28: recipe for target 'build-indep' failed make: *** [build-indep] Error 1 dpkg-buildpackage: error: fakeroot debian/rules binary-indep gave error exit status 2 -------------------------------------------------------------------------------- Sorry not to have a fix, as I am reporting many bugs similar to this one. The common hints are: * If the only architecture-independent packages are dummy transitional ones and they were released with jessie, the easy fix is to drop them now. * When using "dh", it is allowed to use (independently) optional targets override_dh_foo-arch and override_dh_foo-indep (for several values of "foo"). Once that both "dpkg-buildpackage -A" and "dpkg-buildpackage -B" work properly, the package would be suitable to be uploaded in source-only form if you wish. Thanks.

