pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/29336: www/apache2 doesn't build on Interix



>Number:         29336
>Category:       pkg
>Synopsis:       www/apache2 doesn't build on Interix
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Feb 11 14:31:00 +0000 2005
>Originator:     HIRAMATSU Yoshifumi
>Release:        SFU 3.5
>Organization:
>Environment:
Interix nile 3.5 SP-8.0.1969.1 x86 AMD_x86_Family15_Model12_Stepping0
>Description:
bmake under www/apache2 failed with this message:

/usr/pkgsrc/www/apache2/work/.buildlink/lib/libaprutil-0.so: undefined 
reference to `_crypt'
.rel.internal 740 730:
/opt/gcc.3.3/lib/gcc-lib/i586-pc-interix3/3.3/../../../../i586-pc-interix3/bin/ld:
 BFD 2.13.90 20021111 assertion fail /dev/fs/C/gnu2.intel/egcs.source/bfd/coff
link.c:3174
collect2: ld returned 1 exit status
*** Error code 1
>How-To-Repeat:

>Fix:
This patch is a modification for devel/apr/buildlink3.mk, forcing -lcrypt come 
after -laprutil-0

diff -buNr apr.orig/buildlink3.mk apr/buildlink3.mk
--- apr.orig/buildlink3.mk      Fri Feb 11 22:59:16 2005
+++ apr/buildlink3.mk   Fri Feb 11 22:59:07 2005
@@ -17,6 +17,8 @@
 BUILDLINK_RECOMMENDED.apr+=    apr>=0.9.5.2.0.52nb1
 BUILDLINK_PKGSRCDIR.apr?=      ../../devel/apr

+WRAPPER_REORDER_CMDS+=  reorder:l:aprutil-0:crypt
+
 BUILDLINK_FILES.apr+=  bin/apr-config
 BUILDLINK_FILES.apr+=  bin/apu-config
 BUILDLINK_FILES.apr+=  lib/*.exp




Home | Main Index | Thread Index | Old Index