Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#41870 closed defect (wontfix)

port install gnudatalanguage @0.9.4_3 +gcc48 +python27 - build failure

Reported by: namektds (Daisuke Namekata) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: gnudatalanguage

Description

As the title shows, gnudatalanguage (GDL) was not successfully installed on OS X 10.9.1.
The most important part (that I think) of the error message is as follows (full message is also attached):

:info:build Linking CXX executable gdl
:info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_math_gnudatalanguage/gnudatalanguage/work/gdl-0.9.4/sr
:info:build /opt/local/bin/g++-mp-4.8   -pipe -Os -I/opt/local/include -m64  -DNDEBUG -arch x86_64 -Wl,-search_paths_first -Wl,-headerpad_max_install_names  -L/
:info:build Undefined symbols for architecture x86_64:
:info:build   "Magick::Color::Color(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
:info:build       lib::magick_create(EnvT*)      in magick_cl.cpp.o
:info:build   "Magick::Image::ping(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
:info:build       lib::magick_ping(EnvT*)      in magick_cl.cpp.o
:info:build   "Magick::Image::read(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
:info:build       lib::magick_open(EnvT*)      in magick_cl.cpp.o
:info:build   "Magick::Image::read(unsigned int, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, MagickLib::Storage
:info:build       lib::magick_write(EnvT*)      in magick_cl.cpp.o
:info:build   "Magick::Image::write(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
:info:build       lib::magick_writefile(EnvT*)      in magick_cl.cpp.o
:info:build   "Magick::Image::write(int, int, unsigned int, unsigned int, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, MagickL
:info:build       lib::magick_readindexes(EnvT*)      in magick_cl.cpp.o
:info:build       lib::magick_read(EnvT*)      in magick_cl.cpp.o
:info:build   "Magick::Image::magick(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
:info:build       lib::magick_writefile(EnvT*)      in magick_cl.cpp.o
:info:build       lib::magick_magick(EnvT*)      in magick_cl.cpp.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build collect2: error: ld returned 1 exit status
:info:build make[2]: *** [src/gdl] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_math_gnudatalanguage/gnudatal
:info:build make[1]: *** [src/CMakeFiles/gdl.dir/all] Error 2
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_math_gnudatalanguage/gnudatal
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_math_gnudatalanguage/gnudatalang
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_distfiles.macports.org_ports_math_gnudatalanguage/gnudatalanguage
:info:build Exit code: 2
:error:build org.macports.build for port gnudatalanguage returned: command execution failed

Before the start of the GDL compilation, the following ports are already installed:

  GraphicsMagick @1.3.18_0+q8 (active)
  ImageMagick @6.8.7-7_0+graphviz+jbig+jpeg2+pango+rsvg+wmf+x11 (active)

Attachments (2)

main.log (372.8 KB) - added by namektds (Daisuke Namekata) 11 years ago.
main.v2.log (220.2 KB) - added by namektds (Daisuke Namekata) 11 years ago.
main.log when compiling without +gcc48

Download all attachments as: .zip

Change History (6)

Changed 11 years ago by namektds (Daisuke Namekata)

Attachment: main.log added

comment:1 Changed 11 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to takeshi@…

In the future, please Cc the port maintainers (port info --maintainers gnudatalanguage).

comment:2 Changed 11 years ago by tenomoto (Takeshi Enomoto)

Resolution: wontfix
Status: newclosed

gcc4x does not work if GraphicsMagick is built with clang++, which is the default compiler on Mavericks. There is a conflict between libstdc++ (gcc) and libc++ (llvm) and I cannot fix the problem. Perhaps I should remove gcc4x variants, but those on older system might want OpenMP support.

comment:3 in reply to:  1 Changed 11 years ago by namektds (Daisuke Namekata)

Replying to macsforever2000@…:

In the future, please Cc the port maintainers (port info --maintainers gnudatalanguage).

OK.

comment:4 in reply to:  2 Changed 11 years ago by namektds (Daisuke Namekata)

Replying to takeshi@…:

gcc4x does not work if GraphicsMagick is built with clang++, which is the default compiler on Mavericks. There is a conflict between libstdc++ (gcc) and libc++ (llvm) and I cannot fix the problem. Perhaps I should remove gcc4x variants, but those on older system might want OpenMP support.

Thank you for your response. Unfortunately, GLD is not successfully installed without +gcc48 by a different error.

[name@zorac ~]$ sudo port install gnudatalanguage @0.9.4_3 +python27
--->  Computing dependencies for gnudatalanguage
--->  Fetching archive for gnudatalanguage
--->  Attempting to fetch gnudatalanguage-0.9.4_3+python27.darwin_13.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/gnudatalanguage
--->  Attempting to fetch gnudatalanguage-0.9.4_3+python27.darwin_13.x86_64.tbz2 from http://packages.macports.org/gnudatalanguage
--->  Attempting to fetch gnudatalanguage-0.9.4_3+python27.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/gnudatalanguage
--->  Fetching distfiles for gnudatalanguage
--->  Verifying checksums for gnudatalanguage
--->  Extracting gnudatalanguage
--->  Applying patches to gnudatalanguage
--->  Configuring gnudatalanguage
--->  Building gnudatalanguage
Error: org.macports.build for port gnudatalanguage returned: command execution failed
Please see the log file for port gnudatalanguage for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_distfiles.macports.org_ports_math_gnudatalanguage/gnudatalanguage/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gnudatalanguage failed

The log file is attached.

Changed 11 years ago by namektds (Daisuke Namekata)

Attachment: main.v2.log added

main.log when compiling without +gcc48

Note: See TracTickets for help on using tickets.