On 4/22/12 10:42 PM, Sean Lake wrote:
> 
> On Apr 22, 2012, at 7:26, Alexander Hansen wrote:
> 
>> On 4/22/12 6:07 AM, Sean Lake wrote:
>>> Hello all,
>>>
>>> Not sure if I'm including the proper amount of information, but here you go.
>>>
>>> Thanks,
>>> Sean Lake
>>>
>>> extra info:
>>> Package manager version: 0.32.6
>>> Distribution version: selfupdate-rsync Sat Apr 21 22:03:42 2012, 10.6, 
>>> x86_64
>>> Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
>>> Xcode: 3.2.6
>>> Max. Fink build jobs:  2
>>>
>>> Error stuff
>>>
>>>
>>
>> <snip>
>>
>>> /usr/local/include/ffmpeg/avformat.h:456: error: previous declaration of 
>>> 'first_oformat'
>>>
>>
>> You're bringing in a third-party ffmpeg in /usr/local. That voids any
>> implied guarantee that the package will build.
>>
>> -- 
>> Alexander Hansen, Ph.D.
>> Fink User Liaison
>> http://finkakh.wordpress.com/2012/02/21/got-job/
> 
> Gah! Ok, I've moved /usr/local to /usr/local.tmp for the build. Now I run 
> into a problem with financial-oct360-0.4.0-1. I'm building in an admin 
> account using sudo fink update financial-oct360. 
> 
> Thanks,
> Sean
> 
> Here is the output:
> 
> Setting up fink-buildlock-financial-oct360-0.4.0-1 (2012.04.22-22.35.43) ...
> 
> /sw/bin/tar  --no-same-owner --no-same-permissions -xf 
> /sw/src/financial-0.4.0.tar.gz
> /tmp/fink.g3vMC
> #!/bin/sh -ev
> if [ $UID -ne 0 ]
> then 
>       echo "financial-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
> if [ 360 -ge 343 ]
> then
>       pkgsrc=financial-0.4.0.tar
>       cd ..
>       tar -cf $pkgsrc financial
>       cd /sw/src/fink.build/financial-oct360-0.4.0-1/financial
> else pkgsrc=financial
> fi
> /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*
> 
> 
> Package manager version: 0.32.6
> Distribution version: selfupdate-rsync Sun Apr 22 21:48:04 2012, 10.6, x86_64
> Trees: local/main stable/main stable/crypto unstable/main unstable/crypto
> Xcode: 3.2.6
> Max. Fink build jobs:  2
> 

There's no error message in that.

"
if [ $UID -ne 0 ]
 then
        echo "financial-oct360 cannot be built with --build-as-nobody"
        exit 1
 fi
"

is just displaying the shell script that gets run.  Had you been
building-as-nobody, the build would have printed this out again and
failed immediately.

('sudo fink' doesn't do anything extra and may even suppress environment
variables you want)

-- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/2012/02/21/got-job/

------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Fink-users mailing list
[email protected]
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