[Fink-users] octave-atlas-qtmac build fails

2016-02-07 Thread James Howse
I am running an Intel Mac Pro with Mac OS Yosemite 10.10.5 and XCode 7.2.1.  
The build of the package octave-atlas-qtmac 3.8.2-9 fails for me with the 
following error messages.  Any idea what is wrong?
Thanks,
James

Octave successfully built.  Now choose from the following:

   ./run-octave- to run in place to test before installing
   make check  - to run the tests
   make install- to install (PREFIX=/opt/fink)

Makefile:2860: warning: overriding commands for target `check'
Makefile:2420: warning: ignoring old commands for target `check'
make[3]: Nothing to be done for `install-exec-am'.
/opt/fink/bin/gmkdir -p 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/share/octave/site/m
 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/share/octave/site/api-v49+/m
 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/share/octave/3.8.2/site/m
 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/lib/octave/site/oct/x86_64-apple-darwin
 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/lib/octave/site/oct/api-v49+/x86_64-apple-darwin
 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/lib/octave/3.8.2/site/oct/x86_64-apple-darwin
 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/lib/octave/site/exec/x86_64-apple-darwin
 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/lib/octave/api-v49+/site/exec/x86_64-apple-darwin
 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/lib/octave/3.8.2/site/exec/x86_64-apple-darwin
 /opt/fink/bin/gmkdir -p 
'/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/include/octave-3.8.2/octave'
 /opt/fink/bin/ginstall -c -m 644 config.h 
'/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/include/octave-3.8.2/octave'
 /opt/fink/bin/gmkdir -p 
'/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/share/octave/3.8.2/etc'
 /opt/fink/bin/ginstall -c -m 644 CITATION NEWS config.log 
'/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/share/octave/3.8.2/etc'
 /opt/fink/bin/gmkdir -p 
'/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/include/octave-3.8.2/octave'
 /opt/fink/bin/ginstall -c -m 644 oct-conf-post.h 
'/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/include/octave-3.8.2/octave'
 # Install manpages manually
 mkdir -p 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/share/man/man1
 mv doc/interpreter/*.1 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/share/man/man1
 # Install info pages manually
 mkdir -p 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/share/info
 mv doc/interpreter/*.info* 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/share/info
 # install texi macros
 mkdir -p 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/share/octave/3.8.2/etc
 mv doc/interpreter/*.texi  
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/share/octave/3.8.2/etc

 # Install Fink-specific octaverc which points at our oct-versioned
 # package directory, and create the database directory
 cp octaverc 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/share/octave/3.8.2/m/startup
 mkdir -p 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/var/octave/3.8.2/

 # install examples
 mkdir -p 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/share/octave/3.8.2/doc/examples
 cp -R examples 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/share/octave/3.8.2/doc/examples

 # remove autogenerated freedesktop.org desktop file
 rm -f 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/share/applications/www.octave.org-octave.desktop
 mkdir -p 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/share/octave/3.8.2/scripts

 # upstream install operation mangles mkoctfile(?), so copy it over
 # from %b manually
 cd /opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/bin
 rm mkoctfile mkoctfile-3.8.2
 /bin/cp 
/opt/fink/src/fink.build/octave-atlas-qtmac-3.8.2-9/octave-3.8.2/src/mkoctfile 
mkoctfile-3.8.2
 ln -s mkoctfile-3.8.2 mkoctfile
  
 # sanitize .la files
 cd 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/lib/octave/3.8.2/
 perl -pi -e 's/(\-framework)\s(\w+)/-Wl,$1,$2/g' *.la 

 # manually install libcxx-fix.h
 if [ -e 
/opt/fink/src/fink.build/octave-atlas-qtmac-3.8.2-9/octave-3.8.2/liboctave/operators/libcxx-fix.h
 ] ; then
cp 
/opt/fink/src/fink.build/octave-atlas-qtmac-3.8.2-9/octave-3.8.2/liboctave/operators/libcxx-fix.h
 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/include/octave-3.8.2/octave/
 fi
sudo -u fink-bld [ENV] sh -c /tmp/fink.99j0c
/usr/bin/install -d -m 700 
/opt/fink/src/fink.build/root-octave-atlas-qtmac-3.8.2-9/opt/fink/share/doc/octave-atlas-qtmac
/bin/cp -r AUTHORS 

Re: [Fink-users] octave-atlas-qtmac build fails

2016-02-07 Thread Alexander Hansen

> On Feb 7, 2016, at 11:04, James Howse  wrote:
> 
> I am running an Intel Mac Pro with Mac OS Yosemite 10.10.5 and XCode 7.2.1.  
> The build of the package octave-atlas-qtmac 3.8.2-9 fails for me with the 
> following error messages.  Any idea what is wrong?
> Thanks,
> James
> 
> Octave successfully built.  Now choose from the following:
> 
>   ./run-octave- to run in place to test before installing
>   make check  - to run the tests
>   make install- to install (PREFIX=/opt/fink)
> 
> Makefile:2860: warning: overriding commands for target `check'
> Makefile:2420: warning: ignoring old commands for target `check'
> make[3]: Nothing to be done for `install-exec-am’.



> cp: doc/interpreter/octave.t2d/octave.t2d/dvi/build/octave.texi: No such file 
> or directory
> cp: doc/interpreter/octave.t2p/octave.t2d/pdf/build/octave.texi: No such file 
> or directory


I just noticed on taking a look at your output that the whole doc build section 
is absent.  I have:

Octave successfully built.  Now choose from the following:

   ./run-octave- to run in place to test before installing
   make check  - to run the tests
   make install- to install (PREFIX=/sw)

Making all in doc
Making all in doxyhtml
make[3]: Nothing to be done for `all'.
Making all in interpreter
…

The .texi files get created in the doc building step, so if that isn’t 
happening on your build, that would account for them being missing later.

Also, I’m not sure why the “check” target is being triggered here.  Are you 
using any test flags with your fink build (like “-m”)?  If so, try not doing 
that.

Also, try doing a build with one job and logging turned on ('fink -l install 
octave-atlas-qtmac', which saves a log file in /tmp)  and if the build still 
fails, send me the log.  If the build succeeds, let me know, since that may 
mean that I’ll need to adjust further which parts of the build use one job and 
which use parallel jobs—I’ve only got 4 cores so I don’t always trigger 
parallel build issues.

-- 
Alexander Hansen, Ph.D.
Fink User Liaison

--
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151=/4140___
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