Subject: help w/ meta-pkgs/gnome failure on Ultra 10 in 'dasher'
To: None <port-sparc64@NetBSD.org>
From: Greg Evans <gevans@charter.net>
List: port-sparc64
Date: 03/20/2007 11:45:11
Hello,

I Have NetBSD Sparc64 installed on my Sun Ultra10 :) I have previously
kept it using Solaris10, but something failed in the OS and I never
quite got it working right again. I decided to try Aurora Sparc Linux,
but it was not something that seemed ready, so I have now installed my
old friend NetBSD :)

I decided that I wanted to use Gnome and had it happily compiling by
going to /usr/pkgsrc/meta-pkgs/gnome and doing a 'make install'

Woke up this morning to the following:

----------
gmake[4]: Entering directory
`/usr/pkgsrc/editors/dasher/work/dasher-4.2.2/Src/DasherCore'
if c++ -DHAVE_CONFIG_H -I. -I. -I../..   -DPNG_NO_ASSEMBLER_CODE
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2
-I/usr/X11R6/include -O2 -DXTHREADS -I/usr/pkg/include/gtk-2.0
-I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/atk-1.0
-I/usr/pkg/include/cairo -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include
-I/usr/X11R6/include -I/usr/pkg/include/glib/glib-2.0
-I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/freetype2
-I/usr/pkg/include/libpng12   -DORBIT2=3D1 -pthread
-I/usr/pkg/include/gconf/2 -I/usr/pkg/include/orbit-2.0
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include
-DORBIT2=3D1 -pthread -O2 -DXTHREADS
-I/usr/pkg/include/bonobo-activation-2.0
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include
-I/usr/pkg/include/orbit-2.0 -I/usr/pkg/include/libbonobo-2.0
-I/usr/pkg/include/libgnomeui-2.0 -I/usr/pkg/include/libgnome-2.0
-I/usr/pkg/include/libgnomecanvas-2.0 -I/usr/pkg/include/gtk-2.0
-I/usr/pkg/include/libart-2.0 -I/usr/pkg/include/gconf/2
-I/usr/pkg/include/libbonoboui-2.0 -I/usr/pkg/include/gnome-vfs-2.0
-I/usr/pkg/lib/gnome-vfs-2.0/include -I/usr/pkg/include/gnome-keyring-1
-I/usr/pkg/include/pango-1.0 -I/usr/pkg/include
-I/usr/pkg/include/freetype2 -I/usr/pkg/lib/gtk-2.0/include
-I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo -I/usr/X11R6/include
-I/usr/pkg/include/libpng12 -I/usr/pkg/include/libxml2
-I/usr/pkg/include/at-spi-1.0   -O2 -DXTHREADS
-I/usr/pkg/include/libglade-2.0 -I/usr/pkg/include/gtk-2.0
-I/usr/pkg/include/libxml2 -I/usr/pkg/lib/gtk-2.0/include
-I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo
-I/usr/pkg/include/pango-1.0 -I/usr/pkg/include -I/usr/X11R6/include
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include
-I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng12   -DORBIT2=3D1
-pthread -O2 -DXTHREADS -I/usr/pkg/include/libgnome-2.0
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include
-I/usr/pkg/include/orbit-2.0 -I/usr/pkg/include/libbonobo-2.0
-I/usr/pkg/include/gconf/2 -I/usr/pkg/include/gnome-vfs-2.0
-I/usr/pkg/lib/gnome-vfs-2.0/include
-I/usr/pkg/include/bonobo-activation-2.0
-I/usr/pkg/include/libgnomeui-2.0 -I/usr/pkg/include/libgnomecanvas-2.0
-I/usr/pkg/include/gtk-2.0 -I/usr/pkg/include/libart-2.0
-I/usr/pkg/include/libbonoboui-2.0 -I/usr/pkg/include/gnome-keyring-1
-I/usr/pkg/include/pango-1.0 -I/usr/pkg/include
-I/usr/pkg/include/freetype2 -I/usr/pkg/lib/gtk-2.0/include
-I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo -I/usr/X11R6/include
-I/usr/pkg/include/libpng12 -I/usr/pkg/include/libxml2
-DWNCK_I_KNOW_THIS_IS_UNSTABLE -I./../DasherCore -DPROGDATA=3D
\"/usr/pkg/share/dasher\" -I../../intl -I../../intl  -O2
-I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2
-I/usr/X11R6/include -Wall -Wno-non-virtual-dtor -MT FileLogger.o -MD
-MP -MF ".deps/FileLogger.Tpo" -c -o FileLogger.o FileLogger.cpp; \
        then mv -f ".deps/FileLogger.Tpo" ".deps/FileLogger.Po"; else rm
-f ".deps/FileLogger.Tpo"; exit 1; fi
FileLogger.cpp: In member function `std::string
CFileLogger::GetTimeDateStamp()
   ':
FileLogger.cpp:514: error: cannot convert `long int*' to `const time_t*'
for=20
   argument `1' to `char* ctime(const time_t*)'
FileLogger.cpp:541: warning: int format, different type arg (arg 3)

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkgsrc/editors/dasher/work/.gcc/bin/g++ -DHAVE_CONFIG_H -I. -I../..
-DPNG_NO_ASSEMBLER_CODE
-I/usr/pkgsrc/editors/dasher/work/.buildlink/include
-I/usr/pkgsrc/editors/dasher/work/.buildlink/include/freetype2
-I/usr/pkgsrc/editors/dasher/work/.x11-buildlink/include -O2 -DXTHREADS
-I/usr/pkgsrc/editors/dasher/work/.buildlink/include/gtk-2.0
-I/usr/pkgsrc/editors/dasher/work/.buildlink/lib/gtk-2.0/include
-I/usr/pkgsrc/editors/dasher/work/.buildlink/include/atk-1.0
-I/usr/pkgsrc/editors/dasher/work/.buildlink/include/cairo
-I/usr/pkgsrc/editors/dasher/work/.buildlink/include/pango-1.0
-I/usr/pkgsrc/editors/dasher/work/.buildlink/include/glib/glib-2.0
-I/usr/pkgsrc/editors/dasher/work/.buildlink/lib/glib-2.0/include
-I/usr/pkgsrc/editors/dasher/work/.buildlink/include/libpng12 -DORBIT2=3D1
-pthread -I/usr/pkgsrc/editors/dasher/work/.buildlink/include/gconf/2
-I/usr/pkgsrc/editors/dasher/work/.buildlink/include/orbit-2.0 -pthread
-O2
-I/usr/pkgsrc/editors/dasher/work/.buildlink/include/bonobo-activation-2.0 =
-I/usr/pkgsrc/editors/dasher/work/.buildlink/include/libbonobo-2.0 -I/usr/p=
kgsrc/editors/dasher/work/.buildlink/include/libgnomeui-2.0 -I/usr/pkgsrc/e=
ditors/dasher/work/.buildlink/include/libgnome-2.0 -I/usr/pkgsrc/editors/da=
sher/work/.buildlink/include/libgnomecanvas-2.0 -I/usr/pkgsrc/editors/dashe=
r/work/.buildlink/include/libart-2.0 -I/usr/pkgsrc/editors/dasher/work/.bui=
ldlink/include/libbonoboui-2.0 -I/usr/pkgsrc/editors/dasher/work/.buildlink=
/include/gnome-vfs-2.0 -I/usr/pkgsrc/editors/dasher/work/.buildlink/lib/gno=
me-vfs-2.0/include -I/usr/pkgsrc/editors/dasher/work/.buildlink/include/gno=
me-keyring-1 -I/usr/pkgsrc/editors/dasher/work/.buildlink/include/libxml2 -=
I/usr/pkgsrc/editors/dasher/work/.buildlink/include/at-spi-1.0 -O2 -I/usr/p=
kgsrc/editors/dasher/work/.buildlink/include/libglade-2.0 -pthread -O2 -DWN=
CK_I_KNOW_THIS_IS_UNSTABLE -I./../DasherCore -DPROGDATA=3D\"/usr/pkg/share/=
dasher\" -I../../intl -O2 -Wall -Wno-non-virtual-dtor -MT FileLogger.o -MD =
-MP -MF .deps/FileLogger.Tpo -c -o FileLogger.o FileLogger.cpp -L/usr/pkgsr=
c/editors/dasher/work/.buildlink/lib=20
gmake[4]: *** [FileLogger.o] Error 1
gmake[4]: Leaving directory
`/usr/pkgsrc/editors/dasher/work/dasher-4.2.2/Src/DasherCore'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/usr/pkgsrc/editors/dasher/work/dasher-4.2.2/Src/DasherCore'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/pkgsrc/editors/dasher/work/dasher-4.2.2/Src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/pkgsrc/editors/dasher/work/dasher-4.2.2'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/editors/dasher
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/editors/dasher
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/meta-pkgs/gnome
---------

Decided to try again by going to /usr/pkgsrc/editors/dasher itself and
doing 'make clean' and then 'make install'

This is what happened:
FileLogger.cpp: In member function `std::string
CFileLogger::GetTimeDateStamp()
   ':
FileLogger.cpp:514: error: cannot convert `long int*' to `const time_t*'
for=20
   argument `1' to `char* ctime(const time_t*)'
FileLogger.cpp:541: warning: int format, different type arg (arg 3)

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/usr/pkgsrc/editors/dasher/work/.gcc/bin/g++ -DHAVE_CONFIG_H -I. -I../..
-DPNG_NO_ASSEMBLER_CODE
-I/usr/pkgsrc/editors/dasher/work/.buildlink/include
-I/usr/pkgsrc/editors/dasher/work/.buildlink/include/freetype2
-I/usr/pkgsrc/editors/dasher/work/.x11-buildlink/include -O2 -DXTHREADS
-I/usr/pkgsrc/editors/dasher/work/.buildlink/include/gtk-2.0
-I/usr/pkgsrc/editors/dasher/work/.buildlink/lib/gtk-2.0/include
-I/usr/pkgsrc/editors/dasher/work/.buildlink/include/atk-1.0
-I/usr/pkgsrc/editors/dasher/work/.buildlink/include/cairo
-I/usr/pkgsrc/editors/dasher/work/.buildlink/include/pango-1.0
-I/usr/pkgsrc/editors/dasher/work/.buildlink/include/glib/glib-2.0
-I/usr/pkgsrc/editors/dasher/work/.buildlink/lib/glib-2.0/include
-I/usr/pkgsrc/editors/dasher/work/.buildlink/include/libpng12 -DORBIT2=3D1
-pthread -I/usr/pkgsrc/editors/dasher/work/.buildlink/include/gconf/2
-I/usr/pkgsrc/editors/dasher/work/.buildlink/include/orbit-2.0 -pthread
-O2
-I/usr/pkgsrc/editors/dasher/work/.buildlink/include/bonobo-activation-2.0 =
-I/usr/pkgsrc/editors/dasher/work/.buildlink/include/libbonobo-2.0 -I/usr/p=
kgsrc/editors/dasher/work/.buildlink/include/libgnomeui-2.0 -I/usr/pkgsrc/e=
ditors/dasher/work/.buildlink/include/libgnome-2.0 -I/usr/pkgsrc/editors/da=
sher/work/.buildlink/include/libgnomecanvas-2.0 -I/usr/pkgsrc/editors/dashe=
r/work/.buildlink/include/libart-2.0 -I/usr/pkgsrc/editors/dasher/work/.bui=
ldlink/include/libbonoboui-2.0 -I/usr/pkgsrc/editors/dasher/work/.buildlink=
/include/gnome-vfs-2.0 -I/usr/pkgsrc/editors/dasher/work/.buildlink/lib/gno=
me-vfs-2.0/include -I/usr/pkgsrc/editors/dasher/work/.buildlink/include/gno=
me-keyring-1 -I/usr/pkgsrc/editors/dasher/work/.buildlink/include/libxml2 -=
I/usr/pkgsrc/editors/dasher/work/.buildlink/include/at-spi-1.0 -O2 -I/usr/p=
kgsrc/editors/dasher/work/.buildlink/include/libglade-2.0 -pthread -O2 -DWN=
CK_I_KNOW_THIS_IS_UNSTABLE -I./../DasherCore -DPROGDATA=3D\"/usr/pkg/share/=
dasher\" -I../../intl -O2 -Wall -Wno-non-virtual-dtor -MT FileLogger.o -MD =
-MP -MF .deps/FileLogger.Tpo -c -o FileLogger.o FileLogger.cpp -L/usr/pkgsr=
c/editors/dasher/work/.buildlink/lib=20
gmake[4]: *** [FileLogger.o] Error 1
gmake[4]: Leaving directory
`/usr/pkgsrc/editors/dasher/work/dasher-4.2.2/Src/DasherCore'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/usr/pkgsrc/editors/dasher/work/dasher-4.2.2/Src/DasherCore'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/pkgsrc/editors/dasher/work/dasher-4.2.2/Src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/pkgsrc/editors/dasher/work/dasher-4.2.2'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/editors/dasher
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/editors/dasher
Ultra10-NetBSD#=20

So I am now wondering if someone can tell me what I need to do to get
this to compile properly. I suppose a workaround may be to install the
precompiled binary, but I would prefer to continue the build process if
at all possible.

Regards,

Greg Evans=20