On Apr 23, 2012, at 7:47, Alexander Hansen wrote:

> 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/

That is confusing, then, because the text that came after what I posted was: 

Before reporting any errors, please run "fink selfupdate" and try again.
Also try using "fink configure" to set your maximum build jobs to 1 and
attempt to build the package 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:

etc.

That package seems to be fine now. I've got one with a genuine error message 
now, though.

Setting up fink-buildlock-time-oct360-2.0.0-1 (2012.04.23-07.56.42) ...

/sw/bin/tar  --no-same-owner --no-same-permissions -xf /sw/src/time-2.0.0.tar.gz
/tmp/fink.e0z7B
#!/bin/sh -ev
if [ $UID -ne 0 ]
then 
        echo "time-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=time.tar
        cd ..
        tar -cf $pkgsrc time-2.0.0
        cd /sw/src/fink.build/time-oct360-2.0.0-1/time
else pkgsrc=time
fi
tar: time-2.0.0: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
### execution of /tmp/fink.e0z7B failed, exit code 2

Thanks,
Sean
------------------------------------------------------------------------------
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