[MacPorts] #33985: eboard @1.1.1 configure error due to bad ${CXX} env var ref

MacPorts noreply at macports.org
Fri Apr 13 20:31:35 PDT 2012


#33985: eboard @1.1.1 configure error due to bad ${CXX} env var ref
----------------------------+-----------------------------------------------
 Reporter:  jlmuir@…        |       Owner:  pmq@…           
     Type:  defect          |      Status:  new             
 Priority:  Normal          |   Milestone:                  
Component:  ports           |     Version:  2.0.4           
 Keywords:                  |        Port:  eboard          
----------------------------+-----------------------------------------------

Comment(by jlmuir@…):

 Replying to [comment:1 macsforever2000@…]:
 > In the future, please use WikiFormatting.

 I did; I used the blockquote formatting.  Using the preformatted text
 formatting produced a really long line that was difficult to read in the
 bug report.

 > That seems like an odd fix. Is perl no longer required? Then it should
 be removed as a dependency.

 True, if perl is not needed for the build, then the build dependency
 should be removed.  I don't know why it is needed.  Most Portfiles depend
 on a system /bin/sh or /usr/bin/perl; they don't create a build dependency
 on perl just to run the configure script.  But I'm not going to track this
 down; I guess it can be left as is and assume the maintainer did it for a
 reason.

 > Also maybe the variable should simply be corrected?
 >
 > {{{
 >    --compiler=${configure.cxx}
 > }}}

 That seems reasonable.  I didn't know about that variable.  The
 documentation lists the default as "???".  I don't know what that means.
 I guess it means the value is not fixed but will be set to something.

 Unfortunately, doing that now produces another problem, perhaps the real
 problem.  The configure phase fails.  Looking at the config.log file, I
 see lines like this:

 {{{
 -- begin test.cc --
 #include <string>
 int main() { return 0; }
 -- end test.cc --
 cmd = /usr/bin/clang++ -O6 -c test.cc -o xxtest.o
 output:
 error: invalid value '6' in '-O6'
 return value = 1
 }}}

 So, it seems the configure script is trying to compile with an
 optimization level of `-O6` and clang doesn't like it.  I've decided not
 to use eboard after evaluating it for what I wanted to do, so I won't
 track this down any further.  But I would think it would fail to build for
 anyone using clang as the compiler, so it should be easy to reproduce if
 anyone wants to fix it.

-- 
Ticket URL: <https://trac.macports.org/ticket/33985#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list