Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#18051 closed defect (fixed)

apr-util requires gsed but it's not in the Portfile.

Reported by: sck-nogas (Scott C. Kennedy) Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: apr-util gsed Cc:
Port: apr-util

Description (last modified by jmroot (Joshua Root))

When re-building MacPorts on my Leopard laptop 10.5.6 with MacPorts 1.7, I came across this issue with apr-util.

Scott

Biko-2:~ sck$ sudo port selfupdate

MacPorts base version 1.700 installed
Downloaded MacPorts base version 1.700

The MacPorts installation is not outdated so it was not updated
Biko-2:~ sck$ sudo port install apr-util
--->  Fetching apr-util
--->  Verifying checksum(s) for apr-util
--->  Extracting apr-util
--->  Configuring apr-util
--->  Building apr-util
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_apr-util/work/apr-util-1.3.4" && make all " returnedCommand output: /bin/sh /opt/local/share/apr-1/build/libtool --silent --mode=compile /usr/bin/gcc-4.0   -O2 -DHAVE_CONFIG_H -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp  -I/opt/local/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apr-util/work/apr-util-1.3.4/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_apr-util/work/apr-util-1.3.4/include/private -I/opt/local/include  -I/opt/local/include/apr-1  -I/opt/local/include  -o buckets/apr_buckets_pipe.lo -c buckets/apr_buckets_pipe.c && touch buckets/apr_buckets_pipe.lo
/opt/local/share/apr-1/build/libtool: line 390: /opt/local/bin/gsed: No such file or directory
/opt/local/share/apr-1/build/libtool: line 789: /opt/local/bin/gsed: No such file or directory
/bin/echo: write: Broken pipe
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
: warning: cannot infer operation mode from `/usr/bin/gcc-4.0'
: you must specify a MODE
Try ` --help' for more information.
make[1]: *** [buckets/apr_buckets_pipe.lo] Error 1
make: *** [all-recursive] Error 1

Error: Status 1 encountered during processing.


Biko-2:~ sck$ grep gsed /opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/apr-util/Portfile
Biko-2:~ sck$ sudo port  install gsed
--->  Fetching gsed
--->  Verifying checksum(s) for gsed
--->  Extracting gsed
--->  Applying patches to gsed
--->  Configuring gsed
--->  Building gsed
--->  Staging gsed into destroot
--->  Installing gsed @4.1.5_3
--->  Activating gsed @4.1.5_3
--->  Cleaning gsed
Biko-2:~ sck$ sudo port install apr-util
--->  Fetching apr-util
--->  Verifying checksum(s) for apr-util
--->  Extracting apr-util
--->  Configuring apr-util
--->  Building apr-util
--->  Staging apr-util into destroot
--->  Installing apr-util @1.3.4_1
--->  Activating apr-util @1.3.4_1
--->  Cleaning apr-util
Biko-2:~ sck$ 

Change History (3)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to dluke@…

comment:2 Changed 16 years ago by danielluke (Daniel J. Luke)

Resolution: fixed
Status: newclosed

The problem is actually in apr (and is similar to the old gawk problem).

r45504 includes a fix.

comment:3 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.