Re: dwz error compiling glade on loongson

2020-11-08 Thread Bryan Irvine
That seems to have done it! Thanks Stuart!

On Sun, Nov 8, 2020 at 3:29 AM Stuart Henderson  wrote:

> Move the DEBUG_PACKAGES line above ".include ".
>
>
>
> On 8 November 2020 04:04:44 Bryan Irvine  wrote:
>
> I'm trying to compile glade but getting an error from dwz about 64-bit
>> Dwarf not supported.
>>
>> Writing /usr/ports/pobj/glade-3.36.0/fake-mips64el/debug-pkg/Makefile.new
>> Writing /usr/ports/pobj/glade-3.36.0/fake-mips64el/debug-pkg/PLIST
>> Renaming /usr/ports/pobj/glade-3.36.0/fake-mips64el/debug-pkg/Makefile.new
>> to Makefile
>>
>>> Extracting debug info from
>>>
>> /usr/ports/pobj/glade-3.36.0/fake-mips64el/usr/local/bin/glade
>> dwz:
>> /usr/ports/pobj/glade-3.36.0/fake-mips64el/usr/local/bin/.debug/glade.dbg:
>> 64-bit DWARF not supported
>> *** Error 1 in /usr/ports/pobj/glade-3.36.0/fake-mips64el
>> (debug-pkg/Makefile:26
>>
>> '/usr/ports/pobj/glade-3.36.0/fake-mips64el/usr/local/bin/.debug/glade.dbg')
>> *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3028
>> '_copy-debug-info': @cd /usr/ports/pobj/glade-3.36.0/fake-mips64el &&
>>  exec
>> ...)
>> *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2119
>> '/usr/ports/packages/mips64el/all/glade-3.36.0p0.tgz': @cd
>> /usr/ports/devel/...)
>> *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2605
>> '_internal-package': @case X${_DEPENDS_CACHE} in  X) _DEPENDS_CACHE=$(
>> mktem...)
>> *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2584
>> 'package':
>> @:; cd /usr/ports/devel/glade && PKGPATH=devel/glade make _intern...)
>> *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2137
>> '/var/db/pkg/glade-3.36.0p0/+CONTENTS': @cd /usr/ports/devel/glade &&
>> PKGPAT...)
>> *** Error 2 in /usr/ports/devel/glade (/usr/ports/infrastructure/mk/
>> bsd.port.mk:2584 'install': @lock=glade-3.36.0p0;  export _LOCKS_HELD="
>> ...)
>>
>
>


dwz error compiling glade on loongson

2020-11-07 Thread Bryan Irvine
I'm trying to compile glade but getting an error from dwz about 64-bit
Dwarf not supported.

Writing /usr/ports/pobj/glade-3.36.0/fake-mips64el/debug-pkg/Makefile.new
Writing /usr/ports/pobj/glade-3.36.0/fake-mips64el/debug-pkg/PLIST
Renaming /usr/ports/pobj/glade-3.36.0/fake-mips64el/debug-pkg/Makefile.new
to Makefile
> Extracting debug info from
/usr/ports/pobj/glade-3.36.0/fake-mips64el/usr/local/bin/glade
dwz:
/usr/ports/pobj/glade-3.36.0/fake-mips64el/usr/local/bin/.debug/glade.dbg:
64-bit DWARF not supported
*** Error 1 in /usr/ports/pobj/glade-3.36.0/fake-mips64el
(debug-pkg/Makefile:26
'/usr/ports/pobj/glade-3.36.0/fake-mips64el/usr/local/bin/.debug/glade.dbg')
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3028
'_copy-debug-info': @cd /usr/ports/pobj/glade-3.36.0/fake-mips64el &&  exec
...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2119
'/usr/ports/packages/mips64el/all/glade-3.36.0p0.tgz': @cd
/usr/ports/devel/...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2605
'_internal-package': @case X${_DEPENDS_CACHE} in  X) _DEPENDS_CACHE=$(
mktem...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2584 'package':
@:; cd /usr/ports/devel/glade && PKGPATH=devel/glade make _intern...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2137
'/var/db/pkg/glade-3.36.0p0/+CONTENTS': @cd /usr/ports/devel/glade &&
PKGPAT...)
*** Error 2 in /usr/ports/devel/glade (/usr/ports/infrastructure/mk/
bsd.port.mk:2584 'install': @lock=glade-3.36.0p0;  export _LOCKS_HELD=" ...)


Re: Build fix for textproc/aspell/core on mips64el

2020-02-27 Thread Bryan Irvine
I've tested on Loongson 8089b. Works like a charm! Thanks!

-Bryan

On Fri, Jan 3, 2020 at 2:10 AM Xiyue Deng  wrote:

> Friendly ping.  Also adding Stuart to CC for another look.
>
> Xiyue Deng  writes:
>
> > Friendly ping.
> >
> > Xiyue Deng  writes:
> >
> >> Stuart Henderson  writes:
> >>
> >>> On 2019/12/24 00:29, Xiyue Deng wrote:
>  Hi ports maintainers,
> 
>  Some time ago I reported textproc/aspell/core build issue[1] which was
>  due to a ld.bfd ICE issue.  Recently Stuart and Brian helped me fix
>  several other build failure related to ld.bfd by using ld.lld, and I
>  applied a similar fix to aspell and it also worked.
> 
>  The patch is attached.  As aspell doesn't seem to have a dedicated
>  maintainer someone will be needed to help submit it.  Thanks!
> 
>  [1] https://marc.info/?l=openbsd-ports=154900374211243=2
> 
> >>>
>  Index: Makefile
>  ===
>  RCS file: /cvs/ports/textproc/aspell/core/Makefile,v
>  retrieving revision 1.46
>  diff -u -p -r1.46 Makefile
>  --- Makefile   12 Jul 2019 20:49:56 -  1.46
>  +++ Makefile   24 Dec 2019 07:36:57 -
>  @@ -24,7 +24,7 @@ PERMIT_PACKAGE=  Yes
> 
>   WANTLIB=  c iconv intl m curses pthread ${COMPILER_LIBCXX}
> 
>  -COMPILER =base-clang ports-gcc base-gcc
>  +COMPILER =base-clang ports-clang base-gcc
> >>>
> >>> This may potentially break things on powerpc/sparc64. I think this more
> >>> targetted setup might be better:
> >>>
> >>> COMPILER =  base-clang ports-clang ports-gcc base-gcc
> >>> MODCLANG_ARCHS =mips64 mips64el
> >>>
> 
>   LIB_DEPENDS=  devel/gettext,-runtime
> 
>  @@ -35,6 +35,11 @@ CONFIGURE_ARGS+=--enable-static \
> --enable-curses=ncursesw \
> --enable-dict-dir=${PREFIX}/share/aspell \
> --enable-docdir=${PREFIX}/share/doc/aspell
>  +
>  +.if ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el"
>  +USE_LLD = Yes
>  +CONIFGURE_ENV +=  LD="/usr/bin/ld.lld" LDFLAGS="-fuse-ld=lld"
> >>>
> >>> Setting LD/LDFLAGS should not be needed, that is taken care of by the
> wrapper
> >>> script.
> >>>
> >>> CONFIGURE is misspelt anyway so that line isn't doing anything.
> >>>
>  +.endif
> 
>   post-build:
> cd ${WRKDIR}/${DIST_EN} && \
> >>
> >> Thanks for the comments!  The updated diff is attached.
> >>
> >> Index: Makefile
> >> ===
> >> RCS file: /cvs/ports/textproc/aspell/core/Makefile,v
> >> retrieving revision 1.46
> >> diff -u -p -r1.46 Makefile
> >> --- Makefile 12 Jul 2019 20:49:56 -  1.46
> >> +++ Makefile 24 Dec 2019 14:31:52 -
> >> @@ -24,7 +24,8 @@ PERMIT_PACKAGE=Yes
> >>
> >>  WANTLIB=c iconv intl m curses pthread ${COMPILER_LIBCXX}
> >>
> >> -COMPILER =  base-clang ports-gcc base-gcc
> >> +COMPILER =  base-clang ports-clang ports-gcc base-gcc
> >> +MODCLANG_ARCHS =mips64 mips64el
> >>
> >>  LIB_DEPENDS=devel/gettext,-runtime
> >>
> >> @@ -35,6 +36,10 @@ CONFIGURE_ARGS+=  --enable-static \
> >>  --enable-curses=ncursesw \
> >>  --enable-dict-dir=${PREFIX}/share/aspell \
> >>  --enable-docdir=${PREFIX}/share/doc/aspell
> >> +
> >> +.if ${MACHINE_ARCH} == "mips64" || ${MACHINE_ARCH} == "mips64el"
> >> +USE_LLD =   Yes
> >> +.endif
> >>
> >>  post-build:
> >>  cd ${WRKDIR}/${DIST_EN} && \
>


py-gtk2 fails to compile on loongson

2012-02-03 Thread Bryan Irvine
I'm trying to compile py-gtk2 on a lemote yeeloong and it keeps
failing at the linker.

Any tips on how to get around this?

The lines leading up to the errors are as follows:

cc -shared -fPIC -DPIC -o .libs/_gtk.so -pthread
-I/usr/local/include/pycairo -I/usr/local/include/cairo
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/X11R6/include/pixman-1 -I/usr/X11R6/include
-I/usr/X11R6/include/freetype2 -I/usr/include/dev/pci/drm
-I/usr/local/include/libpng -I/usr/local/include/gtk-2.0
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include/pango-1.0
-I/usr/local/include/gio-unix-2.0/ -I/usr/X11R6/include
-I/usr/local/include/cairo -I/usr/local/include/atk-1.0
-I/usr/X11R6/include/pixman-1 -I/usr/include/dev/pci/drm
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/X11R6/include/freetype2 -O2 -pipe -Wall -fno-strict-aliasing
-std=c9x .libs/_gtk_la-gtk-types.o .libs/_gtk_la-gtkmodule.o
.libs/_gtk_la-gtkobject-support.o .libs/_gtk_la-pygtkcellrenderer.o
.libs/_gtk_la-pygtktreemodel.o .libs/_gtk_la-gtk.o .libs/_gtk_la-gdk.o
-L.libs -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lXinerama -lXi
-lXrandr -lXcursor -lXcomposite -latk-1.0 -lcairo -lpixman-1 -lGL
-lXxf86vm -lXext -lXdamage -lXfixes -ldrm -lpng -lxcb-shm
-lpthread-stubs -lXau -lXdmcp -lxcb-render -lXrender -lxcb
-lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lX11 -lpango-1.0 -lm
-lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lpcre -lintl
-liconv -lfontconfig -lexpat -lfreetype -lz
-Wl,-retain-symbols-file,./.libs/_gtk.exp
.libs/_gtk_la-gtk.o(.text+0x68): In function
`_wrap_gtk_text_attributes__get_bg_stipple':
: relocation truncated to fit: R_MIPS_GOT_DISP _PyGObject_API
.libs/_gtk_la-gtk.o(.text+0xa8): In function
`_wrap_gtk_text_attributes__get_fg_stipple':
: relocation truncated to fit: R_MIPS_GOT_DISP _PyGObject_API
.libs/_gtk_la-gtk.o(.text+0x190): In function
`_wrap_gtk_orientable_get_orientation':
: relocation truncated to fit: R_MIPS_CALL16 gtk_orientable_get_type
.libs/_gtk_la-gtk.o(.text+0x1a4): In function
`_wrap_gtk_orientable_get_orientation':
: relocation truncated to fit: R_MIPS_CALL16 g_type_check_instance_cast
.libs/_gtk_la-gtk.o(.text+0x1b4): In function
`_wrap_gtk_orientable_get_orientation':
: relocation truncated to fit: R_MIPS_CALL16 gtk_orientable_get_orientation
.libs/_gtk_la-gtk.o(.text+0x1c4): In function
`_wrap_gtk_orientable_get_orientation':
: relocation truncated to fit: R_MIPS_CALL16 gtk_orientation_get_type
.libs/_gtk_la-gtk.o(.text+0x1d0): In function
`_wrap_gtk_orientable_get_orientation':
: relocation truncated to fit: R_MIPS_GOT_DISP _PyGObject_API
.libs/_gtk_la-gtk.o(.text+0x238): In function
`_wrap_gtk_orientable_set_orientation':
: relocation truncated to fit: R_MIPS_CALL16 _PyArg_ParseTupleAndKeywords_SizeT
.libs/_gtk_la-gtk.o(.text+0x264): In function
`_wrap_gtk_orientable_set_orientation':
: relocation truncated to fit: R_MIPS_CALL16 gtk_orientation_get_type
.libs/_gtk_la-gtk.o(.text+0x270): In function
`_wrap_gtk_orientable_set_orientation':
: relocation truncated to fit: R_MIPS_GOT_DISP _PyGObject_API
.libs/_gtk_la-gtk.o(.text+0x294): In function
`_wrap_gtk_orientable_set_orientation':
: additional relocation overflows omitted from the output
collect2: ld returned 1 exit status
Error while executing cc -shared -fPIC -DPIC -o .libs/_gtk.so -pthread
-I/usr/local/include/pycairo -I/usr/local/include/cairo
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/X11R6/include/pixman-1 -I/usr/X11R6/include
-I/usr/X11R6/include/freetype2 -I/usr/include/dev/pci/drm
-I/usr/local/include/libpng -I/usr/local/include/gtk-2.0
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include/pango-1.0
-I/usr/local/include/gio-unix-2.0/ -I/usr/X11R6/include
-I/usr/local/include/cairo -I/usr/local/include/atk-1.0
-I/usr/X11R6/include/pixman-1 -I/usr/include/dev/pci/drm
-I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/X11R6/include/freetype2 -O2 -pipe -Wall -fno-strict-aliasing
-std=c9x .libs/_gtk_la-gtk-types.o .libs/_gtk_la-gtkmodule.o
.libs/_gtk_la-gtkobject-support.o .libs/_gtk_la-pygtkcellrenderer.o
.libs/_gtk_la-pygtktreemodel.o .libs/_gtk_la-gtk.o .libs/_gtk_la-gdk.o
-L.libs -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -lXinerama -lXi
-lXrandr -lXcursor -lXcomposite -latk-1.0 -lcairo -lpixman-1 -lGL
-lXxf86vm -lXext -lXdamage -lXfixes -ldrm -lpng -lxcb-shm
-lpthread-stubs -lXau -lXdmcp -lxcb-render -lXrender -lxcb
-lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lX11 -lpango-1.0 -lm
-lgobject-2.0 -lgthread-2.0 -lgmodule-2.0 -lglib-2.0 -lpcre -lintl
-liconv -lfontconfig -lexpat -lfreetype -lz
-Wl,-retain-symbols-file,./.libs/_gtk.exp
*** Error code 1

Stop in /home/ports/pobj/py-gtk2-2.24.0/pygtk-2.24.0/gtk (line 572 of Makefile).
*** Error code 1

Stop in /home/ports/pobj/py-gtk2-2.24.0/pygtk-2.24.0 (line 728 of Makefile).
*** 

Re: doxygen fails to compile on lemote yeeloong

2012-01-25 Thread Bryan Irvine
On Tue, Jan 17, 2012 at 7:36 PM, Bryan Irvine sparcta...@gmail.com wrote:
 Im trying to compile gpsd and doxygen fails to compile (I think gimp
 needs this one too).

update.

I added --english-only to the configure args for doxygen and it
compiled and installed just fine.  I did attempt to adjust ulimits to
insane values first with no change.  Any ideas on a better fix?

-Bryan



doxygen fails to compile on lemote yeeloong

2012-01-17 Thread Bryan Irvine
Im trying to compile gpsd and doxygen fails to compile (I think gimp
needs this one too).

The lines leading up to the failure are:
../lib/libdoxygen.a(language.o)(.text+0x2c): In function
`setTranslator(char const*)':
: relocation truncated to fit: R_MIPS_CALL16 qstricmp(char const*, char const*)
../lib/libdoxygen.a(language.o)(.text+0x44): In function
`setTranslator(char const*)':
: relocation truncated to fit: R_MIPS_CALL16 operator new(unsigned long)
../lib/libdoxygen.a(language.o)(.text+0x50): In function
`setTranslator(char const*)':
: relocation truncated to fit: R_MIPS_GOT_DISP vtable for TranslatorEnglish
../lib/libdoxygen.a(language.o)(.text+0x5c): In function
`setTranslator(char const*)':
: relocation truncated to fit: R_MIPS_GOT_DISP theTranslator
../lib/libdoxygen.a(language.o)(.text+0x64): In function
`setTranslator(char const*)':
: relocation truncated to fit: R_MIPS_GOT_DISP theTranslator
../lib/libdoxygen.a(language.o)(.text+0x98): In function
`setTranslator(char const*)':
: relocation truncated to fit: R_MIPS_CALL16 QCString::~QCString()
../lib/libdoxygen.a(language.o)(.text+0xcc): In function
`setTranslator(char const*)':
: relocation truncated to fit: R_MIPS_CALL16 qstricmp(char const*, char const*)
../lib/libdoxygen.a(language.o)(.text+0xe4): In function
`setTranslator(char const*)':
: relocation truncated to fit: R_MIPS_CALL16 operator new(unsigned long)
../lib/libdoxygen.a(language.o)(.text+0xf0): In function
`setTranslator(char const*)':
: relocation truncated to fit: R_MIPS_GOT_DISP vtable for TranslatorDutch
../lib/libdoxygen.a(language.o)(.text+0xfc): In function
`setTranslator(char const*)':
: relocation truncated to fit: R_MIPS_GOT_DISP theTranslator
../lib/libdoxygen.a(language.o)(.text+0x10c): In function
`setTranslator(char const*)':
: additional relocation overflows omitted from the output
collect2: ld returned 1 exit status
gmake[2]: *** [../bin/doxygen] Error 1
gmake[2]: Leaving directory
`/home/ports/pobj/doxygen-1.7.2.src/doxygen-1.7.2/src'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory
`/home/ports/pobj/doxygen-1.7.2.src/doxygen-1.7.2/src'
gmake: *** [all] Error 2
*** Error code 2

Stop in /home/ports/devel/doxygen (line 2494 of
/usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /home/ports/devel/doxygen (line 2250 of
/usr/ports/infrastructure/mk/bsd.port.mk).


dmesg:

[ using 463944 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California.  All rights reserved.
Copyright (c) 1995-2011 OpenBSD. All rights reserved.  http://www.OpenBSD.org

OpenBSD 5.0 (GENERIC) #26: Wed Aug 17 10:41:08 MDT 2011
dera...@loongson.openbsd.org:/usr/src/sys/arch/loongson/compile/GENERIC
real mem = 1073741824 (1024MB)
avail mem = 1059209216 (1010MB)
mainbus0 at root: Lemote Yeeloong
cpu0 at mainbus0: STC Loongson2F CPU 797 MHz, STC Loongson2F FPU
cpu0: cache L1-I 64KB D 64KB 4 way, L2 512KB 4 way
bonito0 at mainbus0: memory and PCI-X controller, rev 1
pci0 at bonito0 bus 0
rl0 at pci0 dev 7 function 0 Realtek 8139 rev 0x10: irq 5, address
00:23:8b:84:6f:40
rlphy0 at rl0 phy 0: RTL internal PHY
smfb0 at pci0 dev 8 function 0 Silicon Motion LynxEM+ rev 0xb0
wsdisplay0 at smfb0 mux 1: console (std, vt100 emulation)
ohci0 at pci0 dev 9 function 0 NEC USB rev 0x44: irq 7, version 1.0
ehci0 at pci0 dev 9 function 1 NEC USB rev 0x05: irq 7
usb0 at ehci0: USB revision 2.0
uhub0 at usb0 NEC EHCI root hub rev 2.00/1.00 addr 1
glxpcib0 at pci0 dev 14 function 0 AMD CS5536 ISA rev 0x03: rev 3,
32-bit 3579545Hz timer, watchdog, gpio
gpio1 at glxpcib0: 32 pins
pciide0 at pci0 dev 14 function 2 AMD CS5536 IDE rev 0x01: DMA,
channel 0 wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: FUJITSU MHZ2160BH G2
wd0: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
pciide0: channel 1 ignored (disabled)
auglx0 at pci0 dev 14 function 3 AMD CS5536 Audio rev 0x01: isa irq
9, CS5536 AC97
ac97: codec id 0x414c4760 (Avance Logic ALC655 rev 0)
audio0 at auglx0
ohci1 at pci0 dev 14 function 4 AMD CS5536 USB rev 0x02: isa irq 11,
version 1.0, legacy support
ehci1 at pci0 dev 14 function 5 AMD CS5536 USB rev 0x02: isa irq 11
usb1 at ehci1: USB revision 2.0
uhub1 at usb1 AMD EHCI root hub rev 2.00/1.00 addr 1
usb2 at ohci0: USB revision 1.0
uhub2 at usb2 NEC OHCI root hub rev 1.00/1.00 addr 1
isa0 at glxpcib0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
mcclock0 at isa0 port 0x70/2: mc146818 or compatible
ykbec0 at isa0 port 0x381/3
usb3 at ohci1: USB revision 1.0
uhub3 at usb3 AMD OHCI root hub rev 1.00/1.00 addr 1
clock0 at mainbus0: ticker on int5 using count register
apm0 at mainbus0
umass0 at uhub1 port 1 configuration 1 interface 0 Generic
USB2.0-CRW 

whowatch broken on sparc64

2007-03-08 Thread Bryan Irvine

Anyone know why whowatch doesn't work on sparc64?

I'm doing upgrades to 4.0 now so maybe it's fixed.  On 3.8 and 3.9
though it says something about 'can't access' and then if you hit the
enter key it dumps core.

--Bryan



Re: UPDATE: netatalk-2.0.3 take 2

2006-01-10 Thread Bryan Irvine
in /root/netatalk (line 1705 of /usr/ports/infrastructure/mk/bsd.port.mk).
 
 Sorry about that, I just realized I created a patch for a file I
 edited by mistake.  I wonder why my test build did alright but I got
 the error too,  The fix is simple: remove
 patch-etc_afpd_afp_asp_c.patch from the patch folder

This one *seemed* to compile fine.  AFter install it is missing the
afpd.conf file, and uamlist_guest.so doesnt' work.  I even tried
copying over a running config from another server to to check for
config issues.  hrmmm

I'll keep playing with it.  It's nice so far though.



Re: UPDATE: netatalk-2.0.3 take 2

2006-01-10 Thread Bryan Irvine
On 1/10/06, Bryan Irvine [EMAIL PROTECTED] wrote:
 in /root/netatalk (line 1705 of /usr/ports/infrastructure/mk/bsd.port.mk).
  
  Sorry about that, I just realized I created a patch for a file I
  edited by mistake.  I wonder why my test build did alright but I got
  the error too,  The fix is simple: remove
  patch-etc_afpd_afp_asp_c.patch from the patch folder

 This one *seemed* to compile fine.  AFter install it is missing the
 afpd.conf file, and uamlist_guest.so doesnt' work.  I even tried
 copying over a running config from another server to to check for
 config issues.  hrmmm


After a lot of tinkering the uams_guest.so doesnt' seem to work with
the old 1.6 port either.  Perhaps it's an OpenBSD thing?   Veery
strange.



Re: UPDATE: netatalk-2.0.3 take 2

2006-01-10 Thread Bryan Irvine
  This one *seemed* to compile fine.  AFter install it is missing the
  afpd.conf file, and uamlist_guest.so doesnt' work.  I even tried
  copying over a running config from another server to to check for
  config issues.  hrmmm
 

 After a lot of tinkering the uams_guest.so doesnt' seem to work with
 the old 1.6 port either.  Perhaps it's an OpenBSD thing?   Veery
 strange.


Downloaded and compiled from source and guest access works.  Perhaps
it's just a build flag.

--Bryan



Re: UPDATE: netatalk-2.0.3 take 2

2006-01-09 Thread Bryan Irvine
On 12/31/05, Arnaud Bergeron [EMAIL PROTECTED] wrote:
 Here is a updated tarball of my netatalk-2.0.3 port.

 It is a tarball rather than a diff because I have trouble diffing my
 port against what is in cvs.

 I did some changes according to private comments from Ian McWilliam.
 Primarly patches.

 Tested on i386, would need testing especially on 64bit archs (amd64 , alpha).

Here's the output I get on a i386 machine.

# make
===  netatalk-2.0.3 depends on: libtool-1.5.18p2 - found
===  netatalk-2.0.3 depends on: db.4 (db-*) - found
===  Checking files for netatalk-2.0.3
`/usr/ports/distfiles/netatalk-2.0.3.tar.gz' is up to date.
 Checksum OK for netatalk-2.0.3.tar.gz. (sha1)
===  Extracting for netatalk-2.0.3
===  Patching for netatalk-2.0.3
===   Ignoring patchfile patch-bin_megatron_nad_c.orig
===   Ignoring patchfile patch-bin_psorder_psorder_c.orig
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to etc/afpd/afp_asp.c.rej
***   patch-etc_afpd_afp_asp_c did not apply cleanly
===   Ignoring patchfile patch-etc_afpd_directory_c.orig
===   Ignoring patchfile patch-etc_afpd_mangle_c.orig
===   Ignoring patchfile patch-etc_afpd_volume_c.orig
===   Ignoring patchfile patch-etc_cnid_dbd_cnid_metad_c.orig
===   Ignoring patchfile patch-etc_papd_main_c.orig
===   Ignoring patchfile patch-etc_papd_ppd_c.orig
*** Error code 1

Stop in /root/netatalk (line 1705 of /usr/ports/infrastructure/mk/bsd.port.mk).