On 12/9/12 10:22 AM, Stefan Bruda wrote:
> Hello,
> 
> In the last update I get a failure for libavcodec54-1.0 as follows:
> 
> Looking for incorrect headers in 1158 dependency files...
>        ./finkbuild/libavfilter/vf_drawtext.d uses 
> /opt/sw/include/freetype2/freetype/config/ftconfig.h
>        ./finkbuild/libavfilter/vf_drawtext.d uses 
> /opt/sw/include/freetype2/freetype/config/ftheader.h
>        ./finkbuild/libavfilter/vf_drawtext.d uses 
> /opt/sw/include/freetype2/freetype/config/ftoption.h
>        ./finkbuild/libavfilter/vf_drawtext.d uses 
> /opt/sw/include/freetype2/freetype/config/ftstdlib.h
>        ./finkbuild/libavfilter/vf_drawtext.d uses 
> /opt/sw/include/freetype2/freetype/freetype.h
>        ./finkbuild/libavfilter/vf_drawtext.d uses 
> /opt/sw/include/freetype2/freetype/fterrdef.h
>        ./finkbuild/libavfilter/vf_drawtext.d uses 
> /opt/sw/include/freetype2/freetype/fterrors.h
>        ./finkbuild/libavfilter/vf_drawtext.d uses 
> /opt/sw/include/freetype2/freetype/ftglyph.h
>        ./finkbuild/libavfilter/vf_drawtext.d uses 
> /opt/sw/include/freetype2/freetype/ftimage.h
>        ./finkbuild/libavfilter/vf_drawtext.d uses 
> /opt/sw/include/freetype2/freetype/ftmoderr.h
>        ./finkbuild/libavfilter/vf_drawtext.d uses 
> /opt/sw/include/freetype2/freetype/ftsystem.h
>        ./finkbuild/libavfilter/vf_drawtext.d uses 
> /opt/sw/include/freetype2/freetype/fttypes.h
>        ./finkbuild/libavfilter/vf_drawtext.d uses /opt/sw/include/ft2build.h
> Please fix build process to get consistent use of fink's headers.
> 
> Here is the system information:
> 
> Package manager version: 0.34.4
> Distribution version: selfupdate-rsync Sun Dec  9 12:09:15 2012, 10.8, x86_64
> Trees: local/main stable/main
> Xcode.app: 4.5.2
> Xcode command-line tools: 4.5.0.0.1.1249367152
> Max. Fink build jobs:  8
> 
> Cheers,
> Stefan
> 

The fink-package-precedence script was recently updated to check for
headers and libraries in /opt/X11, but it appears to be using too broad
of a regex.  (fink-package-precedence maintainer cc'ed).

As a workaround, try editing /sw/bin/fink-package-precedence as root, go
to the section noted by

# regexes for headers to disallow.
# * /usr/local is bad news!
# * OSX or X11 files for which fink has replacements
# * /opt/local is cross-contamination from MacPorts
my $repl_regex = '^' . join '|', (
...

and change the entries that start with /opt/.* to use /opt/X11/.* instead.
-- 
Alexander Hansen, Ph.D.
Fink User Liaison
My package updates: http://finkakh.wordpress.com/

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
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