Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#34656 closed defect (fixed)

bind9: dlz_mysql5 variant fails at patch phase

Reported by: erik@… Owned by: danielluke (Daniel J. Luke)
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: pixilla (Bradley Giesbrecht)
Port: bind9

Description (last modified by mf2k (Frank Schima))

patch Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_bind9/bind9/work/bind-9.9.1" && /usr/bin/patch -p0 < '/opt/local/var/macports/sources/rsync.macports.org/release/ports/net/bind9/files/patch-configure'

Attachments (2)

main.log (5.9 KB) - added by erik@… 12 years ago.
patch-net-bind9.diff (6.1 KB) - added by pixilla (Bradley Giesbrecht) 12 years ago.

Download all attachments as: .zip

Change History (13)

Changed 12 years ago by erik@…

Attachment: main.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to dluke@…
Summary: Bind9 fails to build on 10.6.8bind9: dlz_mysql5 variant fails at patch phase

comment:2 Changed 12 years ago by mf2k (Frank Schima)

Description: modified (diff)

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

Owner: changed from dluke@… to dluke@…
Status: newassigned

That patch was contributed by someone who uses that functionality (I don't, so I can't test it very well). I suspect that things may even work without it. Can you try commenting out the two patchfiles-append lines in the dlz_mysql5 and see if it now builds/works without them?

If someone who actually uses the functionality can fix it, that's probably best. Otherwise I will try and set up a (very) simple test case when I get some time.

comment:4 Changed 12 years ago by erik@…

I will try.

Do you have any clue, what the patch in question aims to achieve? Can you point me in the right direction, so I can read about it myself, or maybe get in touch with whoever submitted the patch?

We are a hosting company in Denmark, and our DNS depends on this variant, so it's sort of a big deal for us:)

comment:5 Changed 12 years ago by danielluke (Daniel J. Luke)

It was added for bind9 9.5.0-P2 (ticket #17783)

IIRC, the patch was designed to point the bind9 build to the macports location for mysql_config5 (so that it could find the mysql headers and libraries to link to).

comment:6 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Cc: pixilla@… added

Cc Me!

comment:7 Changed 12 years ago by pixilla (Bradley Giesbrecht)

I am not currently using MacPorts bind9 +dlz_mysql5 but my patch-net-bind9.diff builds and most likely functions as expected.

Changed 12 years ago by pixilla (Bradley Giesbrecht)

Attachment: patch-net-bind9.diff added

comment:8 Changed 12 years ago by erik@…

I can confirm that the submitted patch works as I expected. After applying it, I reran #port upgrade outdated and it completed without further issues.

On top of this, I was very pleased to find that our setup continued to work without a hitch. The updated machine is setup as a slave with mysql replication from our master. The replication is still in sync after bind9 and mysql server have been upgraded:)

comment:9 Changed 12 years ago by erik@…

TYVM pixilla

comment:10 Changed 12 years ago by danielluke (Daniel J. Luke)

Resolution: fixed
Status: assignedclosed

Excellent! committed in r93846

comment:11 Changed 12 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Followup regarding the gssapi linkage in #37769

Note: See TracTickets for help on using tickets.