Re: games/traindirector: Help reproduce problem on AMD

2008-11-26 Thread Guido Falsi

Wesley Shields wrote:

On Wed, Nov 26, 2008 at 06:21:36PM +0100, Guido Falsi wrote:

On Sat, Nov 22, 2008 at 09:06:22PM +0200, Ion-Mihai Tetcu wrote:

On Fri, 21 Nov 2008 23:46:11 +0100

[...]

As usual...I forgot the attachment, sorry, here it is.


This fixes it for me.  I'll go ahead and commit this tonight.


Very good! So I will not file a PR. Thank you for your time and patience



Thanks for taking care of this and in your work on the port.


That's a pleasure! :)

--
Guido Falsi <[EMAIL PROTECTED]>
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: games/traindirector: Help reproduce problem on AMD

2008-11-26 Thread Wesley Shields
On Wed, Nov 26, 2008 at 06:21:36PM +0100, Guido Falsi wrote:
> On Sat, Nov 22, 2008 at 09:06:22PM +0200, Ion-Mihai Tetcu wrote:
> > On Fri, 21 Nov 2008 23:46:11 +0100
> [...]
> 
> As usual...I forgot the attachment, sorry, here it is.

This fixes it for me.  I'll go ahead and commit this tonight.

Thanks for taking care of this and in your work on the port.

-- WXS
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: games/traindirector: Help reproduce problem on AMD

2008-11-26 Thread Wesley Shields
On Wed, Nov 26, 2008 at 06:20:32PM +0100, Guido Falsi wrote:
> On Sat, Nov 22, 2008 at 09:06:22PM +0200, Ion-Mihai Tetcu wrote:
> 
> > Download the package that should contain it from the link I gave you
> > and verify if it is where it should be then.
> > 
> > > The test machine I build is a very clean one, a clean install with
> > > just ntpd and xorg running, then I installed wxgtk and traindirector.
> > 
> > Try make install in your port without having any other installed and
> > see what happens.
> > It might be something environment related.
> > 
> > > I'll try those flags, but I really can't see how they can affect it.
> > 
> > No, I don't see either and anyway I test on a pristine env. tinderbox
> > and it dies the same.
> 
> At last I think I got it. The port is still referencing /usr/X11R6. I
> suspect that QAT and pointyhat are not symlinking it to /usr/local, so
> the port fails.
> 
> I'm attaching a patch to the port to fix this. Could someone please try
> this patch on a tinderbox and report? If all is ok I'll send a PR. It
> works ok here, but I'd like to be sure.

I'll add it to my queue and get back to you shortly.

-- WXS
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: games/traindirector: Help reproduce problem on AMD

2008-11-26 Thread Guido Falsi
On Sat, Nov 22, 2008 at 09:06:22PM +0200, Ion-Mihai Tetcu wrote:
> On Fri, 21 Nov 2008 23:46:11 +0100
[...]

As usual...I forgot the attachment, sorry, here it is.

-- 
Guido Falsi <[EMAIL PROTECTED]>
diff -ruN traindirector.old/Makefile traindirector/Makefile
--- traindirector.old/Makefile	2008-11-26 18:04:56.0 +0100
+++ traindirector/Makefile	2008-11-21 15:53:41.0 +0100
@@ -14,8 +14,6 @@
 MAINTAINER=	[EMAIL PROTECTED]
 COMMENT=	Train controller simulation
 
-BROKEN=		linker error (linker error: http://T64.TecNik93.com/logs/7-STABLE-FTP/traindirector-3.5.log)
-
 NO_WRKSUBDIR=	yes
 
 USE_GMAKE=	yes
diff -ruN traindirector.old/files/patch-Makefile.fc9 traindirector/files/patch-Makefile.fc9
--- traindirector.old/files/patch-Makefile.fc9	2008-11-26 18:04:56.0 +0100
+++ traindirector/files/patch-Makefile.fc9	2008-11-26 17:43:09.0 +0100
@@ -1,5 +1,5 @@
 Makefile.fc9.orig	2008-08-31 18:53:10.0 +0300
-+++ Makefile.fc9	2008-09-07 04:07:22.0 +0300
+--- Makefile.fc9.orig	2008-08-31 18:53:10.0 +0200
 Makefile.fc9	2008-11-26 17:42:43.0 +0100
 @@ -20,16 +20,16 @@
  LDFLAGS_GUI = 
  CXX = g++
@@ -8,15 +8,16 @@
 +CXXFLAGS += -pthread -Wall -Wundef -Wno-ctor-dtor-privacy
  #CPPFLAGS = -D__WXDEBUG__  -DGTK_NO_CHECK_CASTS -pthread -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DwxUSE_UNICODE=1 -I.
 -CPPFLAGS = -DGTK_NO_CHECK_CASTS -pthread -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DwxUSE_UNICODE=1 -I.  -I/usr/include/wx-2.8 -I/usr/lib/wx/include/gtk2-unicode-release-2.8
+-LDFLAGS = -pthread   -L/usr/X11R6/lib 
 +CPPFLAGS += -DGTK_NO_CHECK_CASTS -pthread -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DwxUSE_UNICODE=1 -I.  -I/usr/local/include/wx-2.8 -I/usr/local/lib/wx/include/gtk2-unicode-release-2.8
- LDFLAGS = -pthread   -L/usr/X11R6/lib 
++LDFLAGS = -pthread   -L/usr/local/lib 
  WX_LIB_FLAVOUR = 
  TOOLKIT = GTK
  TOOLKIT_LOWERCASE = gtk
  TOOLKIT_VERSION = 2
 -EXTRALIBS = -pthread   -L/usr/X11R6/lib -lz -ldl -lm 
 -EXTRALIBS_GUI = -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl -lgthread-2.0 -lglib-2.0 -lXinerama -lXxf86vm -lpng -lz -ljpeg -ltiff
-+EXTRALIBS = -pthread   -L/usr/X11R6/lib -lz -lm 
++EXTRALIBS = -pthread   -L/usr/local/lib -lz -lm 
 +EXTRALIBS_GUI = -Wl,--export-dynamic -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lXinerama -lXxf86vm -lpng -lz -ljpeg -ltiff
  EXTRALIBS_SDL = 
  HOST_SUFFIX = 
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: games/traindirector: Help reproduce problem on AMD

2008-11-26 Thread Guido Falsi
On Sat, Nov 22, 2008 at 09:06:22PM +0200, Ion-Mihai Tetcu wrote:

> Download the package that should contain it from the link I gave you
> and verify if it is where it should be then.
> 
> > The test machine I build is a very clean one, a clean install with
> > just ntpd and xorg running, then I installed wxgtk and traindirector.
> 
> Try make install in your port without having any other installed and
> see what happens.
> It might be something environment related.
> 
> > I'll try those flags, but I really can't see how they can affect it.
> 
> No, I don't see either and anyway I test on a pristine env. tinderbox
> and it dies the same.

At last I think I got it. The port is still referencing /usr/X11R6. I
suspect that QAT and pointyhat are not symlinking it to /usr/local, so
the port fails.

I'm attaching a patch to the port to fix this. Could someone please try
this patch on a tinderbox and report? If all is ok I'll send a PR. It
works ok here, but I'd like to be sure.

Thank you in advance!

-- 
Guido Falsi <[EMAIL PROTECTED]>
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: games/traindirector: Help reproduce problem on AMD

2008-11-22 Thread Ion-Mihai Tetcu
On Fri, 21 Nov 2008 23:46:11 +0100
Guido Falsi <[EMAIL PROTECTED]> wrote:

> Wesley Shields wrote:
> >>> I checked the plist, which states the file QAT can't find should
> >>> be there.
> >>>
> >>> I went on to install FreeBSD-amd64 on a spare PC at work and tried
> >>> compiling the port and it works like a charm. I can't really
> >>> reproduce the problem.
> >>>
> >>> How should I proceed? Any help would be appreciated. Thank you.
> >>>
> >>> I don't want to blame it on QAT, but if I can't test the problem I
> >>> really don't know how to fix it.
> >> I'll test it again on an other amd tinderbox. Please allow me until
> >> tomorrow for that.
> > 
> > I tested this on an AMD64 tinderbox of my own and I duplicated the
> > same failure seen by the QAT.  Are you building everything with the
> > same flags as used by QAT?  The three important ones that I know
> > QAT uses are:
> > 
> > NOPORTDOCS
> > NOPORTEXAMPLES
> > NOPORTDATA
> > 
> > I don't see how these could have an impact on your testing but I'm
> > just throwing it out there.
> 
> Unluckily, as I said, the only amd64 machine I could find is at work,
> so I can't do much testing till Monday.
> 
> I'm puzzled because QAT tells me it can't find -lwx_gtk2u_adv-2.8,
> but the file should be there. Could you please check if you have such
> a library under /usr/local/lib? I can't see how the port could find
> it sometimes and fail some others...
> 
> My port looks like doing it's best to find it, but sometimes it
> appears not to be there. Tinderboxes use packages for dependencies,
> maybe some problem with wxgtk2.8 pkg?

Download the package that should contain it from the link I gave you
and verify if it is where it should be then.

> The test machine I build is a very clean one, a clean install with
> just ntpd and xorg running, then I installed wxgtk and traindirector.

Try make install in your port without having any other installed and
see what happens.
It might be something environment related.

> I'll try those flags, but I really can't see how they can affect it.

No, I don't see either and anyway I test on a pristine env. tinderbox
and it dies the same.


-- 
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> [EMAIL PROTECTED], PGP Key ID 057E9F8B493A297B


signature.asc
Description: PGP signature


Re: games/traindirector: Help reproduce problem on AMD

2008-11-21 Thread Guido Falsi

Wesley Shields wrote:

I checked the plist, which states the file QAT can't find should be
there.

I went on to install FreeBSD-amd64 on a spare PC at work and tried
compiling the port and it works like a charm. I can't really reproduce
the problem.

How should I proceed? Any help would be appreciated. Thank you.

I don't want to blame it on QAT, but if I can't test the problem I
really don't know how to fix it.

I'll test it again on an other amd tinderbox. Please allow me until
tomorrow for that.


I tested this on an AMD64 tinderbox of my own and I duplicated the same
failure seen by the QAT.  Are you building everything with the same
flags as used by QAT?  The three important ones that I know QAT uses
are:

NOPORTDOCS
NOPORTEXAMPLES
NOPORTDATA

I don't see how these could have an impact on your testing but I'm just
throwing it out there.


Unluckily, as I said, the only amd64 machine I could find is at work, so 
I can't do much testing till Monday.


I'm puzzled because QAT tells me it can't find -lwx_gtk2u_adv-2.8, but 
the file should be there. Could you please check if you have such a 
library under /usr/local/lib? I can't see how the port could find it 
sometimes and fail some others...


My port looks like doing it's best to find it, but sometimes it appears 
not to be there. Tinderboxes use packages for dependencies, maybe some 
problem with wxgtk2.8 pkg?


The test machine I build is a very clean one, a clean install with just 
ntpd and xorg running, then I installed wxgtk and traindirector. I'll 
try those flags, but I really can't see how they can affect it.


I'm also just throwing ideas, because I really can't get to this error...

--
Guido Falsi <[EMAIL PROTECTED]>
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: games/traindirector: Help reproduce problem on AMD

2008-11-21 Thread Wesley Shields
On Fri, Nov 21, 2008 at 06:57:50PM +0200, Ion-Mihai Tetcu wrote:
> On Fri, 21 Nov 2008 16:07:41 +0100
> Guido Falsi <[EMAIL PROTECTED]> wrote:
> 
> > On Tue, Nov 18, 2008 at 06:52:28PM +0200, Ion-Mihai Tetcu wrote:
> > > > Hi!
> > > > 
> > > > QAT reported me a problem with my port on AMD64.
> > > > 
> > > > here is the report:
> > > > 
> > > > http://t64.tecnik93.com/logs/7-STABLE-FTP/traindirector-3.5.log
> > > > 
> > > > I tried it on my machines but I can't see any problem on i386, it
> > > > looks like and AMD64 problem.
> > > > 
> > > > Could someone with some amd64 hardware help me a little?
> > > > 
> > > > I'd like to know, if you have wxgtk installed, what it is
> > > > installing exactly, could someone send me the +CONTENTS file for
> > > > the wxgtk2-unicode-* package?
> > > 
> > > Grab the packages from here:
> > > http://t64.tecnik93.com/packages/7-STABLE-FTP/
> > 
> > Hi again.
> > 
> > I checked the plist, which states the file QAT can't find should be
> > there.
> > 
> > I went on to install FreeBSD-amd64 on a spare PC at work and tried
> > compiling the port and it works like a charm. I can't really reproduce
> > the problem.
> > 
> > How should I proceed? Any help would be appreciated. Thank you.
> > 
> > I don't want to blame it on QAT, but if I can't test the problem I
> > really don't know how to fix it.
> 
> I'll test it again on an other amd tinderbox. Please allow me until
> tomorrow for that.

I tested this on an AMD64 tinderbox of my own and I duplicated the same
failure seen by the QAT.  Are you building everything with the same
flags as used by QAT?  The three important ones that I know QAT uses
are:

NOPORTDOCS
NOPORTEXAMPLES
NOPORTDATA

I don't see how these could have an impact on your testing but I'm just
throwing it out there.

-- WXS
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: games/traindirector: Help reproduce problem on AMD

2008-11-21 Thread Ion-Mihai Tetcu
On Fri, 21 Nov 2008 16:07:41 +0100
Guido Falsi <[EMAIL PROTECTED]> wrote:

> On Tue, Nov 18, 2008 at 06:52:28PM +0200, Ion-Mihai Tetcu wrote:
> > > Hi!
> > > 
> > > QAT reported me a problem with my port on AMD64.
> > > 
> > > here is the report:
> > > 
> > > http://t64.tecnik93.com/logs/7-STABLE-FTP/traindirector-3.5.log
> > > 
> > > I tried it on my machines but I can't see any problem on i386, it
> > > looks like and AMD64 problem.
> > > 
> > > Could someone with some amd64 hardware help me a little?
> > > 
> > > I'd like to know, if you have wxgtk installed, what it is
> > > installing exactly, could someone send me the +CONTENTS file for
> > > the wxgtk2-unicode-* package?
> > 
> > Grab the packages from here:
> > http://t64.tecnik93.com/packages/7-STABLE-FTP/
> 
> Hi again.
> 
> I checked the plist, which states the file QAT can't find should be
> there.
> 
> I went on to install FreeBSD-amd64 on a spare PC at work and tried
> compiling the port and it works like a charm. I can't really reproduce
> the problem.
> 
> How should I proceed? Any help would be appreciated. Thank you.
> 
> I don't want to blame it on QAT, but if I can't test the problem I
> really don't know how to fix it.

I'll test it again on an other amd tinderbox. Please allow me until
tomorrow for that.


-- 
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> [EMAIL PROTECTED], PGP Key ID 057E9F8B493A297B


signature.asc
Description: PGP signature


Re: games/traindirector: Help reproduce problem on AMD

2008-11-21 Thread Guido Falsi
On Tue, Nov 18, 2008 at 06:52:28PM +0200, Ion-Mihai Tetcu wrote:
> > Hi!
> > 
> > QAT reported me a problem with my port on AMD64.
> > 
> > here is the report:
> > 
> > http://t64.tecnik93.com/logs/7-STABLE-FTP/traindirector-3.5.log
> > 
> > I tried it on my machines but I can't see any problem on i386, it
> > looks like and AMD64 problem.
> > 
> > Could someone with some amd64 hardware help me a little?
> > 
> > I'd like to know, if you have wxgtk installed, what it is installing
> > exactly, could someone send me the +CONTENTS file for the
> > wxgtk2-unicode-* package?
> 
> Grab the packages from here:
> http://t64.tecnik93.com/packages/7-STABLE-FTP/

Hi again.

I checked the plist, which states the file QAT can't find should be
there.

I went on to install FreeBSD-amd64 on a spare PC at work and tried
compiling the port and it works like a charm. I can't really reproduce
the problem.

How should I proceed? Any help would be appreciated. Thank you.

I don't want to blame it on QAT, but if I can't test the problem I
really don't know how to fix it.

-- 
Guido Falsi <[EMAIL PROTECTED]>
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: games/traindirector: Help reproduce problem on AMD

2008-11-18 Thread Ion-Mihai Tetcu
On Tue, 18 Nov 2008 11:39:04 +0100
Guido Falsi <[EMAIL PROTECTED]> wrote:

> Hi!
> 
> QAT reported me a problem with my port on AMD64.
> 
> here is the report:
> 
> http://t64.tecnik93.com/logs/7-STABLE-FTP/traindirector-3.5.log
> 
> I tried it on my machines but I can't see any problem on i386, it
> looks like and AMD64 problem.
> 
> Could someone with some amd64 hardware help me a little?
> 
> I'd like to know, if you have wxgtk installed, what it is installing
> exactly, could someone send me the +CONTENTS file for the
> wxgtk2-unicode-* package?

Grab the packages from here:
http://t64.tecnik93.com/packages/7-STABLE-FTP/


-- 
IOnut - Un^d^dregistered ;) FreeBSD "user"
  "Intellectual Property" is   nowhere near as valuable   as "Intellect"
FreeBSD committer -> [EMAIL PROTECTED], PGP Key ID 057E9F8B493A297B


signature.asc
Description: PGP signature