> I didn't reproduce the error.  (same package, same OS and
> architecture).  Please send me a full build log.

[karma] gcc/darwin_buildw% sudo acoc fink update octcdf-nc4-oct360
Password:
The following package will be installed or updated:
 octcdf-nc4-oct360
Setting runtime build-lock...
dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-octcdf-nc4-oct360-1.1.4-1 
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-octcdf-nc4-oct360-1.1.4-1' in 
`/sw/src/fink.build/fink-buildlock-octcdf-nc4-oct360-1.1.4-1_2012.03.07-18.19.15_darwin-powerpc.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i 
/sw/src/fink.build/fink-buildlock-octcdf-nc4-oct360-1.1.4-1_2012.03.07-18.19.15_darwin-powerpc.deb
Selecting previously deselected package 
fink-buildlock-octcdf-nc4-oct360-1.1.4-1.
(Reading database ... 559232 files and directories currently installed.)
Unpacking fink-buildlock-octcdf-nc4-oct360-1.1.4-1 (from 
.../fink-buildlock-octcdf-nc4-oct360-1.1.4-1_2012.03.07-18.19.15_darwin-powerpc.deb)
 ...
Setting up fink-buildlock-octcdf-nc4-oct360-1.1.4-1 (2012.03.07-18.19.15) ...

/sw/bin/tar  --no-same-owner --no-same-permissions -xf 
/sw/src/octcdf-1.1.4.tar.gz
/tmp/fink.Nl3ui
#!/bin/sh -ev
if [ $UID -ne 0 ]
then 
        echo "octcdf-nc4-oct360 cannot be built with --build-as-nobody"
        exit 1
fi
export OCTAVE=/sw/bin/octave-3.6.0 
# repack tarball, since octave-3.4.3 appears not to want to install
# from directories
cd ..
tar -cf octcdf.tar octcdf
cd /sw/src/fink.build/octcdf-nc4-oct360-1.1.4-1/octcdf
pkgsrc=octcdf.tar
/sw/share/octave/3.6.0/scripts/octave-forge-compile.sh $pkgsrc
#!/bin/sh -ev
cd ..
mkdir -p bld/share/octave/3.6.0/packages bld/lib/octave/3.6.0/packages
cp /sw/share/octave/3.6.0/scripts/octave-forge-comp 
/sw/share/octave/3.6.0/scripts/octave-forge-inst bld
chmod a+x bld/octave-forge*
sed -i.bak -e "s/@PKGNAME@/$1/" bld/octave-forge*
bld/octave-forge-comp
GNU Octave, version 3.6.0
Copyright (C) 2012 John W. Eaton and others.
This is free software; see the source code for copying conditions.
There is ABSOLUTELY NO WARRANTY; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  For details, type `warranty'.

Octave was configured for "powerpc-apple-darwin".

Additional information about Octave is available at http://www.octave.org.

Please contribute if you find this software useful.
For more information, visit http://www.octave.org/help-wanted.html

Read http://www.octave.org/bugs.html to learn how to submit bug reports.

For information about changes from previous versions, type `news'.

Wed Mar  7 18:19:57 karma.lps.ens.fr octave-3.6.0[30146] <Warning>: 3891612: 
(connectAndCheck) Untrusted apps are not allowed to connect to or launch Window 
Server before login.
warning: no graphical display found
warning: function 
/sw/lib/octave/3.6.0/packages/miscellaneous-1.0.11/powerpc-apple-darwin-api-v48+/waitbar.oct
 shadows a core library function
warning: function /sw/share/octave/3.6.0/packages/statistics-1.1.0/fstat.m 
shadows a core library function
warning: function /sw/share/octave/3.6.0/packages/statistics-1.1.0/zscore.m 
shadows a core library function
warning: function /sw/share/octave/3.6.0/packages/strings-1.0.7/strtrim.m 
shadows a core library function
executing commands from /sw/share/octave/3.6.0/m/startup/octaverc ... done.

ans = 
/sw/src/fink.build/octcdf-nc4-oct360-1.1.4-1/bld/share/octave/3.6.0/packages
mkdir (/var/tmp/oct-4fdhJx)
untar (./octcdf.tar, /var/tmp/oct-4fdhJx)
Wed Mar  7 18:20:32 karma.lps.ens.fr octave-3.6.0[30410] <Warning>: 3891612: 
(connectAndCheck) Untrusted apps are not allowed to connect to or launch Window 
Server before login.
warning: no graphical display found
Wed Mar  7 18:20:33 karma.lps.ens.fr octave-3.6.0[30413] <Warning>: 3891612: 
(connectAndCheck) Untrusted apps are not allowed to connect to or launch Window 
Server before login.
warning: no graphical display found
Wed Mar  7 18:20:34 karma.lps.ens.fr octave-3.6.0[30416] <Warning>: 3891612: 
(connectAndCheck) Untrusted apps are not allowed to connect to or launch Window 
Server before login.
warning: no graphical display found
checking for gcc... oct-cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether oct-cc accepts -g... yes
checking for oct-cc option to accept ISO C89... none needed
checking for mkoctfile... /sw/bin/mkoctfile-3.6.0
retrieving compile and link flags from /sw/bin/mkoctfile-3.6.0
checking for F77_FUNC... yes
checking for octave... /sw/bin/octave-3.6.0
checking for OCTAVE_VERSION in Octave... 3.6.0
checking for octave_config_info('canonical_host_type') in Octave... 
powerpc-apple-darwin
checking for octave_config_info('SHLEXT') in Octave... dylib
checking whether ln -s works... yes
checking for ranlib... ranlib
checking for strip... strip
checking for nc-config... no
checking for nc-dap... yes
configure: creating ./config.status
config.status: creating Makeconf
 
  "$prefix" is 
/sw/src/fink.build/octcdf-nc4-oct360-1.1.4-1/bld/share/octave/3.6.0/packages/octcdf-1.1.4
  "$exec_prefix" is ${prefix}

octave commands will install into the following directories:
   m-files:   /sw/share/octave/3.6.0/site/m/octave-forge
   oct-files: /sw/lib/octave/3.6.0/site/oct/powerpc-apple-darwin/octave-forge
   binaries:  /sw/lib/octave/3.6.0/site/exec/powerpc-apple-darwin
alternatives:
   m-files:   /sw/share/octave/3.6.0/site/octave-forge-alternatives/m
   oct-files: 
/sw/lib/octave/3.6.0/site/octave-forge-alternatives/oct/powerpc-apple-darwin

shell commands will install into the following directories:
   binaries:  ${exec_prefix}/bin
   man pages: ${datarootdir}/man
   libraries: ${exec_prefix}/lib
   headers:   ${prefix}/include

octave-forge is configured with
   octave:      /sw/bin/octave-3.6.0 (version 3.6.0)
   mkoctfile:   /sw/bin/mkoctfile-3.6.0 for Octave 0
   octcdf toolbox: yes
   netCDF compiler flags: -I/sw/include -I/sw/include/libnc-dap
   netCDF libraries: -Wl,-dead_strip_dylibs -L/sw/lib -L/sw/lib -lnc-dap 
-L/sw/lib -ldapclient -lcurl -ldap -lxml2 -lpthread -lz -liconv -lm 

find . -name NOINSTALL -print    # shows which toolboxes won't be installed

ld: library not found for -ldapclient
collect2: ld returned 1 exit status
make: *** [netcdf.oct] Error 1
'make' returned the following error: /sw/bin/mkoctfile-3.6.0 -DHAVE_OCTAVE_ -v 
-c ov-netcdf.cc -I/sw/include -I/sw/include/libnc-dap -DHAVE_OCTAVE_INT 
oct-cxx -c -I/sw/include -I/sw/include/octave-3.6.0/octave/.. 
-I/sw/include/octave-3.6.0/octave -I/sw/include -I/sw/include 
-I/sw/include/freetype2 -I/sw/include -I/sw/include -O0 -I/sw/include 
-I/sw/include/libnc-dap -DHAVE_OCTAVE_ -DHAVE_OCTAVE_INT ov-netcdf.cc -o 
ov-netcdf.o
/sw/bin/mkoctfile-3.6.0 -DHAVE_OCTAVE_ -v -c ov-ncfile.cc -I/sw/include 
-I/sw/include/libnc-dap -DHAVE_OCTAVE_INT 
oct-cxx -c -I/sw/include -I/sw/include/octave-3.6.0/octave/.. 
-I/sw/include/octave-3.6.0/octave -I/sw/include -I/sw/include 
-I/sw/include/freetype2 -I/sw/include -I/sw/include -O0 -I/sw/include 
-I/sw/include/libnc-dap -DHAVE_OCTAVE_ -DHAVE_OCTAVE_INT ov-ncfile.cc -o 
ov-ncfile.o
/sw/bin/mkoctfile-3.6.0 -DHAVE_OCTAVE_ -v -c ov-ncvar.cc -I/sw/include 
-I/sw/include/libnc-dap -DHAVE_OCTAVE_INT 
oct-cxx -c -I/sw/include -I/sw/include/octave-3.6.0/octave/.. 
-I/sw/include/octave-3.6.0/octave -I/sw/include -I/sw/include 
-I/sw/include/freetype2 -I/sw/include -I/sw/include -O0 -I/sw/include 
-I/sw/include/libnc-dap -DHAVE_OCTAVE_ -DHAVE_OCTAVE_INT ov-ncvar.cc -o 
ov-ncvar.o
/sw/bin/mkoctfile-3.6.0 -DHAVE_OCTAVE_ -v -c ov-ncatt.cc -I/sw/include 
-I/sw/include/libnc-dap -DHAVE_OCTAVE_INT 
oct-cxx -c -I/sw/include -I/sw/include/octave-3.6.0/octave/.. 
-I/sw/include/octave-3.6.0/octave -I/sw/include -I/sw/include 
-I/sw/include/freetype2 -I/sw/include -I/sw/include -O0 -I/sw/include 
-I/sw/include/libnc-dap -DHAVE_OCTAVE_ -DHAVE_OCTAVE_INT ov-ncatt.cc -o 
ov-ncatt.o
/sw/bin/mkoctfile-3.6.0 -DHAVE_OCTAVE_ -v -c ov-ncdim.cc -I/sw/include 
-I/sw/include/libnc-dap -DHAVE_OCTAVE_INT 
oct-cxx -c -I/sw/include -I/sw/include/octave-3.6.0/octave/.. 
-I/sw/include/octave-3.6.0/octave -I/sw/include -I/sw/include 
-I/sw/include/freetype2 -I/sw/include -I/sw/include -O0 -I/sw/include 
-I/sw/include/libnc-dap -DHAVE_OCTAVE_ -DHAVE_OCTAVE_INT ov-ncdim.cc -o 
ov-ncdim.o
/sw/bin/mkoctfile-3.6.0 -DHAVE_OCTAVE_ -v -o netcdf.oct -I/sw/include 
-I/sw/include/libnc-dap -DHAVE_OCTAVE_INT ov-netcdf.o ov-ncfile.o ov-ncvar.o 
ov-ncatt.o ov-ncdim.o -Wl,-dead_strip_dylibs -L/sw/lib -L/sw/lib -lnc-dap 
-L/sw/lib -ldapclient -lcurl -ldap -lxml2 -lpthread -lz -liconv -lm   
oct-cxx -bundle -bundle_loader /sw/bin/octave-3.6.0 -o netcdf.oct ov-netcdf.o 
ov-ncfile.o ov-ncvar.o ov-ncatt.o ov-ncdim.o -Wl,-dead_strip_dylibs -L/sw/lib 
-L/sw/lib -lnc-dap -L/sw/lib -ldapclient -lcurl -ldap -lxml2 -lpthread -lz 
-liconv -lm -L/sw/lib/octave/3.6.0 -L/sw/lib -loctinterp -loctave -lcruft 
-Wl,-dead_strip_dylibs -L/sw/lib
error: called from `pkg>configure_make' in file 
/sw/share/octave/3.6.0/m/pkg/pkg.m near line 1385, column 9
error: called from:
error:   /sw/share/octave/3.6.0/m/pkg/pkg.m at line 827, column 5
error:   /sw/share/octave/3.6.0/m/pkg/pkg.m at line 383, column 9
error:   /sw/src/fink.build/octcdf-nc4-oct360-1.1.4-1/bld/octave-forge-comp at 
line 4, column 1
### execution of /tmp/fink.Nl3ui failed, exit code 1
Use of uninitialized value in numeric gt (>) at 
/sw/lib/perl5/Fink/PkgVersion.pm line 5109.
Use of uninitialized value in concatenation (.) or string at 
/sw/lib/perl5/Fink/PkgVersion.pm line 5163.
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-octcdf-nc4-oct360-1.1.4-1
(Reading database ... 559233 files and directories currently installed.)
Removing fink-buildlock-octcdf-nc4-oct360-1.1.4-1 ...
Failed: phase compiling: octcdf-nc4-oct360-1.1.4-1 failed

Before reporting any errors, please run "fink selfupdate" and try again.

If you continue to have issues, please check to see if the FAQ on Fink's 
website solves the problem.  If not, ask on one (not both, please) of
these mailing lists:

        The Fink Users List <fink-users@lists.sourceforge.net>
        The Fink Beginners List <fink-beginn...@lists.sourceforge.net>,

with a carbon copy to the maintainer:

        Alexander Hansen <alexkhan...@users.sourceforge.net>

Note that this is preferable to emailing just the maintainer directly,
since most fink package maintainers do not have access to all possible
hardware and software configurations.

Please try to include the complete error message in your report.  This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.

Also include the following system information:
Package manager version: 0.32.3
Distribution version: selfupdate-rsync Wed Mar  7 17:47:15 2012, 10.5, powerpc
Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
Xcode: 3.1.4
Max. Fink build jobs:  

Thanks,

Dominique

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to