Opened 13 years ago

Closed 7 years ago

#31356 closed defect (fixed)

graphviz +perl doesn't build universal

Reported by: Ionic (Mihai Moldovan) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: nchaimov@…
Port: graphviz

Description

[...] 

swig -c++ -ocaml -o gv_ocaml.cpp ./gv.i
  CXX    libgv_perl_la-gv.lo
  CC     libgv_perl_la-gv_builtins.lo
  CC     libgv_perl_la-gv_dummy_init.lo
gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
g++-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
make[4]: *** [libgv_perl_la-gv_builtins.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: *** [libgv_perl_la-gv_dummy_init.lo] Error 1
make[4]: *** [libgv_perl_la-gv.lo] Error 1
make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0/tclpkg/gv'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0/tclpkg/gv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0/tclpkg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0'
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0" && /usr/bin/make -j4 -w all " returned error 2
Error: Target org.macports.build returned: shell command failed (see log for details)
Warning: the following items did not execute (for graphviz): org.macports.install org.macports.build org.macports.destroot
Log for graphviz is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_graphics_graphviz/graphviz/main.log
Error: Unable to upgrade port: 1
To report a bug, see <http://guide.macports.org/#project.tickets>
port -v upgrade graphviz   74.04s user 78.78s system 72% cpu 3:30.51 total

Pretty self explanatory, but I've got no idea how to fix this properly (probably due to some -M flag). Note that I can't test/build graphviz -universal, as a LOT of dependencies on graphviz have to be build universal on my system.

Change History (9)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… removed
Owner: changed from macports-tickets@… to ryandesign@…

I always build graphviz universal on my system and it's always worked fine, but I don't use the language variants; you're using at least the ocaml variant, yes?

comment:2 Changed 13 years ago by Ionic (Mihai Moldovan)

Indeed! Actually it's been using a lot of variants:

graphviz @2.28.0_0+gdk_pixbuf+guile+java+lua+ocaml+perl+php+r+rsvg+ruby+tcl (active)

Let me backtrack at what plugin exactly it fails (though it's gotta be more than one causing the initial problem.)

Restarted upgrade with 1 make job aaaand:

Making all in gv
make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0/tclpkg/gv'
Making all in demo
make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0/tclpkg/gv/demo'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0/tclpkg/gv/demo'
make[4]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0/tclpkg/gv'
  CXXLD  libgv_R.la
  CXXLD  libgv_guile.la
  CXXLD  libgv_java.la
  CXXLD  libgv_lua.la
  CXXLD  libgv_ocaml.la
ld: warning: directory not found for option '-L/usr/lib/ocaml'
  CXX    libgv_perl_la-gv.lo
g++-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags
make[4]: *** [libgv_perl_la-gv.lo] Error 1
make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0/tclpkg/gv'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0/tclpkg/gv'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0/tclpkg'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0'
shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_macports.rsync.ionic.de_release_ports_graphics_graphviz/graphviz/work/graphviz-2.28.0" && /usr/bin/make -w all " returned error 2
Error: Target org.macports.build returned: shell command failed (see log for details)

So as far as I see, it's building libgv_{R,guile,java,ocaml,lua}, but fails on perl.

All three g++/gcc jobs in my original posting have been failing on perl too, so I suspect perl to be the culprit. :/

comment:3 Changed 13 years ago by nchaimov@…

Cc: nchaimov@… added

Cc Me!

comment:4 Changed 13 years ago by Ionic (Mihai Moldovan)

Whoops... didn't I update this? Sorry! graphviz +gdk_pixbuf+guile+java+lua+ocaml+php+r+rsvg+ruby+tcl (i.e., without perl) compiled fine, absolutely right.

comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: graphviz 2.28.0 doesn't build universalgraphviz +perl doesn't build universal

comment:6 Changed 7 years ago by jmroot (Joshua Root)

Is this still a problem with the current version?

comment:7 Changed 7 years ago by Ionic (Mihai Moldovan)

I'll retest in about a week, though it's likely that newer clang versions don't choke on that any longer. I can not easily test on 10.6, which was the original platform.

comment:8 Changed 7 years ago by Ionic (Mihai Moldovan)

Cannot reproduce on 10.9.

Will try in a 10.6 VM, but this will take some time again. If it's also unreproducible there, I will close this ticket.

comment:9 Changed 7 years ago by Ionic (Mihai Moldovan)

Resolution: fixed
Status: newclosed

Builds in my 10.6 VM now. Closing as fixed.

Note: See TracTickets for help on using tickets.