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

Bug#536192: FTBFS: missing Build-Depends on gij



Package: gcc-defaults
Version: 1.87
Severity: normal

Honestly, I fail to see how 'gcc-defaults' succeeded to build before.
Right now it misses 'gkeytool'.

Buildlog (in attach) is infested with

	sh: gkeytool: command not found

142 times (for me).  Than

	install -m644 build/cacerts debian/libgcj-common/etc/java/cacerts-gcj
	install: cannot stat `build/cacerts': No such file or directory
	make: *** [binary-indep] Error 1

fails the build finally.  Please, either Build-Depend on 'gij' or die if
generating 'cacerts' fails (diff in attach).


-- System Information:
Debian Release: 5.0
  APT prefers testing
  APT policy: (700, 'testing'), (700, 'stable'), (1, 'testing'), (1, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-1-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=ru_UA.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Attachment: foo.gcc-defaults_1.87_i386.build.bz2
Description: BZip2 compressed data

--- generate-cacerts.pl.in.orig	2009-07-07 22:46:11.000000000 +0300
+++ generate-cacerts.pl.in	2009-07-07 22:47:23.000000000 +0300
@@ -93,7 +93,7 @@
 {
 	 system "yes | gkeytool@gcc_suffix@ -import -alias `basename $pem_file .pem`".
 		  " -keystore cacerts -storepass '' -file $pem_file".
-		  " 2>&1 >/dev/null";
+		  " 2>&1 >/dev/null" and die "generating cacerts failed: $?";
 	 unlink($pem_file);
 	 $certs_written_count++;
 }

Reply to: