On 1/28/13 1:21 PM, Gerrit Busch wrote:
> Hello Alexander, here's the output:
> 
> Information about 6748 packages read in 2 seconds.
> Running in Maintainer Mode
> Validating package file /sw/fink/dists/local/main/finkinfo/xsane.info...
> Package looks good!
> The package 'xsane' will be built without being installed.
> Reading build dependency for xsane-0.996-1...
> Reading dependency for xsane-0.996-1...
> Reading build conflict for xsane-0.996-1...
> The following package will be built:
>  xsane
> Setting runtime build-lock...
> dpkg-deb -b /sw/src/fink.build/root-fink-buildlock-xsane-0.996-1 
> /sw/src/fink.build
> dpkg-deb: baue Paket »fink-buildlock-xsane-0.996-1« in 
> »/sw/src/fink.build/fink-buildlock-xsane-0.996-1_2013.01.28-21.20.17_darwin-x86_64.deb«.
> Installing build-lock package...
> /sw/bin/dpkg-lockwait -i 
> /sw/src/fink.build/fink-buildlock-xsane-0.996-1_2013.01.28-21.20.17_darwin-x86_64.deb
> Wähle vormals abgewähltes Paket fink-buildlock-xsane-0.996-1.
> (Lese Datenbank ... 168698 Dateien und Verzeichnisse sind derzeit 
> installiert.)
> Entpacke fink-buildlock-xsane-0.996-1 (aus 
> .../fink-buildlock-xsane-0.996-1_2013.01.28-21.20.17_darwin-x86_64.deb) ...
> Richte fink-buildlock-xsane-0.996-1 ein (2013.01.28-21.20.17) ...
> 
> sudo -u fink-bld [ENV] sh -c /tmp/fink.sinGJ
> /sw/bin/tar  --no-same-owner --no-same-permissions -xvf 
> /sw/src/xsane_0.996.orig.tar.gz
> xsane-0.996/

<snip>

Yeah, that confirms what I thought the problem might be.  The default
source expansion that fink uses assumes that if you have
SOMETHING.tar.gz, then the directory it unpacks to is SOMETHING/ , and
in this case they don't match up.

If you specify

SourceDirectory: %n-%v

that tells fink that the source directory is xsane-0.996.

On the other hand, we've got xsane-0.998, which has a number of OS X and
Fink patches.  You might find it faster just to grab the 10.5/10.6
package description from

http://fink.cvs.sourceforge.net/viewvc/fink/dists/10.4/stable/main/finkinfo/graphics/xsane.info?revision=1.10,


save that in your /sw/fink/dists/local/main/finkinfo directory, and see
if that builds.  If it does, let us know and we'll move it over
officially.  If not, also let us know, and we can try to fix it up.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
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

Reply via email to