Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#30618 closed defect (fixed)

pcb @20091103 build error Undefined symbol _min_vertex_net_spacing

Reported by: DavidLibault Owned by: adam@…
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: geda Cc: anddam (Andrea D'Amore)
Port: pcb

Description (last modified by anddam (Andrea D'Amore))

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

Attachments (2)

pcb-portfile.diff (1.0 KB) - added by zapman@… 13 years ago.
Updates to latest stable release
patch-src-toprouter.c.diff (1.1 KB) - added by zapman@… 13 years ago.
Fixes llvm compile problem

Download all attachments as: .zip

Change History (6)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Keywords: pcb removed
Owner: changed from macports-tickets@… to adam@…
Port: pcb added

Please remember to fill in the Port field and cc the maintainer.

Changed 13 years ago by zapman@…

Attachment: pcb-portfile.diff added

Updates to latest stable release

Changed 13 years ago by zapman@…

Attachment: patch-src-toprouter.c.diff added

Fixes llvm compile problem

comment:2 Changed 13 years ago 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.

comment:3 in reply to:  2 Changed 13 years ago by anddam (Andrea D'Amore)

Description: modified (diff)
Resolution: fixed
Status: newclosed

Replying to 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.

comment:4 Changed 13 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… added

Cc Me!

Note: See TracTickets for help on using tickets.