Port, package and buildworld problems.

Kris Kennaway kris at obsecurity.org
Tue Jan 18 16:57:11 PST 2005


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.
> 
> This number of failures is a bit worrying, is it normal?
> 
> uname -a
> FreeBSD alpha 5.3-RELEASE FreeBSD 5.3-RELEASE #0: Fri Nov  5 03:50:01
> UTC 2004 root at fanboy.samsco.home:/usr/obj/usr/src/sys/GENERIC  amd64
> 
> 
> 
> 1 - GNUCASH
> 
> The gnucash port fails in gnomeprint:
> 
> ./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
> 
> Stop in /usr/ports/print/ghostscript-gnu.
> *** Error code 1
> 
> Stop in /usr/ports/print/gnomeprint.
> *** Error code 1
> 
> 
> 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), 
> 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
> 
> The shell port rc installs ok. However if it's made with:
> CONFIGURE_ARGS+=        --with-readline
> the it fails as follows:
> 
> /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 to 
> 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
> 
> 3 - GHC
> 
> 
> ** Port marked as IGNORE: lang/ghc:
>        "is only for i386," "and you are running amd64"
> 
> 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
> 
> The command "buildworld" fails shortly after starting with:
> 
> ===> gnu/usr.bin/gperf/doc
> c++ -O -pipe -I/usr/obj/usr/src/amd64/legacy/usr/include -fmemoize-lookups 
> -fsav
> e-memoized -I/usr/src/gnu/usr.bin/gperf/../../../contrib/gperf/lib 
> -I/usr/src/gn
> u/usr.bin/gperf -c 
> /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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20050118/1aeb76ca/attachment.bin


More information about the freebsd-questions mailing list