pkgsrc-Bugs archive

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

pkg/48896: www/firefox 30.0 build failed with multimedia/libvpx < 1.3.0



>Number:         48896
>Category:       pkg
>Synopsis:       www/firefox 30.0 build failed with multimedia/libvpx < 1.3.0
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 11 16:45:01 +0000 2014
>Originator:     ISIHARA Takanori
>Release:        pkgsrc-current 2014/6/11
>Organization:
Nagoya *BSD Users' Group :-)
>Environment:
NetBSD ishitPc9.home 6.1_STABLE NetBSD 6.1_STABLE (ISHITPC9) #19: Sun Jun  1 
09:06:32 JST 2014  
sysbuild%ishitPc9.home@localhost:/opt/sysbuild/netbsd-6/obj/i386/sys/arch/i386/compile/ISHITPC9
 i386

>Description:
www/firefox 30.0 build failed with multimedia/libxpx < 1.3.0.

# cd /usr/pkgsrc/www/firefox
# make install
<snip>
checking for vpx >= 1.3.0... Requested 'vpx >= 1.3.0' but version of vpx is 
1.1.0
configure: error: Library requirements (vpx >= 1.3.0) not met; consider 
adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a 
nonstandard prefix so pkg-config can find them.
------ config.log ------
configure:18496: checking _PANGOCHK_CFLAGS
configure:18501: checking _PANGOCHK_LIBS
configure:18581: checking for pango >= 1.22.0 pangoft2 >= 1.22.0 pangocairo >= 
1.22.0
configure:18588: checking MOZ_PANGO_CFLAGS
configure:18593: checking MOZ_PANGO_LIBS
configure:18828: checking for gtk+-2.0 >= 2.14
configure:18835: checking _GTKCHECK_CFLAGS
configure:18840: checking _GTKCHECK_LIBS
configure:18919: checking for gio-2.0 >= 2.20
configure:18926: checking MOZ_GIO_CFLAGS
configure:18931: checking MOZ_GIO_LIBS
configure:19792: gcc -c -O2 -pipe -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include 
-I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -std=gnu99 
-fgnu89-inline -fno-strict-aliasing -Dunix -fno-math-errno -fno-tree-vrp 
-pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr 
-I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm 
-I/usr/X11R7/include/freetype2 conftest.c 1>&5
configure:19786:27: fatal error: linux/ethtool.h: No such file or directory
compilation terminated.
configure: failed program was:
#line 19785 "configure"
#include "confdefs.h"
#include <linux/ethtool.h>
int main() {
 struct ethtool_cmd cmd; cmd.speed_hi = 0;
; return 0; }
configure:20059: checking __attribute__ ((aligned ())) support
configure:20076: gcc -c -O2 -pipe -I/usr/pkg/include -I/usr/include 
-I/usr/pkg/include/nspr -I/usr/pkg/include/nss/nss -I/usr/X11R7/include 
-I/usr/X11R7/include/libdrm -I/usr/X11R7/include/freetype2 -std=gnu99 
-fgnu89-inline -fno-strict-aliasing -Dunix -fno-math-errno -fno-tree-vrp 
-pthread -Werror -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/nspr 
-I/usr/pkg/include/nss/nss -I/usr/X11R7/include -I/usr/X11R7/include/libdrm 
-I/usr/X11R7/include/freetype2 conftest.c 1>&5
configure:21654: checking for vpx >= 1.3.0
configure: error: Library requirements (vpx >= 1.3.0) not met; consider 
adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a 
nonstandard prefix so pkg-config can find them.
*** Error code 1

Stop.
make: stopped in /opt/pkgsrc/www/firefox
*** Error code 1

Stop.
make: stopped in /opt/pkgsrc/www/firefox


>How-To-Repeat:
multimedia/libvpx < 1.3.0 environment & cd /usr/pkgsrc/www/firefox; make install

>Fix:
Index: mozilla-common.mk
===================================================================
RCS file: /cvsroot/pkgsrc/www/firefox/mozilla-common.mk,v
retrieving revision 1.37
diff -u -r1.37 mozilla-common.mk
--- mozilla-common.mk   11 Jun 2014 00:40:59 -0000      1.37
+++ mozilla-common.mk   11 Jun 2014 16:24:14 -0000
@@ -217,6 +217,7 @@
 .include "../../graphics/graphite2/buildlink3.mk"
 #.include "../../multimedia/libogg/buildlink3.mk"
 #.include "../../multimedia/libtheora/buildlink3.mk"
+BUILDLINK_API_DEPENDS.libvpx>=1.3.0
 .include "../../multimedia/libvpx/buildlink3.mk"
 .include "../../net/libIDL/buildlink3.mk"
 .include "../../textproc/hunspell/buildlink3.mk"



Home | Main Index | Thread Index | Old Index