From owner-freebsd-ports@FreeBSD.ORG  Mon Sep 18 10:07:44 2006
Return-Path: <owner-freebsd-ports@FreeBSD.ORG>
X-Original-To: freebsd-ports@freebsd.org
Delivered-To: freebsd-ports@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 3227716A416
	for <freebsd-ports@freebsd.org>; Mon, 18 Sep 2006 10:07:44 +0000 (UTC)
	(envelope-from piotr.smyrak@heron.pl)
Received: from mail.heron.pl (sys.heron.com.pl [89.174.255.17])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 28D3C43D4C
	for <freebsd-ports@freebsd.org>; Mon, 18 Sep 2006 10:07:42 +0000 (GMT)
	(envelope-from piotr.smyrak@heron.pl)
Received: from [127.0.0.1] (helo=poczta.heron.pl)
	by mail.heron.pl with esmtp (Exim 4.63)
	(envelope-from <piotr.smyrak@heron.pl>) id 1GPG1o-000DGY-JS
	for freebsd-ports@freebsd.org; Mon, 18 Sep 2006 12:07:04 +0200
From: piotr.smyrak@heron.pl
To: freebsd-ports@freebsd.org
Date: Mon, 18 Sep 2006 12:07:04 +0200
Message-Id: <20060918100321.M12733@heron.pl>
In-Reply-To: <450E698A.7090002@ipchains.ru>
References: <20060918084642.M12716@heron.pl> <450E6108.5040801@ipchains.ru>
	<20060918091015.M46428@heron.pl> <450E698A.7090002@ipchains.ru>
X-Mailer: WebMail at HERON 2.32 20040813
X-OriginatingIP: 83.238.99.5 (smyru)
MIME-Version: 1.0
Content-Type: text/plain;
	charset=iso-8859-2
Subject: Re: editors/scite port broken
X-BeenThere: freebsd-ports@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Porting software to FreeBSD <freebsd-ports.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
	<mailto:freebsd-ports-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-ports>
List-Post: <mailto:freebsd-ports@freebsd.org>
List-Help: <mailto:freebsd-ports-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-ports>,
	<mailto:freebsd-ports-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Sep 2006 10:07:44 -0000

On Mon, 18 Sep 2006 13:40:26 +0400, Oleg Dambaev wrote
> piotr.smyrak@heron.pl wrote:
> > On Mon, 18 Sep 2006 13:04:08 +0400, Oleg Dambaev wrote
> >   
> >> piotr.smyrak@heron.pl wrote:
> >>     
> >>> editors/scite breaks at building stage here. I can reproduce 
> >>>       
> > it. I 
> >   
> >>> have been affected by it on 2 systems both running 6-STABLE. 
> >>>
> >>> Here is tail of the build log:
> >>>
> >>> ===>  Building for scite-gtk2-1.71
> >>> c++ `pkg-config --libs gtk+-2.0 gthread-2.0` -lscintilla -
> >>> lscintilla_lexers \
> >>>         `` -DGTK SciTEGTK.o FilePath.o SciTEBase.o 
> >>>       
> > SciTEBuffers.o 
> >   
> >>> SciTEIO.o Exporters.o MultiplexExtension.o 
DirectorExtension.o 
> >>> SciTEProps.o Utf8_16.o LuaExtension.o IFaceTable.o lapi.o 
> >>>       
> > lcode.o 
> >   
> >>> ldebug.o ldo.o ldump.o lfunc.o lgc.o llex.o lmem.o lobject.o 
> >>> lopcodes.o lparser.o lstate.o lstring.o ltable.o ltests.o 
ltm.o 
> >>> lundump.o lvm.o lzio.o lauxlib.o lbaselib.o ldblib.o liolib.o 
> >>> lmathlib.o ltablib.o lstrlib.o loadlib.o -o ../bin/SciTE
> >>> LuaExtension.o(.text+0x26d): In function 
> >>>       
> > `clone_table(lua_State*, 
> >   
> >>> int, bool)':
> >>> [...truncated...]
> >>> gmake: *** [../bin/SciTE] Error 1
> >>> *** Error code 2
> >>>
> >>> Stop in /usr/ports/editors/scite.
> >>>
> >>> Please CC: me when answering.
> >>>   
> >> Can you show your build options? or just `make install'?
> >> You may want also to try ``make GTK1=yes install''
> >
> > Sorry, I should have mentioned that in the original post. I was 
> > building WITH_GTK2. 
> >
> > But seems like toolkit does not have any influence on this:
> >
> > ===>  Building for scite-1.71
> > c++ `pkg-config --libs gtk+` -lscintilla -lscintilla_lexers \
> >         `glib-config --libs gthread` -DGTK SciTEGTK.o 
FilePath.o 
> > SciTEBase.o SciTEBuffers.o SciTEIO.o Exporters.o 
> > MultiplexExtension.o DirectorExtension.o SciTEProps.o Utf8_16.o 
> > LuaExtension.o IFaceTable.o lapi.o lcode.o ldebug.o ldo.o 
ldump.o 
> > lfunc.o lgc.o llex.o lmem.o lobject.o lopcodes.o lparser.o 
lstate.o 
> > lstring.o ltable.o ltests.o ltm.o lundump.o lvm.o lzio.o 
lauxlib.o 
> > lbaselib.o ldblib.o liolib.o lmathlib.o ltablib.o lstrlib.o 
> > loadlib.o -o ../bin/SciTE
> > [... truncated ...]
> > *** Error code 2
> >
> > Stop in /usr/ports/editors/scite.
> 
> Check your pkg_info - I haven't seen anything about that.
> 
> With my settings works fine (don't mention that I run Rel, 
> I have no troubles on STABLE too with same pkg).
> 
> bash-2.05b# uname -a; pkg_info |egrep -i "gtk|scite"; ls 
> -d /var/db/pkg/*|egrep "gtk|scite" FreeBSD 
> killa.users.rbc.ru 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sun 
> May  
> 7 04:42:56 UTC 2006    
>  root@opus.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386 
> gtk-1.2.10_15       Gimp Toolkit for X11 GUI (previous 
> stable version) gtk-2.8.20          Gimp Toolkit for X11 
> GUI (current stable version) scintilla-1.62_2    A full-
> featured free source code editing component for GTK+ scite-
> 1.62_2        A full-featured SCIntilla based Text Editor 
> for GTK/GNOME /var/db/pkg/gtk-1.2.10_15 /var/db/pkg/gtk-2.8.20
> /var/db/pkg/scite-1.62_2
> 
> Do cvsup (portupgrade) to latest sources and try again.

Here it is:

% uname -a ; pkg_info | egrep -i "gtk|scite" ; ls -d /var/db/pkg/
* | egrep "gtk|scite"
FreeBSD psmyrak.intra 6.1-STABLE FreeBSD 6.1-STABLE #1: Wed Aug 23 
12:18:00 CEST 2006     root@psmyrak.intra:/usr/obj/usr/src/sys/JOB  
i386
freeciv-gtk2-2.0.8  A civilisation clone for X11 using GNOME2; 
multiplayer
gail-1.8.11_1       An implementation of the ATK interfaces for 
GTK+ widgets
gftp-2.0.18_2       A free multithreaded GTK-based GUI ftp and sftp 
client
gnugadu2-esound-2.2.9 GTK2 based Gadu-Gadu client for X11
goffice-0.2.1       GLib/GTK+ set of document centric objects and 
utilities
gqview-2.1.1_1      Another gtk2-based graphic file viewer
gtk-1.2.10_15       Gimp Toolkit for X11 GUI (previous stable 
version)
gtk-2.8.20          Gimp Toolkit for X11 GUI (current stable 
version)
gtk-engines2-2.6.10 Theme engine for the gtk+-2.0 toolkit
gtk-send-pr-0.4.7   GTK2 send-pr tool
gtkhtml3-3.10.3     Lightweight HTML rendering/printing/editing 
engine
gtkmm-2.2.12_6      C++ wrapper for Gtk+, Pango, Atk, and Glib
gtkmm-2.8.8         C++ wrapper for Gtk+, Pango, Atk
gtksourceview-1.6.2 A text widget that adds syntax highlighting to 
the GtkTextV
gtkspell-2.0.11_3   A GTK+ 2 spell checking component
leafpad-0.8.9       GTK+ based simple text editor
libgtkhtml-2.11.0_1 Lightweight HTML rendering/printing/editing 
engine
libsexy-0.1.8       Extension widgets for GTK+
mplayer-gtk2-esound-0.99.8 High performance media player/encoder 
supporting many forma
poppler-gtk-0.5.3   Gtk bindings to poppler
py24-gtk-2.8.6      A set of Python bindings for GTK
scintilla-gtk2-1.71 A full-featured free source code editing 
component for GTK+
sylpheed-claws-2.4.0_3 A lightweight and very featureful GTK+ based 
e-mail and new
ubuntulooks-0.9.11  GTK+ 2.x engine from Ubuntu Dapper
vim-gtk2-7.0.94     Vi "workalike", with many additional features
wxgtk2-2.4.2_10     The wxWidgets GUI toolkit with GTK+ bindings
wxgtk2-2.6.3        The wxWidgets GUI toolkit with GTK+ bindings
wxgtk2-common-2.6.3 The wxWidgets GUI toolkit (common files)
wxgtk2-unicode-2.6.3 The wxWidgets GUI toolkit (Unicode)
/var/db/pkg/freeciv-gtk2-2.0.8/
/var/db/pkg/gtk-1.2.10_15/
/var/db/pkg/gtk-2.8.20/
/var/db/pkg/gtk-engines2-2.6.10/
/var/db/pkg/gtk-send-pr-0.4.7/
/var/db/pkg/gtkhtml3-3.10.3/
/var/db/pkg/gtkmm-2.2.12_6/
/var/db/pkg/gtkmm-2.8.8/
/var/db/pkg/gtksourceview-1.6.2/
/var/db/pkg/gtkspell-2.0.11_3/
/var/db/pkg/libgtkhtml-2.11.0_1/
/var/db/pkg/mplayer-gtk2-esound-0.99.8/
/var/db/pkg/poppler-gtk-0.5.3/
/var/db/pkg/py24-gtk-2.8.6/
/var/db/pkg/scintilla-gtk2-1.71/
/var/db/pkg/vim-gtk2-7.0.94/
/var/db/pkg/wxgtk2-2.4.2_10/
/var/db/pkg/wxgtk2-2.6.3/
/var/db/pkg/wxgtk2-common-2.6.3/
/var/db/pkg/wxgtk2-unicode-2.6.3/

As you can see, I do not have scite installed. It was going to be a 
fresh install. The glib1 and gtk1 were pulled during the test 
switch in the port, nothing depends on them anyway.

-- 
 Piotr Smyrak
 piotr.smyrak@heron.pl