Opened 15 years ago

Closed 15 years ago

#5433 closed defect (fixed)

BUG: pcb package install dies with build errors

Reported by: mute@… Owned by: adam@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc: markd@…
Port:

Description

I'm running dports 1.102 with Tiger 10.4.2 and the pcb package (which is also a bit out of date) dies on install with the following output:

[windmill:~] mute% sudo port install pcb ---> Fetching pcb ---> Attempting to fetch pcb-20040903.tar.gz from http://puzzle.dl.sourceforge.net/pcb ---> Verifying checksum(s) for pcb ---> Extracting pcb ---> Configuring pcb ---> Building pcb with target all Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/file._opt_local_var_db_dports_sources_rsync.rsync.opendarwin.org_dpupdate_dports_x11_pcb/work/pcb-20040903" && make all" returned error 2 Command output: if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./icons -DPCBLIBDIR=\"/opt/local/share/pcb\" -DPCBTREEDIR=\"/opt/local/share/pcb/newlib\" -DNDEBUG -g -O2 -Wall -I/usr/X11R6/include -MT dev_rs274x.o -MD -MP -MF ".deps/dev_rs274x.Tpo" \

-c -o dev_rs274x.o test -f 'dev_rs274x.c' || echo './'dev_rs274x.c; \

then mv -f ".deps/dev_rs274x.Tpo" ".deps/dev_rs274x.Po"; \ else rm -f ".deps/dev_rs274x.Tpo"; exit 1; \ fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./icons -DPCBLIBDIR=\"/opt/local/share/pcb\" -DPCBTREEDIR=\"/opt/local/share/pcb/newlib\" -DNDEBUG -g -O2 -Wall -I/usr/X11R6/include -MT dialog.o -MD -MP -MF ".deps/dialog.Tpo" \

-c -o dialog.o test -f 'dialog.c' || echo './'dialog.c; \

then mv -f ".deps/dialog.Tpo" ".deps/dialog.Po"; \ else rm -f ".deps/dialog.Tpo"; exit 1; \ fi dialog.c: In function 'AboutDialog': dialog.c:449: warning: pointer targets in passing argument 3 of 'XCreatePixmapFromBitmapData' differ in signedness dialog.c: At top level: icon.data:44: warning: 'rotateIcon_bits' defined but not used icon.data:51: warning: 'rotateMask_bits' defined but not used icon.data:58: warning: 'handIcon_bits' defined but not used icon.data:64: warning: 'handMask_bits' defined but not used icon.data:70: warning: 'lockIcon_bits' defined but not used icon.data:76: warning: 'lockMask_bits' defined but not used if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I./icons -DPCBLIBDIR=\"/opt/local/share/pcb\" -DPCBTREEDIR=\"/opt/local/share/pcb/newlib\" -DNDEBUG -g -O2 -Wall -I/usr/X11R6/include -MT djopt.o -MD -MP -MF ".deps/djopt.Tpo" \

-c -o djopt.o test -f 'djopt.c' || echo './'djopt.c; \

then mv -f ".deps/djopt.Tpo" ".deps/djopt.Po"; \ else rm -f ".deps/djopt.Tpo"; exit 1; \ fi djopt.c:280: error: static declaration of 'abs' follows non-static declaration make[4]: * [djopt.o] Error 1 make[3]: * [all-recursive] Error 1 make[2]: * [all] Error 2 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

[windmill:~] mute% uname -a Darwin windmill.local 8.2.0 Darwin Kernel Version 8.2.0: Fri Jun 24 17:46:54 PDT 2005; root:xnu-792.2.4.obj~3/RELEASE_PPC Power Macintosh powerpc

Change History (2)

comment:1 Changed 15 years ago by mww@…

Owner: changed from darwinports-bugs@… to adam@…
Summary: pcb package install dies with build errorsBUG: pcb package install dies with build errors

comment:2 Changed 15 years ago by markd@…

Cc: markd@… added
Resolution: fixed
Status: newclosed

Committed version bump to pcb-20060321 to solve the build problem. Tested on 10.4.5. Closing bug.

Note: See TracTickets for help on using tickets.