NetBSD Problem Report #41753

From www@NetBSD.org  Sun Jul 19 22:39:19 2009
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id BB8DE63BBD1
	for <gnats-bugs@gnats.netbsd.org>; Sun, 19 Jul 2009 22:39:19 +0000 (UTC)
Message-Id: <20090719223919.3ED3463B898@www.NetBSD.org>
Date: Sun, 19 Jul 2009 22:39:19 +0000 (UTC)
From: christian@degenkolb.net
Reply-To: christian@degenkolb.net
To: gnats-bugs@NetBSD.org
Subject: perl5 build stops with "ma_05_t.o: file not recognized: File format not recognized" on sgi O2
X-Send-Pr-Version: www-1.0

>Number:         41753
>Category:       port-sgimips
>Synopsis:       perl5 build stops with "ma_05_t.o: file not recognized: File format not recognized" on sgi O2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-sgimips-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 19 22:40:00 +0000 2009
>Closed-Date:    Thu Nov 03 08:57:25 +0000 2016
>Last-Modified:  Thu Nov 03 08:57:25 +0000 2016
>Originator:     Christian Degenkolb
>Release:        5.0
>Organization:
>Environment:
NetBSD  5.0 NetBSD 5.0 (GENERIC32_IP3x) #0: Mon Apr 27 06:14:57 UTC 2009 builds @b1.netbsd.org:/home/builds/ab/netbsd-5-0-RELEASE/sgimips/200904260229Z-obj/home/builds/ab/netbsd-5-0-RELEASE/src/sys/arch/sgimips/compile/GENERIC32_IP3x sgimips
>Description:
hi

i tried to build openssh on my sgi O2 witch has perl5 as build dependency.
during the buidl prozess of perl5 in the part  of
        Making Encode (dynamic)
the last line befor the error was 
rm -f ../../../lib/auto/Encode/JP/JP.so
cc  -Wl,-R/usr/pkg/lib --whole-archive -shared  -L/usr/pkg/lib JP.o  cp_00_t.o  eu_01_t.o  ji_02_t.o  ji_03_t.o  ji_04_t.o  ma_05_t.o  sh_06_t.o  -o ../../../lib/a
ma_05_t.o: file not recognized: File format not recognized
*** Error code 1

pkgsrc was just updated by using anoncvs this day. no other builds were started on this machine.

>How-To-Repeat:
trying to build perl5 on sgi O2
>Fix:

>Release-Note:

>Audit-Trail:
From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-sgimips/41753: perl5 build stops with "ma_05_t.o: file
	not recognized: File format not recognized" on sgi O2
Date: Sun, 19 Jul 2009 22:47:40 +0000

 On Sun, Jul 19, 2009 at 10:40:00PM +0000, christian@degenkolb.net wrote:
  > cc  -Wl,-R/usr/pkg/lib --whole-archive -shared  -L/usr/pkg/lib JP.o  cp_00_t.o  eu_01_t.o  ji_02_t.o  ji_03_t.o  ji_04_t.o  ma_05_t.o  sh_06_t.o  -o ../../../lib/a
  > ma_05_t.o: file not recognized: File format not recognized
  > *** Error code 1

 Is the file empty/zero-length? (If so, did you run out of disk space?)

 If not, what type of file is it? ("file ma_05_t.o")

 -- 
 David A. Holland
 dholland@netbsd.org

From: Christian Degenkolb <christian@degenkolb.net>
To: David Holland <dholland-bugs@netbsd.org>
Cc: gnats-bugs@netbsd.org,
 port-sgimips-maintainer@netbsd.org,
 gnats-admin@netbsd.org,
 netbsd-bugs@netbsd.org
Subject: Re: port-sgimips/41753: perl5 build stops with "ma_05_t.o: file not recognized: File format not recognized" on sgi O2
Date: Mon, 20 Jul 2009 01:02:44 +0200

 hi

 Am Montag, 20. Juli 2009 00:50:03 schrieb David Holland:
 >
 >  On Sun, Jul 19, 2009 at 10:40:00PM +0000, christian@degenkolb.net wrote:
 >   > cc  -Wl,-R/usr/pkg/lib --whole-archive -shared  -L/usr/pkg/lib JP.o 
 >   > cp_00_t.o  eu_01_t.o  ji_02_t.o  ji_03_t.o  ji_04_t.o  ma_05_t.o 
 >   > sh_06_t.o  -o ../../../lib/a ma_05_t.o: file not recognized: File
 >   > format not recognized
 >   > *** Error code 1
 >
 >  Is the file empty/zero-length? (If so, did you run out of disk space?)

 no there should be enough space left
 # df -h /usr/
 Filesystem        Size       Used      Avail %Cap Mounted on
 /dev/sd0e         3.9G       954M       2.8G  25% /usr

 and
 # ls -alh ma_05_t.o
 -rw-r--r--  1 root  wheel  187K Jul 20 02:11 ma_05_t.o

 >  If not, what type of file is it? ("file ma_05_t.o")

 # file ma_05_t.o
 ma_05_t.o: data

 i hope i could help

 christian

From: David Holland <dholland-bugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: port-sgimips/41753: perl5 build stops with "ma_05_t.o: file
	not recognized: File format not recognized" on sgi O2
Date: Sat, 25 Jul 2009 07:00:17 +0000

 On Mon, Jul 20, 2009 at 12:20:04AM +0000, Christian Degenkolb wrote:
  >  and
  >  # ls -alh ma_05_t.o
  >  -rw-r--r--  1 root  wheel  187K Jul 20 02:11 ma_05_t.o

 Hrm. Well, that rules out the easy case :(

  >  >  If not, what type of file is it? ("file ma_05_t.o")
  >  
  >  # file ma_05_t.o
  >  ma_05_t.o: data

 ...and this isn't, unfortunately, very illuminating.

 Can you examine the file to see if it's obviously corrupt in some way?
 (e.g. contains all zeros, is a copy of /etc/passwd, etc.)

 -- 
 David A. Holland
 dholland@netbsd.org

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Thu, 03 Nov 2016 08:57:25 +0000
State-Changed-Why:
I"m testing all the bug reports that should probably fixed by now, and it works now.
I've built perl on mips64eb, which should be similar. feel free to reply if you still have any issue.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.