NetBSD Problem Report #38199

From martin@duskware.de  Sat Mar  8 19:50:20 2008
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 8E88363B8E3
	for <gnats-bugs@gnats.netbsd.org>; Sat,  8 Mar 2008 19:50:20 +0000 (UTC)
Message-Id: <20080307231357.5BCE263B842@narn.NetBSD.org>
Date: Fri,  7 Mar 2008 23:13:57 +0000 (UTC)
From: svs@ropnet.ru
Reply-To: svs@ropnet.ru
To: netbsd-bugs-owner@NetBSD.org
Subject: sysutils/smartmontools doesn't build on Solaris SPARC
X-Send-Pr-Version: www-1.0

>Number:         38199
>Category:       pkg
>Synopsis:       sysutils/smartmontools doesn't build on Solaris SPARC
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 08 19:55:00 +0000 2008
>Closed-Date:    Sat May 17 13:15:15 +0000 2008
>Last-Modified:  Sat May 17 13:15:15 +0000 2008
>Originator:     Sergey Svishchev
>Release:        4.0
>Organization:
>Environment:
>Description:
Only on Solaris SPARC, C compiler is required (to build os_solaris_ata.s.)
Also, on Solaris, this package installs its manpages to man1m, not man8;
this should be overridden.

>How-To-Repeat:

>Fix:
Index: sysutils/smartmontools/Makefile
===================================================================
RCS file: /vol/1/cvsup/pkgsrc/sysutils/smartmontools/Makefile,v
retrieving revision 1.14
diff -u -r1.14 Makefile
--- sysutils/smartmontools/Makefile	4 Jan 2008 22:15:47 -0000	1.14
+++ sysutils/smartmontools/Makefile	11 Jan 2008 18:56:44 -0000
@@ -14,9 +14,9 @@
 PKG_DESTDIR_SUPPORT=	user-destdir
 PKG_INSTALLATION_TYPES=	overwrite pkgviews

-USE_LANGUAGES+=		c++
 USE_TOOLS+=		gmake
 GNU_CONFIGURE=		yes
+USE_LANGUAGES=		c c++

 EGDIR=			${PREFIX}/share/examples/smartmontools
 CONF_FILES=		${EGDIR}/smartd.conf ${PKG_SYSCONFDIR}/smartd.conf
Index: sysutils/smartmontools/distinfo
===================================================================
RCS file: /vol/1/cvsup/pkgsrc/sysutils/smartmontools/distinfo,v
retrieving revision 1.14
diff -u -r1.14 distinfo
--- sysutils/smartmontools/distinfo	19 Oct 2007 03:56:13 -0000	1.14
+++ sysutils/smartmontools/distinfo	20 Jan 2008 19:44:28 -0000
@@ -4,5 +4,6 @@
 RMD160 (smartmontools-5.37.tar.gz) = e9d18c71340766dc43bf462a4c12cb0d152f2812
 Size (smartmontools-5.37.tar.gz) = 590605 bytes
 SHA1 (patch-aa) = 005d69bebfdb385ca42c59aa2c90a62e22c14733
+SHA1 (patch-ab) = c755714b48d2bad7f7e5c9b9197889411381d296
 SHA1 (patch-ae) = 35a42cfc16f6657ddbc81cbecf340a3892ba4918
 SHA1 (patch-af) = 0936c5eb5f0df75cebd186304a6ca111909a34d2
Index: sysutils/smartmontools/patches/patch-ab
===================================================================
RCS file: sysutils/smartmontools/patches/patch-ab
diff -N sysutils/smartmontools/patches/patch-ab
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ sysutils/smartmontools/patches/patch-ab	8 Jul 2007 08:11:15 -0000
@@ -0,0 +1,18 @@
+$NetBSD$
+
+--- configure.orig	2006-12-20 20:39:05.000000000 +0000
++++ configure
+@@ -8460,13 +8460,8 @@ fi
+ 
+ 
+ 
+-if echo $host_os | grep '^solaris' > /dev/null; then
+-  OS_SOLARIS_TRUE=
+-  OS_SOLARIS_FALSE='#'
+-else
+   OS_SOLARIS_TRUE='#'
+   OS_SOLARIS_FALSE=
+-fi
+ 
+ 
+ 

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: obache@NetBSD.org
Responsible-Changed-When: Sun, 09 Mar 2008 02:30:50 +0000
Responsible-Changed-Why:
Problem on Solaris.


From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/38199 CVS commit: pkgsrc/sysutils/smartmontools
Date: Sat, 17 May 2008 13:07:54 +0000 (UTC)

 Module Name:	pkgsrc
 Committed By:	obache
 Date:		Sat May 17 13:07:54 UTC 2008

 Modified Files:
 	pkgsrc/sysutils/smartmontools: Makefile distinfo
 	pkgsrc/sysutils/smartmontools/patches: patch-aa
 Added Files:
 	pkgsrc/sysutils/smartmontools/patches: patch-ag patch-ah
 Removed Files:
 	pkgsrc/sysutils/smartmontools/patches: patch-ae patch-af

 Log Message:
 Update smartmontools to 5.38, UNSTABLE to STABLE.
 Based on patch provided by Sergey Svishchev in PR 38573.
 This version contains DragonFly support, noted in PR 36982.
 patch-ag is taken from PR 38199.

 Date 2008-03-10
 Summary: smartmontools release 5.38 (STABLE)
 --------------------------------------------
 This is a stable release of smartmontools.  In addition to changes
 below, it includes:

  - Libata/Marvell driver devices no longer need explicit '-d' switch
  - DEVICESCAN automatically detects libata/marvell driver SATA devices
  - Fixed auto-offline/autosave support in FreeBSD
  - SAT device type + SCSI generic devices work properly with smartd under Linux
  - Many additions to drive database
  - More portable autogen/autoconf/automake script set
  - Additional Windows IOCTL route to access SMART data
  - Some ATA-8 updates
  - Smoother CCISS compilation support in Linux
  - Dragonfly support
  - Fixed some ATA identity byte swap problems on big endian CPUs
  - Added support for the QNX operating system
  - No-fork option added to smartd
  - Improved device scanning and drive type recognition in Windows
  - 3ware support for controllers with more disks (32 max)
  - Improved Windows installer
  - Improved SMART Attribute list and descriptions
  - Fix to smartctl return codes
  - Fix to scheduled tests on Highpoint RAID controllers
  - New samsung firmware bug workaround option
  - Auto-offline and Auto-save fixed in Linux + libata
  - Solaris: better SCSI support and support for Sun compilers AND gcc
  - Fixed and improvements to CCISS support
  - More options for SCSI temperature monitoring and history
  - Additional command line options for selective self-tests
  - Compilation fixes for various platforms.

 See CHANGELOG for more details, or smartmontools CVS for still further
 details.


 To generate a diff of this commit:
 cvs rdiff -r1.14 -r1.15 pkgsrc/sysutils/smartmontools/Makefile \
     pkgsrc/sysutils/smartmontools/distinfo
 cvs rdiff -r1.4 -r1.5 pkgsrc/sysutils/smartmontools/patches/patch-aa
 cvs rdiff -r1.1 -r0 pkgsrc/sysutils/smartmontools/patches/patch-ae \
     pkgsrc/sysutils/smartmontools/patches/patch-af
 cvs rdiff -r0 -r1.1 pkgsrc/sysutils/smartmontools/patches/patch-ag \
     pkgsrc/sysutils/smartmontools/patches/patch-ah

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

State-Changed-From-To: open->closed
State-Changed-By: obache@NetBSD.org
State-Changed-When: Sat, 17 May 2008 13:15:15 +0000
State-Changed-Why:
PR 38573 contains same patch and commited.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.