Opened 18 years ago

Closed 18 years ago

Last modified 8 years ago

#7341 closed defect (invalid)

BUG: apr-util 1.2.2-1

Reported by: danchr@… Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port: apr-util

Description (last modified by ryandesign (Ryan Carsten Schmidt))

The apr-util port has a missing build dependancy on gawk. The following small patch fixes it:

Index: Portfile
===================================================================
RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/devel/apr-util/Portfile,v
retrieving revision 1.28
diff -a -u -u -r1.28 Portfile
--- Portfile    23 Jan 2006 16:57:58 -0000      1.28
+++ Portfile    18 Feb 2006 17:39:00 -0000
@@ -18,6 +18,7 @@
 
 depends_lib    lib:libapr-0.0:apr port:expat \
                port:libiconv port:db4
+depends_build  bin:gawk:gawk
 
 configure.env  CPPFLAGS=-I${prefix}/include LDFLAGS=-L${prefix}/lib
 configure.args --with-apr=${prefix}/bin/apr-1-config --with-expat=${prefix} \

Attachments (1)

apr-util.out (31.0 KB) - added by danchr@… 18 years ago.
Output from 'port -v build apr-util'

Download all attachments as: .zip

Change History (6)

comment:1 Changed 18 years ago by danielluke (Daniel J. Luke)

Status: newassigned

I don't believe I have gawk installed on any of my machines that I've successfully built apr-util on, can you give me some more details of why it's necessary?

comment:2 Changed 18 years ago by danchr@…

Well, the build failed with an error that it couldn't find gawk. If you wish, I can induce the error again to give you the specific output.

I was creating a new setup with the dplight branch, and apr-util wasn't available as an RPM. I suspect this is because it failed for jbj when he built it.

Changed 18 years ago by danchr@…

Attachment: apr-util.out added

Output from 'port -v build apr-util'

comment:3 Changed 18 years ago by danielluke (Daniel J. Luke)

(In reply to comment #3)

Here's the output. Funny thing is; if you try to build a couple of times, it succeeds :)

I don't see gawk mentioned at all in the tarball that gets extracted for apr-util.

there is an apr_rules.mk file that sets AWK=awk ... perhaps that's getting overwritten in your environment?

It looks like the configure for apr might look for gawk, mawk, nawk, or awk and set the apr_rules.mk based on that finding.

So, if it finds gawk when you install it and then you remove gawk before installing apr-util I think you'll see the below, maybe?

I'm not sure if that's what's happening for you, or not. Can you check and see if that's plausible?

comment:4 Changed 18 years ago by danielluke (Daniel J. Luke)

Resolution: invalid
Status: assignedclosed

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

Description: modified (diff)
Port: apr-util added
Note: See TracTickets for help on using tickets.