Opened 17 years ago

Closed 16 years ago

Last modified 16 years ago

#15336 closed defect (fixed)

bsdiff build failure

Reported by: axet (Alexey Kuznetsov) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port:

Description (last modified by jmpalacios (Juan Manuel Palacios))

sh-3.2# port install bsdiff
--->  Fetching bsdiff
--->  Attempting to fetch bsdiff-4.3.tar.gz from http://www.daemonology.net/bsdiff/
--->  Verifying checksum(s) for bsdiff
--->  Extracting bsdiff
--->  Configuring bsdiff
--->  Building bsdiff with target all
 Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_bsdiff/work/bsdiff-4.3" && bsdmake all " returned error 1
Command output: cc -Os -pipe   -O3 -lbz2  bsdiff.c  -o bsdiff
cc -Os -pipe   -O3 -lbz2  bspatch.c  -o bspatch
bspatch.c:39: error: syntax error before '*' token
bspatch.c: In function 'offtin':
bspatch.c:43: error: 'buf' undeclared (first use in this function)
bspatch.c:43: error: (Each undeclared identifier is reported only once
bspatch.c:43: error: for each function it appears in.)
bspatch.c: In function 'main':
bspatch.c:65: error: 'u_char' undeclared (first use in this function)
bspatch.c:65: error: syntax error before 'header'
bspatch.c:66: error: 'old' undeclared (first use in this function)
bspatch.c:66: error: 'new' undeclared (first use in this function)
bspatch.c:93: error: 'header' undeclared (first use in this function)
bspatch.c:147: error: 'buf' undeclared (first use in this function)
*** Error code 1

Stop in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_bsdiff/work/bsdiff-4.3.

Error: Status 1 encountered during processing.

Change History (7)

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

Milestone: Port Bugs
Summary: unable to get bsdiffbsdiff build failure

comment:2 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

bsdiff @4.3_0 installs without error for me on Mac OS X 10.4.11 Intel with Xcode 2.5 and MacPorts 1.6.0. What Mac OS X and Xcode versions do you have and on what kind of Mac?

comment:3 Changed 16 years ago by axet (Alexey Kuznetsov)

Mac OS X 10.5.3 Intel Xcode 3.0 Developer Tools for Mac OS X v10.5 (Leopard)

port selfupdate port upgrade bsdiff

--->  Fetching bsdiff
--->  Verifying checksum(s) for bsdiff
--->  Extracting bsdiff
--->  Configuring bsdiff
--->  Building bsdiff with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_bsdiff/work/bsdiff-4.3" && bsdmake all " returned error 1
Command output: cc -O2  -O3 -lbz2 -L/opt/local/lib bsdiff.c  -o bsdiff
cc -O2  -O3 -lbz2 -L/opt/local/lib bspatch.c  -o bspatch
bspatch.c:39: error: syntax error before '*' token
bspatch.c: In function 'offtin':
bspatch.c:43: error: 'buf' undeclared (first use in this function)
bspatch.c:43: error: (Each undeclared identifier is reported only once
bspatch.c:43: error: for each function it appears in.)
bspatch.c: In function 'main':
bspatch.c:65: error: 'u_char' undeclared (first use in this function)
bspatch.c:65: error: syntax error before 'header'
bspatch.c:66: error: 'old' undeclared (first use in this function)
bspatch.c:66: error: 'new' undeclared (first use in this function)
bspatch.c:93: error: 'header' undeclared (first use in this function)
bspatch.c:147: error: 'buf' undeclared (first use in this function)
*** Error code 1

Stop in /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_bsdiff/work/bsdiff-4.3.

comment:4 Changed 16 years ago by blb@…

Recently discussed on the Unix Porting list.

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

Resolution: fixed
Status: newclosed

Thanks. Adding that one header seems to be all that's needed. Fixed in r38984 and r38985.

comment:6 Changed 16 years ago by jmpalacios (Juan Manuel Palacios)

Description: modified (diff)

comment:7 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.