Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 479686

Summary: media-video/mpeg-tools-1.5b-r4 : jpeg.c:516:50: error: 'struct jpeg_decompress_struct' has no member named 'min_DCT_v_scaled_size'
Product: Gentoo Linux Reporter: Jason Mours <jason.mours>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge-info

Description Jason Mours 2013-08-04 03:35:27 UTC
Created attachment 355080 [details]
build.log

Emerging media-video/mpeg-tools-1.5b-r4 after the new jpeg rolled out caused several warnings resulting a a fail:

mpeg.c: In function 'GenMPEGStream':
mpeg.c:604:6: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign]
/usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'unsigned char *'
mpeg.c:608:8: warning: pointer targets in passing argument 1 of 'stat' differ in signedness [-Wpointer-sign]
/usr/include/sys/stat.h:210:12: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
mpeg.c:611:8: warning: pointer targets in passing argument 1 of 'fopen' differ in signedness [-Wpointer-sign]
/usr/include/stdio.h:272:14: note: expected 'const char * __restrict__' but argument is of type 'unsigned char *'
mpeg.c:641:53: warning: pointer targets in passing argument 13 of 'Mhead_GenSequenceHeader' differ in signedness [-Wpointer-sign]
headers/mheaders.h:66:6: note: expected 'uint8 *' but argument is of type 'char *'
mpeg.c:310:26: warning: variable 'res' set but not used [-Wunused-but-set-variable]
readframe.c: In function 'ReadAYUV':
readframe.c:828:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
readframe.c:829:8: warning: pointer targets in assignment differ in signedness [-Wpointer-sign]
param.c: In function 'ReadParamFile':
param.c:711:9: warning: pointer targets in passing argument 1 of 'strcpy' differ in signedness [-Wpointer-sign]
/usr/include/bits/string3.h:102:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
param.c:530:16: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]x86_64-pc-linux-gnu-gcc -march=native -Os -pipe -ggdb -Iheaders -Wall -Wmissing-prototypes     -c -o jrevdct.o jrevdct.c

param.c:568:16: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
x86_64-pc-linux-gnu-gcc -march=native -Os -pipe -ggdb -Iheaders -Wall -Wmissing-prototypes     -c -o frame.o frame.c
x86_64-pc-linux-gnu-gcc -march=native -Os -pipe -ggdb -Iheaders -Wall -Wmissing-prototypes     -c -o fsize.o fsize.c
x86_64-pc-linux-gnu-gcc -march=native -Os -pipe -ggdb -Iheaders -Wall -Wmissing-prototypes     -c -o frametype.o frametype.c
x86_64-pc-linux-gnu-gcc -march=native -Os -pipe -ggdb -Iheaders -Wall -Wmissing-prototypes     -c -o libpnmrw.o libpnmrw.c
x86_64-pc-linux-gnu-gcc -march=native -Os -pipe -ggdb -Iheaders -Wall -Wmissing-prototypes     -c -o specifics.o specifics.c
frame.c: In function 'Resize_Array_Width':
frame.c:283:14: warning: variable 'pointB' set but not used [-Wunused-but-set-variable]
frame.c:283:7: warning: variable 'pointA' set but not used [-Wunused-but-set-variable]
frame.c: In function 'Resize_Array_Height':
frame.c:354:14: warning: variable 'diff' set but not used [-Wunused-but-set-variable]
frame.c:354:8: warning: variable 'slope' set but not used [-Wunused-but-set-variable]
x86_64-pc-linux-gnu-gcc -march=native -Os -pipe -ggdb -Iheaders -Wall -Wmissing-prototypes     -c -o rate.o rate.c
frametype.c: In function 'ComputeFrameTable':
frametype.c:269:17: warning: variable 'lastI' set but not used [-Wunused-but-set-variable]
x86_64-pc-linux-gnu-gcc -march=native -Os -pipe -ggdb -Iheaders -Wall -Wmissing-prototypes     -c -o opts.o opts.c
x86_64-pc-linux-gnu-gcc -march=native -Os -pipe -ggdb -Iheaders -Wall -Wmissing-prototypes     -c -o iframe.o iframe.c
x86_64-pc-linux-gnu-gcc -march=native -Os -pipe -ggdb -Iheaders -Wall -Wmissing-prototypes     -c -o pframe.o pframe.c
specifics.c: In function 'Parse_Specifics_File_v1':
specifics.c:249:7: warning: variable 'num_scanned' set but not used [-Wunused-but-set-variable]
specifics.c: In function 'Specifics_Init':
specifics.c:162:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
specifics.c:165:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
specifics.c:174:9: warning: ignoring return value of 'system', declared with attribute warn_unused_result [-Wunused-result]
x86_64-pc-linux-gnu-gcc -march=native -Os -pipe -ggdb -Iheaders -Wall -Wmissing-prototypes     -c -o bframe.o bframe.c
x86_64-pc-linux-gnu-gcc -march=native -Os -pipe -ggdb -Iheaders -Wall -Wmissing-prototypes     -c -o psearch.o psearch.c
x86_64-pc-linux-gnu-gcc -march=native -Os -pipe -ggdb -Iheaders -Wall -Wmissing-prototypes     -c -o bsearch.o bsearch.c
rate.c: In function 'targetRateControl':
rate.c:353:9: warning: variable 'strPtr' set but not used [-Wunused-but-set-variable]
rate.c: In function 'updateRateControl':
rate.c:462:9: warning: variable 'strPtr' set but not used [-Wunused-but-set-variable]
x86_64-pc-linux-gnu-gcc -march=native -Os -pipe -ggdb -Iheaders -Wall -Wmissing-prototypes     -c -o block.o block.c
x86_64-pc-linux-gnu-gcc -march=native -Os -pipe -ggdb -Iheaders -Wall -Wmissing-prototypes     -c -o parallel.o parallel.c
x86_64-pc-linux-gnu-gcc -march=native -Os -pipe -ggdb -Iheaders -Wall -Wmissing-prototypes     -c -o jpeg.o jpeg.c
x86_64-pc-linux-gnu-gcc -march=native -Os -pipe -ggdb -Iheaders -Wall -Wmissing-prototypes     -c -o main.o main.c
bframe.c: In function 'GenBFrame':
bframe.c:546:2: warning: label 'skip_block' defined but not used [-Wunused-label]
jpeg.c: In function 'ReadJPEG':
jpeg.c:516:50: error: 'struct jpeg_decompress_struct' has no member named 'min_DCT_v_scaled_size'
jpeg.c:582:7: warning: implicit declaration of function 'jcopy_sample_rows' [-Wimplicit-function-declaration]
jpeg.c: In function 'JMovie2JPEG':
jpeg.c:325:8: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
jpeg.c:344:12: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
jpeg.c:354:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
jpeg.c:357:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
jpeg.c:358:8: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
jpeg.c:361:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
jpeg.c:362:11: warning: ignoring return value of 'read', declared with attribute warn_unused_result [-Wunused-result]
make: *** [jpeg.o] Error 1
make: *** Waiting for unfinished jobs....
parallel.c: In function 'StartIOServer':
parallel.c:296:5: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
/usr/include/sys/socket.h:244:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *'
parallel.c: In function 'WaitForOutputFile':
parallel.c:761:5: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
/usr/include/sys/socket.h:244:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *'
parallel.c: In function 'StartMasterServer':
parallel.c:893:3: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
/usr/include/sys/socket.h:244:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *'
parallel.c:917:5: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
/usr/include/sys/socket.h:244:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *'
parallel.c:958:7: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
/usr/include/sys/socket.h:244:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *'
parallel.c:1051:5: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
/usr/include/sys/socket.h:244:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *'
parallel.c:1171:3: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
/usr/include/sys/socket.h:244:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *'
parallel.c:824:11: warning: variable 'finished' set but not used [-Wunused-but-set-variable]
parallel.c:819:11: warning: variable 'framesPerMachine' set but not used [-Wunused-but-set-variable]
parallel.c: In function 'StartDecodeServer':
parallel.c:1340:5: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
/usr/include/sys/socket.h:244:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *'
parallel.c:1307:12: warning: variable 'ready' set but not used [-Wunused-but-set-variable]
parallel.c: In function 'WaitForDecodedFrame':
parallel.c:1655:5: warning: pointer targets in passing argument 3 of 'accept' differ in signedness [-Wpointer-sign]
/usr/include/sys/socket.h:244:12: note: expected 'socklen_t * __restrict__' but argument is of type 'int *'
emake failed

: Posting build.log
Comment 1 Jason Mours 2013-08-04 03:36:02 UTC
Created attachment 355082 [details]
emerge-info
Comment 2 David Kredba 2013-08-04 13:48:38 UTC
This was fixed in -r5.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2013-08-04 21:10:53 UTC

*** This bug has been marked as a duplicate of bug 479462 ***