Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] Emerge with media-libs/libdv-1.0.0-r3 crashing
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
kami22
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2006
Posts: 111

PostPosted: Wed Aug 20, 2014 2:08 pm    Post subject: [solved] Emerge with media-libs/libdv-1.0.0-r3 crashing Reply with quote

Hi,

i am trying to emerge media-libs/libdv-1.0.0-r3 but it is always crashing. I got this outpur:

Quote:
/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/encode.c:1426:3: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign]
snprintf(fbuf, 1024, filename, i);
^
In file included from /usr/include/features.h:379:0,
from /usr/include/time.h:27,
from /var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/encode.c:43:
/usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (snprintf (char *__restrict __s, size_t __n,
^
/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/encode.c:1432:3: warning: pointer targets in passing argument 1 of 'input->skip' differ in signedness [-Wpointer-sign]
if (input->skip(fbuf, &isPAL) < 0) {
^
/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/encode.c:1432:3: note: expected 'const char *' but argument is of type 'unsigned char *'
/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/encode.c:1441:3: warning: pointer targets in passing argument 1 of 'snprintf' differ in signedness [-Wpointer-sign]
snprintf(fbuf, 1024, filename, i);
^
In file included from /usr/include/features.h:379:0,
from /usr/include/time.h:27,
from /var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/encode.c:43:
/usr/include/bits/stdio2.h:61:1: note: expected 'char * __restrict__' but argument is of type 'unsigned char *'
__NTH (snprintf (char *__restrict __s, size_t __n,
^
/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/encode.c:1452:4: warning: pointer targets in passing argument 1 of 'input->load' differ in signedness [-Wpointer-sign]
if (input->load(fbuf, &isPAL) < 0) {
^
/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/encode.c:1452:4: note: expected 'const char *' but argument is of type 'unsigned char *'
/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/encode.c:1456:4: warning: pointer targets in passing argument 1 of 'input->skip' differ in signedness [-Wpointer-sign]
if (input->skip(fbuf, &isPAL) < 0) {
^
/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/encode.c:1456:4: note: expected 'const char *' but argument is of type 'unsigned char *'
/bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv -I.. -I/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0 -march=atom -O2 -pipe -Wall -c -o headers.lo /var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/headers.c
/bin/sh ../libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv -I.. -I/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0 -march=atom -O2 -pipe -Wall -c -o enc_input.lo /var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/enc_input.c
/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/enc_input.c:1021:36: error: 'VIDEO_MAX_FRAME' undeclared here (not in a function)
static struct video_mmap gb_frames[VIDEO_MAX_FRAME];
^
/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/enc_input.c:1021:26: warning: 'gb_frames' defined but not used [-Wunused-variable]
static struct video_mmap gb_frames[VIDEO_MAX_FRAME];
^
/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/enc_input.c: In function 'read_pgm_stream':
/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/enc_input.c:645:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(line, sizeof(line), f);
^
/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/enc_input.c:650:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(line, sizeof(line), f); /* P5 */
^
/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/enc_input.c:667:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(line, sizeof(line), f); /* 255 */
^
/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/enc_input.c:669:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
fread(readbuf, 1, DV_WIDTH * height * 3 / 2, f);
^
/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/enc_input.c: In function 'read_ppm_stream':
/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/enc_input.c:310:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(line, sizeof(line), f);
^
/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/enc_input.c:315:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(line, sizeof(line), f); /* P6 */
^
/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/enc_input.c:331:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result]
fgets(line, sizeof(line), f); /* 255 */
^
/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0/libdv/enc_input.c:333:7: warning: ignoring return value of 'fread', declared with attribute warn_unused_result [-Wunused-result]
fread(readbuf, 1, 3 * DV_WIDTH * height, f);
^
make[3]: *** [enc_input.lo] Fehler 1
make[3]: *** Warte auf noch nicht beendete Prozesse...
make[3]: Leaving directory `/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0-abi_x86_64.amd64/libdv'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0-abi_x86_64.amd64/libdv'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0-abi_x86_64.amd64'
make: *** [all] Fehler 2
* ERROR: media-libs/libdv-1.0.0-r3::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=media-libs/libdv-1.0.0-r3::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-libs/libdv-1.0.0-r3::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-libs/libdv-1.0.0-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/libdv-1.0.0-r3/temp/environment'.
* Working directory: '/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0-abi_x86_64.amd64'
* S: '/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0'

>>> Failed to emerge media-libs/libdv-1.0.0-r3, Log file:

>>> '/var/tmp/portage/media-libs/libdv-1.0.0-r3/temp/build.log'

* Messages for package media-libs/libdv-1.0.0-r3:

* ERROR: media-libs/libdv-1.0.0-r3::gentoo failed (compile phase):
* emake failed
*
* If you need support, post the output of `emerge --info '=media-libs/libdv-1.0.0-r3::gentoo'`,
* the complete build log and the output of `emerge -pqv '=media-libs/libdv-1.0.0-r3::gentoo'`.
* The complete build log is located at '/var/tmp/portage/media-libs/libdv-1.0.0-r3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/media-libs/libdv-1.0.0-r3/temp/environment'.
* Working directory: '/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0-abi_x86_64.amd64'
* S: '/var/tmp/portage/media-libs/libdv-1.0.0-r3/work/libdv-1.0.0'


Thanks a lot for some help.

Cu kami


Last edited by kami22 on Thu Aug 28, 2014 11:52 am; edited 1 time in total
Back to top
View user's profile Send private message
kami22
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2006
Posts: 111

PostPosted: Thu Aug 28, 2014 8:43 am    Post subject: Reply with quote

Hi,

anyone here who can please help me with this issue?

I can post some more output?

Cu kami
Back to top
View user's profile Send private message
kami22
Tux's lil' helper
Tux's lil' helper


Joined: 14 Apr 2006
Posts: 111

PostPosted: Thu Aug 28, 2014 11:45 am    Post subject: Reply with quote

Hi,

the Problem is solved.

I just have to remove the old /usr/include/linux/videodev.h it was not needed by anything.

Thanks a lot.

Cu kami
Back to top
View user's profile Send private message
yzg
Apprentice
Apprentice


Joined: 18 Jun 2005
Posts: 233

PostPosted: Sun Oct 26, 2014 11:37 am    Post subject: Reply with quote

Thanks, this worked for me.

I had this problem for sometime and did not know how to fix it.

I wonder why people are replying to themselves lately.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum