winff su sabayon

Tutto ciò che è pertinente a Sabayon Linux, indipendentemente dall'architettura e dall'ambiente grafico

Moderator: Moderators

trigg
Baby Hen
Posts: 12
Joined: Sun Oct 29, 2017 16:01

winff su sabayon

Post by trigg » Thu Nov 07, 2019 10:06

buongiorno agli amici del forum

non riesco a capire cosa non va nell'installazione di winff

http://gpo.zugaina.org/media-video/winff

la procedura che sto usando per installare da overlays è questa

scarico la build

creo la cartella /usr/local/portage/media-video/winff
sposto la build nella cartella winff sopra creata

repoman manifest
emerge --ask media-video/winff

ma non riesce a compilare il pacchetto lazarus

User avatar
fiorello
Sagely Hen
Posts: 1387
Joined: Mon Aug 13, 2007 14:06
Location: Bourg En Bresse - France

Re: winff su sabayon

Post by fiorello » Thu Nov 07, 2019 13:08

Ho provato ha installare il programma via l'overlay sabayon, posso installare tutte le dipendenze con equo tranne il pacchetto dev-lang/lazarus che non è presente in Entropy, è scritto in python e da errore in fase di compilazione:

Code: Select all

make: *** No rule to make target 'cleanide ide'.  Stop.
make[1]: Leaving directory '/var/tmp/portage/dev-lang/lazarus-2.0.2/work/lazarus/ide'
make: Leaving directory '/var/tmp/portage/dev-lang/lazarus-2.0.2/work/lazarus'
Error: (lazarus) Build IDE: stopped with exit code 2
Error: (lazarus) Building IDE: Building IDE failed.
 * ERROR: dev-lang/lazarus-2.0.2::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 125:  Called src_compile
 *   environment, line 908:  Called die
 * The specific snippet of code:
 *           ./lazbuild -B --lazarusdir="." --pcp="../lazarus-package-config" --build-ide= --add-package ../Python-for-Lazarus-${PYTHON_HASH}/python4lazarus/python4lazarus_package.lpk || die;
 * 
 * If you need support, post the output of `emerge --info '=dev-lang/lazarus-2.0.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/lazarus-2.0.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/lazarus-2.0.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/lazarus-2.0.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/lazarus-2.0.2/work/lazarus'
 * S: '/var/tmp/portage/dev-lang/lazarus-2.0.2/work/lazarus'

>>> Failed to emerge dev-lang/lazarus-2.0.2, Log file:

>>>  '/var/tmp/portage/dev-lang/lazarus-2.0.2/temp/build.log'

 * Messages for package dev-lang/lazarus-2.0.2:

 * ERROR: dev-lang/lazarus-2.0.2::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 125:  Called src_compile
 *   environment, line 908:  Called die
 * The specific snippet of code:
 *           ./lazbuild -B --lazarusdir="." --pcp="../lazarus-package-config" --build-ide= --add-package ../Python-for-Lazarus-${PYTHON_HASH}/python4lazarus/python4lazarus_package.lpk || die;
 * 
 * If you need support, post the output of `emerge --info '=dev-lang/lazarus-2.0.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/lazarus-2.0.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/lazarus-2.0.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/lazarus-2.0.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/lazarus-2.0.2/work/lazarus'
 * S: '/var/tmp/portage/dev-lang/lazarus-2.0.2/work/lazarus'
Aspettiamo sabayonino per vedere cosa dice.
ASRock Fatal1ty Z68 Professional Gen3 *_* Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz *_* MSI GeForce® GTX 1050 Ti 4GT OC *_* AR5416 Wireless Network Adapter {AR5008802.11(a) bgn} *_* Mémoire totale 8 Gio *_* linux-4.20.0 *_* Sabayon KDE-5 *_*
Image

User avatar
sabayonino
Sagely Hen
Posts: 3388
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: winff su sabayon

Post by sabayonino » Thu Nov 07, 2019 13:11

devi aggiungere l'overlay "sabayon" se non è già presente. Il pacchetto è già incluso nell'overlay. Tu stai tentando di utilizzare un overlay locale la cui procedura è leggermente diversa.

Elenco overlay installati

Code: Select all

# layman -l
Aggiungi l'overlay "sabayon" se manca (attenzione , sabayon ha un altro overlay "sabayon-distro")

Code: Select all

# layman -a sabayon
Aggiorna eventualmente l'overlay

Code: Select all

# layman -s sabayon
Installa il pacchetto

Code: Select all

# emerge winff --ask
Avvisa Entropy dell'installazione

Code: Select all

# equo rescue spmsync
Per la compilazione da sorgenti è necessario installare il compilatore al completo con i suoi tools

Code: Select all

# equo i @build-essentials --ask
Buona fortuna

User avatar
fiorello
Sagely Hen
Posts: 1387
Joined: Mon Aug 13, 2007 14:06
Location: Bourg En Bresse - France

Re: winff su sabayon

Post by fiorello » Thu Nov 07, 2019 13:16

Per correttezza metto i pacchetti che richiede il programma:

Code: Select all

# emerge -av media-video/winff --ask 

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-lang/fpc-3.0.4::gentoo  USE="ide source -doc" 162 206 KiB
[ebuild  N     ] dev-lang/lazarus-2.0.2::gentoo  USE="python -minimal" 0 KiB
[ebuild  N     ] x11-terms/xterm-350::gentoo  USE="openpty truetype unicode xinerama -Xaw3d -sixel -toolbar" 1 367 KiB
[ebuild  N     ] media-video/winff-1.5.5::sabayon  USE="-doc" 2 562 KiB

Total: 4 packages (4 new), Size of downloads: 166 134 KiB

Would you like to merge these packages? [Yes/No] 
ASRock Fatal1ty Z68 Professional Gen3 *_* Intel(R) Core(TM) i7-2600K CPU @ 3.40GHz *_* MSI GeForce® GTX 1050 Ti 4GT OC *_* AR5416 Wireless Network Adapter {AR5008802.11(a) bgn} *_* Mémoire totale 8 Gio *_* linux-4.20.0 *_* Sabayon KDE-5 *_*
Image

trigg
Baby Hen
Posts: 12
Joined: Sun Oct 29, 2017 16:01

Re: winff su sabayon

Post by trigg » Fri Nov 08, 2019 12:04

continua a darmi lo stesso errore

poco male , per comprimere i video posso usare la riga di comando invece del software grafico

attualmente sto usando questa riga per cambiare la risoluzione e risparmiare spazio

Code: Select all

ffmpeg -i in.mkv -preset veryfast -vf scale=1280:-1 -c:v libx264 -crf 16   out.mkv
probabilmente ci saranno altre righe ma questa sembra essere la più veloce e la più semplice.

se ci sono altri suggerimenti in merito alle righe di comando sono ben accetti altrimenti che senso ha ussare Sabayon ^_^
:P grazie per il sempre pronto aiuto cordiale ed esaustivo

User avatar
sabayonino
Sagely Hen
Posts: 3388
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: winff su sabayon

Post by sabayonino » Fri Nov 08, 2019 17:20

Scsua. Ma se non ci dici quale errore ti dà non possiamo aiutare.

trigg
Baby Hen
Posts: 12
Joined: Sun Oct 29, 2017 16:01

Re: winff su sabayon

Post by trigg » Fri Nov 08, 2019 18:41

vero ,


durante la compilazione sembra andare tutto bene fino a quando si ferma per 5 secondi su questa riga

Code: Select all

/usr/bin/ld: warning: ../link.res contains output sections; did you forget -T?
dopo riprende a compilare fino a quando non arriva all'ultima parte della compilazione

Code: Select all

/bin/rm -f 
make: *** No rule to make target 'cleanide ide'.  Stop.
/bin/rm -f 
/bin/rm -f 
make[1]: Leaving directory '/var/tmp/portage/dev-lang/lazarus-2.0.2/work/lazarus/ide'
make: Leaving directory '/var/tmp/portage/dev-lang/lazarus-2.0.2/work/lazarus'
Error: (lazarus) Build IDE: stopped with exit code 2
Error: (lazarus) Building IDE: Building IDE failed.
 * ERROR: dev-lang/lazarus-2.0.2::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 125:  Called src_compile
 *   environment, line 902:  Called die
 * The specific snippet of code:
 *           ./lazbuild -B --lazarusdir="." --pcp="../lazarus-package-config" --build-ide= --add-package ../Python-for-Lazarus-${PYTHON_HASH}/python4lazarus/python4lazarus_package.lpk || die;
 * 
 * If you need support, post the output of `emerge --info '=dev-lang/lazarus-2.0.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/lazarus-2.0.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/lazarus-2.0.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/lazarus-2.0.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/lazarus-2.0.2/work/lazarus'
 * S: '/var/tmp/portage/dev-lang/lazarus-2.0.2/work/lazarus'

>>> Failed to emerge dev-lang/lazarus-2.0.2, Log file:

>>>  '/var/tmp/portage/dev-lang/lazarus-2.0.2/temp/build.log'

 * Messages for package dev-lang/lazarus-2.0.2:

 * ERROR: dev-lang/lazarus-2.0.2::gentoo failed (compile phase):
 *   (no error message)
 * 
 * Call stack:
 *     ebuild.sh, line 125:  Called src_compile
 *   environment, line 902:  Called die
 * The specific snippet of code:
 *           ./lazbuild -B --lazarusdir="." --pcp="../lazarus-package-config" --build-ide= --add-package ../Python-for-Lazarus-${PYTHON_HASH}/python4lazarus/python4lazarus_package.lpk || die;
 * 
 * If you need support, post the output of `emerge --info '=dev-lang/lazarus-2.0.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-lang/lazarus-2.0.2::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-lang/lazarus-2.0.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-lang/lazarus-2.0.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-lang/lazarus-2.0.2/work/lazarus'
 * S: '/var/tmp/portage/dev-lang/lazarus-2.0.2/work/lazarus'
 sabayon /home/trigg #
purtroppo non ricordo come usare wgetpaste

User avatar
sabayonino
Sagely Hen
Posts: 3388
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: winff su sabayon

Post by sabayonino » Fri Nov 08, 2019 21:42

Non riesco a replicare l'errore.

hai provato con :

Code: Select all

media-video/handbrake-1.2.2-r2


??

trigg
Baby Hen
Posts: 12
Joined: Sun Oct 29, 2017 16:01

Re: winff su sabayon

Post by trigg » Sat Nov 09, 2019 8:27

si
ho sia handbrake che avidemux installati e funzionanti

ai due preferisco winff per la semplicità e l'immediatezza .

ripeto sto usando la riga di comando , winff non è altro che la riproduzione grafica dei comandi ffmpeg

quindi mi trovo bene anche ad usare il terminale , a questo punto dovrò solo informarmi meglio sui vari comandi disponibili di ffmpeg

per avere cmq lo stesso risultato di winff e tutti gli alti programmi di compressione video come questo

Code: Select all

ffmpeg -i in.mkv -preset veryfast -vf scale=1280:-1 -c:v libx264 -crf 20 out.mp4
oppure questo

Code: Select all

ffmpeg -y -i in.mkv -c:v libx264 -preset fast -b:v 555k -pass 1 -c:a libfdk_aac -b:a 128k -f mp4 /dev/null && \
ffmpeg -i in.mkv -c:v libx264 -preset fast -b:v 555k -pass 2 -c:a libfdk_aac -b:a 128k out.mp4

User avatar
sabayonino
Sagely Hen
Posts: 3388
Joined: Sun Sep 21, 2008 1:12
Location: Italy
Contact:

Re: winff su sabayon

Post by sabayonino » Sat Nov 09, 2019 9:27

Io suppongo che la versione di lazarus proposta abbia problemi :D

Post Reply