NetBSD Problem Report #36141

From dauphin@enst.fr  Thu Apr 12 13:15:13 2007
Return-Path: <dauphin@enst.fr>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 7756163BAE7
	for <gnats-bugs@gnats.netbsd.org>; Thu, 12 Apr 2007 13:15:13 +0000 (UTC)
Message-Id: <1176383709.20519@bi.enst.fr>
Date: Thu, 12 Apr 2007 15:15:09 +0200
From: "Gilles Dauphin" <dauphin@enst.fr>
To: "gnats bugs" <gnats-bugs@NetBSD.org>
Subject: graphics/gthumb Solaris10 amd64 gcc
X-Send-Pr-Version: gtk-send-pr 0.4.5 
X-GNATS-Notify:

>Number:         36141
>Category:       pkg
>Synopsis:       graphics/gthumb Solaris10 amd64 gcc
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    solaris-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 12 13:20:00 +0000 2007
>Last-Modified:  Thu Apr 12 14:30:01 +0000 2007
>Originator:     Gilles Dauphin
>Release:        SunOS 5.10 i86pc
>Organization:
ENST 
>Environment:


System: SunOS bi.enst.fr 5.10 Generic_118855-19 i86pc


>Description:


cket -lXtst -ldb4 -R/usr/pkg/lib -R/pkg/obj/graphics/gthumb/work/.buildlink/lib
ld: warning: symbol `monitor' has differing types:
        (file main.o type=OBJT; file /lib/amd64/libc.so type=FUNC);
        main.o definition taken
ld: warning: symbol `monitor' has differing types:
        (file main.o type=OBJT; file /lib/amd64/libc.so type=FUNC);
Undefined                       first referenced
 symbol                             in file
mkdtemp                             ../libgthumb/.libs/libgthumb.so
ld: fatal: Symbol referencing errors. No output written to .libs/gthumb
collect2: ld returned 1 exit status

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/pkg/obj/graphics/gthumb/work/.gcc/bin/gcc -O -I/pkg/obj/graphics/gthumb/work/.b
uildlink/include -I/pkg/obj/graphics/gthumb/work/.buildlink/include/freetype2 -I
/pkg/obj/graphics/gthumb/work/.buildlink/include/db4 -Wl,-R/usr/pkg/lib -o .libs
/gthumb bookmark-list.o catalog-list.o dlg-bookmarks.o dlg-brightness-contrast.o
 dlg-catalog.o dlg-categories.o dlg-change-date.o dlg-color-balance.o dlg-commen
t.o dlg-convert.o dlg-crop.o dlg-file-utils.o dlg-hue-saturation.o dlg-image-pro
p.o dlg-open-with.o dlg-posterize.o dlg-preferences.o dlg-redeye-removal.o dlg-r
ename-series.o dlg-reset-exif.o dlg-scale-image.o dlg-scale-series.o dlg-write-t
o-cd.o gs-fade.o gth-batch-op.o gth-browser.o gth-browser-actions-callbacks.o gt
h-category-selection-dialog.o gth-dir-list.o gth-exif-data-viewer.o gth-filter-b
ar.o gth-folder-selection-dialog.o gth-fullscreen.o gth-fullscreen-actions-callb
acks.o gth-image-history.o gth-image-selector.o gth-location.o gth-monitor.o gth
-viewer.o gth-viewer-actions-callbacks.o gth-window.o gth-window-actions-callbac
ks.o gth-window-utils.o gthumb-preloader.o gtkcellrendererthreestates.o main.o t
otem-scrsaver.o rotation-utils.o -L/pkg/obj/graphics/gthumb/work/.buildlink/lib 
../libgthumb/jpegutils/.libs/libgthumb-jpegutils.a ../libgthumb/.libs/libgthumb.
so -R/usr/pkg/lib -m64  -lgnomeui-2 -lbonoboui-2 -lSM -lICE -lgnome-keyring -lgn
ome-2 -lesd -laudiofile -lpopt -lbonobo-2 -lbonobo-activation -lORBitCosNaming-2
 -lgnomecanvas-2 -lart_lgpl_2 -lgnomevfs-2 -ldbus-glib-1 -ldbus-1 -lgnutls -ltas
n1 -lgcrypt -lgpg-error -lgconf-2 -lORBit-2 -lresolv -lgthread-2.0 -lpthread -lt
hread -lrt -lexif -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0 -lgdk
_pixbuf-2.0 -lpangocairo-1.0 -lpangoft2-1.0 -lpango-1.0 -lcairo -lfontconfig -lf
reetype -lexpat -lglitz -lpng12 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -l
tiff -ljpeg -lc -lm -lz -lXrender -lXext -lX11 -lXau -lXdmcp -lnsl -lsocket -lXt
st -ldb4



>How-To-Repeat:


bmake


>Fix:





>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: snj@netbsd.org
Responsible-Changed-When: Thu, 12 Apr 2007 14:07:36 +0000
Responsible-Changed-Why:
Solaris problem.


From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
To: solaris-pkg-people@NetBSD.org, pkg-manager@NetBSD.org,
	pkgsrc-bugs@NetBSD.org, gnats-admin@NetBSD.org, snj@NetBSD.org,
	dauphin@enst.fr, gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/36141 (graphics/gthumb Solaris10 amd64 gcc)
Date: Thu, 12 Apr 2007 16:15:57 +0200 (CEST)

 > From: snj@NetBSD.org
 > To: solaris-pkg-people@NetBSD.org, pkg-manager@NetBSD.org, 
 pkgsrc-bugs@NetBSD.org, gnats-admin@NetBSD.org, snj@NetBSD.org, "Gilles Dauphin" 
 <dauphin@enst.fr>
 > Subject: Re: pkg/36141 (graphics/gthumb Solaris10 amd64 gcc)
 > X-Gnats-Was-Stupid: no
 > Cc: 
 > Date: Thu, 12 Apr 2007 14:07:37 +0000 (UTC)
 > 
 > Synopsis: graphics/gthumb Solaris10 amd64 gcc
 > 
 > Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
 > Responsible-Changed-By: snj@netbsd.org
 > Responsible-Changed-When: Thu, 12 Apr 2007 14:07:36 +0000
 > Responsible-Changed-Why:
 > Solaris problem.

 Is this patch correct?

 --- libgthumb/file-utils.c.orig Tue Apr 10 09:50:23 2007
 +++ libgthumb/file-utils.c      Thu Apr 12 16:08:01 2007
 @@ -2209,11 +2209,13 @@
  {
         char *tmppath;
         char *retval;
 +       int status;

         tmppath = (char*) g_build_filename (g_get_tmp_dir (), "gthumb.XXXXXX", 
 NULL);

 -       retval = mkdtemp (tmppath);
 -       if (retval == NULL)
 +       retval = mktemp(tmppath);
 +       status = mkdir (retval,0700);
 +       if (status != 0)
                 g_free(tmppath);

         return retval;

From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/36141 (graphics/gthumb Solaris10 amd64 gcc)
Date: Thu, 12 Apr 2007 16:25:44 +0200

 On Thu, Apr 12, 2007 at 02:20:02PM +0000, Gilles Dauphin wrote:
 >  Is this patch correct?

 I'd object it. libnbcompat provides mkdtemp.

 Joerg

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