Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jan 2005 16:57:09 -0800
From:      Kris Kennaway <kris@obsecurity.org>
To:        Dave Hardman <dave@hardman.name>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Port, package and buildworld problems.
Message-ID:  <20050119005709.GB46389@xor.obsecurity.org>
In-Reply-To: <20050118085657.GA851@actewagl.net.au>
References:  <20050118085657.GA851@actewagl.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help

--tsOsTdHNUZQcU9Ye
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jan 18, 2005 at 07:56:57PM +1100, Dave Hardman wrote:
> I've recently installed FreeBSD on a new machine. I'm still setting
> things up.  192 ports installed so far. With some failures listed
> below. I also intended to do a test rebuild of everything, this failed
> after a few seconds.
>=20
> This number of failures is a bit worrying, is it normal?
>=20
> uname -a
> FreeBSD alpha 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5 03:50:01
> UTC 2004 root@fanboy.samsco.home:/usr/obj/usr/src/sys/GENERIC  amd64
>=20
>=20
>=20
> 1 - GNUCASH
>=20
> The gnucash port fails in gnomeprint:
>=20
> ./obj/gdevrpdl.o(.text+0x21c): In function `rpdl_image_out':
> : undefined reference to `lips_mode3format_encode'
> gmake: *** [bin/gs] Error 1
> *** Error code 2

This is not expected, since the package exists (i.e. the port compiled
on a clean system).  Either the breakage is very recent, it's caused
by some random other port that is installed on your system and is
being detected by the ghostscript-gnu build (note: not gnomeprint), or
it's because you have an out-of-date installation of one of the
dependencies.

> Stop in /usr/ports/print/ghostscript-gnu.
> *** Error code 1
>=20
> Stop in /usr/ports/print/ghostscript-gnu.
> *** Error code 1
>=20
> Stop in /usr/ports/print/gnomeprint.
> *** Error code 1
>=20
>=20
> The gnucash package installs, but:
> $ gnucash
> (segmentation fault)
> The following is from /var/log/messages:
> Jan 17 14:22:30 alpha kernel: pid 48661 (guile),=20
> uid 1001: exited on signal 11 (core dumped)

I don't know if this is a known bug, you'd have to ask the maintainer
or software developers.

> 2 - RC
>=20
> The shell port rc installs ok. However if it's made with:
> CONFIGURE_ARGS+=3D        --with-readline
> the it fails as follows:
>=20
> /usr/lib/libc.a(getenv.o)(.text+0xd0): In function `getenv':
> : multiple definition of `getenv'
> hash.o(.text+0xcd0): first defined here
> /usr/bin/ld: Warning: size of symbol `getenv' changed from 53 in hash.o t=
o=20
> 194 i
> n /usr/lib/libc.a(getenv.o)
> *** Error code 1

Don't do that then.

> Stop in /usr/ports/shells/rc/work/rc-1.7.
> *** Error code 1
>=20
> 3 - GHC
>=20
>=20
> ** Port marked as IGNORE: lang/ghc:
>        "is only for i386," "and you are running amd64"
>=20
> This may not be a failure. Perhaps the ports tree contains all the
> ports, rather than just the ports suitable for a particular
> architecture.

Yes.

> 4 - BUILDWORLD
>=20
> The command "buildworld" fails shortly after starting with:
>=20
> =3D=3D=3D> gnu/usr.bin/gperf/doc
> c++ -O -pipe -I/usr/obj/usr/src/amd64/legacy/usr/include -fmemoize-lookup=
s=20
> -fsav
> e-memoized -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib=20
> -I/usr/src/gn
> u/usr.bin/gperf -c=20
> /usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/src/bool-ar
> ray.cc
> cc1plus: error: unrecognized command line option "-fmemoize-lookups"
> cc1plus: error: unrecognized command line option "-fsave-memoized"

Don't do that then (you set CXXFLAGS by hand).

Kris
--tsOsTdHNUZQcU9Ye
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFB7bBlWry0BWjoQKURAoqSAKCbwHUAXtRg4xdv92zTojFDe9RUbQCfQNZB
LhtCAo5EIScFunEJCFE5DL8=
=QngA
-----END PGP SIGNATURE-----

--tsOsTdHNUZQcU9Ye--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050119005709.GB46389>