pkgsrc-Bugs archive

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

pkg/41589: multimedia/ffmpeg command usage error (od) (NetBSD 4.0)



>Number:         41589
>Category:       pkg
>Synopsis:       multimedia/ffmpeg command usage error (od) (NetBSD 4.0)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jun 13 14:15:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/4/kernels/JADE i386
Architecture: i386
Machine: i386
>Description:
        Now that the problem in PR pkg/41586 has been corrected (that PR
        can close...) attempting to build multimedia/ffmpeg on NetBSD 4.0
        fails with incorrect usage of the "od" command.

        ffmpeg's build system seems to be using an option for od
        added to NetBSD in NetBSD 5, not available in NetBSD 4
        (the -A option).

>How-To-Repeat:
        Attempt to build multimedia/ffmpeg on a NetBSD 4.0
        (any NetBSD 4.*) system.   I use pkg_comp with libkver
        and the 4.0 release sets installed (except x*), but none
        of that is rleevant to this problem.

        Expect to see ...

=> Replacing Perl interpreter in doc/texi2pod.pl.
=> Checking for portability problems in extracted files
od: unknown option -- A
od: od(1) has been deprecated for hexdump(1).
hexdump: [-bcCdovx] [-e fmt] [-f fmt_file] [-n length] [-s skip] [file ...]
Error, no aligned memory allocator but SSE enabled, disable it or use 
--enable-memalign-hack.
    
If you think configure made a mistake, make sure you are using the latest
version from SVN.  If the latest version fails, report the problem to the
ffmpeg-user%mplayerhq.hu@localhost mailing list or IRC #ffmpeg on 
irc.freenode.net.
Include the log file "config.err" produced by configure as this will help
solving the problem.
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/multimedia/ffmpeg
*** Error code 1

>Fix:
        Find a way to avoid using stuff that isn't available in systems
        that are supposed to be supported by pkgsrc (for this one I
        haven't looked to see why it is using od -A, but it's real
        hard to imagine why anything like that is needed when
        checking for portability problems - I mean, who cares what the
        input address base is, this is all software, base conversion is
        trivial, just use whatever base od (without -A) expects!)

        I'm not sure whether this is a problem with the package, or
        with pkgsrc in a way that only ffmpeg (or packages I have built
        recently anyway) happens to encounter.



Home | Main Index | Thread Index | Old Index