py24-xlib-0.12a patch

2006-07-18 Thread Petr Holub
Hi,

below is a couple of small patches for pypanel to work with the
py-xlib - the problems are in py-xlib, not in pypanel.

Petr


Petr Holub
CESNET z.s.p.o.   Supercomputing Center Brno
Zikova 4 Institute of Compt. Science
162 00 Praha 6, CZMasaryk University
Czech Republic Botanicka 68a, 60200 Brno, CZ
e-mail: [EMAIL PROTECTED]   phone: +420-549493944
 fax: +420-541212747
   e-mail: [EMAIL PROTECTED]



--- /usr/local/lib/python2.4/site-packages/Xlib/support/unix_connect.py.orig
Tue
Jul 18 10:29:47 2006
+++ /usr/local/lib/python2.4/site-packages/Xlib/support/unix_connect.py Tue Jul
18 10:29:43 2006
@@ -23,7 +23,7 @@
 import os
 import socket
 import fcntl
-import FCNTL
+#import FCNTL

 from Xlib import error

@@ -65,7 +65,7 @@
raise error.DisplayConnectionError(dname, str(val))

 # Make sure that the connection isn't inherited in child processes
-fcntl.fcntl(s.fileno(), FCNTL.F_SETFD, FCNTL.FD_CLOEXEC)
+fcntl.fcntl(s.fileno(), fcntl.F_SETFD, fcntl.FD_CLOEXEC)

 return s

--- /usr/local/lib/python2.4/site-packages/Xlib/protocol/display.py.orig
Tue Jul
18 10:35:47 2006
+++ /usr/local/lib/python2.4/site-packages/Xlib/protocol/display.py Tue Jul 
18
10:36:19 2006
@@ -746,7 +746,7 @@

# Decrement it by one, so that we don't remove the request
# that generated these events, if there is such a one.
-   # Bug reported by Ilpo Nyyssönen
+   # Bug reported by Ilpo Nyyssonen
self.get_waiting_request((e.sequence_number - 1) % 65536)

# print 'recv Event:', e

--- /usr/local/lib/python2.4/site-packages/Xlib/protocol/display.py.orig
Tue Jul
18 10:35:47 2006
+++ /usr/local/lib/python2.4/site-packages/Xlib/protocol/display.py Tue Jul 
18
10:36:19 2006
@@ -746,7 +746,7 @@

# Decrement it by one, so that we don't remove the request
# that generated these events, if there is such a one.
-   # Bug reported by Ilpo Nyyssönen
+   # Bug reported by Ilpo Nyyssonen
self.get_waiting_request((e.sequence_number - 1) % 65536)

# print 'recv Event:', e

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


problem with Perl on FreeBSD - Undefined symbol "PL_sv_undef"

2011-01-30 Thread Petr Holub
Hi,

I'm trying to get Perl running with slapd-perl backend of OpenLDAP
server. I've tried various combinations of Perl 5.8 and 5.10 and
OpenLDAP 2.3 and 2.4 with two types of failures:
- OpenLDAP 2.4 + Perl 5.8/5.10: segfault in loading perl backend
  (can send more details if needed)
- OpenLDAP 2.3 + Perl 5.8/5.10:

# slaptest
Error Can't load '/usr/local/lib/perl5/5.8.9/mach/auto/Fcntl/Fcntl.so' for 
module Fcntl:
/usr/local/lib/perl5/5.8.9/mach/auto/Fcntl/Fcntl.so: Undefined symbol 
"PL_sv_undef" at
/usr/local/lib/perl5/5.8.9/mach/XSLoader.pm line 70.
 at /usr/local/lib/perl5/5.8.9/mach/Fcntl.pm line 215
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.8.9/mach/Fcntl.pm 
line 216.
Compilation failed in require at /usr/local/lib/perl5/5.8.9/mach/POSIX.pm line 
21.
BEGIN failed--compilation aborted at /usr/local/lib/perl5/5.8.9/mach/POSIX.pm 
line 21.
Compilation failed in require at H350EnterpriseMerger.pm line 4.
BEGIN failed--compilation aborted at H350EnterpriseMerger.pm line 4.
Compilation failed in require at (eval 2) line 1.
BEGIN failed--compilation aborted at (eval 2) line 1.

It looks like there is something broken in the installation of
embedding part of Perl, which by itself works fine. I've read
that it might be due to conflicting patchlevel.h (and there is
one in /usr/local/include/python2.5/patchlevel.h), but even after
renaming it and rebuilding Perl from port, I'm still getting this
error. Any ideas?

Thanks,
Petr

========
   Petr Holub
CESNET z.s.p.o.   Supercomputing Center Brno
Zikova 4 Institute of Compt. Science
162 00 Praha 6, CZMasaryk University
Czech Republic Botanicka 68a, 60200 Brno, CZ 
e-mail: petr.ho...@cesnet.cz   phone: +420-549493944
 fax: +420-541212747
   e-mail: ho...@ics.muni.cz



___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Postfix - Dovecot SASL problem

2011-08-18 Thread Petr Holub
Hi,

I'm using mail/postfix with WITH_DOVECOT2=yes and mail/dovecot2 with MySQL
backend for users from FreeBSD ports:
dovecot-2.0.12
postfix-2.8.4,1

I'm unable to get SMTP authentication working using Dovecot SASL with

postfix/main.cf:

...
smtpd_sasl_type = dovecot
smtpd_sasl_path = private/auth
smtpd_sasl_auth_enable = yes
smtpd_sasl_security_options = noanonymous, noplaintext
smtpd_sasl_tls_security_options = noanonymous
...

dovecot/dovecot.conf

...
userdb {
  args = /usr/local/etc/dovecot/dovecot-mysql.conf
  driver = sql
}
passdb {
  args = /usr/local/etc/dovecot/dovecot-mysql.conf
  driver = sql
}
service auth {
  unix_listener /var/spool/postfix/private/auth {
group = postfix
mode = 0660
user = postfix
  }
}
...

Postfix works fine if the SASL Auth is turned off. Dovecot works
fine per se for accessing mailboxes via POP3 and IMAP.

When attempting to use Dovecot for SMTP SASL auth, what I get is 

2011-08-18 23:31:57auth: Debug: Loading modules from directory: 
/usr/local/lib/dovecot/auth
Aug 18 23:31:57 mail postfix/smtpd[57411]: fatal: no SASL authentication 
mechanisms
2011-08-18 23:31:57auth: Debug: auth client connected (pid=57411)
Aug 18 23:31:58 mail postfix/master[57398]: warning: process 
/usr/local/libexec/postfix/smtpd pid
57411 exit status 1
Aug 18 23:31:58 mail postfix/master[57398]: warning: 
/usr/local/libexec/postfix/smtpd: bad command
startup -- throttling

even though postfix starts to talk to dovecot accroding to ktrace:

 57671 smtpdCALL  connect(0xe,0x7fffd870,0x6a)
 57671 smtpdSTRU  struct sockaddr { AF_LOCAL, private/auth }
 57671 smtpdNAMI  "private/auth"
 57671 smtpdRET   connect 0
 57671 smtpdCALL  fcntl(0xe,F_GETFL,0)
 57671 smtpdRET   fcntl 6
 57671 smtpdCALL  fcntl(0xe,F_SETFL,O_RDWR)
 57671 smtpdRET   fcntl 0
 57671 smtpdCALL  gettimeofday(0x801434770,0)
 57671 smtpdRET   gettimeofday 0
 57671 smtpdCALL  getpid
 57671 smtpdRET   getpid 57671/0xe147
 57671 smtpdCALL  poll(0x7fffd860,0x1,0x2710)
 57671 smtpdRET   poll 1
 57671 smtpdCALL  write(0xe,0x80144f010,0x17)
 57671 smtpdGIO   fd 14 wrote 23 bytes
   "VERSION 1   0
CPID57671
   "
 57671 smtpdRET   write 23/0x17
 57671 smtpdCALL  gettimeofday(0x801434770,0)
 57671 smtpdRET   gettimeofday 0
 57671 smtpdCALL  poll(0x7fffd850,0x1,0x2710)
 57671 smtpdRET   poll 1
 57671 smtpdCALL  read(0xe,0x80144f010,0x1000)
 57671 smtpdGIO   fd 14 read 117 bytes
   "VERSION 1   1
MECHPLAIN   plaintext
MECHLOGIN   plaintext
SPID57672
CUID1
COOKIE  acc0b5dcc32aed19ae3e6823ad91bc42
DONE
   "
 57671 smtpdRET   read 117/0x75
 57671 smtpdCALL  gettimeofday(0x801434770,0)
 57671 smtpdRET   gettimeofday 0
 57671 smtpdCALL  gettimeofday(0x7fffca80,0)
 57671 smtpdRET   gettimeofday 0
 57671 smtpdCALL  getpid
 57671 smtpdRET   getpid 57671/0xe147
 57671 smtpdCALL  sendto(0x7,0x7fffcac0,0x52,0,0,0)
 57671 smtpdGIO   fd 7 wrote 82 bytes
   "<18>Aug 18 23:33:35 postfix/smtpd[57671]: fatal: no SASL authentication 
mechanisms"
 57671 smtpdRET   sendto 82/0x52


Any ideas where could be the problem?

TIA,
Petr

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


RE: FreeBSD Port: xmlada-gcc-5.0.4_1

2008-04-29 Thread Petr Holub
Hi Sebastien,

I will be out of time in coming weeks. Actually, I already wanted to
make an AWS port but had no time to do that. Can you help with this
by trying to prepare the port yourself? It's not that hard and I can
help you if you get stuck somewhere.

Thanks,
Petr


    Petr Holub
CESNET z.s.p.o.   Supercomputing Center Brno
Zikova 4 Institute of Compt. Science
162 00 Praha 6, CZMasaryk University
Czech Republic Botanicka 68a, 60200 Brno, CZ 
e-mail: [EMAIL PROTECTED]   phone: +420-549493944
 fax: +420-541212747
   e-mail: [EMAIL PROTECTED]


> -Original Message-
> From: Sébastien Morand [mailto:[EMAIL PROTECTED]
> Sent: Sunday, April 27, 2008 11:37 PM
> To: [EMAIL PROTECTED]
> Cc: [EMAIL PROTECTED]
> Subject: FreeBSD Port: xmlada-gcc-5.0.4_1
> 
> Hi,
> 
> I'm a user of Ada, and I wanted to install AWS on my computer. First,
thanks
> for
> the work you did under freebsd.
> 
> I successfully installed AWS but I had to patch xmlada-gcc to do that.
> - I force it to require gcc43
> - I force patches some source with errors (3 files actually)
> 
> Atherwards, patching 4 files in AWS 2.3.0 I was able to install it.
> 
> I thinks it's not a hard job, and maybe prodiding a xmlada-gcc43 plus aws
port
> could be a good thing since it's not a hard job I did.
> 
> Hope this can help, if you want more information about the files I
patched, I
> can provide them.
> 
> Sebastien

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


beryl missing windows decorations

2007-10-08 Thread Petr Holub
Hi,

I've tested current beryl (fresh portsnap from yesterday) on -CURRENT
and found it working (using NVidia 7600 GS, it idles at 98%, even while
windows are wobbling while being moved around with KDE+Beryl), except
when I switch from KWin to Beryl, I lose window decorations (titlebar,
borders, resizing handles). I've made sure, I've
Option "AllowGLXWithComposite" "True"
Option "RenderAccel" "True"
Option "AddARGBGLXVisuals" "True"
in Screen section and
Section "Extensions"
Option "Composite" "Enable"
EndSection
so I assume that should be OK. Any ideas, what's happening and who's to blame?
;-)

Installed packages in question:
beryl-0.2.1
beryl-core-0.2.1_1
beryl-manager-0.2.1_1
beryl-plugins-0.2.1_1
beryl-settings-0.2.1
beryl-settings-bindings-0.2.1
emerald-0.5.2
emerald-themes-0.5.2

xorg.conf is below.

Thanks,
Petr


Section "ServerLayout"
Identifier "X.org Configured"
Screen  0  "Screen0" 0 0
InputDevice"Mouse0" "CorePointer"
InputDevice"Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/local/share/X11/rgb"
ModulePath  "/usr/local/lib/xorg/modules"
FontPath"/usr/local/lib/X11/fonts/misc/"
FontPath"/usr/local/lib/X11/fonts/TTF/"
FontPath"/usr/local/lib/X11/fonts/OTF"
FontPath"/usr/local/lib/X11/fonts/Type1/"
FontPath"/usr/local/lib/X11/fonts/100dpi/"
FontPath"/usr/local/lib/X11/fonts/75dpi/"
FontPath"/usr/local/lib/X11/fonts/Liberation/"
EndSection

Section "Module"
Load   "extmod"
Load   "record"
Load   "dbe"
Load   "xtrap"
Load   "glx"
Load   "freetype"
Load   "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option  "XkbLayout" "us,cz"
Option  "XkbOptions" "grp:shifts_toggle,grp_led:scroll"
Option  "XkbModel" "pc105"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"

#DisplaySize  380   300 # mm
 ### Comment all HorizSync and VertRefresh values to use DDC:
Identifier "Monitor0"
VendorName "HWP"
ModelName  "HP L1955"
HorizSync   30.0 - 83.0
VertRefresh 56.0 - 76.0
Option "DPMS"
EndSection

Section "Device"

### Available Driver options are:-
### Values: : integer, : float, : "True"/"False",
### : "String", : " Hz/kHz/MHz"
### [arg]: arg optional
#Option "SWcursor"  # []
#Option "HWcursor"  # []
#Option "NoAccel"   # []
#Option "ShadowFB"  # []
#Option "UseFBDev"  # []
#Option "Rotate"# []
#Option "VideoKey"  # 
#Option "FlatPanel" # []
#Option "FPDither"  # []
#Option "CrtcNumber"# 
#Option "FPScale"   # []
#Option "FPTweak"   # 
#Option "DualHead"  # []
Identifier "Card0"
Driver "nvidia"
VendorName "nVidia Corporation"
BoardName  "G70 [GeForce 7600 GS]"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor"Monitor0"
DefaultDepth24
Option "AllowGLXWithComposite" "True"
Option "RenderAccel" "True"
Option "AddARGBGLXVisuals" "True"
SubSection "Display"
Viewport0 0
Depth   24
EndSubSection
EndSection

Section "Extensions"
Option "Composite" "Enable"
EndSection

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


RE: beryl missing windows decorations

2007-10-10 Thread Petr Holub
> Beryl doesn't provide that functionality IIRC, I think you also need 
> emerald installed. 
> Emerald provides the window decorations, and is themeable.

That's exactly why I've included emerald in the package list
posted previously.

> Beryl is also outdated as the project has merged back with compiz, 
> creating compiz-fusion

I've also Compiz installed: if I turn it on (through beryl-manager),
I get decorated windows, which are however not resizable using
handles (button-based maximization works) and can't be moved around :(.
The following packages are installed for Compiz:
compiz-0.5.2
compiz-bcop-0.5.2
compiz-fusion-plugins-extra-0.5.2_2
compiz-fusion-plugins-main-0.5.2_1
compiz-fusion-plugins-unsupported-0.5.2_1
compizconfig-backend-gconf-0.5.2
libcompizconfig-0.5.2

Thanks,
Petr

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


RE: beryl missing windows decorations

2007-10-11 Thread Petr Holub
> You don't have all the right plugins enabled.  Install ccsm, and make
> sure you have all of the "Move, Resize, Place" plugins enabled.  Also,
> ensure that you have the "decoration" plugin loaded, which will provide
> you with either gtk-window-decorator or emerald.

That indeed helped - I was looking for some way to configure Compiz,
but was unable to find anything but gconf on my own (which is not
very easy if you don't know what to put there).

Thanks a lot,
Petr

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


lang/gdc on -CURRENT

2007-10-16 Thread Petr Holub
Hi,

is anybody running lang/gdc successfuly on -CURRENT? I've installed
it from fresh portsnap and it gives me weird errors like this:

---

[EMAIL PROTECTED] ~/rum-java/rum-D]$ gdc -o println println.d
/usr/local/lib/gcc/i386-portbld-freebsd7.0/../../libgphobos.a(deh.o)(.text+0x86)
: In function `_D3gcc3deh17parse_lsda_headerFPS3gcc6unwind15_Unwind_ContextPhPS3
gcc3deh16lsda_header_infoZPh':
../.././../gcc-4.1-20070910/libphobos/gcc/deh.d:431: undefined reference to `_Un
wind_GetRegionStart'
/usr/local/lib/gcc/i386-portbld-freebsd7.0/../../libgphobos.a(deh.o)(.text+0x17c
): In function `_D3gcc3deh15personalityImplFiT3gcc6unwind14_Unwind_ActionmPS3gcc
6unwind17_Unwind_ExceptionPS3gcc6unwind15_Unwind_ContextZk':
../.././../gcc-4.1-20070910/libphobos/gcc/deh.d:171: undefined reference to `_Un
wind_GetLanguageSpecificData'
/usr/local/lib/gcc/i386-portbld-freebsd7.0/../../libgphobos.a(deh.o)(.text+0x1b3
):../.././../gcc-4.1-20070910/libphobos/gcc/deh.d:180: undefined reference to `_
Unwind_GetIP'
/usr/local/lib/gcc/i386-portbld-freebsd7.0/../../libgphobos.a(deh.o)(.text+0x2f3
):../.././../gcc-4.1-20070910/libphobos/gcc/deh.d:405: undefined reference to `_
Unwind_SetGR'
/usr/local/lib/gcc/i386-portbld-freebsd7.0/../../libgphobos.a(deh.o)(.text+0x2ff
):../.././../gcc-4.1-20070910/libphobos/gcc/deh.d:407: undefined reference to `_
Unwind_SetGR'
/usr/local/lib/gcc/i386-portbld-freebsd7.0/../../libgphobos.a(deh.o)(.text+0x30a
):../.././../gcc-4.1-20070910/libphobos/gcc/deh.d:409: undefined reference to `_
Unwind_SetIP'
/usr/local/lib/gcc/i386-portbld-freebsd7.0/../../libgphobos.a(deh.o)(.text+0x4f3
): In function `_d_throw':
../.././../gcc-4.1-20070910/libphobos/gcc/deh.d:101: undefined reference to `_Un
wind_RaiseException'
/usr/local/lib/gcc/i386-portbld-freebsd7.0/../../libgphobos.a(object.o)(.text+0x
1867): In function `_D6object6Object14notifyRegisterMFDFC6ObjectZvZv':
../.././../gcc-4.1-20070910/libphobos/internal/object.d:190: undefined reference
 to `_Unwind_Resume'
/usr/local/lib/gcc/i386-portbld-freebsd7.0/../../libgphobos.a(string.o)(.text+0x
2725): In function `_D3std6string9isNumericFYb':
../.././../gcc-4.1-20070910/libphobos/std/string.d:3449: undefined reference to
`_Unwind_Resume'
/usr/local/lib/gcc/i386-portbld-freebsd7.0/../../libgphobos.a(string.o)(.text+0x
3066): In function `_D3std6string7sformatFAaYAa':
../.././../gcc-4.1-20070910/libphobos/std/string.d:2695: undefined reference to
`_Unwind_Resume'
/usr/local/lib/gcc/i386-portbld-freebsd7.0/../../libgphobos.a(string.o)(.text+0x
30bb): In function `_D3std6string6formatFYAa':
../.././../gcc-4.1-20070910/libphobos/std/string.d:2661: undefined reference to
`_Unwind_Resume'
/usr/local/lib/gcc/i386-portbld-freebsd7.0/../../libgphobos.a(stdio.o)(.text+0x1
1d): In function `_D3std5stdio7writefxFPS3std1c5stdio6_iobufAC8TypeInfoPaiZv':
../.././../gcc-4.1-20070910/libphobos/std/stdio.d:137: undefined reference to `_
Unwind_Resume'
/usr/local/lib/gcc/i386-portbld-freebsd7.0/../../libgphobos.a(stdio.o)(.text+0x1
4e):../.././../gcc-4.1-20070910/libphobos/std/stdio.d:252: more undefined refere
nces to `_Unwind_Resume' follow
/usr/local/lib/gcc/i386-portbld-freebsd7.0/../../libgphobos.a(unwind.o)(.text+0x
199): In function `base_of_encoded_value':
../.././../gcc-4.1-20070910/libphobos/gcc/unwind.d:310: undefined reference to `
_Unwind_GetTextRelBase'
/usr/local/lib/gcc/i386-portbld-freebsd7.0/../../libgphobos.a(unwind.o)(.text+0x
1ac):../.././../gcc-4.1-20070910/libphobos/gcc/unwind.d:314: undefined reference
 to `_Unwind_GetRegionStart'
/usr/local/lib/gcc/i386-portbld-freebsd7.0/../../libgphobos.a(unwind.o)(.text+0x
1b5):../.././../gcc-4.1-20070910/libphobos/gcc/unwind.d:312: undefined reference
 to `_Unwind_GetDataRelBase'
/usr/local/lib/gcc/i386-portbld-freebsd7.0/../../libgphobos.a(thread.o)(.text+0x
d9): In function `_D3std6thread6Thread11threadstartUPvZPv':
../.././../gcc-4.1-20070910/libphobos/std/thread.d:987: undefined reference to `
_Unwind_Resume'
/usr/local/lib/gcc/i386-portbld-freebsd7.0/../../libgphobos.a(thread.o)(.text+0x
6c3): In function `_D3std6thread6Thread8pauseAllFZv':
../.././../gcc-4.1-20070910/libphobos/std/thread.d:863: undefined reference to `
_Unwind_Resume'
/usr/local/lib/gcc/i386-portbld-freebsd7.0/../../libgphobos.a(thread.o)(.text+0x
b64): In function `_D3std6thread6Thread5startMFZv':
../.././../gcc-4.1-20070910/libphobos/std/thread.d:604: undefined reference to `
_Unwind_Resume'
/usr/local/lib/gcc/i386-portbld-freebsd7.0/../../libgphobos.a(dgccmain2.o)(.text
+0x138): In function `_d_run_main':
../.././../gcc-4.1-20070910/libphobos/internal/dgccmain2.d:93: undefined referen
ce to `_Unwind_Resume'

---

even for simple test like this:

---
import std.stdio;

void main(char[][] args)
{
writefln("This is a test");
}
---

Of course, it dumps the same problems (with _Unwind_Resume) on more elaborate
code samples as well.

Petr

___
freebsd-ports@freebsd.org mailing list
http://lis

RE: lang/gdc on -CURRENT

2007-10-16 Thread Petr Holub
> is anybody running lang/gdc successfuly on -CURRENT? I've installed
> it from fresh portsnap and it gives me weird errors like this:

Ooops, I forgot to mention at least the following:

[EMAIL PROTECTED] ~]$ uname -a
FreeBSD fbsd-7.fi.muni.cz 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Oct  4 19:50:0
4 CEST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FBSD7  i386
[EMAIL PROTECTED] ~]$ pkg_info | fgrep gdc
gdc-0.24D Front End for GCC
[EMAIL PROTECTED] ~]$ gdc -v
Using built-in specs.
Target: i386-portbld-freebsd7.0
Configured with: ./../gcc-4.1-20070910/configure --disable-nls --with-system-zli
b --with-libiconv-prefix=/usr/local --disable-shared --enable-languages=c,c++,d
--enable-thread-lib=-lpthread --prefix=/usr/local --mandir=/usr/local/man --info
dir=/usr/local/info/ i386-portbld-freebsd7.0
Thread model: posix
gcc version 4.1.3 20070910 (prerelease   (gdc 0.24, using dmd 1.020))

Petr


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


security/heimdal problem on 7.0-PRERELEASE

2007-10-23 Thread Petr Holub
Hi,

after installing security/heimdal on 7.0-PRERELEASE from a fresh
portsnap, I've run into the following problem:

$ kauth
/libexec/ld-elf.so.1: /usr/local/lib/libhx509.so.2: Undefined symbol
"oid_id_pkcs1_rsaEncryption"

Does anybody have a workaround for this?

$ uname -a
FreeBSD fbsd-7.fi.muni.cz 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #5: Thu Oct 18 1
1:07:20 CEST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FBSD7  i386

heimdal-1.0.1


TIA,
Petr


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


RE: security/heimdal problem on 7.0-PRERELEASE

2007-10-25 Thread Petr Holub
So I've discovered the source of the problem which I reported
earlier this week. It's shared library conflict: heimdal-1.0.1
installs it's own newer libasn1.so.8 into /usr/local/lib,
but kauth tries to use /usr/lib/libasn1.so.8 instead, which
doesn't have oid_id_pkcs1_rsaEncryption. How about bumping
version number for the shared library, or updating the library
in the 7.0-PRERELEASE base system?

Petr
 

> -Original Message-
> From: Petr Holub [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, October 23, 2007 4:39 PM
> To: [EMAIL PROTECTED]
> Subject: security/heimdal problem on 7.0-PRERELEASE
> 
> 
> Hi,
> 
> after installing security/heimdal on 7.0-PRERELEASE from a fresh
> portsnap, I've run into the following problem:
> 
> $ kauth
> /libexec/ld-elf.so.1: /usr/local/lib/libhx509.so.2: Undefined symbol 
> "oid_id_pkcs1_rsaEncryption"
> 
> Does anybody have a workaround for this?
> 
> $ uname -a
> FreeBSD fbsd-7.fi.muni.cz 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #5: 
> Thu Oct 18 1
> 1:07:20 CEST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/FBSD7  i386
> 
> heimdal-1.0.1
> 
> 
> TIA,
> Petr
> 
> 
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


lang/gnat-gcc41 build error

2006-10-12 Thread Petr Holub
Hi Karel,

I'm having trouble building lang/gnat-gcc41 from ports on FreeBSD 6.1-RELEASE.

===>   gnat-gcc-4.1.2_1 depends on executable in : gmake - found
===>   gnat-gcc-4.1.2_1 depends on executable in : bison - found
===>   gnat-gcc-4.1.2_1 depends on file: /usr/local/bin/perl5.8.8 - found
===>   gnat-gcc-4.1.2_1 depends on shared library: iconv.3 - found
===>  Configuring for gnat-gcc-4.1.2_1
cd /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20060901 ; contrib/gcc_update --touch
loading cache ./config.cache
checking host system type... i386-portbld-freebsd6.1
checking target system type... i386-portbld-freebsd6.1
checking build system type... i386-portbld-freebsd6.1
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... cc
checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe -g  )
works... yes
checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe -g  ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for gnatbind... gnatbind
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16
checking for correct version of gmp.h... yes
checking for MPFR... no
configure: error:
The following requested languages could not be built: ada
Recognised languages are: c,ada,obj-c++,treelang
===>  Script "..//gcc-4.1-20060901/configure" failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
"/usr/ports/lang/gnat-gcc41/work/build/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1



FreeBSD evenstar.ics.muni.cz 6.1-SECURITY FreeBSD 6.1-SECURITY #0: Mon Aug 28
05:36:36 UTC 2006
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/SMP  i386


Best,
Petr
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:600: checking host system type
configure:621: checking target system type
configure:639: checking build system type
configure:694: checking for a BSD compatible install
configure:747: checking whether ln works
configure:771: checking whether ln -s works
configure:1825: checking for gcc
configure:1938: checking whether the C compiler (cc -O2 -fno-strict-aliasing 
-pipe -g  ) works
configure:1954: cc -o conftest -O2 -fno-strict-aliasing -pipe -gconftest.c  
1>&5
configure:1980: checking whether the C compiler (cc -O2 -fno-strict-aliasing 
-pipe -g  ) is a cross-compiler
configure:1985: checking whether we are using GNU C
configure:1994: cc -E conftest.c
configure:2013: checking whether cc accepts -g
configure:2080: checking for gnatbind
configure:2145: checking whether compiler driver understands Ada
configure:2177: checking how to compare bootstrapped objects
configure:2275: checking for correct version of gmp.h
configure:2288: cc -c -O2 -fno-strict-aliasing -pipe -g  -I/usr/local/include   
conftest.c 1>&5
configure:2301: checking for MPFR
configure:2314: cc -o conftest -O2 -fno-strict-aliasing -pipe -g  
-I/usr/local/includeconftest.c  -L/usr/local/lib -lmpfr -lgmp 1>&5
configure:2308:18: mpfr.h: No such file or directory
configure: In function `main':
configure:2310: error: syntax error before "n"
configure:2310: error: `n' undeclared (first use in this function)
configure:2310: error: (Each undeclared identifier is reported only once
configure:2310: error: for each function it appears in.)
configure: failed program was:
#line 2306 "configure"
#include "confdefs.h"
#include 
#include 
int main() {
mpfr_t n; mpfr_init(n);
; return 0; }
ImageMagick-6.2.9.3
ORBit-0.5.17_3
ORBit2-2.14.3
OpenEXR-1.2.2_1
Xaw3d-1.5E_1
Xbae-4.50.91
XmHTML-1.1.7_3
aalib-1.4.r5_2
acroread7-7.0.8,1
acroreadwrapper-0.0.20060221
adns-1.3_1
akode-2.0,1
akode-plugins-mpc-2.0,1
akode-plugins-mpeg-2.0,1
akode-plugins-oss-2.0,1
akode-plugins-resampler-2.0,1
akode-plugins-xiph-2.0,1
alsaplayer-0.99.75_3
amarok-1.4.3
amspsfnt-1.0_4
apache-ant-1.6.5_2
apr-gdbm-db42-1.2.7_1
arj-3.10.22
arts-1.5.3_1,1
artswrapper-1.5.3
artwiz-fonts-1.0_1
asciidoc-7.1.2
aspell-0.60.4_4
astyle-1.15.3_1
at-spi-1.7.7_1
atk-1.11.4_1
audacity-1.2.4b
autoconf-2.13.000227_5
autoconf-2.53_3
autoconf-2.59_2
automake-1.4.6_2
automake-1.5_2,1
automake-1.9.6
avahi-0.6.13_3
avifile-0.7.43_1,2
axel-1.0b
baghira-0.7_2
bash-3.1.17
bash-completion-20060301
bbftp-3.0.2
beacon-1.3
bison-1.75_2,1
bitmap-fonts-1.0
bitstream-vera-1.10_2
blender-devel-2.40
boehm-gc-6.6_3
bonobo-1.0.22_2
boost-python-1.33.1_2
bsd-airtools-0.3
bsdstats-3.9
buffer-1.19
bug-buddy-2.14.0
cabextract-1.1_1
cairo-1.0.4_1
cdparanoia-3.9.8_8
cdrdao-1.2.1
cdrtools-2.01_5
cinepaint-0.20
cm-super-0.3.3
cmdwatch-0.2.0
cmpsfont-1.0_5
compat4x-i386-5.3_9
compat5x-i386-5.4.0.8_7
conky-1.4.2_1
coreutils-

lang/gnat-gcc41 build error

2006-12-01 Thread Petr Holub
Dear Karel, all,

another problem with building gnat-gcc41 (after I've manually upped
the math/mpfr port to 2.2.1 and installed it).

Thanks,
Petr


===>  Configuring for gnat-gcc-4.1.2_1
cd /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20060901 ; contrib/gcc_update --touch

creating cache ./config.cache
checking host system type... i386-portbld-freebsd6.2
checking target system type... i386-portbld-freebsd6.2
checking build system type... i386-portbld-freebsd6.2
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... cc
checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe -g  ) works..
. yes
checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe -g  ) is a cr
oss-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for gnatbind... gnatbind
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16
checking for correct version of gmp.h... yes
checking for MPFR... yes
configure: error:
The following requested languages could not be built: ada
Recognised languages are: c,ada,obj-c++,treelang
===>  Script "..//gcc-4.1-20060901/configure" failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
"/usr/ports/lang/gnat-gcc41/work/build/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/lang/gnat-gcc41.

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:600: checking host system type
configure:621: checking target system type
configure:639: checking build system type
configure:694: checking for a BSD compatible install
configure:747: checking whether ln works
configure:771: checking whether ln -s works
configure:1825: checking for gcc
configure:1938: checking whether the C compiler (cc -O2 -fno-strict-aliasing 
-pipe -g  ) works
configure:1954: cc -o conftest -O2 -fno-strict-aliasing -pipe -gconftest.c  
1>&5
configure:1980: checking whether the C compiler (cc -O2 -fno-strict-aliasing 
-pipe -g  ) is a cross-compiler
configure:1985: checking whether we are using GNU C
configure:1994: cc -E conftest.c
configure:2013: checking whether cc accepts -g
configure:2080: checking for gnatbind
configure:2145: checking whether compiler driver understands Ada
configure:2177: checking how to compare bootstrapped objects
configure:2275: checking for correct version of gmp.h
configure:2288: cc -c -O2 -fno-strict-aliasing -pipe -g  -I/usr/local/include   
conftest.c 1>&5
configure:2301: checking for MPFR
configure:2314: cc -o conftest -O2 -fno-strict-aliasing -pipe -g  
-I/usr/local/includeconftest.c  -L/usr/local/lib -lmpfr -lgmp 1>&5
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

RE: lang/gnat-gcc41 build error

2006-12-02 Thread Petr Holub
> Please open the Makefile for this port and add flags "--without-gmp
> --without-mpfr" to the CONFIGURE_ARGS variable. Rebuild and tell
> us what happens.

Build error is documented below and in the attachement.

Thanks,
Petr



Making GCC gnat-gcc-4.1.2 for FreeBSD 6.2 target=i386-portbld-freebsd6.2
===>  Extracting for gnat-gcc-4.1.2_1
=> MD5 Checksum OK for gcc-core-4.1-20060901.tar.bz2.
=> SHA256 Checksum OK for gcc-core-4.1-20060901.tar.bz2.
=> MD5 Checksum OK for gcc-ada-4.1-20060901.tar.bz2.
=> SHA256 Checksum OK for gcc-ada-4.1-20060901.tar.bz2.
=> MD5 Checksum OK for gcc-testsuite-4.1-20060901.tar.bz2.
=> SHA256 Checksum OK for gcc-testsuite-4.1-20060901.tar.bz2.
===>   gnat-gcc-4.1.2_1 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Patching for gnat-gcc-4.1.2_1
===>   gnat-gcc-4.1.2_1 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Applying FreeBSD patches for gnat-gcc-4.1.2_1
===>   gnat-gcc-4.1.2_1 depends on executable in : gmake - found
===>   gnat-gcc-4.1.2_1 depends on executable in : bison - found
===>   gnat-gcc-4.1.2_1 depends on file: /usr/local/bin/perl5.8.8 - found
===>   gnat-gcc-4.1.2_1 depends on shared library: iconv.3 - found
===>  Configuring for gnat-gcc-4.1.2_1
cd /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20060901 ; contrib/gcc_update --touch

creating cache ./config.cache
checking host system type... i386-portbld-freebsd6.2
checking target system type... i386-portbld-freebsd6.2
checking build system type... i386-portbld-freebsd6.2
checking for a BSD compatible install... /usr/bin/install -c -o root -g wheel
checking whether ln works... yes
checking whether ln -s works... yes
checking for gcc... cc
checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe -g  ) works..
. yes
checking whether the C compiler (cc -O2 -fno-strict-aliasing -pipe -g  ) is a cr
oss-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for gnatbind... gnatbind
checking whether compiler driver understands Ada... no
checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16
checking for correct version of gmp.h... no
configure: error:
The following requested languages could not be built: ada
Recognised languages are: c,ada,obj-c++,treelang
===>  Script "..//gcc-4.1-20060901/configure" failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
"/usr/ports/lang/gnat-gcc41/work/build/config.log" including the output of
the failure of your make command. Also, it might be a good idea to provide
an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/lang/gnat-gcc41.


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

RE: lang/gnat-gcc41 build error

2006-12-04 Thread Petr Holub
> Yeah, I was able to reproduce the error! Try to replace
> the Makefile with the one attached here.

Now it looks it depends on gnat-gcc34. which fails with the follwing:

Making GCC gnat-gcc-3.4.6 for FreeBSD 6.2 target=i386-portbld-freebsd6.2
===>  Extracting for gnat-gcc-3.4.6_2
=> MD5 Checksum OK for gcc-core-3.4.6.tar.gz.
=> SHA256 Checksum OK for gcc-core-3.4.6.tar.gz.
=> MD5 Checksum OK for gcc-ada-3.4.6.tar.gz.
=> SHA256 Checksum OK for gcc-ada-3.4.6.tar.gz.
===>   gnat-gcc-3.4.6_2 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Patching for gnat-gcc-3.4.6_2
===>   gnat-gcc-3.4.6_2 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Applying FreeBSD patches for gnat-gcc-3.4.6_2
===>   gnat-gcc-3.4.6_2 depends on executable in : gmake - found
===>   gnat-gcc-3.4.6_2 depends on executable in : bison - found
===>   gnat-gcc-3.4.6_2 depends on file: /usr/local/bin/perl5.8.8 - found
===>  Configuring for gnat-gcc-3.4.6_2
cd /usr/ports/lang/gnat-gcc34/work/gcc-3.4.6; contrib/gcc_update --touch
# Ada and C compilers should be the same.
if [ -d  ]; then  /bin/ln -s /adagcc /cc;  fi
ln: /cc: File exists
*** Error code 1

Stop in /usr/ports/lang/gnat-gcc34.

Petr

====
Petr Holub
CESNET z.s.p.o.   Supercomputing Center Brno
Zikova 4 Institute of Compt. Science
162 00 Praha 6, CZMasaryk University
Czech Republic Botanicka 68a, 60200 Brno, CZ 
e-mail: [EMAIL PROTECTED]   phone: +420-549493944
 fax: +420-541212747
   e-mail: [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: lang/gnat-gcc41 build error

2006-12-04 Thread Petr Holub
> > Yeah, I was able to reproduce the error! Try to replace
> > the Makefile with the one attached here.
>
> Now it looks it depends on gnat-gcc34. which fails with the follwing:
>
> Making GCC gnat-gcc-3.4.6 for FreeBSD 6.2 target=i386-portbld-freebsd6.2
> ===>  Extracting for gnat-gcc-3.4.6_2
> => MD5 Checksum OK for gcc-core-3.4.6.tar.gz.
> => SHA256 Checksum OK for gcc-core-3.4.6.tar.gz.
> => MD5 Checksum OK for gcc-ada-3.4.6.tar.gz.
> => SHA256 Checksum OK for gcc-ada-3.4.6.tar.gz.
> ===>   gnat-gcc-3.4.6_2 depends on file: /usr/local/bin/perl5.8.8 - found
> ===>  Patching for gnat-gcc-3.4.6_2
> ===>   gnat-gcc-3.4.6_2 depends on file: /usr/local/bin/perl5.8.8 - found
> ===>  Applying FreeBSD patches for gnat-gcc-3.4.6_2
> ===>   gnat-gcc-3.4.6_2 depends on executable in : gmake - found
> ===>   gnat-gcc-3.4.6_2 depends on executable in : bison - found
> ===>   gnat-gcc-3.4.6_2 depends on file: /usr/local/bin/perl5.8.8 - found
> ===>  Configuring for gnat-gcc-3.4.6_2
> cd /usr/ports/lang/gnat-gcc34/work/gcc-3.4.6; contrib/gcc_update --touch
> # Ada and C compilers should be the same.
> if [ -d  ]; then  /bin/ln -s /adagcc /cc;  fi
> ln: /cc: File exists
> *** Error code 1
>
> Stop in /usr/ports/lang/gnat-gcc34.

Oh sorry. That was an easy one - the previous build, which I interrupted,
has already created the /cc link.

But the next one is:

/usr/local/bin/gnatgcc -c -g   -gnatpg -gnata -g -O1 -fno-inline \
 -I- -I. -Iada -I.././../gcc-3.4.6/gcc/ada .././../gcc-3.4.6/gcc/ada/a-e
xcept.adb -o ada/a-except.o
s-traent.ads:61:01: (style) blank lines not allowed at end of file
a-exexda.adb:346:01: (style) multiple blank lines
a-exextr.adb:216:01: (style) multiple blank lines
gmake[2]: *** [ada/a-except.o] Error 1
gmake[2]: Leaving directory `/usr/ports/lang/gnat-gcc34/work/build/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/usr/ports/lang/gnat-gcc34/work/build/gcc'
gmake: *** [bootstrap] Error 2
*** Error code 2

Stop in /usr/ports/lang/gnat-gcc34.
*** Error code 1

Stop in /usr/ports/lang/gnat-gcc41.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.12835.7 en
v make DEPENDS_TARGET=package
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! lang/gnat-gcc41   (unknown build error)
--->  Packages processed: 0 done, 7 ignored, 0 skipped and 1 failed



... maybe because I have lang/gnat already installed? And why do we
need gnat-gcc34 anyway?

Petr

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


RE: lang/gnat-gcc41 build error

2006-12-10 Thread Petr Holub
Hi Karel,

> if you still have interest in building gnat-gcc41 please
> try the attached ports. It is no longer possible to use
> your own GNAT for bootstrapping; the procedure starts
> with downloading binary version of GNAT 3.15p, which
> builds 3.4, which builds 4.1. You may not like that
> very much, but I'd like you to know that my priority
> is simplicity and stability and that I am grateful for
> your reports which helped me in that direction.

understood. The gnat builds fine on my box - thanks a lot.
You can find output of 'make check' below - it looks there's
something incorrect here as it gets frozen in the middle of
the tests. According to ps, the problematic test is probably
the "c94002f" one. The system is i386 6.2-RC1.

BTW - why is gnat-gcc34 dependent on perl, while
gnat-gcc41 is dependent on libiconv? Is this correct?

I think we should also modify the dependent ports like
gtkada and xmlada (I need to resurrect this one...) to
support both gnat 2005 and gnat-gcc41. Further I should
upgrade gtkada to 2.8.0 and probably we should upgrade
florist and asis and create compatible port for glade and maybe
add aws port (nice to have for building web services in
Ada easily).

Best regards and thanks again,
Petr

========
Petr Holub
CESNET z.s.p.o.   Supercomputing Center Brno
Zikova 4 Institute of Compt. Science
162 00 Praha 6, CZMasaryk University
Czech Republic Botanicka 68a, 60200 Brno, CZ
e-mail: [EMAIL PROTECTED]   phone: +420-549493944
 fax: +420-541212747
   e-mail: [EMAIL PROTECTED]




cd /usr/ports/lang/gnat-gcc41/work/build; export RUNTESTFLAGS='--target_board ''
unix{-pthread}'''; gmake -sk check
gmake[2]: autogen: Command not found
gmake[2]: *** [check] Error 127
gmake[1]: *** [check-fixincludes] Error 2
Making a new config file...
WARNING: Couldn't find the global config file.
Test Run By toor on Mon Dec 11 02:36:46 2006
Native configuration is i386-portbld-freebsd6.2

=== gcc tests ===

Schedule of variations:
unix/-pthread

Running target unix/-pthread
Using /usr/local/share/dejagnu/baseboards/unix.exp as board description file for
 target.
Using /usr/local/share/dejagnu/config/unix.exp as generic interface file for tar
get.
Using /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/config/defa
ult.exp as tool-and-target-specific interface file.
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.c-tor
ture/compile/compile.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/g
cc.c-torture/execute/builtins/builtins.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.c-tor
ture/execute/execute.exp ...
FAIL: gcc.c-torture/execute/conversion.c execution,  -O0
FAIL: gcc.c-torture/execute/conversion.c execution,  -O1
FAIL: gcc.c-torture/execute/conversion.c execution,  -O2
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.c-tor
ture/execute/ieee/ieee.exp ...
FAIL: gcc.c-torture/execute/ieee/copysign1.c execution,  -O3 -fomit-frame-pointe
r
FAIL: gcc.c-torture/execute/ieee/copysign1.c execution,  -O3 -fomit-frame-pointe
r -funroll-loops
FAIL: gcc.c-torture/execute/ieee/copysign1.c execution,  -O3 -fomit-frame-pointe
r -funroll-all-loops -finline-functions
FAIL: gcc.c-torture/execute/ieee/copysign1.c execution,  -O3 -g
FAIL: gcc.c-torture/execute/ieee/copysign1.c execution,  -Os
FAIL: gcc.c-torture/execute/ieee/copysign2.c execution,  -O0
FAIL: gcc.c-torture/execute/ieee/copysign2.c execution,  -O1
FAIL: gcc.c-torture/execute/ieee/copysign2.c execution,  -O2
FAIL: gcc.c-torture/execute/ieee/copysign2.c execution,  -O3 -fomit-frame-pointe
r
FAIL: gcc.c-torture/execute/ieee/copysign2.c execution,  -O3 -fomit-frame-pointe
r -funroll-loops
FAIL: gcc.c-torture/execute/ieee/copysign2.c execution,  -O3 -fomit-frame-pointe
r -funroll-all-loops -finline-functions
FAIL: gcc.c-torture/execute/ieee/copysign2.c execution,  -O3 -g
FAIL: gcc.c-torture/execute/ieee/copysign2.c execution,  -Os
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.c-tor
ture/unsorted/unsorted.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/ch
arset/charset.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/co
mpat/compat.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/co
mpat/struct-layout-1.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/cp
p/cpp.exp ...
Running /usr/ports/lang/gnat-gcc41/work/gcc-4.1-20061201/gcc/testsuite/gcc.dg/cp
p/trad/trad.exp ...
Runni

RE: lang/gnat-gcc41 build error

2006-12-10 Thread Petr Holub
> BTW - why is gnat-gcc34 dependent on perl, while
> gnat-gcc41 is dependent on libiconv? Is this correct?

Another issue - why is gnatmem not being built on FreeBSD?
I have it in GNAT/GPL on Linux and it works fine - is it
somehow strongly platform-dependent?

Petr

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


missing libgnat-GPL2005.a

2006-12-24 Thread Petr Holub
 (GNAT/GPL 2005) is seriously
missing libgnat-GPL2005.a (note that gnat-GPL2005 is never mentioned
in the project files, so it must be a kind of implicit dependency).
If I make a copy of libgnat.so to libgnat-GPL2005.a in
/usr/local/lib/gcc/i386-portbld-freebsd6.2/3.4.5/adalib,
it passes successfuly. However, any other workaround (including
copying the libgnat-GPL2005.a to ${working_dir} and using
-largs -L${working_dir} or modifying the project files) didn't
work and it looks like gnatmake is just ignoring these options
for some reason (maybe because it is building a shared library?).

Do you have idea for any other workaround except for modifying
the lang/gnat so that it creates libgnat-GPL2005.a in
/usr/local/lib/gcc/i386-portbld-freebsd6.2/3.4.5/adalib?
If no, would it be possible to modify the port so that it
creates the libgnat-GPL2005.a?

BTW, lang/gnat-gcc41 is just fine here and compiles and builds
the xmlada cleanly.

Thanks,
Petr


    Petr Holub
CESNET z.s.p.o.   Supercomputing Center Brno
Zikova 4 Institute of Compt. Science
162 00 Praha 6, CZMasaryk University
Czech Republic Botanicka 68a, 60200 Brno, CZ
e-mail: [EMAIL PROTECTED]   phone: +420-549493944
 fax: +420-541212747
   e-mail: [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: lang/gnat-gcc41 build error

2006-12-24 Thread Petr Holub
> GNAT/GPL and GNAT/GCC are two different products. I made
> gnat-gcc* ports as an experimental alternative to the gnat
> port (GNAT 2005/GPL). They are not meant to be complete or
> supported neither they are expected to pass all the tests.
> These are actually not the problems of the porting process
> but development of the GCC itself, so I suggest you find
> more on their mailing lists.

Well, I've found even more interesting problem with this ACAT
test c94002f, which keeps hanging. When it's compiled with
xgcc (part of the ACAT test during 'make check'), it really
hangs indefinitely. However, when compiled with the gcc41
installed into ${PREFIX}/bin/gcc41 as a part of the
lang/gnat-gcc41 installation, the test just passes OK.
This is confusing for me - I'd assume that the tests are
done using the same compilers as the ones installed...

(This has nothing to do with GNAT 2005/GPL port, which I know
it's distinct.)

Petr

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


RE: missing libgnat-GPL2005.a

2006-12-27 Thread Petr Holub
> It looks like a bug in gnatmake and/or gnatgcc.  I've built and 
> installed all three versions of gnat from ports, and all three versions 
> install the normative environment library as libgnat.a.  It shouldn't be 
> possible to build too many working programs without correctly linking to 
> libgnat.a, so I'm curious as to what's going wrong to trigger this error.

I think it's combination of gnatmake building shared library
and using gnat project (GPR) for that purpose. I will try to
find out if I can trigger this on some simpler scenario, e.g.
building simple binary using GPR similar to the one used in
XMLAda.

Petr

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