>From this excerpt, it looks like clang's first error is on unused 
arguments (usually a warning, but promoted by -Werror).  Remi, could you 
try adding -Qunused-argments to CXXFLAGS and retry?

Fang

> On 7/15/13 9:13 AM, Remi Mommsen wrote:
>>  Hi,
>>
>>  I try to build gcc47, but fail to build ppl9-0.11.2-4. I don't see any
>>  obvious problem:
>>
>>  Making all in ppl_lpsol
>>  Making all in examples
>>  make[4]: Nothing to be done for `all'.
>>  gcc -DHAVE_CONFIG_H -I. -I../../../demos/ppl_lpsol -I../..
>>  -I../../interfaces/C
>>  -I/System/Library/Frameworks/JavaVM.framework/Headers -I/opt/fink/include
>>  -Winvalid-pch -g -O2  -g -O2 -pipe -fpch-preprocess -fPIC -W -Wall -MT
>>  glpk_set_d_eps.o -MD -MP -MF .deps/glpk_set_d_eps.Tpo -c -o
>>  glpk_set_d_eps.o ../../../demos/ppl_lpsol/glpk_set_d_eps.c
>> clang: warning:  argument unused during compilation: '-I .'
>> clang: warning:  argument unused during compilation: '-I 
>> clang: warning:  ../../../demos/ppl_lpsol'
>> clang: warning:  argument unused during compilation: '-I ../..'
>> clang: warning:  argument unused during compilation: '-I 
>> clang: warning:  ../../interfaces/C'
>> clang: warning:  argument unused during compilation: '-I 
>> clang: warning:  /System/Library/Frameworks/JavaVM.framework/Headers'
>> clang: warning:  argument unused during compilation: '-I /opt/fink/include'
>>  mv -f .deps/glpk_set_d_eps.Tpo .deps/glpk_set_d_eps.Po
>>  rm -f libglpk_set_d_eps.a
>>  ar cru libglpk_set_d_eps.a glpk_set_d_eps.o
>>  ranlib libglpk_set_d_eps.a
>>  gcc -DHAVE_CONFIG_H -I. -I../../../demos/ppl_lpsol -I../..
>>  -I../../interfaces/C
>>  -I/System/Library/Frameworks/JavaVM.framework/Headers -I/opt/fink/include
>>  -pedantic -std=gnu89 -Werror -Winvalid-pch -g -O2  -g -O2 -pipe
>>  -fpch-preprocess -fPIC -W -Wall -MT ppl_lpsol-ppl_lpsol.o -MD -MP -MF
>>  .deps/ppl_lpsol-ppl_lpsol.Tpo -c -o ppl_lpsol-ppl_lpsol.o `test -f
>>  'ppl_lpsol.c' || echo '../../../demos/ppl_lpsol/'`ppl_lpsol.c
>> clang: error:  argument unused during compilation: '-I .'
>> clang: error:  argument unused during compilation: '-I 
>> clang: error:  ../../../demos/ppl_lpsol'
>> clang: error:  argument unused during compilation: '-I ../..'
>> clang: error:  argument unused during compilation: '-I ../../interfaces/C'
>> clang: error:  argument unused during compilation: '-I 
>> clang: error:  /System/Library/Frameworks/JavaVM.framework/Headers'
>> clang: error:  argument unused during compilation: '-I /opt/fink/include'
>>  make[4]: *** [ppl_lpsol-ppl_lpsol.o] Error 1
>>  make[3]: *** [all-recursive] Error 1
>>  make[2]: *** [all-recursive] Error 1
>>  make[1]: *** [all-recursive] Error 1
>>  make: *** [all] Error 2
>>  ### execution of /tmp/fink.KIbtF failed, exit code 2
>>  ### execution of /tmp/fink.txdbv failed, exit code 2
>>  Removing runtime build-lock...
>>  Removing build-lock package...
>>  /opt/fink/bin/dpkg-lockwait -r fink-buildlock-ppl9-0.11.2-4
>>  (Reading database ... 175181 files and directories currently installed.)
>>  Removing fink-buildlock-ppl9-0.11.2-4 ...
>>  Failed: phase compiling: ppl9-0.11.2-4 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>,
>>
>>  with a carbon copy to the maintainer:
>>
>>   David Fang <fang...@users.sourceforge.net>
>>
>>  Note that this is preferable to emailing just the maintainer directly,
>>  since most fink package maintainers do not have access to all possible
>>  hardware and software configurations.
>>
>>  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.35.1
>>  Distribution version: selfupdate-cvs Mon Jul 15 11:55:25 2013, 10.8,
>>  x86_64
>>  Trees: local/main stable/main local/injected
>>  Xcode.app: 4.6.3
>>  Xcode command-line tools: 4.6.0.0.1.1365549073
>>  ppl9-0.11.2-4 is set to build with only one job.
>> 
>>
>>  Note: I switched UseMaxBuildJobs to false. It fails also with 4 parallel
>>  build jobs.
>> 
>>
>>  Any ideas?
>>
>>  Thanks,
>>  Remi
>> 
>> 
>> 
>
> It looks like spaces are getting inserted for some reason:
>
> "
> gcc -DHAVE_CONFIG_H -I. -I../../../demos/ppl_lpsol -I../.. 
> -I../../interfaces/C -I/System/Library/Frameworks/JavaVM.framework/Headers 
> -I/opt/fink/include  -Winvalid-pch -g -O2  -g -O2 -pipe -fpch-preprocess 
> -fPIC -W -Wall -MT glpk_set_d_eps.o -MD -MP -MF .deps/glpk_set_d_eps.Tpo -c 
> -o glpk_set_d_eps.o ../../../demos/ppl_lpsol/glpk_set_d_eps.c
> clang: warning: argument unused during compilation: '-I .'
> ...
> "
>
> I didn't have a similar problem on 10.7 with the same Xcode CL tools and 
> fink, though.
>

-- 
David Fang
http://www.csl.cornell.edu/~fang/


------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
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