[MacPorts] #43245: Port 2.2.99 cannot be configured on PPC Mac OS X 10.4.11 because "/usr/bin/gzip has 3 other links"

MacPorts noreply at macports.org
Sat Sep 13 13:08:59 PDT 2014


#43245: Port 2.2.99 cannot be configured on PPC Mac OS X 10.4.11 because
"/usr/bin/gzip has 3 other links"
------------------------------+--------------------------------
  Reporter:  Peter_Dyballa@…  |      Owner:  macports-tickets@…
      Type:  defect           |     Status:  new
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.2.99
Resolution:                   |   Keywords:
      Port:  MacPorts         |
------------------------------+--------------------------------

Comment (by Peter_Dyballa@…):

 I decided to change configure on these four lines:

 {{{
  9753:          (cd "$mp_tarball_vendordir"; umask 0022; env GZIP=""
 "$mp_tarball_extract_cmd" -d < "$ac_abs_confdir/$mp_tarball" | tar xf - ||
 as_fn_error $? "failed to extract $mp_tarball" "$LINENO" 5)
 10170:          (cd "$mp_tarball_vendordir"; umask 0022; env GZIP=""
 "$mp_tarball_extract_cmd" -d < "$ac_abs_confdir/$mp_tarball" | tar xf - ||
 as_fn_error $? "failed to extract $mp_tarball" "$LINENO" 5)
 10582:          (cd "$mp_tarball_vendordir"; umask 0022; env GZIP=""
 "$mp_tarball_extract_cmd" -d < "$ac_abs_confdir/$mp_tarball" | tar xf - ||
 as_fn_error $? "failed to extract $mp_tarball" "$LINENO" 5)
 10996:          (cd "$mp_tarball_vendordir"; umask 0022; env GZIP=""
 "$mp_tarball_extract_cmd" -d < "$ac_abs_confdir/$mp_tarball" | tar xf - ||
 as_fn_error $? "failed to extract $mp_tarball" "$LINENO" 5)
 }}}

 Now configure succeeds, but the build fails here:

 {{{
 cc -c -DUSE_TCL_STUBS -DTCL_NO_DEPRECATED -g -O2 -std=c99 -Wextra -Wall
 -pedantic     -DHAVE_CONFIG_H -I/opt/mports/trunk/base/src
 -I/opt/mports/trunk/base/src -I. -I/opt/mports/trunk/base/vendor/vendor-
 destroot//opt/local/libexec/macports/include -fno-common flock.c -o
 flock.o
 flock.c: In function ‘FlockCmd’:
 flock.c:140: error: ‘LOCK_SH’ undeclared (first use in this function)
 flock.c:140: error: (Each undeclared identifier is reported only once
 flock.c:140: error: for each function it appears in.)
 flock.c:144: error: ‘LOCK_EX’ undeclared (first use in this function)
 flock.c:148: error: ‘LOCK_UN’ undeclared (first use in this function)
 flock.c:152: error: ‘LOCK_NB’ undeclared (first use in this function)
 flock.c:155: warning: implicit declaration of function ‘flock’
 make[2]: *** [flock.o] Error 1
 make[1]: *** [all] Error 1
 make: *** [all] Error 1
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/43245#comment:6>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list