NetBSD Problem Report #47746

From www@NetBSD.org  Wed Apr 17 14:36:16 2013
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	by www.NetBSD.org (Postfix) with ESMTP id F16CC63F494
	for <gnats-bugs@gnats.NetBSD.org>; Wed, 17 Apr 2013 14:36:15 +0000 (UTC)
Message-Id: <20130417143613.46A2D63F494@www.NetBSD.org>
Date: Wed, 17 Apr 2013 14:36:12 +0000 (UTC)
From: davshao@gmail.com
Reply-To: davshao@gmail.com
To: gnats-bugs@NetBSD.org
Subject: math/octave 3.6.4 and glpk 4.49
X-Send-Pr-Version: www-1.0

>Number:         47746
>Category:       pkg
>Synopsis:       math/octave 3.6.4 and glpk 4.49
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 17 14:40:00 +0000 2013
>Last-Modified:  Thu May 02 13:30:10 +0000 2013
>Originator:     David Shao
>Release:        NetBSD 6.99.19 (GENERIC) amd64
>Organization:
>Environment:
NetBSD 6.99.19 (GENERIC) amd64
>Description:
On at least NetBSD 6.99.19 (GENERIC) amd64 and DragonFly 3.5-DEVELOPMENT x86_64, using current pkgsrc, updating to math/glpk 4.49 breaks the build of math/octave 3.6.4.

WARNING: [subst.mk:fix-info] Ignoring non-existent file "./doc/liboctave/*.txi".
...
checking for fftwf_plan_dft_1d in -lfftw3f... no
configure: WARNING: FFTW3F library not found.  The slower FFTPACK library will be used instead.
checking glpk/glpk.h usability... no
checking glpk/glpk.h presence... no
checking for glpk/glpk.h... no
checking glpk.h usability... yes
checking glpk.h presence... yes
checking for glpk.h... yes
checking for _glp_lpx_simplex in -lglpk... yes
...
checking for sqr1up in -lqrupdate... no
configure: WARNING: qrupdate not found.  The QR & Cholesky updating functions will be slow.
...
checking for amd.h... no
configure: WARNING: AMD library not found.  This will result in some lack of functionality for sparse matrices.
...
checking for camd.h... no
configure: WARNING: CAMD library not found.  This will result in some lack of functionality for sparse matrices.
...
checking for colamd.h... no
configure: WARNING: COLAMD library not found.  This will result in some lack of functionality for sparse matrices.
...
checking for dseupd in -larpack... no
configure: WARNING: ARPACK not found.  The eigs function will be disabled.
...
checking for bison... /usr/pkg/bin/bison -y
configure: WARNING: I didn't find bison, but it's only a problem if you need to reconstruct parse.cc
...
libtool: link: c++ -shared  -fPIC -DPIC  DLD-FUNCTIONS/.libs/DLD_FUNCTIONS___fltk_uigetfile___la-__fltk_uigetfile__.o   -Wl,-rpath,/usr/pkgsrc/math/octave/work/octave-3.6.4/src/.libs -Wl,-rpath,/usr/pkgsrc/math/octave/work/octave-3.6.4/liboctave/.libs -Wl,-rpath,/usr/pkgsrc/math/octave/work/.buildlink/lib -Wl,-rpath,/usr/pkgsrc/math/octave/work/octave-3.6.4/libcruft/.libs -Wl,-rpath,/usr/pkg/lib/octave/3.6.4 -Wl,-rpath,/usr/pkgsrc/math/octave/work/.buildlink/lib -L/usr/pkgsrc/math/octave/work/octave-3.6.4/liboctave/.libs -L/usr/pkgsrc/math/octave/work/octave-3.6.4/libcruft/.libs -L/usr/pkgsrc/math/octave/work/.buildlink/lib -L./.libs -loctinterp -lhdf5 -lz -lX11 -lxcb -lXau -lXdmcp -L../liboctave/.libs -loctave -lfftw3 -lreadline -ltermcap -lcurses -lpcre -L../libcruft/.libs -lcruft -llapack -lblas -lf2c -lm  -O2 -O2 -pthread -O2 -Wl,-R/usr/pkg/lib   -pthread -Wl,-soname -Wl,__fltk_uigetfile__.so -o DLD-FUNCTIONS/.libs/__fltk_uigetfile__.so
libtool: link: ar cru DLD-FUNCTIONS/.libs/__fltk_uigetfile__.a  DLD-FUNCTIONS/DLD_FUNCTIONS___fltk_uigetfile___la-__fltk_uigetfile__.o
libtool: link: ranlib DLD-FUNCTIONS/.libs/__fltk_uigetfile__.a
libtool: link: ( cd "DLD-FUNCTIONS/.libs" && rm -f "__fltk_uigetfile__.la" && ln -s "../__fltk_uigetfile__.la" "__fltk_uigetfile__.la" )
/bin/sh ../libtool  --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I. -I..  -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave -I../liboctave -I. -I. -I/usr/pkg/include -I/usr/include -I/usr/include/krb5  -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -O2 -g -I/usr/pkg/include -I/usr/include -I/usr/include/krb5  -DHAVE_CONFIG_H -I/usr/pkg/include -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -O2 -g -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -pthread -O2 -g -I/usr/pkg/include -I/usr/include -I/usr/include/krb5 -MT DLD-FUNCTIONS/DLD_FUNCTIONS___glpk___la-__glpk__.lo -MD -MP -MF DLD-FUNCTIONS/.deps/DLD_FUNCTIONS___glpk___la-__glpk__.Tpo -c -o DLD-FUNCTIONS/DLD_FUNCTIONS___glpk___la-__glpk__.lo `test -f 'DLD-FUNCTIONS/__glpk__.cc' || echo './'`DLD-FUNCTIONS/__glpk__.cc
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -I../libgnu -I../libcruft/misc -I../liboctave -I/usr/pkgsrc/math/octave/work/.buildlink/include -I/usr/include/krb5 -O2 -g -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -O2 -g -pthread -O2 -g -MT DLD-FUNCTIONS/DLD_FUNCTIONS___glpk___la-__glpk__.lo -MD -MP -MF DLD-FUNCTIONS/.deps/DLD_FUNCTIONS___glpk___la-__glpk__.Tpo -c DLD-FUNCTIONS/__glpk__.cc  -fPIC -DPIC -o DLD-FUNCTIONS/.libs/DLD_FUNCTIONS___glpk___la-__glpk__.o
DLD-FUNCTIONS/__glpk__.cc:96:3: error: 'LPX_K_MSGLEV' was not declared in this scope
DLD-FUNCTIONS/__glpk__.cc:97:3: error: 'LPX_K_SCALE' was not declared in this scope
DLD-FUNCTIONS/__glpk__.cc:98:3: error: 'LPX_K_DUAL' was not declared in this scope
DLD-FUNCTIONS/__glpk__.cc:99:3: error: 'LPX_K_PRICE' was not declared in this scope
DLD-FUNCTIONS/__glpk__.cc:100:3: error: 'LPX_K_ROUND' was not declared in this scope
DLD-FUNCTIONS/__glpk__.cc:101:3: error: 'LPX_K_ITLIM' was not declared in this scope
DLD-FUNCTIONS/__glpk__.cc:102:3: error: 'LPX_K_ITCNT' was not declared in this scope
DLD-FUNCTIONS/__glpk__.cc:103:3: error: 'LPX_K_OUTFRQ' was not declared in this scope
DLD-FUNCTIONS/__glpk__.cc:104:3: error: 'LPX_K_MPSINFO' was not declared in this scope
DLD-FUNCTIONS/__glpk__.cc:105:3: error: 'LPX_K_MPSOBJ' was not declared in this scope
...
>How-To-Repeat:

>Fix:

>Audit-Trail:
From: David Shao <davshao@gmail.com>
To: gnats-bugs@netbsd.org
Cc: 
Subject: Re: pkg/47746: math/octave 3.6.4 and glpk 4.49
Date: Thu, 2 May 2013 06:25:24 -0700

 math/octave now builds on NetBSD 6.99.19 amd64 and DragonFly
 3.5-DEVELOPMENT x86_64.  Unfortunately still on DragonFly
 3.5-DEVELOPMENT i386, the build fails with:

 libtool: link: ar cru DLD-FUNCTIONS/.libs/__fltk_uigetfile__.a
 DLD-FUNCTIONS/DLD_FUNCTIONS___fltk_uigetfile___la-__fltk_uigetfile__.o
 libtool: link: ranlib DLD-FUNCTIONS/.libs/__fltk_uigetfile__.a
 libtool: link: ( cd "DLD-FUNCTIONS/.libs" && rm -f
 "__fltk_uigetfile__.la" && ln -s "../__fltk_uigetfile__.la"
 "__fltk_uigetfile__.la" )
 /bin/sh ../libtool  --tag=CXX   --mode=compile c++ -DHAVE_CONFIG_H -I.
 -I..  -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave
 -I../liboctave -I. -I. -I/usr/pkg/include -I/usr/include
 -I/usr/pkg/include/gettext  -I/usr/pkg/include -I/usr/include
 -I/usr/pkg/include/gettext -O2 -g -I/usr/pkg/include -I/usr/include
 -I/usr/pkg/include/gettext  -DHAVE_CONFIG_H -mieee-fp
 -I/usr/pkg/include -Wall -W -Wshadow -Wold-style-cast -Wformat
 -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -O2 -g
 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/gettext -pthread
 -O2 -g -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/gettext
 -MT DLD-FUNCTIONS/DLD_FUNCTIONS___glpk___la-__glpk__.lo -MD -MP -MF
 DLD-FUNCTIONS/.deps/DLD_FUNCTIONS___glpk___la-__glpk__.Tpo -c -o
 DLD-FUNCTIONS/DLD_FUNCTIONS___glpk___la-__glpk__.lo `test -f
 'DLD-FUNCTIONS/__glpk__.cc' || echo './'`DLD-FUNCTIONS/__glpk__.cc
 libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I.. -I../libgnu
 -I../libcruft/misc -I../liboctave
 -I/usr/pkgsrc/math/octave/work/.buildlink/include
 -I/usr/pkgsrc/math/octave/work/.buildlink/include/gettext -O2 -g
 -mieee-fp -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith
 -Wwrite-strings -Wcast-align -Wcast-qual -O2 -g -pthread -O2 -g -MT
 DLD-FUNCTIONS/DLD_FUNCTIONS___glpk___la-__glpk__.lo -MD -MP -MF
 DLD-FUNCTIONS/.deps/DLD_FUNCTIONS___glpk___la-__glpk__.Tpo -c
 DLD-FUNCTIONS/__glpk__.cc  -fPIC -DPIC -o
 DLD-FUNCTIONS/.libs/DLD_FUNCTIONS___glpk___la-__glpk__.o
 DLD-FUNCTIONS/__glpk__.cc:96:3: error: 'LPX_K_MSGLEV' was not declared
 in this scope
 DLD-FUNCTIONS/__glpk__.cc:97:3: error: 'LPX_K_SCALE' was not declared
 in this scope
 DLD-FUNCTIONS/__glpk__.cc:98:3: error: 'LPX_K_DUAL' was not declared
 in this scope
 DLD-FUNCTIONS/__glpk__.cc:99:3: error: 'LPX_K_PRICE' was not declared
 in this scope
 DLD-FUNCTIONS/__glpk__.cc:100:3: error: 'LPX_K_ROUND' was not declared
 in this scope

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.