NetBSD Problem Report #47808

From oster@mickey.localdomain  Wed May  8 15:59:49 2013
Return-Path: <oster@mickey.localdomain>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id 4D37D63F566
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  8 May 2013 15:59:49 +0000 (UTC)
Message-Id: <20130508143949.05D4E87D2A@mickey.localdomain>
Date: Wed,  8 May 2013 08:39:48 -0600 (CST)
From: oster@netbsd.org
Reply-To: oster@netbsd.org
To: gnats-bugs@gnats.NetBSD.org
Subject: multimedia/kmix fails to build
X-Send-Pr-Version: 3.95

>Number:         47808
>Category:       pkg
>Synopsis:       multimedia/kmix fails to build
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    joerg
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 08 16:00:19 +0000 2013
>Last-Modified:  Wed May 08 16:10:09 +0000 2013
>Originator:     Greg Oster
>Release:        NetBSD 6.1_RC4
>Organization:


Later...

Greg Oster
>Environment:
System: NetBSD mickey 6.1_RC4 NetBSD 6.1_RC4 (QUAD) #0: Tue Apr 30 11:07:51 CST 2013 oster@quad:/u1/builds/build236/src/obj/amd64/u1/builds/build236/src/sys/arch/amd64/compile/QUAD amd64
Architecture: x86_64
Machine: amd64
>Description:

multimedia/kmix fails to build thusly:

...
=> Fixing locale directory references.
=> Fixing CMAKE_MODULE_PATH in CMakeLists.txt
-- The C compiler identification is GNU 4.5.3
-- The CXX compiler identification is GNU 4.5.3

...

Generating kmixprefdlg.moc
Generating mixdevice.moc
/usr/pkgsrc/multimedia/kmix/work.mickey/kmix-4.10.2/backends/mixer_backend.cpp: In member function 'std::tr1::shared_ptr<MixDevice> Mixer_Backend::recommendedMaster()':
/usr/pkgsrc/multimedia/kmix/work.mickey/kmix-4.10.2/backends/mixer_backend.cpp:240:30: error: 'nullptr' was not declared in this scope
/usr/pkgsrc/multimedia/kmix/work.mickey/kmix-4.10.2/backends/mixer_backend.cpp: In member function 'std::tr1::shared_ptr<MixDevice> Mixer_Backend::recommendedMaster()':
/usr/pkgsrc/multimedia/kmix/work.mickey/kmix-4.10.2/backends/mixer_backend.cpp:240:30: error: 'nullptr' was not declared in this scope
--- CMakeFiles/kded_kmixd.dir/backends/mixer_backend.o ---
*** [CMakeFiles/kded_kmixd.dir/backends/mixer_backend.o] Error code 1

make: stopped in /usr/pkgsrc/multimedia/kmix/work.mickey/kmix-4.10.2/_KDE_build
--- CMakeFiles/kdeinit_kmixctrl.dir/backends/mixer_backend.o ---

...



>How-To-Repeat:

	cd /usr/pkgsrc/multimedia/kmix
	make install clean
	*wait for the boom*

>Fix:


The problem started after these changes:

 Module Name:	pkgsrc
 Committed By:	joerg
 Date:		Mon May  6 14:54:57 UTC 2013

 Modified Files:
 	pkgsrc/multimedia/kmix: distinfo
 Added Files:
 	pkgsrc/multimedia/kmix/patches: patch-apps_kmixd.cpp
 	    patch-backends_mixer__backend.cpp
 patch-backends_mixer__mpris2.cpp patch-core_ControlPool.h
 patch-core_MasterControl.h patch-core_mixdevice.h
 patch-core_mixertoolbox.cpp patch-gui_kmixdockwidget.cpp
 patch-gui_viewdockareapopup.cpp

 Log Message:
 Use nullptr, 0 is ambigious. Prefer C++11 interfaces over tr1.  

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->joerg
Responsible-Changed-By: dholland@NetBSD.org
Responsible-Changed-When: Wed, 08 May 2013 16:10:09 +0000
Responsible-Changed-Why:
joerg broke it... er, I mean, over to updater :-)


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