Re: Cannot build www/mod_dnssd with poudriere

2016-01-26 Thread Kurt Jaeger
Hi!

> I cannot build www/mod_dnssd with poudriere.
> The complete build log is attached.

The list strips attachments. Can you put it up somewhere ?

I tried it on current-amd64 with apache 24, builds fine.

http://people.freebsd.org/~pi/logs/ap24-mod_dnssd-0.6_12.log

-- 
p...@opsec.eu+49 171 3101372 4 years to go !
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Cannot build www/mod_dnssd with poudriere

2016-01-26 Thread Wolfgang Riegler
Hi,

I cannot build www/mod_dnssd with poudriere. The complete build log is 
attached. The error is:
===
===>  Building for ap22-mod_dnssd-0.6_12
gmake  all-recursive
gmake[1]: Entering directory 
'/wrkdirs/usr/ports/www/mod_dnssd/work/mod_dnssd-0.6'
Making all in src
gmake[2]: Entering directory 
'/wrkdirs/usr/ports/www/mod_dnssd/work/mod_dnssd-0.6/src'
/usr/local/sbin/apxs -c -Wc,"   -I/usr/local/include/apr-1  -O2 -pipe 
-fstack-protector -fno-strict-aliasing -std=c99 -Wall -W -Wextra -pedantic 
-pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement 
-Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes 
-Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith 
-Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline 
-D_REENTRANT -D_THREAD_SAFE -pthread -I/usr/local/include  " -Wl,"   
-L/usr/local/lib -lavahi-common -lavahi-client  " ./mod_dnssd.c
/usr/local/share/apr/build-1/libtool --silent --mode=compile cc -prefer-pic -O2 
-pipe -I/usr/include -fstack-protector -fno-strict-aliasing   
-I/usr/local/include -I/usr/local/include/apache22  -I/usr/local/include/apr-1  
 -I/usr/local/include/apr-1 -I/usr/include -I/usr/local/include 
-I/usr/local/include/db5-I/usr/local/include/apr-1  -O2 -pipe 
-fstack-protector -fno-strict-aliasing -std=c99 -Wall -W -Wextra -pedantic 
-pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement 
-Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes 
-Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith 
-Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline 
-D_REENTRANT -D_THREAD_SAFE -pthread -I/usr/local/include-c -o 
./mod_dnssd.lo ./mod_dnssd.c && touch ./mod_dnssd.slo
./mod_dnssd.c:29:23: error: mod_unixd.h: No such file or directory
./mod_dnssd.c:911: warning: missing initializer
./mod_dnssd.c:911: warning: (near initialization for 'commands[8].func')
apxs:Error: Command failed with rc=65536
.
Makefile:26: recipe for target 'mod_dnssd.la' failed
gmake[2]: *** [mod_dnssd.la] Error 1
gmake[2]: Leaving directory 
'/wrkdirs/usr/ports/www/mod_dnssd/work/mod_dnssd-0.6/src'
Makefile:251: recipe for target 'all-recursive' failed
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory 
'/wrkdirs/usr/ports/www/mod_dnssd/work/mod_dnssd-0.6'
Makefile:188: recipe for target 'all' failed
gmake: *** [all] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/www/mod_dnssd.
>> Cleaning up wrkdir
===>  Cleaning for ap22-mod_dnssd-0.6_12
build of www/mod_dnssd ended at Tue Jan 26 07:05:11 CET 2016
build time: 00:00:13
!!! build failure encountered !!!



kind regards

Wolfgang
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Cannot build www/mod_dnssd with poudriere

2016-01-26 Thread Raphael Kubo da Costa
(Sorry if a similar message shows up later, gmane didn't seem to deliver
my original reply)

Wolfgang Riegler  writes:
> ./mod_dnssd.c:29:23: error: mod_unixd.h: No such file or directory
> ./mod_dnssd.c:911: warning: missing initializer
> ./mod_dnssd.c:911: warning: (near initialization for 'commands[8].func')
[...]
> ===>  Cleaning for ap22-mod_dnssd-0.6_12

mod_unixd.h is only present in Apache 2.4, not 2.2. Is mod_dnssd
supposed to work with www/apache22?
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Cannot build www/mod_dnssd with poudriere

2016-01-26 Thread Raphael Kubo da Costa
Wolfgang Riegler  writes:

>  o ./mod_dnssd.c && touch ./mod_dnssd.slo
> ./mod_dnssd.c:29:23: error: mod_unixd.h: No such file or directory
> ./mod_dnssd.c:911: warning: missing initializer
> ./mod_dnssd.c:911: warning: (near initialization for 'commands[8].func')

[...]

> ===>  Cleaning for ap22-mod_dnssd-0.6_12

mod_unixd.h is present in www/apache24, but not www/apache22, hence the
error. I'm not sure about the fix though? Is mod_dnssd supposed to work
with Apache 2.2?

___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Cannot build www/mod_dnssd with poudriere

2016-01-26 Thread olli hauer
On 2016-01-26 12:10, Kurt Jaeger wrote:
> Hi!
> 
>> I cannot build www/mod_dnssd with poudriere.
>> The complete build log is attached.
> 
> The list strips attachments. Can you put it up somewhere ?
> 
> I tried it on current-amd64 with apache 24, builds fine.
> 
> http://people.freebsd.org/~pi/logs/ap24-mod_dnssd-0.6_12.log
> 


Hi Wolfgang / Kurt

the module should build on apache22, but it seems upstream is missing a test 
for the apache version and includes mod_unixd.h per default

Can you test the following patch:

$ cd www/mod_dnssd
$ fetch http://people.freebsd.org/~ohauer/diffs/mod_dnssd_ap22-ap24.diff
$ patch < mod_dnssd_ap22-ap24.diff


-- 
Regards,
olli
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Cannot build www/mod_dnssd with poudriere

2016-01-26 Thread Kurt Jaeger
Hi!

> the module should build on apache22, but it seems upstream is
> missing a test for the apache version and includes mod_unixd.h per
> default
> 
> Can you test the following patch:
> 
> $ cd www/mod_dnssd
> $ fetch http://people.freebsd.org/~ohauer/diffs/mod_dnssd_ap22-ap24.diff
> $ patch < mod_dnssd_ap22-ap24.diff

On current/amd64, it fails.

./mod_dnssd.c:27:25: error: token is not a valid binary operator in a
  preprocessor subexpression
#if MODULE_MAGIC_COOKIE 0x41503234UL /* "AP24" */
~~~ ^

-- 
p...@opsec.eu+49 171 3101372 4 years to go !
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Cannot build www/mod_dnssd with poudriere

2016-01-26 Thread olli hauer
On 2016-01-26 19:27, Kurt Jaeger wrote:
> Hi!
> 
>> the module should build on apache22, but it seems upstream is
>> missing a test for the apache version and includes mod_unixd.h per
>> default
>>
>> Can you test the following patch:
>>
>> $ cd www/mod_dnssd
>> $ fetch http://people.freebsd.org/~ohauer/diffs/mod_dnssd_ap22-ap24.diff
>> $ patch < mod_dnssd_ap22-ap24.diff
> 
> On current/amd64, it fails.
> 
> ./mod_dnssd.c:27:25: error: token is not a valid binary operator in a
>   preprocessor subexpression
> #if MODULE_MAGIC_COOKIE 0x41503234UL /* "AP24" */
> ~~~ ^
> 

Oh, scrap should be
#if MODULE_MAGIC_COOKIE >= 0x41503234UL /* "AP24" */

I've uploaded a new patch (with the same name)

-- 
Regards,
olli
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Cannot build www/mod_dnssd with poudriere

2016-01-26 Thread Kurt Jaeger
Hi!

> Oh, scrap should be
> #if MODULE_MAGIC_COOKIE >= 0x41503234UL /* "AP24" */
> 
> I've uploaded a new patch (with the same name)

Testbuilds all fine with ap24 and ap22 on 9.3. I'll commit the fix,
if this is OK with you ?

-- 
p...@opsec.eu+49 171 3101372 4 years to go !
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Cannot build www/mod_dnssd with poudriere

2016-01-26 Thread olli hauer
On 2016-01-26 20:47, Kurt Jaeger wrote:
> Hi!
> 
>> Oh, scrap should be
>> #if MODULE_MAGIC_COOKIE >= 0x41503234UL /* "AP24" */
>>
>> I've uploaded a new patch (with the same name)
> 
> Testbuilds all fine with ap24 and ap22 on 9.3. I'll commit the fix,
> if this is OK with you ?
> 

Sure, absolutely :)

-- 
olli
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: Cannot build www/mod_dnssd with poudriere

2016-01-26 Thread Kurt Jaeger
Hi!

> >> Oh, scrap should be
> >> #if MODULE_MAGIC_COOKIE >= 0x41503234UL /* "AP24" */
> >>
> >> I've uploaded a new patch (with the same name)
> > 
> > Testbuilds all fine with ap24 and ap22 on 9.3. I'll commit the fix,
> > if this is OK with you ?

> Sure, absolutely :)

Already done. Yes, I'm impatient 8-} Thanks!

-- 
p...@opsec.eu+49 171 3101372 4 years to go !
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Cannot build www/mod_dnssd with poudriere

2014-09-18 Thread Wolfgang Riegler
Hi,

I cannot build www/mod_dnssd with poudriere on FreeBSD 10.0-RELEASE-p9. Neither 
for apache24 nor for apache22. Can somebody help me?

For apache22 I get the following error:
gmake[3]: Entering directory 
`/wrkdirs/usr/ports/www/mod_dnssd/work/mod_dnssd-0.6/src'
/usr/local/sbin/apxs -c -Wc,   -I/usr/local/include/apr-1  -O2 -pipe 
-fno-strict-aliasing -std=c99 -Wall -W -Wextra -pedantic -pipe -Wformat 
-Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal 
-Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes 
-Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith 
-Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline 
-D_REENTRANT -D_THREAD_SAFE -pthread -I/usr/local/include   -Wl,   
-L/usr/local/lib -lavahi-common -lavahi-client   ./mod_dnssd.c
/usr/local/share/apr/build-1/libtool --silent --mode=compile cc -prefer-pic -O2 
-pipe -I/usr/include -fno-strict-aliasing   -I/usr/local/include 
-I/usr/local/include/apache22  -I/usr/local/include/apr-1   
-I/usr/local/include/apr-1 -I/usr/include -I/usr/local/include 
-I/usr/local/include/db5-I/usr/local/include/apr-1  -O2 -pipe 
-fno-strict-aliasing -std=c99 -Wall -W -Wextra -pedantic -pipe -Wformat 
-Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal 
-Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes 
-Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith 
-Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Winline 
-D_REENTRANT -D_THREAD_SAFE -pthread -I/usr/local/include-c -o 
./mod_dnssd.lo ./mod_dnssd.c  touch ./mod_dnssd.slo
./mod_dnssd.c:29:10: fatal error: 'mod_unixd.h' file not found
#include mod_unixd.h
 ^
1 error generated.
apxs:Error: Command failed with rc=65536


Thanks

Wolfgang
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Cannot build www/mod_dnssd with poudriere

2014-08-29 Thread Wolfgang Riegler
Hi,

I cannot build www/mod_dnssd with poudriere. It stops with the following error:

===phase: package
httpd: Syntax error on line 165 of /usr/local/etc/apache24/httpd.conf: Cannot 
load 
/wrkdirs/usr/ports/www/mod_dnssd/work/stage/usr/local/libexec/apache24/mod_dnssd.so
 into server: 
/wrkdirs/usr/ports/www/mod_dnssd/work/stage/usr/local/libexec/apache24/mod_dnssd.so:
 Undefined symbol unixd_setup_child
make: /usr/ports/Mk/bsd.apache.mk line 281: warning: Couldn't read shell's 
output for /usr/local/sbin/httpd -V | /usr/bin/sed -ne 's/^Server version: 
Apache\/\([0-9]\)\.\([0-9]*\).*/\1\2/p'
apxs:Error: Invalid query string `MPM_NAME'.
make: /usr/ports/Mk/bsd.apache.mk line 287: warning: /usr/local/sbin/apxs -q 
MPM_NAME returned non-zero status
===  ap-mod_dnssd-0.6_9 is marked as broken: : Error from bsd.apache.mk. 
apache is installed (or APACHE_PORT is defined) and port requires apache22 at 
least.
*** Error code 1

Stop.
make: stopped in /usr/ports/www/mod_dnssd
httpd: Syntax error on line 165 of /usr/local/etc/apache24/httpd.conf: Cannot 
load 
/wrkdirs/usr/ports/www/mod_dnssd/work/stage/usr/local/libexec/apache24/mod_dnssd.so
 into server: 
/wrkdirs/usr/ports/www/mod_dnssd/work/stage/usr/local/libexec/apache24/mod_dnssd.so:
 Undefined symbol unixd_setup_child
make: /usr/ports/Mk/bsd.apache.mk line 281: warning: Couldn't read shell's 
output for /usr/local/sbin/httpd -V | /usr/bin/sed -ne 's/^Server version: 
Apache\/\([0-9]\)\.\([0-9]*\).*/\1\2/p'
apxs:Error: Invalid query string `MPM_NAME'.
make: /usr/ports/Mk/bsd.apache.mk line 287: warning: /usr/local/sbin/apxs -q 
MPM_NAME returned non-zero status
httpd: Syntax error on line 165 of /usr/local/etc/apache24/httpd.conf: Cannot 
load 
/wrkdirs/usr/ports/www/mod_dnssd/work/stage/usr/local/libexec/apache24/mod_dnssd.so
 into server: 
/wrkdirs/usr/ports/www/mod_dnssd/work/stage/usr/local/libexec/apache24/mod_dnssd.so:
 Undefined symbol unixd_setup_child
make[1]: /usr/ports/Mk/bsd.apache.mk line 281: warning: Couldn't read shell's 
output for /usr/local/sbin/httpd -V | /usr/bin/sed -ne 's/^Server version: 
Apache\/\([0-9]\)\.\([0-9]*\).*/\1\2/p'
apxs:Error: Invalid query string `MPM_NAME'.
make[1]: /usr/ports/Mk/bsd.apache.mk line 287: warning: /usr/local/sbin/apxs 
-q MPM_NAME returned non-zero status
ap-mod_dnssd-0.6_9: /usr/ports/www/apache non-existent -- dependency list 
incomplete
===  Cleaning for ap-mod_dnssd-0.6_9
httpd: Syntax error on line 165 of /usr/local/etc/apache24/httpd.conf: Cannot 
load 
/wrkdirs/usr/ports/www/mod_dnssd/work/stage/usr/local/libexec/apache24/mod_dnssd.so
 into server: 
/wrkdirs/usr/ports/www/mod_dnssd/work/stage/usr/local/libexec/apache24/mod_dnssd.so:
 Undefined symbol unixd_setup_child
make[1]: /usr/ports/Mk/bsd.apache.mk line 281: warning: Couldn't read shell's 
output for /usr/local/sbin/httpd -V | /usr/bin/sed -ne 's/^Server version: 
Apache\/\([0-9]\)\.\([0-9]*\).*/\1\2/p'
apxs:Error: Invalid query string `MPM_NAME'.
make[1]: /usr/ports/Mk/bsd.apache.mk line 287: warning: /usr/local/sbin/apxs 
-q MPM_NAME returned non-zero status
build of /usr/ports/www/mod_dnssd ended at Fri Aug 29 06:04:29 CEST 2014
build time: 00:00:12



Can someone help me?

kind regards

Wolfgang
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org