NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

port-macppc/40624: elinks 0.12pre2 fails to build on a Mac G3 running NetBSD 4.0.1/macppc using default options.mk



>Number:         40624
>Category:       port-macppc
>Synopsis:       elinks 0.12pre2 fails to build on a Mac G3 running NetBSD 
>4.0.1/macppc using default options.mk
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-macppc-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 12 14:40:01 +0000 2009
>Originator:     Erick Crager
>Release:        4.0.1
>Organization:
>Environment:
NetBSD unworthy.home.0 4.0.1 NetBSD 4.0.1 (GENERIC) #0: Tue Oct  7 23:19:46 PDT 
2008  
builds@wb27:/home/builds/ab/netbsd-4-0-1-RELEASE/macppc/200810080053Z-obj/home/builds/ab/netbsd-4-0-1-RELEASE/src/sys/arch/macppc/compile/GENERIC
 macppc
>Description:
elinks 0.12pre2 with the default options.mk will not build on macppc because 
the required package 'see' cannot build on macppc.  Here is a selection from 
the build process to illustrate this problem.  The 'see' package is required 
when javascript support is desired.

===> Building for see-3.0.1376
Making all in include
/usr/bin/make  all-recursive
Making all in see
/usr/bin/make  all-am
Making all in libsee
/usr/bin/make  all-recursive
Making all in .
if /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H  -I. -I. 
-I../include -I../include -I../include  -I/usr/pkg/include -I/usr/include   -O2 
-I/usr/pkg/include -I/usr/include -MT dtoa.lo -MD -MP -MF ".deps/dtoa.Tpo" -c 
-o dtoa.lo dtoa.c;  then mv -f ".deps/dtoa.Tpo" ".deps/dtoa.Plo"; else rm -f 
".deps/dtoa.Tpo"; exit 1; fi
 cc -DHAVE_CONFIG_H -I. -I../include 
-I/usr/pkgsrc/bootstrap/work/wrk/lang/see/work/.buildlink/include -O2 -MT 
dtoa.lo -MD -MP -MF .deps/dtoa.Tpo -c dtoa.c  -fPIC -DPIC -o .libs/dtoa.o
dtoa.c:269:3: error: #error "Exactly one of IEEE_8087, IEEE_MC68k, VAX, or IBM 
should be defined."
*** Error code 1

>How-To-Repeat:
Have pkgsrc checked out after this:
Updated www/elinks to 0.12rc2 [bjs 2008-11-06]

cd /usr/pkgsrc/www/elinks
sudo make

>Fix:
Since the bad package is required for javascript support, disable javascript 
support in /usr/pkgsrc/www/elinks/options.mk

$ diff -cB options.mk options.mk-fixed
*** options.mk  Thu Feb 12 14:18:46 2009
--- options.mk-fixed    Thu Feb 12 14:22:12 2009
***************
*** 1,7 ****
  # $NetBSD: options.mk,v 1.9 2008/11/06 08:33:31 bjs Exp $

  PKG_OPTIONS_VAR=      PKG_OPTIONS.elinks
! PKG_SUPPORTED_OPTIONS+=       bittorrent nntp javascript finger gopher
  PKG_SUPPORTED_OPTIONS+=       inet6 x11 elinks-exmode expat
  PKG_SUPPORTED_OPTIONS+= elinks-html-highlight elinks-root-exec
  PKG_SUPPORTED_OPTIONS+=       kerberos
--- 1,7 ----
  # $NetBSD: options.mk,v 1.9 2008/11/06 08:33:31 bjs Exp $

  PKG_OPTIONS_VAR=      PKG_OPTIONS.elinks
! PKG_SUPPORTED_OPTIONS+=       bittorrent nntp finger gopher
  PKG_SUPPORTED_OPTIONS+=       inet6 x11 elinks-exmode expat
  PKG_SUPPORTED_OPTIONS+= elinks-html-highlight elinks-root-exec
  PKG_SUPPORTED_OPTIONS+=       kerberos
***************
*** 9,15 ****
  PKG_OPTIONS_GROUP.malloc=     boehm-gc elinks-fastmem
  PKG_OPTIONS_REQUIRED_GROUPS=  tls
  PKG_OPTIONS_OPTIONAL_GROUPS=  malloc
! PKG_SUGGESTED_OPTIONS=        ssl javascript elinks-html-highlight 
elinks-exmode
  PKG_SUGGESTED_OPTIONS+=       expat boehm-gc

  PKG_OPTIONS_LEGACY_OPTS= spidermonkey:javascript
--- 9,15 ----
  PKG_OPTIONS_GROUP.malloc=     boehm-gc elinks-fastmem
  PKG_OPTIONS_REQUIRED_GROUPS=  tls
  PKG_OPTIONS_OPTIONAL_GROUPS=  malloc
! PKG_SUGGESTED_OPTIONS=        ssl elinks-html-highlight elinks-exmode
  PKG_SUGGESTED_OPTIONS+=       expat boehm-gc

  PKG_OPTIONS_LEGACY_OPTS= spidermonkey:javascript



Home | Main Index | Thread Index | Old Index