On Thu, 14 May 2015 09:48:21 -0400, Stefan Bruda <ste...@bruda.ca> wrote:
Hello,
>
> At 22:26 -0500 on 2015-5-13 Hanspeter Niederstrasser wrote:
> >
> > On 5/13/2015 7:37 PM, Stefan Bruda wrote:
> > >
> > > How that I got mplayer sources downloaded (thank you) I am getting a
> > > failure during the validation phase, as follows:
> > >
> > > Looking for incorrect headers in 1640 dependency files... 
> > > ./sub/ass_mp.d uses /usr/X11/include/fontconfig/fontconfig.h
> > > ./libmpcodecs/vd_mpng.d uses /usr/X11/include/png.h
> > > ./libmpcodecs/vd_mpng.d uses /usr/X11/include/pngconf.h
> > > Please fix build process to get consistent use of fink's headers. 
> > > ### execution of fink-package-precedence failed, exit code 255
> > > Can you edit the file > 
> /sw/fink/dists/stable/main/finkinfo/graphics/mplayer.info and change 
> > line 306 to remove "%{default_script}" and replace it with the 
> following > two lines:
> > > ./configure %c
> > make -j1 V=1
> > > Then try to rebuild mplayer, but use the -l option to save the 
> log file > to /tmp. You can send that to me, or scan through it to 
> look for the > compiler commands that have the strings "-o 
> sub/ass_mp.o" and "-o > libmpcodecs/vd_mpng.o". Mine look like this:
> > > cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=corei7-avx 
> -pipe > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -D_LARGEFILE64_SOURCE > -mdynamic-no-pic -MD -fpie -DPIC 
> -I/sw/include -I/usr/X11/include > -I/sw/include/ -I/sw/include/SDL 
> -D_GNU_SOURCE=1 -D_THREAD_SAFE > -I/sw/include 
> -I/sw/include/freetype2 -DZLIB_CONST -I/sw/include/opus > 
> -I/sw/include/schroedinger-1.0 -I/sw/include/liboil-0.3 -I/sw/include 
> > -c -o sub/ass_mp.o sub/ass_mp.c
> > ***********
> > cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=corei7-avx 
> -pipe > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 
> -D_LARGEFILE64_SOURCE > -mdynamic-no-pic -MD -fpie -DPIC 
> -I/sw/include -I/usr/X11/include > -I/sw/include/ -I/sw/include/SDL 
> -D_GNU_SOURCE=1 -D_THREAD_SAFE > -I/sw/include 
> -I/sw/include/freetype2 -DZLIB_CONST -I/sw/include/opus > 
> -I/sw/include/schroedinger-1.0 -I/sw/include/liboil-0.3 -I/sw/include 
> > -c -o libmpcodecs/vd_mpng.o libmpcodecs/vd_mpng.c
>
> Here are the commands above on my system (with changes in mplayer.info
> as indicated):
>
> cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=core2 -pipe
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
> -mdynamic-no-pic -MD -fpie -DPIC -I/usr/X11/include -I/sw/include/SDL
> -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -I/sw/include/freetype2
> -DZLIB_CONST -I/sw/include/opus -I/sw/include/schroedinger-1.0
> -I/sw/include/liboil-0.3 -I/sw/include -c -o sub/ass_mp.o sub/ass_mp.c
>
> cc -MMD -MP -D_ISOC99_SOURCE -I. -Iffmpeg -O2 -march=core2 -pipe
> -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE
> -mdynamic-no-pic -MD -fpie -DPIC -I/usr/X11/include -I/sw/include/SDL
> -D_GNU_SOURCE=1 -D_THREAD_SAFE -I/sw/include -I/sw/include/freetype2
> -DZLIB_CONST -I/sw/include/opus -I/sw/include/schroedinger-1.0
> -I/sw/include/liboil-0.3 -I/sw/include -c -o libmpcodecs/vd_mpng.o
> libmpcodecs/vd_mpng.c
>
> For some reason the -I/usr/X11/include is pushed way ahead in my case,
> which explains the error. Trouble is, I don't know why. 

It successfully built for me (10.8). But it autodetected gnutls 
support, which isn't listed as a dependency. If I removed gnutls28, 
configure reports that gnutls was not found (obviously:), and I get the 
same lack of "early" -I/sw/include and same resulting 
fink-package-precedence failure. 

Not-having gnutls28 actually led to a bunch of other autodetections 
failing (AA, CACA, MNG, something about GIF, Blu-ray) presumably 
because they are all failing to handle themselves self-consistently 
correctly rather than only working because they inherit flags from some 
other detection. 

There is also a detection for samba (libsmbclient) that is currently 
"no" but has no --disable flag passed. Might be another point of 
uncontrolled dependecy variations?

dan

--
Daniel Macks
dma...@netspace.org


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
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