Hey!
Sorry about all the trouble; I'm not particularly knowledgeable about the
fink packaging best practices.
Matthias has been advising me in this regard, but I do tend to come up with
creative non-solutions to problems that are better fixed elsewhere.
The scripts generally work around build system deficiencies that would
probably be better fixed upstream.
The reason for the /tmp dance is that Theos, the build system
aforementioned, likes to trash its staging/destination directory before it
puts together a sysroot (as it's designed more for building Debian packages
than installing onto a live system.)
I'll put together a more comprehensive fix for these issues. Mind if I run
it by you on this thread? Thanks.
-d
-- Dustin L. Howett
On Wed, Sep 10, 2014 at 4:28 PM, Hanspeter Niederstrasser <
hanspe...@snaggledworks.com> wrote:
> The new fauxsu that was just checked into the 10.7 tree fails to build if
> Fink's sed is installed:
>
> fauxsu-0.9.1/theos/bin/target.pl
> fauxsu-0.9.1/theos/bin/vercmp.pl
> sudo -u fink-bld [ENV] sh -c /tmp/fink.W_1N4
> /tmp/fink.liQvL
> + sed -i '' -e s/libexec/lib/ Makefile
> sed: can't read : No such file or directory
>
> Can probably just get away with '/usr/bin/sed' instead of just 'sed'.
>
> Also, later on there is this silent failure:
>
> + cp LICENSE /sw/build.build/root-fauxsu-0.9.1-1/sw/share/doc/fauxsu
> cp: LICENSE: No such file or directory
>
> 1) This should be fixed to not try to copy a non-existent file,
> 2) DocFiles field does the same thing and is the preferred way.
>
> Lastly,
>
> Why is the pkg doing the whole spaghetti thing with mktemp, $d, and
> rsyncing to %d, rather than just using %i from the beginning? A safer place
> than /tmp is into a directory in %b that the fink build process controls
> 100%, and then copy from there as needed into %i.
>
> Hanspeter
>
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel