Bug 186957 - multimedia/mpv: fails to build due to unfetchable waf-1.7.15
Summary: multimedia/mpv: fails to build due to unfetchable waf-1.7.15
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Grzegorz Blach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-22 09:50 UTC by r004
Modified: 2014-02-24 13:22 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description r004 2014-02-22 09:50:00 UTC
I am trying to compile your port via portmaster `portmaster multimedia/mpv` but I get an error regarding waf:

`=> SHA256 Checksum mismatch for waf-1.7.15.
===>  Refetch for 1 more times files: waf-1.7.15 
===>  License GPLv2 accepted by the user
===>  Found saved configuration for mpv-0.3.3_1,1
===>   mpv-0.3.3_1,1 depends on file: /usr/local/sbin/pkg - found
=> waf-1.7.15 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch https://waf.googlecode.com/files/waf-1.7.15
fetch: https://waf.googlecode.com/files/waf-1.7.15: Forbidden
=> Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/waf-1.7.15
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/waf-1.7.15: File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/multimedia/mpv
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/multimedia/mpv
*** Error code 1

Stop.
make: stopped in /usr/ports/multimedia/mpv`

as I am in collage library,I can't access the google code due to  certificate issue.
But the regular method of downloading and placing the file in disfiles doesn't work here:
First what is waf? a file a directory? is it a port? does it have an extension like bzip or tar.gz?
I search the google code and found `waf-1.7.15.tar.bz2` . I downloaded and placed it in distfiles but no luck. extract it and leave it as a folder again no joy. even tried to remove the etension and again no luck.
Please look into this matter.
thanks

How-To-Repeat: portmaster multimedia/mpv
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2014-02-24 05:56:37 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gblach

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2014-02-24 13:04:18 UTC
Author: gblach
Date: Mon Feb 24 13:04:10 2014
New Revision: 345829
URL: http://svnweb.freebsd.org/changeset/ports/345829
QAT: https://qat.redports.org/buildarchive/r345829/

Log:
  - Update to 0.3.5
  - Use options helpers
  - Fetch waf over http [1]
  
  PR:	ports/186957 [1]

Modified:
  head/multimedia/mpv/Makefile
  head/multimedia/mpv/distinfo

Modified: head/multimedia/mpv/Makefile
==============================================================================
--- head/multimedia/mpv/Makefile	Mon Feb 24 13:01:31 2014	(r345828)
+++ head/multimedia/mpv/Makefile	Mon Feb 24 13:04:10 2014	(r345829)
@@ -2,11 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	mpv
-PORTVERSION=	0.3.3
-PORTREVISION=	1
+PORTVERSION=	0.3.5
 PORTEPOCH=	1
 CATEGORIES=	multimedia audio
-MASTER_SITES=	GH:0 GHC:0 https://waf.googlecode.com/files/:1
+MASTER_SITES=	GH:0 GHC:0 http://waf.googlecode.com/files/:1
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX}:0 waf-${WAF_VERSION}:1
 EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 
@@ -23,7 +22,7 @@ BUILD_DEPENDS=	rst2man:${PORTSDIR}/textp
 USE_GITHUB=	yes
 GH_ACCOUNT=	mpv-player
 GH_TAGNAME=	v${PORTVERSION}
-GH_COMMIT=	d276f75
+GH_COMMIT=	76d771a
 
 WAF_VERSION=	1.7.15
 
@@ -56,118 +55,63 @@ IN_DESC=	Input
 VO_DESC=	Video Output
 AO_DESC=	Audio Output
 
-.include <bsd.port.options.mk>
+BS2B_LIB_DEPENDS=		libbs2b.so:${PORTSDIR}/audio/libbs2b
+BS2B_CONFIGURE_ENABLE=		libbs2b
+
+ENCA_LIB_DEPENDS=		libenca.so:${PORTSDIR}/converters/enca
+ENCA_CONFIGURE_ENABLE=		enca
+
+LADSPA_LIB_DEPENDS=		ladspa/amp.so:${PORTSDIR}/audio/ladspa
+LADSPA_CONFIGURE_ENABLE=	ladspa
+
+LCMS2_LIB_DEPENDS=		liblcms2.so:${PORTSDIR}/graphics/lcms2
+LCMS2_CONFIGURE_ENABLE=		lcms2
+
+LIRC_LIB_DEPENDS=		liblirc_client.so:${PORTSDIR}/comms/lirc
+LIRC_CONFIGURE_ENABLE=		lirc
+
+CDIO_LIB_DEPENDS=		libcdio.so:${PORTSDIR}/sysutils/libcdio
+CDIO_CONFIGURE_ENABLE=		cdda
+
+DVDNAV_LIB_DEPENDS=		libdvdnav.so:${PORTSDIR}/multimedia/libdvdnav
+DVDNAV_CONFIGURE_ENABLE=	dvdnav
+
+LIBBLURAY_LIB_DEPENDS=		libbluray.so:${PORTSDIR}/multimedia/libbluray
+LIBBLURAY_CONFIGURE_ENABLE=	libbluray
+
+V4L_BUILD_DEPENDS=		${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat
+V4L_LIB_DEPENDS=		libv4l2.so:${PORTSDIR}/multimedia/libv4l
+V4L_CONFIGURE_ENABLE=		tv-v4l2
+
+QUVI_LIB_DEPENDS=		libquvi.so:${PORTSDIR}/multimedia/libquvi
+QUVI_CONFIGURE_ENABLE=		libquvi
 
-.if ${PORT_OPTIONS:MBS2B}
-LIB_DEPENDS+=		libbs2b.so:${PORTSDIR}/audio/libbs2b
-.else
-CONFIGURE_ARGS+=	--disable-libbs2b
-.endif
-
-.if ${PORT_OPTIONS:MENCA}
-LIB_DEPENDS+=		libenca.so:${PORTSDIR}/converters/enca
-.else
-CONFIGURE_ARGS+=	--disable-enca
-.endif
-
-.if ${PORT_OPTIONS:MLADSPA}
-LIB_DEPENDS+=		ladspa/amp.so:${PORTSDIR}/audio/ladspa
-.else
-CONFIGURE_ARGS+=	--disable-ladspa
-.endif
-
-.if ${PORT_OPTIONS:MLCMS2}
-LIB_DEPENDS+=		liblcms2.so:${PORTSDIR}/graphics/lcms2
-.else
-CONFIGURE_ARGS+=	--disable-lcms2
-.endif
-
-.if ${PORT_OPTIONS:MLIRC}
-LIB_DEPENDS+=		liblirc_client.so:${PORTSDIR}/comms/lirc
-.else
-CONFIGURE_ARGS+=	--disable-lirc
-.endif
-
-.if ${PORT_OPTIONS:MCDIO}
-LIB_DEPENDS+=		libcdio.so:${PORTSDIR}/sysutils/libcdio
-.else
-CONFIGURE_ARGS+=	--disable-cdda
-.endif
-
-.if ${PORT_OPTIONS:MDVDNAV}
-LIB_DEPENDS+=		libdvdnav.so:${PORTSDIR}/multimedia/libdvdnav
-.else
-CONFIGURE_ARGS+=	--disable-dvdnav
-.endif
-
-.if ${PORT_OPTIONS:MLIBBLURAY}
-LIB_DEPENDS+=		libbluray.so:${PORTSDIR}/multimedia/libbluray
-.else
-CONFIGURE_ARGS+=	--disable-libbluray
-.endif
-
-.if ${PORT_OPTIONS:MV4L}
-BUILD_DEPENDS+=		${LOCALBASE}/include/linux/videodev2.h:${PORTSDIR}/multimedia/v4l_compat
-LIB_DEPENDS+=		libv4l2.so:${PORTSDIR}/multimedia/libv4l
-CONFIGURE_ARGS+=	--enable-tv-v4l2
-.else
-CONFIGURE_ARGS+=	--disable-tv-v4l2
-.endif
-
-.if ${PORT_OPTIONS:MQUVI}
-LIB_DEPENDS+=		libquvi.so:${PORTSDIR}/multimedia/libquvi
-.else
-CONFIGURE_ARGS+=	--disable-libquvi
-.endif
-
-.if ${PORT_OPTIONS:MSMB}
-LIB_DEPENDS+=		libsmbclient.so:${PORTSDIR}/net/samba-libsmbclient
-.else
-CONFIGURE_ARGS+=	--disable-libsmbclient
-.endif
-
-.if ${PORT_OPTIONS:MCACA}
-LIB_DEPENDS+=		libcaca.so:${PORTSDIR}/graphics/libcaca
-.else
-CONFIGURE_ARGS+=	--disable-caca
-.endif
-
-.if ${PORT_OPTIONS:MOPENGL}
-USE_XORG+=		glproto
-LIB_DEPENDS+=		libGL.so:${PORTSDIR}/graphics/libGL
-.else
-CONFIGURE_ARGS+=	--disable-gl
-.endif
-
-.if ${PORT_OPTIONS:MVAAPI}
-LIB_DEPENDS+=		libva.so:${PORTSDIR}/multimedia/libva
-.else
-CONFIGURE_ARGS+=	--disable-vaapi
-.endif
-
-.if ${PORT_OPTIONS:MVDPAU}
-LIB_DEPENDS+=		libvdpau.so:${PORTSDIR}/multimedia/libvdpau
-.else
-CONFIGURE_ARGS+=	--disable-vdpau
-.endif
-
-.if ${PORT_OPTIONS:MXINERAMA}
-USE_XORG+=		xinerama xineramaproto
-.else
-CONFIGURE_ARGS+=	--disable-xinerama
-.endif
-
-.if ${PORT_OPTIONS:MJACK}
-LIB_DEPENDS+=		libjack.so:${PORTSDIR}/audio/jack
-.else
-CONFIGURE_ARGS+=	--disable-jack
-.endif
-
-.if ${PORT_OPTIONS:MPULSEAUDIO}
-LIB_DEPENDS+=		libpulse.so:${PORTSDIR}/audio/pulseaudio
-.else
-CONFIGURE_ARGS+=	--disable-pulse
-.endif
+SMB_LIB_DEPENDS=		libsmbclient.so:${PORTSDIR}/net/samba-libsmbclient
+SMB_CONFIGURE_ENABLE=		libsmbclient
+
+CACA_LIB_DEPENDS=		libcaca.so:${PORTSDIR}/graphics/libcaca
+CACA_CONFIGURE_ENABLE=		caca
+
+OPENGL_USE=			XORG=glproto
+OPENGL_LIB_DEPENDS=		libGL.so:${PORTSDIR}/graphics/libGL
+OPENGL_CONFIGURE_ENABLE=	gl
+
+VAAPI_LIB_DEPENDS=		libva.so:${PORTSDIR}/multimedia/libva
+VAAPI_CONFIGURE_ENABLE=		vaapi
+
+VDPAU_LIB_DEPENDS=		libvdpau.so:${PORTSDIR}/multimedia/libvdpau
+VDPAU_CONFIGURE_ENABLE=		vdpau
+
+XINERAMA_USE=			XORG=xinerama,xineramaproto
+XINERAMA_CONFIGURE_ENABLE=	xinerama
+
+JACK_LIB_DEPENDS=		libjack.so:${PORTSDIR}/audio/jack
+JACK_CONFIGURE_ENABLE=		jack
+
+PULSEAUDIO_LIB_DEPENDS=		libpulse.so:${PORTSDIR}/audio/pulseaudio
+PULSEAUDIO_CONFIGURE_ENABLE=	pulse
+
+.include <bsd.port.options.mk>
 
 post-extract:
 	${CP} ${DISTDIR}/waf-${WAF_VERSION} ${WRKSRC}/waf

Modified: head/multimedia/mpv/distinfo
==============================================================================
--- head/multimedia/mpv/distinfo	Mon Feb 24 13:01:31 2014	(r345828)
+++ head/multimedia/mpv/distinfo	Mon Feb 24 13:04:10 2014	(r345829)
@@ -1,4 +1,4 @@
-SHA256 (mpv-0.3.3.tar.gz) = 73d0ee4c1d73e97c3b1911b5c4513f08072b20f4d81b76ae923ba82dc4a5b1da
-SIZE (mpv-0.3.3.tar.gz) = 2514903
+SHA256 (mpv-0.3.5.tar.gz) = d09a302d61948fb81ea6014306be6b654294254f9133af5d5cda700a6ee0eb7a
+SIZE (mpv-0.3.5.tar.gz) = 2516763
 SHA256 (waf-1.7.15) = e5ae7028f9b2d8ce1acb9fe1092e8010a90ba764d3ac065ea4e846743290b1d6
 SIZE (waf-1.7.15) = 90909
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Grzegorz Blach freebsd_committer freebsd_triage 2014-02-24 13:22:59 UTC
State Changed
From-To: open->closed

Fixed, thanks.