NetBSD Problem Report #37180

From martin@duskware.de  Tue Oct 23 07:21:44 2007
Return-Path: <martin@duskware.de>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 11F2C63B934
	for <gnats-bugs@gnats.netbsd.org>; Tue, 23 Oct 2007 07:21:44 +0000 (UTC)
Message-Id: <20071022105315.C057163B934@narn.NetBSD.org>
Date: Mon, 22 Oct 2007 10:53:15 +0000 (UTC)
From: raymond.meyer@rambler.ru
Reply-To: raymond.meyer@rambler.ru
To: netbsd-bugs-owner@NetBSD.org
Subject: audio/vorbis-tools fails to build on SPARC Solaris with GCC-4.2.2
X-Send-Pr-Version: www-1.0

>Number:         37180
>Category:       pkg
>Synopsis:       audio/vorbis-tools fails to build on SPARC Solaris with GCC-4.2.2
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 23 07:25:01 +0000 2007
>Closed-Date:    Sat Jul 21 21:27:37 +0000 2018
>Last-Modified:  Sat Jul 21 21:30:01 +0000 2018
>Originator:     raymond
>Release:        
>Organization:
>Environment:
SunOS ultra10 5.10 Generic_118833-33 sun4u sparc SUNW,Ultra-5_10
>Description:
During configure stage the following error is produced

configure: error: No 16 bit type found on this platform!
*** Error code 1

Looking at config.log it becomes clear where this error is coming from

configure:19399: checking for int16_t
configure:19424: gcc -o conftest -O20 -ffast-math -fsigned-char -mv8 -O  -Wl,-R/
opt/pkg/lib conftest.c  >&5
cc1: error: unrecognized command line option "-mv8"
configure:19427: $? = 1
configure: program exited with status 1

>How-To-Repeat:

>Fix:
GCC does not support -mv8 option on SPARC Solaris anymore. The configure script needs to be patched to remove any such options

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: snj@netbsd.org
Responsible-Changed-When: Wed, 24 Oct 2007 00:57:52 +0000
Responsible-Changed-Why:
Solaris problem.


State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Sat, 21 Jul 2018 21:27:37 +0000
State-Changed-Why:
applied a patch which is very likely to fix this problem, and don't want to ask for feedback for an 11 year old package bug. Feel free to respond if you have any further problems or make new bugs.


From: "Maya Rashish" <maya@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/37180 CVS commit: pkgsrc/audio/vorbis-tools
Date: Sat, 21 Jul 2018 21:26:53 +0000

 Module Name:	pkgsrc
 Committed By:	maya
 Date:		Sat Jul 21 21:26:53 UTC 2018

 Modified Files:
 	pkgsrc/audio/vorbis-tools: distinfo
 Added Files:
 	pkgsrc/audio/vorbis-tools/patches: patch-configure

 Log Message:
 vorbis-tools: don't special case sparc sun hosts.
 GCC doesn't have -mv8.

 PR pkg/37180.


 To generate a diff of this commit:
 cvs rdiff -u -r1.26 -r1.27 pkgsrc/audio/vorbis-tools/distinfo
 cvs rdiff -u -r0 -r1.1 pkgsrc/audio/vorbis-tools/patches/patch-configure

 Please note that diffs are not public domain; they are subject to the
 copyright notices on the relevant files.

>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.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.