NetBSD Problem Report #43948

From www@NetBSD.org  Wed Oct  6 08:51:08 2010
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 A26D863B9FB
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  6 Oct 2010 08:51:08 +0000 (UTC)
Message-Id: <20101006085108.40A8463B907@www.NetBSD.org>
Date: Wed,  6 Oct 2010 08:51:08 +0000 (UTC)
From: daniel.vergien@googlemail.com
Reply-To: daniel.vergien@googlemail.com
To: gnats-bugs@NetBSD.org
Subject: chat/telepathy-glib fails to build with sun c compiler
X-Send-Pr-Version: www-1.0

>Number:         43948
>Category:       pkg
>Synopsis:       chat/telepathy-glib fails to build with sun c compiler
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    solaris-pkg-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 06 08:55:00 +0000 2010
>Closed-Date:    Mon Jul 16 21:24:40 +0000 2018
>Last-Modified:  Mon Jul 16 21:24:40 +0000 2018
>Originator:     Daniel Vergien
>Release:        pkgsrc-current
>Organization:
private
>Environment:
SunOS pkgsrc 5.10 Generic_142910-17 i86pc i386 i86pc
>Description:
telepathy-glib-0.11.11 fails because of:

ibtool: compile:  cc -xc99=all -DHAVE_CONFIG_H -I. -I.. -I/root/tmp/workobjdir-sunspro-current/chat/telepathy-glib/work/.buildlink/include -I/root/tmp/workobjdir-sunspro-current/chat/telepathy-glib/work/.buildlink/include/python2.6 -DG_LOG_DOMAIN=\"tp-glib\" -Wall -Wextra -Wdeclaration-after-statement -Wshadow -Wstrict-prototypes -Wmissing-prototypes -Wsign-compare -Wnested-externs -Wpointer-arith -Wformat-security -Winit-self -Wno-missing-field-initializers -Wno-unused-parameter -D_REENTRANT -D_PTHREADS -I/root/tmp/workobjdir-sunspro-current/chat/telepathy-glib/work/.buildlink/include/dbus-1.0 -I/root/tmp/workobjdir-sunspro-current/chat/telepathy-glib/work/.buildlink/lib/dbus-1.0/include -I/root/tmp/workobjdir-sunspro-current/chat/telepathy-glib/work/.buildlink/include/glib/glib-2.0 -I/root/tmp/workobjdir-sunspro-current/chat/telepathy-glib/work/.buildlink/lib/glib-2.0/include -I/root/tmp/workobjdir-sunspro-current/chat/telepathy-glib/work/.buildlink/include/glib/gio-unix-2.
 0/ -O -c channel-manager.c  -KPIC -DPIC -o .libs/channel-manager.o
"channel-manager.c", line 616: void function cannot return value
cc: acomp failed for channel-manager.c
gmake[3]: *** [channel-manager.lo] Error 1


Reportet upstream: https://bugs.freedesktop.org/show_bug.cgi?id=30644
>How-To-Repeat:

>Fix:
Add these lines to Makefile:

.include "../../mk/compiler.mk"
.if !empty(PKGSRC_COMPILER:Msunpro)
CFLAGS+=    -features=extensions
.endif

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: gls@NetBSD.org
Responsible-Changed-When: Wed, 06 Oct 2010 18:49:17 +0000
Responsible-Changed-Why:
Solaris issue.
The fix looks good to me, but I'd prefer someone used to Solaris to validate it.


From: "OBATA Akio" <obache@netbsd.org>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/43948 (chat/telepathy-glib fails to build with sun c
 compiler)
Date: Thu, 07 Oct 2010 10:00:15 +0900

 Just patch and remove unwanted "return", it's the preferred fix.

State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Mon, 16 Jul 2018 21:24:40 +0000
State-Changed-Why:
Fixed upstream years ago whether pkgsrc remembered to pickup the patch or not. Thanks for the report.


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