Re: Port, package and buildworld problems.

From: Kris Kennaway (kris_at_obsecurity.org)
Date: 01/19/05

  • Next message: Kris Kennaway: "Re: Netscape7 and Mozilla"
    Date: Tue, 18 Jan 2005 16:57:09 -0800
    To: Dave Hardman <dave@hardman.name>
    
    
    

    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@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 message: Kris Kennaway: "Re: Netscape7 and Mozilla"

    Relevant Pages

    • ports system woes
      ... What exactly "removing dependency on package" means? ... port installs?). ... Allow it 3-5 hours per 1000 installed ports 8-) The good thing is that ...
      (freebsd-hackers)
    • Re: How to block RealPlayer ??
      ... I like the Linux idea best... ... > Doz wrote: ... >> which ports to block? ... > 1) Develop a policy where an employee who installs any unathorized ...
      (comp.security.firewalls)
    • RWW Stopped working..Please Help
      ... SBS 2003 Standard, Dual Nics, Linksys Router, SBC Standard DSL, ... and have double checked the ports as being forwarded. ... The cert lists the same as other certs I've ... port 80 on all my installs and only connect via https. ...
      (microsoft.public.windows.server.sbs)
    • Re: New FreeBSD package system (a.k.a. Daemon Package System (dps))
      ... port installs, and /usr/local for local source installs. ... OS is separate from the apps. ... ports, which we promptly throw away by providing a settable LOCALBASE. ... There's a nice feeling to running the latest version of appX on FreeBSD ...
      (freebsd-hackers)
    • Re: New FreeBSD package system (a.k.a. Daemon Package System (dps))
      ... for port installs, and /usr/local for local source installs. ... as the OS is separate from the apps. ... ports, which we promptly throw away by providing a settable LOCALBASE. ...
      (freebsd-hackers)