pkgsrc-Bugs archive

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

pkg/45795: Fix for multimedia/libvpx build failure



>Number:         45795
>Category:       pkg
>Synopsis:       Fix for multimedia/libvpx build failure
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jan 07 09:10:00 +0000 2012
>Originator:     Francois Tigeot
>Release:        DragonFly
>Organization:
>Environment:
DragonFly dragonfly.zefyris.com 2.13-DEVELOPMENT DragonFly 
v2.13.0.806.g7f732c9-DEVELOPMENT #4: Thu Jan  5 17:34:23 CET 2012     
ftigeot%dragonfly.zefyris.com@localhost:/usr/obj/usr/src/sys/X86_64_GENERIC  
x86_64
>Description:
multimedia/libvpx fails to build with these errors:

asm_enc_offsets.asm:43: error: instruction expected after label
asm_enc_offsets.asm:43: warning: no non-local label before `.string'
asm_enc_offsets.asm:44: error: instruction expected after label
asm_enc_offsets.asm:44: warning: no non-local label before `.string'

>How-To-Repeat:
Try to build multimedia/libvpx from pkgsrc
>Fix:
libs.mk contains an error in a grep regular expression

The fix (taken from libvpx -head) is to only grep for whole words. replace 
"grep EQU" by "grep -w EQU" on line 289 of libs.mk:
 
     $(BUILD_PFX)asm_enc_offsets.asm: 
$(BUILD_PFX)$(VP8_PREFIX)encoder/asm_enc_offsets.c.S
-       grep EQU $< | tr -d '$$\#' $(ADS2GAS) > $@
+       grep -w EQU $< | tr -d '$$\#' $(ADS2GAS) > $@
     $(BUILD_PFX)$(VP8_PREFIX)encoder/asm_enc_offsets.c.S: 
$(VP8_PREFIX)encoder/asm_enc_offsets.c



Home | Main Index | Thread Index | Old Index