DragonFlyBSD / DPorts

The dedicated application build system for DragonFly BSD
Other
89 stars 44 forks source link

dns/powerdns compilation fixes #92

Closed markuspf closed 10 years ago

markuspf commented 10 years ago

find a copy of the port at http://www.morphism.de/~makx/powerdns.tar.gz

Cheers

jrmarino commented 10 years ago

This didn't work for me. I had to diff -qr to figure out the diff and I only found one modified patch. So I created a new patch for dns/powerdns/dragonfly (we almost never modify patches in ./files, but just apply new ones after those get applied)

prompt> cat dragonfly/patch-pdns_Makefile.in

--- pdns/Makefile.in.orig       2013-12-17 14:47:45.000000000 +0100
+++ pdns/Makefile.in    2014-01-16 13:37:09.328942976 +0100
@@ -47,3 +47,13 @@
        $(am__append_13) $(am__append_15) $(am__append_17) \
        $(am__append_19)
  sdig_SOURCES = sdig.cc sstuff.hh dnsparser.cc dnsparser.hh dnsrecords.cc dnswr
iter.cc dnslabeltext.cc dnswriter.hh \
+@@ -950,7 +950,7 @@
+ pdns_control_LDFLAGS = @THREADFLAGS@
+ TESTS_ENVIRONMENT = env BOOST_TEST_LOG_LEVEL=message
+ build_date = $(shell LC_TIME=C date '+%Y%m%d%H%M%S')
+-build_host = $(shell id -u -n)@$(shell hostname -f)
++build_host = $(shell id -u -n)@$(shell hostname)
+ # Do the test in shell, so we don't confuse automake with ifeq/ifneq.
+ @RELEASE_BUILD_FALSE@pdns_version = $(shell test -z "$(git_version)" && echo U
NKNOWN || echo "git-$(git_version)")
+ @RELEASE_BUILD_TRUE@pdns_version = $(PACKAGE_VERSION)
+

Anyway, I get the same error: http://muscles.dragonflybsd.org/bulk/bleeding-edge-potential/20140525_034736/logs/errors/powerdns-3.3.1_1.log

Did I miss something?

jrmarino commented 10 years ago

hold on, let me try generating the patch again. something looks wrong with it. This is more work than I was hoping for.

jrmarino commented 10 years ago

There was no difference with the newly generated one:

muscles# cat dragonfly/patch-pdns_Makefile.in

--- pdns/Makefile.in.intermediate       2014-05-25 10:59:35.269818000 +0000
+++ pdns/Makefile.in
@@ -950,7 +950,7 @@ misc.cc unix_utility.cc qtype.cc
 pdns_control_LDFLAGS = @THREADFLAGS@
 TESTS_ENVIRONMENT = env BOOST_TEST_LOG_LEVEL=message
 build_date = $(shell LC_TIME=C date '+%Y%m%d%H%M%S')
-build_host = $(shell id -u -n)@$(shell hostname -f)
+build_host = $(shell id -u -n)@$(shell hostname)
 # Do the test in shell, so we don't confuse automake with ifeq/ifneq.
 @RELEASE_BUILD_FALSE@pdns_version = $(shell test -z "$(git_version)" && echo UNKNOWN || echo "git-$(git_version)")
 @RELEASE_BUILD_TRUE@pdns_version = $(PACKAGE_VERSION)
jrmarino commented 10 years ago

It seems there are 3 new patches that I've overlooked

jrmarino commented 10 years ago

Deltaports fix: https://github.com/DragonFlyBSD/DeltaPorts/commit/134869f8c632d3587ec9e18c638fbd70dadd6810

DPorts result: 379cf0192f73eb6821edc1ded5214b64419b89aa