Opened 14 years ago
Closed 14 years ago
#25055 closed submission (wontfix)
VP8 libvpx-devel portfile for ffmpeg
Reported by: | davidfavor (David Favor) | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | libvpx-devel |
Description
Almost complete. And having challenges with some macports error.
Attached is the Portfile.
I'm guessing the error somehow relates to the requirement for VP8 configure to specify darwin9 instead of darwin10, which is what I'm using.
This requirement will persist till Google updates their target list.
As soon as I get this bug fixed and the install section of the Portfile worked out (--prefix=... is disabled for some bizarre reason), I'll upload the libvpx-devel Portfile, then get the ffmpeg build working, as current svn contains libvpx support.
Error is:
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_Users_david_ports_multimedia_libvpx-devel/work/libvpx-devel-0.9.0" && ./configure --prefix=/opt/local --target=x86_64-darwin9-gcc --enable-vp8 --enable-psnr --enable-postproc --enable-multithread --enable-runtime-cpu-detect " returned error 1 DEBUG: Backtrace: configure failure: shell command " cd "/opt/local/var/macports/build/_Users_david_ports_multimedia_libvpx-devel/work/libvpx-devel-0.9.0" && ./configure --prefix=/opt/local --target=x86_64-darwin9-gcc --enable-vp8 --enable-psnr --enable-postproc --enable-multithread --enable-runtime-cpu-detect " returned error 1 while executing "$procedure $targetname" Warning: the following items did not execute (for libvpx-devel): org.macports.configure Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
Attachments (4)
Change History (10)
comment:1 Changed 14 years ago by mf2k (Frank Schima)
Component: | contrib → ports |
---|---|
Keywords: | ffmpeg vp8 libvpx removed |
Type: | request → submission |
Version: | 1.8.2 |
comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
comment:3 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)
Other portfile comments:
- You should not set the revision to 27. The revision should be a property solely related to MacPorts that a portfile author should have the freedom to increase anytime as needed. 27 appears to be a part of the upstream version numbering scheme. So the port version should be 0.9.0-27 and the revision should be 0.
- You should not hardcode "x86_64" in the --target switch. Macs can be ppc, ppc64, i386 or x86_64, and the user can choose the architecture in macports.conf by changing build_arch. You should use ${configure.build_arch} instead of hardcoding x86_64.
- Your email address is incorrect in your maintainers line.
Changed 14 years ago by davidfavor (David Favor)
Changed 14 years ago by davidfavor (David Favor)
Attachment: | libvpx-devel.build.log added |
---|
comment:4 Changed 14 years ago by davidfavor (David Favor)
Changes made per ryandesign's update.
Portfile and build log updated to latest.
Four questions remain after scouring through the Guide and other Portfiles:
1) The real version is 0.9.0-31 and 0.9.0_31 seems required for a clean build.
Let me know the usual approach for handling *-* format versions, to use '-' instead of '_'.
2) There seems to be some sort of default post-build staging into DESTROOT.
Let me know how to turn this off.
Reference build log line 795 '---> Staging libvpx-devel into destroot'
3) This library's configure + build + install phase is very GNU... non-standard.
Let me know how to turn off all install processing except the steps in my install {} stanza
4) There are ports layout violations and activation errors at the end.
Let me know how to clear these up in the 'standard' way.
Many thanks.
As soon as libvpx-devel is working, I'll start a separate ffmpeg port for libvpx patches, as they are extensive.
comment:5 Changed 14 years ago by manphiz@…
Looks like libvpx 0.9.1 was released on June 17th, which works with the "configure/make/make install" trilogy. Also there is a patch to make ffmpeg 0.6 in line with new libvpx at http://code.google.com/p/webm/downloads/list.
Changed 14 years ago by manphiz@…
Attachment: | Portfile.3 added |
---|
Working one. Replaces Portfile.2 which was a working version
comment:6 Changed 14 years ago by raimue (Rainer Müller)
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Superseded by r69966.
We need to see more of the error. (The text you showed us tells us no more than "an error occurred during this port's configure phase").