Is there a way to force scratchpkg to overwrite an existing install – ie one done manually?

|
ouaille_ aime_scier 2022-08-01 23:26:40
OK I am rebuilding both packages
ouaille_ aime_scier 2022-08-01 23:34:19
No sucess anymore
Francesco Ruotolo 2022-08-01 23:35:06
Still failed
Francesco Ruotolo 2022-08-01 23:35:15
Trying with j4 onto config
Francesco Ruotolo 2022-08-01 23:35:33
Unfortunately if it doesn’t work I must turn back to gentoo
Francesco Ruotolo 2022-08-01 23:35:44
For my work
bja_au 2022-08-02 10:28:13
is there a way to force scratchpkg to overwrite an existing install – ie one done manually?
Visone_Selektah 2022-08-02 10:30:38
bja_au 2022-08-02 10:28:13
is there a way to force scratchpkg to overwrite an existing install – ie one done manually?

Reinstalling the pkg or rebuilding it if you want to use anothe version/source

emmett1 2022-08-02 10:36:37
bja_au 2022-08-02 10:28:13
is there a way to force scratchpkg to overwrite an existing install – ie one done manually?

Use -c to ignore conflicts

bja_au 2022-08-02 10:43:32
errors installing latest moc …
bja_au 2022-08-02 10:43:37
fmpeg.c:1396:25: error: ‘AVStream’ has no member named ‘cur_dts’
1396 | if (data->stream->cur_dts > seek_ts)
| ^~
ffmpeg.c:1406:9: warning: implicit declaration of function ‘avcodec_flush_buffers’ [-Wimplicit-function-declaration]
1406 | avcodec_flush_buffers (data->stream->codec);
| ^~~~~~~~~~~~~~~~~~~~~
ffmpeg.c:1406:44: error: ‘AVStream’ has no member named ‘codec’
1406 | avcodec_flush_buffers (data->stream->codec);
| ^~
ffmpeg.c: In function ‘ffmpeg_decode’:
ffmpeg.c:1438:43: error: request for member ‘channels’ in something not a structure or union
1438 | sound_params->channels = data->enc->channels;
| ^~
ffmpeg.c:1439:39: error: request for member ‘sample_rate’ in something not a structure or union
Visone_Selektah 2022-08-02 10:48:17
bja_au 2022-08-02 10:43:37
fmpeg.c:1396:25: error: ‘AVStream’ has no member named ‘cur_dts’
1396 | if (data->stream->cur_dts > seek_ts)
| ^~
ffmpeg.c:1406:9: warning: implicit declaration of function ‘avcodec_flush_buffers’ [-Wimplicit-function-declaration]
1406 | avcodec_flush_buffers (data->stream->codec);
| ^~~~~~~~~~~~~~~~~~~~~
ffmpeg.c:1406:44: error: ‘AVStream’ has no member named ‘codec’
1406 | avcodec_flush_buffers (data->stream->codec);
| ^~
ffmpeg.c: In function ‘ffmpeg_decode’:
ffmpeg.c:1438:43: error: request for member ‘channels’ in something not a structure or union
1438 | sound_params->channels = data->enc->channels;
| ^~
ffmpeg.c:1439:39: error: request for member ‘sample_rate’ in something not a structure or union

moc needs ffmpeg4, make sure it’s version you’re installing

Visone_Selektah 2022-08-02 10:50:47
bja_au 2022-08-02 10:43:37
fmpeg.c:1396:25: error: ‘AVStream’ has no member named ‘cur_dts’
1396 | if (data->stream->cur_dts > seek_ts)
| ^~
ffmpeg.c:1406:9: warning: implicit declaration of function ‘avcodec_flush_buffers’ [-Wimplicit-function-declaration]
1406 | avcodec_flush_buffers (data->stream->codec);
| ^~~~~~~~~~~~~~~~~~~~~
ffmpeg.c:1406:44: error: ‘AVStream’ has no member named ‘codec’
1406 | avcodec_flush_buffers (data->stream->codec);
| ^~
ffmpeg.c: In function ‘ffmpeg_decode’:
ffmpeg.c:1438:43: error: request for member ‘channels’ in something not a structure or union
1438 | sound_params->channels = data->enc->channels;
| ^~
ffmpeg.c:1439:39: error: request for member ‘sample_rate’ in something not a structure or union

Trying to build it myself..

bja_au 2022-08-02 10:57:11
Visone_Selektah 2022-08-02 10:48:17
moc needs ffmpeg4, make sure it’s version you’re installing

[*] (main) ffmpeg4 4.4.2-2:

emmett1 2022-08-02 10:57:58
I think ffmpeg4 is broken
Luis 2022-08-02 10:59:07
venomlinux-40880.jpg

Luis 2022-08-02 10:59:10
venomlinux-40881.jpg

Visone_Selektah 2022-08-02 11:01:20
emmett1 2022-08-02 10:57:58
I think ffmpeg4 is broken

It build fine for me, just file conflict in /usr/bin/

emmett1 2022-08-02 11:02:08
Yeah it build fine, but when you run revdep it says broken
emmett1 2022-08-02 11:02:42
I think libraries not detected in /usr/lib/ffmpeg4 diectory
Visone_Selektah 2022-08-02 11:03:27
ok ok
emmett1 2022-08-02 11:06:38
Visone_Selektah 2022-08-02 11:03:27
ok ok

Can you help me test it?

Luis 2022-08-02 11:06:40
venomlinux-40887.jpg
Yes.
Visone_Selektah 2022-08-02 11:08:10
emmett1 2022-08-02 11:06:38
Can you help me test it?

I’m on it

emmett1 2022-08-02 11:09:12
# echo ‘/usr/lib/ffmpeg4’ > /etc/ld.so.conf.d/ffmpeg4.conf
# ldconfig
emmett1 2022-08-02 11:09:24
emmett1 2022-08-02 11:09:12
# echo ‘/usr/lib/ffmpeg4’ > /etc/ld.so.conf.d/ffmpeg4.conf
# ldconfig

Run this then revdep again

Visone_Selektah 2022-08-02 11:10:51
emmett1 2022-08-02 11:09:24
Run this then revdep again

ok

Visone_Selektah 2022-08-02 11:11:26
I have to rebuild it then I’ll run those commands
emmett1 2022-08-02 11:11:50
No need rebuild
emmett1 2022-08-02 11:12:19
emmett1 2022-08-02 11:09:12
# echo ‘/usr/lib/ffmpeg4’ > /etc/ld.so.conf.d/ffmpeg4.conf
# ldconfig

Just these command then revdep

emmett1 2022-08-02 11:12:29
No need build or rebuild anything
Visone_Selektah 2022-08-02 11:12:46
emmett1 2022-08-02 11:11:50
No need rebuild

I couldn’t install it cause the conflict files….

emmett1 2022-08-02 11:13:02
Owh, conflict with which package?
Luis 2022-08-02 11:13:09
venomlinux-40898.jpg

emmett1 2022-08-02 11:13:37
Luis 2022-08-02 11:13:09

After create ld.conf files and run ldconfig as root??

|