NetBSD Problem Report #30584
From dauphin@enst.fr Thu Jun 23 13:32:30 2005
Return-Path: <dauphin@enst.fr>
Received: from smtp2.enst.fr (revol1.enst.fr [137.194.32.27])
by narn.netbsd.org (Postfix) with ESMTP id 0BB3C63B116
for <gnats-bugs@gnats.netbsd.org>; Thu, 23 Jun 2005 13:32:30 +0000 (UTC)
Message-Id: <1119533547.0@bi.enst.fr>
Date: Thu, 23 Jun 2005 15:32:27 +0200
From: "Gilles Dauphin" <dauphin@enst.fr>
To: "gnats bugs" <gnats-bugs@netbsd.org>
Subject: gtk-send-pr-0.4.5 - Solaris10 don't compile
X-Send-Pr-Version: gtk-send-pr 0.4.5
X-GNATS-Notify:
>Number: 30584
>Category: pkg
>Synopsis: gtk-send-pr-0.4.5 - Solaris10 don't compile
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: solaris-pkg-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Jun 23 13:33:00 +0000 2005
>Closed-Date: Fri Aug 04 23:29:29 +0000 2006
>Last-Modified: Fri Aug 04 23:29:29 +0000 2006
>Originator: Gilles Dauphin
>Release: SunOS 5.10 i86pc
>Organization:
ENST
>Environment:
System: SunOS bi.enst.fr 5.10 Generic i86pc
>Description:
gtk-send-pr dont' compile on Solaris10
>How-To-Repeat:
gcc -O -Wall -g -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/openwin/include -I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/pkg/include -D_REENTRANT -D_REENTRANT -c gtk_ui.c
gtk_ui.c: In function `fill_pr':
gtk_ui.c:1044: warning: implicit declaration of function `strsep'
gtk_ui.c:1044: warning: assignment makes pointer from integer without a cast
gtk_ui.c:1063: warning: implicit declaration of function `gtk_combo_box_get_active_text'
gtk_ui.c:1063: warning: assignment makes pointer from integer without a cast
gtk_ui.c: In function `update_profile':
gtk_ui.c:1256: warning: assignment makes pointer from integer without a cast
gcc -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lmlib -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -lesmtp -lssl -lcrypto -lsocket -lpthread -lrt -lpthread -lrt -o gtk-send-pr main.o gtk_ui.o user_settings.o smtp.o file.o uname_gather.o
Undefined first referenced
symbol in file
strsep gtk_ui.o
gtk_combo_box_get_active_text gtk_ui.o
ld: fatal: Symbol referencing errors. No output written to gtk-send-pr
collect2: ld returned 1 exit status
*** Error code 1
Stop.
bmake: stopped in /cal/nfs5/siav/dauphin/pub/tools/gtk-send-pr-0.4.5
>Fix:
For Solaris10 add the following line to gtk_ui.c
#define strsep strpbrk
#if !GTK_CHECK_VERSION(2,6,0)
gchar *
gtk_combo_box_get_active_text (GtkComboBox *combo_box)
{
GtkTreeIter iter;
gchar *text = NULL;
GtkTreeModel* model = gtk_combo_box_get_model(combo_box);
if (gtk_combo_box_get_active_iter (combo_box, &iter))
gtk_tree_model_get (model, &iter, 0, &text, -1);
return text;
}
#endif
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: wiz@netbsd.org
Responsible-Changed-When: Thu, 23 Jun 2005 17:12:45 +0000
Responsible-Changed-Why:
Solaris pkgsrc problem.
From: grant beattie <grant@netbsd.org>
To: gnats-bugs@netbsd.org
Cc:
Subject: PR/30584 CVS commit: pkgsrc/sysutils/gtk-send-pr
Date: Sun, 21 Aug 2005 12:39:36 +0000 (UTC)
Module Name: pkgsrc
Committed By: grant
Date: Sun Aug 21 12:39:36 UTC 2005
Modified Files:
pkgsrc/sysutils/gtk-send-pr: Makefile
Log Message:
define strsep=strpbrk on Solaris.
fixes part of PR pkg/30584.
To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 pkgsrc/sysutils/gtk-send-pr/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: grant@netbsd.org
State-Changed-When: Sun, 21 Aug 2005 12:40:51 +0000
State-Changed-Why:
this package now builds for me on Solaris 9.
can you update your tree and let me know if it builds for you now?
if it makes any difference, the gtk2+ dependency installed on my system
is gtk2+-2.6.8.
From: "Gilles.Dauphin" <dauphin@enst.fr>
To: "gnats bugs" <gnats-bugs@netbsd.org>
Cc:
Subject: pkg/30584
Date: Tue, 23 Aug 2005 11:10:38 +0200
>Submitter-Id: net
>Originator: Gilles.Dauphin
>Organization: ENST
>Confidential: no
>Synopsis: pkg/30584
>Severity: non-critical
>Priority: low
>Category: pkg
>Class: sw-bug
>Release: SunOS 5.10 i86pc
>Environment:
System: SunOS redhot.enst.fr 5.10 Generic_118844-11 i86pc
>Description:
In reply to Re: pkg/30584 and test gtk-send-pr-0.4.5
>How-To-Repeat:
>Fix:
gtk-send-pr-0.4.5 work for me with 'own' patch to x11/fixesext
------------------------------------------------------------
diff -bu builtin.mk.orig builtin.mk
--- builtin.mk.orig Tue Aug 23 09:59:00 2005
+++ builtin.mk Tue Aug 23 10:26:20 2005
@@ -22,8 +22,16 @@
# of one of the pkgsrc-installed X11 distributions.
#
. if exists(${H_XFIXESPROTO}) && exists(${H_XFIXESWIRE})
+. if ${OPSYS} == "SunOS" && ${OS_VERSION} == "5.10"
+# that is not correct, but work. In solaris10 Xfixes is release 3.0
+# The actual pkgsrc release is 2.0 (23 Aug 2005). So, making the lib would
+# work. It install the wanted fixesext.pc in the right place:
+# /usr/pkg/lib/pkgconfig/fixesext.pc
+IS_BUILTIN.fixesext= no
+. else
IS_BUILTIN.fixesext= yes
. endif
+. endif
.endif
MAKEVARS+= IS_BUILTIN.fixesext
------------------------------------------------
You can close this send if you receive this mail
just a test sorry,
From: Gilles Dauphin <Gilles.Dauphin@enst.fr>
To: solaris-pkg-people@netbsd.org, pkgsrc-bugs@netbsd.org,
gnats-admin@netbsd.org, grant@netbsd.org, dauphin@enst.fr
Cc:
Subject: Re: pkg/30584
Date: Mon, 22 Aug 2005 15:00:42 +0200 (CEST)
> From: grant@netbsd.org
>
> Synopsis: gtk-send-pr-0.4.5 - Solaris10 don't compile
>
> State-Changed-From-To: open->feedback
> State-Changed-By: grant@netbsd.org
> State-Changed-When: Sun, 21 Aug 2005 12:40:51 +0000
> State-Changed-Why:
> this package now builds for me on Solaris 9.
>
> can you update your tree and let me know if it builds for you now?
>
> if it makes any difference, the gtk2+ dependency installed on my system
> is gtk2+-2.6.8.
>
>
I update , but don't compile because of Xfixes
[root@redhot 174] bmake
===> Checking for vulnerabilities in gtk-send-pr-0.4.5
=> Checksum SHA1 OK for gtk-send-pr-0.4.5.tar.bz2.
=> Checksum RMD160 OK for gtk-send-pr-0.4.5.tar.bz2.
===> Extracting for gtk-send-pr-0.4.5
===> Required installed package libesmtp>=1.0.3nb1: libesmtp-1.0.3nb1 found
===> Required installed package openssl>=0.9.7d: openssl-0.9.7f found
===> Required package gtk2+>=2.6.4nb1: NOT found
===> Verifying reinstall for ../../x11/gtk2
===> Checking for vulnerabilities in gtk2+-2.6.9nb1
=> Checksum SHA1 OK for gtk+-2.6.9.tar.bz2.
=> Checksum RMD160 OK for gtk+-2.6.9.tar.bz2.
===> Extracting for gtk2+-2.6.9nb1
===> Required installed package xdg-dirs>=1.1: xdg-dirs-1.2 found
===> Required installed package atk>=1.8.0nb1: atk-1.10.1 found
===> Required installed package pango>=1.8.0: pango-1.8.2 found
===> Required installed package glib2>=2.6.2: glib2-2.6.6nb1 found
===> Required installed package gettext-lib>=0.11.5nb4: gettext-lib-0.11.5nb4
found
===> Required installed package Xft2>=2.1.6nb1: Xft2-2.1.6nb1 found
===> Required installed package fontconfig>=2.2.96nb1: fontconfig-2.3.2 found
===> Required installed package expat>=1.95.8nb2: expat-1.95.8nb2 found
===> Required installed package freetype2>=2.1.9nb1: freetype2-2.1.10 found
===> Required installed package png>=1.2.6nb1: png-1.2.8 found
===> Required installed package tiff>=3.7.2nb1: tiff-3.7.3 found
===> Required installed package jpeg>=6bnb2: jpeg-6bnb3 found
===> Required package xcursor>=1.1.1nb2: NOT found
===> Verifying reinstall for ../../x11/xcursor
===> Checking for vulnerabilities in xcursor-1.1.2
=> Checksum SHA1 OK for libXcursor-1.1.2.tar.bz2.
=> Checksum RMD160 OK for libXcursor-1.1.2.tar.bz2.
===> Extracting for xcursor-1.1.2
===> Required package Xfixes>=2.0.1nb1: NOT found
===> Verifying reinstall for ../../x11/Xfixes
===> Checking for vulnerabilities in Xfixes-2.0.1nb1
===> Configuring for Xfixes-2.0.1nb1
=> Adding rpaths to pkgconfig files.
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
configure: loading cache /dev/null
./configure[1392]: ./configure[1156]:: not found
checking for a BSD-compatible install... /usr/ucb/install -c -o root -g root
checking whether build environment is sane... yes
checking for gawk... /usr/bin/nawk
checking whether make sets $(MAKE)... yes
checking for i386-sun-solaris2-strip... no
checking for strip... strip
checking whether to enable maintainer-specific portions of Makefiles... no
checking for i386-sun-solaris2-gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... i386-pc-solaris2.10
checking host system type... i386-sun-solaris2
checking for a sed that does not truncate output...
/usr/pkgsrc/x11/Xfixes/work/.tools/bin/sed
checking for egrep... grep -E
checking for ld used by gcc... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking for /usr/ccs/bin/ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i386-sun-solaris2-g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for i386-sun-solaris2-g77... f77
checking whether we are using the GNU Fortran 77 compiler... no
checking whether f77 accepts -g... no
checking the maximum length of command line arguments... 262144
checking command to parse nm output from gcc object... failed
checking for objdir... .libs
checking for i386-sun-solaris2-ar... no
checking for ar... ar
checking for i386-sun-solaris2-ranlib... no
checking for ranlib... ranlib
checking for i386-sun-solaris2-strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/ccs/bin/ld) supports shared libraries...
yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... solaris2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/ccs/bin/ld
checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries...
yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/ccs/bin/ld) supports shared libraries...
yes
checking dynamic linker characteristics... solaris2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for f77 option to produce PIC... -fPIC
checking if f77 PIC flag -fPIC works... no
checking if f77 supports -c -o file.o... no
checking whether the f77 linker (/usr/ccs/bin/ld) supports shared libraries...
yes
checking dynamic linker characteristics... ./configure[13983]: f77: not found
solaris2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... no
checking for x11... checking for X... libraries /usr/openwin/lib, headers
/usr/openwin/include
checking whether -R must be followed by a space... no
checking for gethostbyname... no
checking for gethostbyname in -lnsl... yes
checking for connect... no
checking for connect in -lsocket... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XTHREADS in Xlib... yes
checking for fixesext >= 2.0... Package fixesext was not found in the pkg-config
search path. Perhaps you should add the directory containing `fixesext.pc' to
the PKG_CONFIG_PATH environment variable No package 'fixesext' found
configure: error: Library requirements (fixesext >= 2.0) not met; consider
adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a
nonstandard prefix so pkg-config can find them.
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/x11/Xfixes
===>
===> There was an error during the ``configure'' phase.
===> Please investigate the following for more information:
===> * config.log
===> * /usr/pkgsrc/x11/Xfixes/work/.work.log
===>
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/x11/Xfixes
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/x11/Xfixes
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/x11/xcursor
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/x11/xcursor
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/x11/xcursor
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/x11/gtk2
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/x11/gtk2
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/x11/gtk2
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/sysutils/gtk-send-pr
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/sysutils/gtk-send-pr
[root@redhot 175]
From: grant beattie <grant@NetBSD.org>
To: Gilles Dauphin <Gilles.Dauphin@enst.fr>
Cc: solaris-pkg-people@netbsd.org, pkgsrc-bugs@netbsd.org,
gnats-admin@netbsd.org, dauphin@enst.fr
Subject: Re: pkg/30584
Date: Tue, 23 Aug 2005 16:18:02 +1000
On Mon, Aug 22, 2005 at 03:00:42PM +0200, Gilles Dauphin wrote:
>
> > From: grant@netbsd.org
> >
> > Synopsis: gtk-send-pr-0.4.5 - Solaris10 don't compile
> >
> > State-Changed-From-To: open->feedback
> > State-Changed-By: grant@netbsd.org
> > State-Changed-When: Sun, 21 Aug 2005 12:40:51 +0000
> > State-Changed-Why:
> > this package now builds for me on Solaris 9.
> >
> > can you update your tree and let me know if it builds for you now?
> >
> > if it makes any difference, the gtk2+ dependency installed on my system
> > is gtk2+-2.6.8.
> >
> >
>
> I update , but don't compile because of Xfixes
ok - this is a separate problem. I saw a mention of this on tech-pkg@
recently. I'll look at adding builtin.mk support for Xfixes in
Solaris10.
thanks.
grant.
State-Changed-From-To: feedback->open
State-Changed-By: wiz@netbsd.org
State-Changed-When: Sat, 17 Sep 2005 20:03:34 +0000
State-Changed-Why:
Feedback provided.
State-Changed-From-To: open->closed
State-Changed-By: markd@netbsd.org
State-Changed-When: Fri, 04 Aug 2006 23:29:29 +0000
State-Changed-Why:
problem fixed. remaining issue is PR 31086.
>Unformatted:
(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.