[MacPorts] #40806: octave-devel:

MacPorts noreply at macports.org
Fri Oct 18 02:12:23 PDT 2013


#40806: octave-devel:
---------------------------+-------------------------
  Reporter:  ram@…         |      Owner:  michaelld@…
      Type:  defect        |     Status:  new
  Priority:  Normal        |  Milestone:
 Component:  ports         |    Version:  2.2.0
Resolution:                |   Keywords:  mavericks
      Port:  octave-devel  |
---------------------------+-------------------------
Description changed by ram@…:

Old description:

> Looks like the #30737 also effects Mavericks as I'm getting the
> following:
>
> {{{
> :info:build libtool: compile:  /opt/local/bin/g++-mp-4.8 -DHAVE_CONFIG_H
> -I. -I.. -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave
> -I../liboctave -I. -I. -pipe -Os -m64 -DHAVE_CONFIG_H
> -I/opt/local/include -Wall -W -Wshadow -Wold-style-cast -Wformat
> -Wpointer-arith -Wwrite-strings -Wcast-align -Wcast-qual -pipe -Os -m64
> -D_THREAD_SAFE -pthread -pipe -Os -m64 -c dynamic-ld.cc  -fno-common
> -DPIC -o .libs/liboctinterp_la-dynamic-ld.o
> :info:build display.cc: In member function 'void
> display_info::init(bool)':
> :info:build display.cc:75:46: error: 'CGDisplayBitsPerPixel' was not
> declared in this scope
> :info:build            dp = CGDisplayBitsPerPixel (display);
> :info:build                                               ^
> }}}
>
> Using the same fix as #30737, i.e.:
>
> {{{
> platform darwin 13 {
>     # In 10.9 patch is required as above, also
>     # the LANG environment variable needs to
>     # be set to "C" otherwise /usr/bin/sed
>     # fails with an error, if you installed gsed
>     # with default name this should have no effect.
>
>     patchfiles-append patch-src-display.cc.diff
>     build.args-append LANG="C"
> }
> }}}
>
> allows the build to get a little further but then it fails with:
>
> {{{
> Undefined symbols for architecture x86_64:
>   "Magick::CoderInfo::CoderInfo(std::basic_string<char,
> std::char_traits<char>, std::allocator<char> > const&)", referenced from:
>       F__magick_format_list__(octave_value_list const&, int) in
> DLD_FUNCTIONS___magick_read___la-__magick_read__.o
> ld: symbol(s) not found for architecture x86_64
> }}}

New description:

 Looks like the #30737 also effects Mavericks as I'm getting the following:

 {{{
 :info:build libtool: compile:  /opt/local/bin/g++-mp-4.8 -DHAVE_CONFIG_H
 -I. -I.. -I../libgnu -I../libgnu -I../libcruft/misc -I../liboctave
 -I../liboctave -I. -I. -pipe -Os -m64 -DHAVE_CONFIG_H -I/opt/local/include
 -Wall -W -Wshadow -Wold-style-cast -Wformat -Wpointer-arith -Wwrite-
 strings -Wcast-align -Wcast-qual -pipe -Os -m64 -D_THREAD_SAFE -pthread
 -pipe -Os -m64 -c dynamic-ld.cc  -fno-common -DPIC -o .libs
 /liboctinterp_la-dynamic-ld.o
 :info:build display.cc: In member function 'void
 display_info::init(bool)':
 :info:build display.cc:75:46: error: 'CGDisplayBitsPerPixel' was not
 declared in this scope
 :info:build            dp = CGDisplayBitsPerPixel (display);
 :info:build                                               ^
 }}}

 Using the same fix as #30737, i.e.:

 {{{
 platform darwin 13 {
     # In 10.9 patch is required as above, also
     # the LANG environment variable needs to
     # be set to "C" otherwise /usr/bin/sed
     # fails with an error, if you installed gsed
     # with default name this should have no effect.

     patchfiles-append patch-src-display.cc.diff
     build.args-append LANG="C"
 }
 }}}

 allows the build to get a little further but then it fails with:

 {{{
 Undefined symbols for architecture x86_64:
   "Magick::CoderInfo::CoderInfo(std::basic_string<char,
 std::char_traits<char>, std::allocator<char> > const&)", referenced from:
       F__magick_format_list__(octave_value_list const&, int) in
 DLD_FUNCTIONS___magick_read___la-__magick_read__.o
 ld: symbol(s) not found for architecture x86_64
 }}}

 full build log is attached.

--

-- 
Ticket URL: <https://trac.macports.org/ticket/40806#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list