Kouichirou Hiratsuka | 1 May 2008 14:13
Picon

Re: Two build failures: openoffice2 & gnash

Hello,

At Wed, 30 Apr 2008 13:41:57 +0200,
Vincent wrote:
> I've tried to build the openoffice2 package (I know this might be deemed 
> preposterous) and it fails in the libxmlsec module:
> 
> 
> checking for crypto library... configure: error: At least one crypto 
> library should exist for xmlsec1
> dmake: Error code 1, (...)

Please let me know your OS, its version and PKG_OPTIONS.openoffice2.

> As for gnash, there are several problems:
> 
> * When selecting an alternative renderer (instead of agg), via 
> PKG_OPTIONS, agg won't get away, so I end up with both agg and opengl 
> selected, for example, and configure doesn't like that.

It seems that the renderer should be selected from one of agg, cairo
or opengl.  I've attached a patch.

> * Building with opengl instead of agg fails:
> 
> render_handler_ogl.cpp:43:32: error: render_handler_ogl.h: No such file 
> or directory.

That file is missing from tarball.

(Continue reading)

raymond.meyer | 1 May 2008 15:18
X-Face
Picon
Favicon

www/firefox on NetBSD sparc

I'm tryhing to build firefox on sparc, but the fuild fails

nsStreamTransportService.cpp:213: error: integer constant is too large 
for 'unsigned long' type
nsStreamTransportService.cpp:415: error: integer constant is too large 
for 'unsigned long' type

Looking at

mozilla/netwerk/base/src/nsStreamTransportService.cpp

the error seems to be on this line:

            if (mOffset != LL_MAXUINT) {

earlier mOffset is declared as nsUint64, and on 32-bit sparc unsigned long is 
32-bit wide. Anyone knows a proper way to fix this?

Larson, Timothy E. | 1 May 2008 20:26

mk.conf

I create a /etc/mk.conf that defines OBJMACHINE and sets PACKAGES?=
${LOCALBASE}/packages ... but I am not getting arch-specific work
directories and my binary packages are still being written to
${PKGSRCDIR}/packages.  What's the deal?

Thanks,
Tim

--

-- 
Tim Larson        AMT2 Unix Systems Administrator
    InterCall, a division of West Corporation

               Eschew obfuscation!
Attachment (smime.p7s): application/x-pkcs7-signature, 9 KiB
Michael A. Patton | 1 May 2008 22:22

various build dependencies

Due to circumstances that probably aren't relevant, I decided to build
all the packages on one of my machines over from scratch.  A number of
them didn't build, so there'll be a series of emails from me on each
of the problems as I look into them...

The first is that many of the packages I wanted didn't build because
they depended on gnomeVFS which didn't build.  The problems were
related to packages that the gnomeVFS build actually depended on,
directly or indirectly, but which didn't get built.  This makes
./configure fail with a useful message about the missing package, and
so I could manually go and build it and continue on.  This worked fine
for the first few I encountered: libgcrypt (required by gnutls), lzo
(required directly by gnomeVFS), and libcfg+ (also by gnomeVFS).

Then it reports needing opencdk, but doing a "make install" (or just
"make") in opencdk doesn't do anything, it just exits back to the
shell.  I haven't investigated this further, yet.  I decided it was
time to take a break and send off the message about the dependencies
I'd already found...

Dependencies should be system independant, but in case it matters,
this was on a: "NetBSD 3.0.1 i386" system.  I started the process by
doing a pkg_delete of all the old packages, most of which hadn't been
updated since the machine was built in late 2006 and included some I
no longer use.  Then I ran a script which did "make install" in the
pkgsrc directories of the packages I wanted, logging the output so I
could do the analysis of any that failed.

	-MAP

(Continue reading)

Michael A. Patton | 2 May 2008 08:36

curl build problem (with a list of problem libraries, but there aren't any)

In my rebuild, another package that didn't build was openoffice.  The
./configure in required package "curl" failed.  Here's the last part
of the output from "make install", starting with the last test that
worked for context.  I was particularly interested to notice the
report says there was a problem with some libraries, but the list of
the ones that had problems is empty:

    checking for struct timeval... yes
    checking run-time libs availability... failed
    configure: error: one or more libs available at link-time are not available run-time. Libs used at
link-time:  
    *** Error code 1

    Stop.
    make: stopped in /usr/pkgsrc-2008Q1/www/curl
    *** Error code 1

    Stop.
    make: stopped in /usr/pkgsrc-2008Q1/www/curl
    *** Error code 1

    Stop.
    make: stopped in /usr/pkgsrc-2008Q1/misc/openoffice2

From a cursory look at the config.log it seems to be related to
Kerberos.  I remember about a year ago doing something with Kerberos,
but that it never worked and I thought I'd backed it all out.  But,
there _are_ some Kerberos files on this machine.  Since pkg_info
doesn't say anything about Kerberos, I don't think there should be any
Kerberos files.
(Continue reading)

Martin Husemann | 2 May 2008 12:51
Picon

Re: www/firefox on NetBSD sparc

On Thu, May 01, 2008 at 02:18:38PM +0100, raymond.meyer <at> rambler.ru wrote:
> the error seems to be on this line:
> 
>             if (mOffset != LL_MAXUINT) {
> 
> earlier mOffset is declared as nsUint64, and on 32-bit sparc unsigned long is 
> 32-bit wide. Anyone knows a proper way to fix this?

Where/how is LL_MAXUINT declared? Does it have proper ULL suffix?

Martin

Volkmar Seifert | 2 May 2008 14:02
Favicon

Re: curl build problem (with a list of problem libraries, but there aren't any)

Hello Michael,

> In my rebuild, another package that didn't build was openoffice.  The
> ./configure in required package "curl" failed.

You might want to read this blog-post [1], and this pr [2].

- Volkmar

[1] http://blog.nifelheim.info/tech/2008/03/18/pkgsrccurl-problems/

[2] http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=38237

--

-- 
http://blog.nifelheim.info/tech

Steven M. Bellovin | 2 May 2008 14:13

incompatibility between lintpkgsrc and some Makefiles

It tried running (up-to-date) 'lintpkgsrc -i' on up-to-date HEAD
pkgsrc.  The following appeared:

# lintpkgsrc -i | tee /tmp/ood
Scan Makefiles: ...................________________________
Bogus: Mesa-7.0.3${MESA_PATCHFILES:O:[-1]:C|^[0^]*|.|} (from /usr/pkgsrc/graphics/Mesa/Makefile)

Bogus: MesaLib-7.0.3${MESA_PATCHFILES:O:[-1]:C|^[0^]*|.|} (from /usr/pkgsrc/graphics/MesaLib/Makefile)

Bogus: glu-7.0.3${MESA_PATCHFILES:O:[-1]:C|^[0^]*|.|} (from /usr/pkgsrc/graphics/glu/Makefile)

Bogus: glut-7.0.3${MESA_PATCHFILES:O:[-1]:C|^[0^]*|.|} (from /usr/pkgsrc/graphics/glut/Makefile)

Bogus: glx-utils-7.0.3${MESA_PATCHFILES:O:[-1]:C|^[0^]*|.|} (from /usr/pkgsrc/graphics/glx-utils/Makefile)

		--Steve Bellovin, http://www.cs.columbia.edu/~smb

thegraze | 2 May 2008 18:45

Two Problems with wip/xf86-video-ati

Hello!

I have two problems with wip/xf86-video-ati 6.8.0nb1

1. The line 39 in Makefile has a wrong syntax. So I must delete this
comment, then I can start the compiling. [i use the tcsh]

But I get a compiling error. I use DFly 1.12.2. And I couldn't find
the problem. So please help me.

thegraze

Here is the attachment with the compiling error:

if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I.
-I. -I.. -I./AtomBios/includes  -I/usr/pkg/include -I/usr/include
-Wall -I/usr/pkg/include/xorg -I/usr/pkg/include   -I/usr/pkg/include
-I/usr/pkg/include/drm -I/usr/pkg/include/X11/dri    -DDISABLE_EASF
-DENABLE_ALL_SERVICE_FUNCTIONS -DATOM_BIOS -DATOM_BIOS_PARSER
-DFGL_LINUX -DDRIVER_PARSER -O2 -I/usr/pkg/include -I/usr/include -MT
radeon_driver.lo -MD -MP -MF ".deps/radeon_driver.Tpo" -c -o
radeon_driver.lo radeon_driver.c; \
	then mv -f ".deps/radeon_driver.Tpo" ".deps/radeon_driver.Plo"; else
rm -f ".deps/radeon_driver.Tpo"; exit 1; fi
 cc -DHAVE_CONFIG_H -I. -I.. -I./AtomBios/includes
-I/usr/pkgsrc/wip/xf86-video-ati/work/.buildlink/include -Wall
-I/usr/pkgsrc/wip/xf86-video-ati/work/.buildlink/include/xorg
-I/usr/pkgsrc/wip/xf86-video-ati/work/.buildlink/include/drm
-I/usr/pkgsrc/wip/xf86-video-ati/work/.buildlink/include/X11/dri
-DDISABLE_EASF -DENABLE_ALL_SERVICE_FUNCTIONS -DATOM_BIOS
(Continue reading)

Frank DeChellis | 2 May 2008 17:16
Picon

Probem installing mysql5-clinet

Hi,

I am running NetBSD 1.6.2 (no comment) and my package tree is at 20080424.

When I try to install mysql5-client I get this error message:

checking libedit variant of rl_completion_entry_function... no
checking defined rl_compentry_func_t and rl_completion_func_t... no
checking HIST_ENTRY is declared in readline/readline.h... yes
configure: error: Could not find system readline or libedit libraries
          Use --with-readline or --with-libedit to use the bundled
          versions of libedit or readline
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/mysql5-client
*** Error code 1

Actually it comes up when I try to do mysql4 or mysql5 client or server .

Can anybody nudge me in the right direction?  I had a few other errors pop up that I’ve managed to eliminate but this one remains.

Thanks
Frank

Frank DeChellis
President, Internet Access Worldwide
Welland, Ontario, Canada
www.iaw.com


Gmane