Hi,

"make darwin " was built successfully.

but failed when "make darwin-static"

-
Li

+++++++

touch ./configs/current
make clean
make[1]: Entering directory '/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2'
make[2]: Entering directory '/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2/src'
make[3]: Entering directory
'/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2/src/mesa'
rm -f */*.o
rm -f */*/*.o
rm -f depend depend.bak libmesa.a
rm -f drivers/*/*.o
(cd drivers/dri ; make clean)
make[4]: Entering directory
'/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2/src/mesa/drivers/dri'
rm -f common/*.o
make[4]: Leaving directory
'/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2/src/mesa/drivers/dri'
(cd x86 ; make clean)
make[4]: Entering directory
'/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2/src/mesa/x86'
rm -f matypes.h gen_matypes
make[4]: Leaving directory
'/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2/src/mesa/x86'
(cd x86-64 ; make clean)
make[4]: Entering directory
'/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2/src/mesa/x86-64'
rm -f matypes.h
make[4]: Leaving directory
'/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2/src/mesa/x86-64'
make[3]: Leaving directory
'/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2/src/mesa'
make[3]: Entering directory
'/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2/src/glu'
make[4]: Entering directory
'/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2/src/glu/sgi'
rm -f *.o */*.o */*/*.o
rm -f *.lo */*.lo */*/*.lo
rm -f *.la */*.la */*/*.la
make[4]: Leaving directory
'/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2/src/glu/sgi'
make[3]: Leaving directory
'/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2/src/glu'
make[3]: Entering directory
'/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2/src/glut/glx'
rm -f *.o *~
rm -f *.lo
rm -f *.la
rm -rf .libs
rm -rf depend depend.bak
make[3]: Leaving directory
'/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2/src/glut/glx'
make[2]: Leaving directory '/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2/src'
make[2]: Entering directory
'/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2/progs'
make[2]: Leaving directory '/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2/progs'
make[1]: Leaving directory '/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2'
rm -f ./configs/current
rm -f `find . -name \*.o`
rm -f `find . -name \*.a`
rm -f `find . -name \*.so`
rm -f `find . -name depend`
make darwin-static
(cd configs && rm -f current && ln -s darwin-static current)
make default
make[1]: Entering directory '/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2'
make[2]: Entering directory '/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2/src'
Making sources for darwin-static
make[3]: Entering directory
'/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2/src/mesa'
Makefile:201: depend: No such file or directory
running makedepend
Makefile:150: recipe for target 'depend' failed
make[3]: *** [depend] Error 127
make[3]: Leaving directory
'/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2/src/mesa'
Makefile:18: recipe for target 'subdirs' failed
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory '/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2/src'
Makefile:9: recipe for target 'default' failed
make[1]: *** [default] Error 1
make[1]: Leaving directory '/sw.11/src/fink.build/mesa-7.0.2-3/Mesa-7.0.2'
Makefile:159: recipe for target 'darwin-static' failed
make: *** [darwin-static] Error 2
### execution of make failed, exit code 2
### execution of /tmp/fink.LrgUM failed, exit code 2
Removing runtime build-lock...
Removing build-lock package...
/sw.11/bin/dpkg-lockwait -r fink-buildlock-mesa-7.0.2-3
(Reading database ... 34666 files and directories currently installed.)
Removing fink-buildlock-mesa-7.0.2-3 ...
Failed: phase compiling: mesa-7.0.2-3 failed

Before reporting any errors, please run "fink selfupdate" and try again.

If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem.  If not, ask on one (not both, please) of
these mailing lists:

The Fink Users List <fink-users@lists.sourceforge.net>
The Fink Beginners List <fink-beginn...@lists.sourceforge.net>.

Please try to include the complete error message in your report.  This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.

Also include the following system information:
Package manager version: 0.38.99.git
Distribution version: selfupdate-rsync Sun Sep 27 14:04:20 2015, 10.11, x86_64
Trees: local/main stable/main
Xcode.app: 7.0
Xcode command-line tools: 7.0.0.0.1.1441394355
mesa-7.0.2-3 is set to build with only one job.


On Sun, Sep 27, 2015 at 5:09 AM, Daniel Macks <dma...@netspace.org> wrote:
> On Sat, 26 Sep 2015 21:59:15 -0500, Hanspeter Niederstrasser
> <f...@snaggledworks.com> wrote:
> On 9/26/2015 4:25 PM, Li Zhu wrote:
>>
>> > Hi,
>> >
>> > I think the "-L/usr/X11R6/lib" should be "-L/usr/X11/lib" or
>> > "-L/opt/X11/lib". > And also the "-I/usr/X11R6/include"
>>
>> Can you copy /sw/fink/dists/stable/main/finkinfo/graphics/mesa.info to
>> /sw/fink/dists/local/main/finkinfo
>>
>> bump the Revision field to 3.1, and edit the PatchScript field to the
>> following (note that it goes from one line to several):
>>
>> ----- 8< ----- 8< ----- 8< ----- 8< ----- 8< ----- 8<
>> PatchScript: <<
>> #!/bin/sh -ev
>> if [ `uname -r | cut -d. -f1` -ge 12 ]; then
>> perl -pi -e 's|/usr/X11R6|/opt/X11|g' configs/darwin
>> fi
>> sed 's,@PREFIX@,%p,g' < %{PatchFile} | patch -p1
>> <<
>> ----- 8< ----- 8< ----- 8< ----- 8< ----- 8< ----- 8<
>>
>> and then try rebuilding.
>
>
> I pushed an update using fink-buildenv-modules for portability to all dists
> (/opt/X11 does not work for 10.7). I did not rev-up because using
> "platform-correct" -I and -L paths fixes where it didn't build before but
> doesn't change the results where it already was building.
> dan
>
> --
> Daniel Macks
> dma...@netspace.org
>

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