Re: [head tinderbox] failure on powerpc/powerpc

From: Andreas Tobler <andreast-list_at_fgznet.ch>
Date: Sat, 12 Jun 2010 16:04:39 +0200
On 12.06.10 15:57, Andreas Tobler wrote:
> On 12.06.10 12:59, FreeBSD Tinderbox wrote:
>> TB --- 2010-06-12 09:19:14 - tinderbox 2.6 running on freebsd-current.sentex.ca
>> TB --- 2010-06-12 09:19:14 - starting HEAD tinderbox run for powerpc/powerpc
>> TB --- 2010-06-12 09:19:15 - cleaning the object tree
>> TB --- 2010-06-12 09:19:27 - cvsupping the source tree
>> TB --- 2010-06-12 09:19:27 - /usr/bin/csup -z -r 3 -g -L 1 -h cvsup.sentex.ca /tinderbox/HEAD/powerpc/powerpc/supfile
>> TB --- 2010-06-12 09:19:57 - building world
>> TB --- 2010-06-12 09:19:57 - MAKEOBJDIRPREFIX=/obj
>> TB --- 2010-06-12 09:19:57 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
>> TB --- 2010-06-12 09:19:57 - TARGET=powerpc
>> TB --- 2010-06-12 09:19:57 - TARGET_ARCH=powerpc
>> TB --- 2010-06-12 09:19:57 - TZ=UTC
>> TB --- 2010-06-12 09:19:57 - __MAKE_CONF=/dev/null
>> TB --- 2010-06-12 09:19:57 - cd /src
>> TB --- 2010-06-12 09:19:57 - /usr/bin/make -B buildworld
>>>>> World build started on Sat Jun 12 09:19:57 UTC 2010
>>>>> Rebuilding the temporary build tree
>>>>> stage 1.1: legacy release compatibility shims
>>>>> stage 1.2: bootstrap tools
>>>>> stage 2.1: cleaning up the object tree
>>>>> stage 2.2: rebuilding the object tree
>>>>> stage 2.3: build tools
>>>>> stage 3: cross tools
>>>>> stage 4.1: building includes
>>>>> stage 4.2: building libraries
>>>>> stage 4.3: make dependencies
>>>>> stage 4.4: building everything
>> [...]
>> cc -O2 -pipe  -DUSE_GZIP=1 -fno-strict-aliasing -I/src/usr.sbin/sysinstall/../../gnu/lib/libdialog -I. -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /src/usr.sbin/sysinstall/index.c
>> cc -O2 -pipe  -DUSE_GZIP=1 -fno-strict-aliasing -I/src/usr.sbin/sysinstall/../../gnu/lib/libdialog -I. -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /src/usr.sbin/sysinstall/install.c
>> cc1: warnings being treated as errors
>> /src/usr.sbin/sysinstall/install.c: In function 'installStandard':
>> /src/usr.sbin/sysinstall/install.c:632: warning: unused variable 'devs'
>> /src/usr.sbin/sysinstall/install.c:631: warning: unused variable 'tries'
>> /src/usr.sbin/sysinstall/install.c: In function 'installFixupBase':
>> /src/usr.sbin/sysinstall/install.c:877: warning: unused variable 'fp'
>> *** Error code 1
>

Here the complete one:
Index: install.c
===================================================================
--- install.c	(revision 209106)
+++ install.c	(working copy)
_at__at_ -628,8 +628,11 _at__at_
  int
  installStandard(dialogMenuItem *self)
  {
-    int i, tries = 0;
+    int i;
+#ifdef WITH_SLICES
+    int tries = 0;
      Device **devs;
+#endif

      variable_set2(SYSTEM_STATE, "standard", 0);
      dialog_clear_norefresh();
_at__at_ -874,7 +877,9 _at__at_
  int
  installFixupBase(dialogMenuItem *self)
  {
+#if defined(__i386__) || defined(__amd64__)
      FILE *fp;
+#endif
  #ifdef __ia64__
      const char *efi_mntpt;
  #endif


Gruss,
Andreas
Received on Sat Jun 12 2010 - 12:36:19 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC