Re: [Fink-users] mplayer-1.1.1svn37392-3 validation failed

2015-05-15 Thread Hanspeter Niederstrasser
On 5/14/2015 9:27 AM, Daniel Macks wrote:
 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?

New revision checked into CVS that has an explicit (B)Dep on gnutls28. 
The samba detection is missing a flag check, so the result is 'no' even 
with samba3-dev installed. And we do pass --disable-smb in %c.

Hanspeter


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


Re: [Fink-users] mplayer-1.1.1svn37392-3 validation failed

2015-05-14 Thread Hanspeter Niederstrasser
   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.

That's actually very useful. The actual cause is not that
-I/usr/X11/include is earlier in the command, but that the preceeding
-I/sw/include in my sample is missing from yours. So there's something not
being properly detected, which normally puts -I/sw/include before the X11
flags. I'll dig into the Makefile flag ordering later tonight.

Hanspeter


-- 



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


Re: [Fink-users] mplayer-1.1.1svn37392-3 validation failed

2015-05-14 Thread Daniel Macks
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


Re: [Fink-users] mplayer-1.1.1svn37392-3 validation failed

2015-05-14 Thread Stefan Bruda
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.

  And for kicks, make sure you have the files 
  /sw/lib/pkgconfig/fontconfig.pc and 
  /sw/lib/fontconfig2/lib/pkgconfig/fontconfig.pc

I have them as follows:

-rw-r--r--  1 root  admin  367 Apr 19  2014 
/sw/lib/fontconfig2/lib/pkgconfig/fontconfig.pc
lrwxr-xr-x  1 root  admin   49 Apr 19  2014 /sw/lib/pkgconfig/fontconfig.pc@ - 
/sw/lib/fontconfig2/./lib/pkgconfig/fontconfig.pc

Best regards,
Stefan

-- 
If it was so, it might be; and if it were so, it would be; but as it 
isn't, it ain't.  That's logic.  --Lewis Carroll, Through the Looking-Glass

No HTML emails and proprietary attachments please http://bruda.ca/ascii

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


Re: [Fink-users] mplayer-1.1.1svn37392-3 validation failed

2015-05-14 Thread Stefan Bruda
Hello,

At 10:27 -0400 on 2015-5-14 Daniel Macks wrote:
 
  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.

Indeed.  Mplayer builds fine here once gnutls28 is installed (this
also explains why mplayer built fine on my other machine... which had
gnutls28 on it to begin with).

Best regards,
Stefan

-- 
If it was so, it might be; and if it were so, it would be; but as it 
isn't, it ain't.  That's logic.  --Lewis Carroll, Through the Looking-Glass

No HTML emails and proprietary attachments please http://bruda.ca/ascii

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


[Fink-users] mplayer-1.1.1svn37392-3 validation failed

2015-05-13 Thread Stefan Bruda
Hello,

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

I have the very same version of mplayer built earlier on a comparable
system (on a different and more often updated machine), so I am not
sure what is the cause of things going wrong now but going well
earlier.  Obviously I have libpng16 and fontconfig2-dev installed and
so the offending headers do exist in the Fink tree.

Here is the obligatory system info:

Package manager version: 0.38.4
Distribution version: selfupdate-rsync Tue May 12 14:49:53 2015, 10.10, x86_64
Trees: local/main stable/main local/injected
Xcode.app: 6.3.1
Xcode command-line tools: 6.3.1.0.1.1429149539
Max. Fink build jobs:  2

Advice on how to fix or how to dig deeper for the cause of the issue
is appreciated.

Best regards,
Stefan

-- 
If it was so, it might be; and if it were so, it would be; but as it 
isn't, it ain't.  That's logic.  --Lewis Carroll, Through the Looking-Glass

No HTML emails and proprietary attachments please http://bruda.ca/ascii

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


Re: [Fink-users] mplayer-1.1.1svn37392-3 validation failed

2015-05-13 Thread Hanspeter Niederstrasser
On 5/13/2015 7:37 PM, Stefan Bruda wrote:
 Hello,

 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

And for kicks, make sure you have the files 
/sw/lib/pkgconfig/fontconfig.pc and 
/sw/lib/fontconfig2/lib/pkgconfig/fontconfig.pc

Hanspeter


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