Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[lafilefixer] sincronizzare /var/<cat>/<pkg>/CONTENT
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools)
View previous topic :: View next topic  
Author Message
cloc3
Advocate
Advocate


Joined: 13 Jan 2004
Posts: 4787
Location: http://www.gentoo-users.org/user/cloc3/

PostPosted: Sun Nov 01, 2009 11:20 pm    Post subject: [lafilefixer] sincronizzare /var/<cat>/<pkg>/CON Reply with quote

qui si è discusso il problema dei falsi positivi di qcheck causati dall'uso di filefixer.
è stato indicato anche un possibile aggiramento del problema.

quella soluzione, però, non funziona con i pacchetti binari.
volendo evitare di ricompilare interamente i pacchetti interessati, si può fare in due modi:

    1. fissare l'intero sistema con queck -u (qui si suppone di avere esclusivamente problemi legati a qcheck):
    Code:

    qcheck -u $(find /var/db/pkg/ -mindepth 2 -type d -printf "=%P ")

    2. riscrivere la patch di Daniel Pielmeier in una versione valida anche per i pacchetti binari:
    Code:

    # http://bugs.gentoo.org/show_bug.cgi?id=274585#c5
    pkg_preinst() {
            echo "pkg_preinst: run lafilefixer ${D}"
            #find ${EPATCH_SOURCE/work\/patch} -name *.la -exec lafilefixer {} \;
            find ${PORTAGE_BUILDDIR} -name *.la -exec lafilefixer {} \;
            echo ""
    }

l'istruzione commentata che usa la variabile ${EPATCH_SOURCE/work\/patch} sembra un po' brutto, ma mi è risultata necessaria per uno stupido pacchetto binario (forse datato) che voleva usare a tutti i costi var/tmp/binpkg . dopo averlo elimintato, non sono più riuscito a ripetere il fenomeno.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) Risorse italiane (documentazione e tools) 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