pkgsrc-Bugs archive

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

pkg/41968: multimedia/mpeg_encode compilation fails with new jpeg (NetBSD 4.0 / i386)



>Number:         41968
>Category:       pkg
>Synopsis:       multimedia/mpeg_encode compilation fails with new jpeg (NetBSD 
>4.0 / i386)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Sep 01 09:05:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386   pkgsrc -current
>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:
        multimedia/mpeg_encode (mpeg_encode-1.5bnb5) fails to compile
        correctly - it looks to be a jpeg related problem (perhaps
        some change in the new jpeg libraries requires alterations to this
        package).

>How-To-Repeat:
        I use pkg_comp with libkver and NetSBD 4.0 release sets to get a
        4.0 enviroment - I use pkgsrc modular xorg rather than the x* sets.
        I doubt any of that is relevant to this problem.

        Building multimedia/mpeg_encode results in ...

gcc -Iheaders  -O -Wall -Wmissing-prototypes   -I/usr/pkg/include  -c -o jpeg.o 
jpeg.c
jpeg.c: In function 'JMovie2JPEG':
jpeg.c:355: warning: implicit declaration of function 'read'
jpeg.c: In function 'ReadJPEG':
jpeg.c:517: error: 'struct jpeg_decompress_struct' has no member named 
'min_DCT_scaled_size'
jpeg.c:583: warning: implicit declaration of function 'jcopy_sample_rows'
gmake: *** [jpeg.o] Error 1
*** Error code 2

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

        It looks as if mpeg_encode has had no serious changes done to
        it in ages, the last 3 updates were the revbump for the jpeg
        library version change (which is how I got to be recompiling it),
        the removal of @dirrm's from the PLIST (which cannot possibly be
        related to this problem) a couple of months ago, and the addition
        of DESTDIR support in May 2008.   I last (successfully) compiled
        this in November 2008 (mpeg_encode-1.5bnb4) (which would have
        included the DESTDIR changes).

        It looks as if for this package, just a simple revbump for the
        jpeg change is not enough, and actual code changes are needed too.

>Fix:



Home | Main Index | Thread Index | Old Index