NetBSD Problem Report #43948

From  Wed Oct  6 08:51:08 2010
Return-Path: <>
Received: from ( [])
	by (Postfix) with ESMTP id A26D863B9FB
	for <>; Wed,  6 Oct 2010 08:51:08 +0000 (UTC)
Message-Id: <>
Date: Wed,  6 Oct 2010 08:51:08 +0000 (UTC)
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:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 06 08:55:00 +0000 2010
>Last-Modified:  Thu Oct 07 01:05:02 +0000 2010
>Originator:     Daniel Vergien
>Release:        pkgsrc-current
SunOS pkgsrc 5.10 Generic_142910-17 i86pc i386 i86pc
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:

Add these lines to Makefile:

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



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

From: "OBATA Akio" <>
Subject: Re: pkg/43948 (chat/telepathy-glib fails to build with sun c
Date: Thu, 07 Oct 2010 10:00:15 +0900

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


NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD:,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.