NetBSD Problem Report #36982

From martin@duskware.de  Thu Sep 13 08:42:45 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 A64EE63B89F
	for <gnats-bugs@gnats.netbsd.org>; Thu, 13 Sep 2007 08:42:45 +0000 (UTC)
Message-Id: <20070913084212.2E19A63B89F@narn.NetBSD.org>
Date: Thu, 13 Sep 2007 08:42:12 +0000 (UTC)
From: hasso@estpak.ee
Reply-To: hasso@estpak.ee
To: netbsd-bugs-owner@NetBSD.org
Subject: sysutils/smartmontools doesn't compile on DragonFly BSD
X-Send-Pr-Version: www-1.0

>Number:         36982
>Category:       pkg
>Synopsis:       sysutils/smartmontools doesn't compile on DragonFly BSD
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    dfly-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 13 08:45:00 +0000 2007
>Closed-Date:    Sat May 17 13:13:31 +0000 2008
>Last-Modified:  Sat May 17 13:13:31 +0000 2008
>Originator:     Hasso Tepper
>Release:        
>Organization:
>Environment:
DragonFly
>Description:

>How-To-Repeat:

>Fix:
Patch to make FreeBSD backend compile on DragonFly 1.8 and newer is available at:

http://leaf.dragonflybsd.org/~hasso/pkgsrc-sysutils-smartmontools.patch

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->dfly-pkg-people
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Thu, 13 Sep 2007 20:49:17 +0000
Responsible-Changed-Why:
DragonFly specific problem.


From: Hasso Tepper <hasso@estpak.ee>
To: gnats-bugs@netbsd.org
Cc: "Jeremy C. Reed" <reed@reedmedia.net>,
	shattered@users.sourceforge.net
Subject: Re: pkg/36982
Date: Tue, 9 Oct 2007 11:05:25 +0300

 Jeremy C. Reed wrote:
 > And has your patches been submitted upstream also?

 It's not yet submitted to upstream, because I considered one part of the
 patch (char * cast) as temporary workaround which should be really fixed
 in DragonFly headers. Because I wasn't sure about whether I succeed, I
 didn't submit it yet. 

 DragonFly headers are fixed now, but only in development branch, so patch
 should be used as is in pkgsrc for now. The rest of the patch will be
 submitted to upstream as soon as I'll find time to test the fixes with
 development branch of the upstream.

 -- 
 Hasso Tepper

From: Sergey Svishchev <svs@ropnet.ru>
To: Hasso Tepper <hasso@estpak.ee>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/36982
Date: Thu, 10 Jan 2008 08:25:10 +0300

 On Tue, Oct 09, 2007 at 11:05:25AM +0300, Hasso Tepper wrote:
 >Jeremy C. Reed wrote:
 >> And has your patches been submitted upstream also?
 >
 >It's not yet submitted to upstream, because I considered one part of the
 >patch (char * cast) as temporary workaround which should be really fixed
 >in DragonFly headers. Because I wasn't sure about whether I succeed, I
 >didn't submit it yet. 
 >
 >DragonFly headers are fixed now, but only in development branch, so patch
 >should be used as is in pkgsrc for now. The rest of the patch will be
 >submitted to upstream as soon as I'll find time to test the fixes with
 >development branch of the upstream.

 I have committed submitter's patch to smartmontools HEAD (with minor modifications).

 -- 
 Sergey Svishchev

From: OBATA Akio <obache@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc: 
Subject: PR/36982 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:13:31 +0000
State-Changed-Why:
Updated to version 5.38, it contains DragonFly support.


>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.