[MacPorts] #30618: pcb @20091103 build error Undefined symbol _min_vertex_net_spacing
#30618: pcb @20091103 build error Undefined symbol _min_vertex_net_spacing -------------------------------------+-------------------------------------- Reporter: david.libault@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: pcb geda | Port: -------------------------------------+-------------------------------------- Mac OSX 10.6.8 XCode 4.0.2 build 4A2002a A symbol seems to be missing when building pcb @20091103. Following is the end of /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pcb/pcb/main.log : {{{ :info:build /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 -DNDEBUG -pipe -O2 -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14 -Wall -Wdeclaration-after-statement -L/opt/local/lib -arch x86_64 -rdynamic -o pcb action.o autoplace.o autoroute.o buffer.o change.o clip.o command.o compat.o copy.o create.o crosshair.o data.o djopt.o draw.o drill.o edif.o error.o file.o find.o flags.o fontmode.o heap.o insert.o intersect.o line.o lrealpath.o main.o mirror.o misc.o move.o mtspace.o mymem.o netlist.o parse_l.o parse_y.o polygon.o polygon1.o puller.o print.o rats.o remove.o report.o res_parse.o res_lex.o rotate.o rtree.o rubberband.o search.o select.o set.o strflags.o thermal.o undo.o vector.o vendor.o hid/common/actions.o hid/common/flags.o hid/common/hidinit.o hid/common/hidnogui.o hid/common/extents.o hid/common/draw_helpers.o hid/common/hid_resource.o toporouter.o dbus-pcbmain.o dbus.o libgtk.a liblpr.a libbom.a libgerber.a libnelma.a libpng.a libps.a libgts.a -lfl -ldl -lm -L/opt/local/lib -ldbus-1 -lpthread -lXrender -L/opt/local/lib -lglib-2.0 -lintl -L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11 -lpng14 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng -lz -liconv -lgd -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation :info:build Undefined symbols for architecture x86_64: :info:build "_min_vertex_net_spacing", referenced from: :info:build _edge_flow in toporouter.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build collect2: ld returned 1 exit status :info:build make[4]: *** [pcb] Error 1 :info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pcb/pcb/work/pcb-20091103/src' :info:build make[3]: *** [all-recursive] Error 1 :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pcb/pcb/work/pcb-20091103/src' :info:build make[2]: *** [all] Error 2 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pcb/pcb/work/pcb-20091103/src' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pcb/pcb/work/pcb-20091103' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pcb/pcb/work/pcb-20091103' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pcb/pcb/work/pcb-20091103" && /usr/bin/make -j4 -w all " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for pcb): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for pcb is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pcb/pcb/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/30618> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30618: pcb @20091103 build error Undefined symbol _min_vertex_net_spacing -------------------------------------+-------------------------------------- Reporter: david.libault@… | Owner: adam@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: geda | Port: pcb -------------------------------------+-------------------------------------- Changes (by jmr@…): * owner: macports-tickets@… => adam@… * keywords: pcb geda => geda * port: => pcb Comment: Please remember to fill in the Port field and cc the maintainer. -- Ticket URL: <https://trac.macports.org/ticket/30618#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30618: pcb @20091103 build error Undefined symbol _min_vertex_net_spacing -------------------------------------+-------------------------------------- Reporter: david.libault@… | Owner: adam@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: geda | Port: pcb -------------------------------------+-------------------------------------- Comment(by zapman@…): I've attached files to update pcb to the latest stable release and fix the compile problem with llvm. If people are hesitant to do both under this ticket, let me know. -- Ticket URL: <https://trac.macports.org/ticket/30618#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30618: pcb @20091103 build error Undefined symbol _min_vertex_net_spacing --------------------------------------+------------------------------------- Reporter: david.libault@… | Owner: adam@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: fixed | Keywords: geda Port: pcb | --------------------------------------+------------------------------------- Changes (by and.damore@…): * status: new => closed * resolution: => fixed Old description:
Mac OSX 10.6.8 XCode 4.0.2 build 4A2002a
A symbol seems to be missing when building pcb @20091103. Following is the end of /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pcb/pcb/main.log :
{{{ :info:build /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 -DNDEBUG -pipe -O2 -arch x86_64 -I/opt/local/include -I/opt/local/include -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14 -Wall -Wdeclaration-after-statement -L/opt/local/lib -arch x86_64 -rdynamic -o pcb action.o autoplace.o autoroute.o buffer.o change.o clip.o command.o compat.o copy.o create.o crosshair.o data.o djopt.o draw.o drill.o edif.o error.o file.o find.o flags.o fontmode.o heap.o insert.o intersect.o line.o lrealpath.o main.o mirror.o misc.o move.o mtspace.o mymem.o netlist.o parse_l.o parse_y.o polygon.o polygon1.o puller.o print.o rats.o remove.o report.o res_parse.o res_lex.o rotate.o rtree.o rubberband.o search.o select.o set.o strflags.o thermal.o undo.o vector.o vendor.o hid/common/actions.o hid/common/flags.o hid/common/hidinit.o hid/common/hidnogui.o hid/common/extents.o hid/common/draw_helpers.o hid/common/hid_resource.o toporouter.o dbus-pcbmain.o dbus.o libgtk.a liblpr.a libbom.a libgerber.a libnelma.a libpng.a libps.a libgts.a -lfl -ldl -lm -L/opt/local/lib -ldbus-1 -lpthread -lXrender -L/opt/local/lib -lglib-2.0 -lintl -L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11 -lpng14 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -lXpm -lX11 -ljpeg -lfontconfig -lfreetype -lpng -lz -liconv -lgd -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation :info:build Undefined symbols for architecture x86_64: :info:build "_min_vertex_net_spacing", referenced from: :info:build _edge_flow in toporouter.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build collect2: ld returned 1 exit status :info:build make[4]: *** [pcb] Error 1 :info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pcb/pcb/work/pcb-20091103/src' :info:build make[3]: *** [all-recursive] Error 1 :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pcb/pcb/work/pcb-20091103/src' :info:build make[2]: *** [all] Error 2 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pcb/pcb/work/pcb-20091103/src' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pcb/pcb/work/pcb-20091103' :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pcb/pcb/work/pcb-20091103' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pcb/pcb/work/pcb-20091103" && /usr/bin/make -j4 -w all " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for pcb): org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Log for pcb is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pcb/pcb/main.log }}}
New description: Mac OSX 10.6.8 XCode 4.0.2 build 4A2002a A symbol seems to be missing when building pcb @20091103. Following is the end of /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_pcb/pcb/main.log : {{{ :info:build /Developer/usr/bin/llvm-gcc-4.2 -std=gnu99 -DNDEBUG -pipe -O2 -arch x86_64 :-I/opt/local/include -I/opt/local/include -I/opt/local/include/dbus-1.0 :-I/opt/local/lib/dbus-1.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include :-I/opt/local/include -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include :-I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 :-I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include :-I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 :-I/opt/local/include/freetype2 -I/opt/local/include/libpng14 -Wall -Wdeclaration-after-statement : -L/opt/local/lib -arch x86_64 -rdynamic -o pcb action.o autoplace.o autoroute.o buffer.o change.o :clip.o command.o compat.o copy.o create.o crosshair.o data.o djopt.o draw.o drill.o edif.o error.o :file.o find.o flags.o fontmode.o heap.o insert.o intersect.o line.o lrealpath.o main.o mirror.o :misc.o move.o mtspace.o mymem.o netlist.o parse_l.o parse_y.o polygon.o polygon1.o puller.o print.o :rats.o remove.o report.o res_parse.o res_lex.o rotate.o rtree.o rubberband.o search.o select.o :set.o strflags.o thermal.o undo.o vector.o vendor.o hid/common/actions.o hid/common/flags.o :hid/common/hidinit.o hid/common/hidnogui.o hid/common/extents.o hid/common/draw_helpers.o :hid/common/hid_resource.o toporouter.o dbus-pcbmain.o dbus.o libgtk.a liblpr.a libbom.a libgerber.a :libnelma.a libpng.a libps.a libgts.a -lfl -ldl -lm -L/opt/local/lib -ldbus-1 -lpthread :-lXrender -L/opt/local/lib -lglib-2.0 -lintl -L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 :-latk-1.0 -lpangocairo-1.0 -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXcomposite :-lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXfixes -lcairo -lX11 -lpng14 -lpango-1.0 -lm :-lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl :-L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -L/opt/local/lib -lXpm -lX11 -ljpeg -lfontconfig :-lfreetype -lpng -lz -liconv -lgd -lintl -liconv -lc -Wl,-framework -Wl,CoreFoundation info:build :Undefined symbols for architecture x86_64: info:build "_min_vertex_net_spacing", referenced from: :info:build _edge_flow in toporouter.o info:build ld: symbol(s) not found for architecture :x86_64 info:build collect2: ld returned 1 exit status info:build make[4]: *** [pcb] Error 1 :info:build make[4]: Leaving directory :`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports. :org_release_ports_x11_pcb/pcb/work/pcb-20091103/src' info:build make[3]: *** [all-recursive] Error :1 info:build make[3]: Leaving directory :`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports. :org_release_ports_x11_pcb/pcb/work/pcb-20091103/src' info:build make[2]: *** [all] Error 2 :info:build make[2]: Leaving directory :`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports. :org_release_ports_x11_pcb/pcb/work/pcb-20091103/src' info:build make[1]: *** [all-recursive] Error :1 info:build make[1]: Leaving directory :`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports. :org_release_ports_x11_pcb/pcb/work/pcb-20091103' info:build make: *** [all] Error 2 info:build :make: Leaving directory :`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports. :org_release_ports_x11_pcb/pcb/work/pcb-20091103' info:build shell command " cd :"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports. :org_release_ports_x11_pcb/pcb/work/pcb-20091103" && /usr/bin/make -j4 -w all " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for pcb): org.macports.activate :org.macports.build org.macports.destroot org.macports.install notice:build Log for pcb is at: :/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports. :org_release_ports_x11_pcb/pcb/main.log }}} -- Comment: Replying to [comment:2 zapman@…]:
I've attached files to update pcb to the latest stable release and fix the compile problem with llvm. If people are hesitant to do both under this ticket, let me know.
I didn't notice your patch to 20100929, I've updated to 20110918 in r84949 due to maintainer timeout. The new stable already has '''static inline gdouble''' in toporouter so doesn't need the '''toporouter.c''' patch. I'm rewrapping ticket description to 80 cols. Ticket closed. -- Ticket URL: <https://trac.macports.org/ticket/30618#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts