Gentoo Forums
Gentoo Forums
Quick Search: in
[portage] ghostscript mi fa rabbia [Risolto]
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)
View previous topic :: View next topic  
Author Message
cloc3
Advocate
Advocate


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

PostPosted: Sat Aug 12, 2006 8:09 am    Post subject: [portage] ghostscript mi fa rabbia [Risolto] Reply with quote

edit: problema fissato:
Code:

s939 linux # emerge -pv ghostscript-gpl ghostscript-esp ghostscript-gnu

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

Calculating dependencies... done!
[blocks B     ] app-text/ghostscript-gpl (is blocking app-text/ghostscript-esp-8.15.1_p20060430)
[blocks B     ] app-text/ghostscript-esp (is blocking app-text/ghostscript-gnu-8.16-r1)
[blocks B     ] app-text/ghostscript-gpl (is blocking app-text/ghostscript-gnu-8.16-r1)
[ebuild   R   ] app-text/ghostscript-gpl-8.54  USE="X cups gtk jpeg2k -cjk -emacs" 0 kB
[ebuild  N    ] app-text/ghostscript-esp-8.15.1_p20060430  USE="X cups gtk threads xml -cjk -emacs" 0 kB
[ebuild  N    ] app-text/ghostscript-gnu-8.16-r1  USE="X cups gtk -cjk" 10,131 kB


Testo originale:
Qui mi scappa il topic nubbione (tanto per cambiare).
Ma proprio questa non la capisco.
Code:

s939 ~ # emerge -pvuD world -t

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

Calculating world dependencies... done!
[blocks B     ] app-text/ghostscript-esp (is blocking app-text/ghostscript-gpl-8.54)
[nomerge      ] media-video/kino-0.9.0  USE="alsa dvdr ffmpeg quicktime vorbis -sox"
[nomerge      ]  media-libs/libquicktime-0.9.9  USE="X mmx"
[ebuild     UD]   media-libs/x264-svn-20060612 [20060810] USE="threads -debug -mp4" 0 kB
[ebuild     U ] sys-fs/xfsdump-2.2.33-r1 [2.2.30] 0 kB
[ebuild     U ]  sys-apps/attr-2.4.28-r1 [2.4.24] USE="nls" 0 kB
[ebuild     U ]  sys-apps/dmapi-2.2.3 [2.2.1] 0 kB
[nomerge      ] gnome-base/gnome-2.14.2  USE="dvdr hal -accessibility -cdr"
[nomerge      ]  media-sound/sound-juicer-2.14.4  USE="flac ogg -debug"
[ebuild     U ]   media-libs/musicbrainz-2.1.2 [2.1.1-r1] 0 kB
[nomerge      ] media-gfx/xsane-0.991  USE="gimp jpeg nls png tiff"
[nomerge      ]  media-gfx/gimp-2.2.12  USE="aalib gtkhtml jpeg lcms mmx mng png python sse svg tiff wmf -debug -doc -gimpprint -hardened -smp"
[nomerge      ]   gnome-base/librsvg-2.14.4  USE="gnome zlib -debug -doc"
[nomerge      ]    gnome-extra/libgsf-1.14.0  USE="bzip2 gnome -debug -doc -static"
[nomerge      ]     media-gfx/imagemagick-6.2.8.0  USE="X bzip2 fpx graphviz jbig jpeg jpeg2k lcms mpeg perl png tiff truetype wmf xml zlib -doc -gs -nocxx"
[nomerge      ]      media-libs/libwmf-0.2.8.4  USE="X expat gd gtk jpeg xml -debug -doc"
[ebuild  N    ]       virtual/ghostscript-0  0 kB
[nomerge      ]        app-text/ghostscript-gpl-8.54  USE="X cups gtk jpeg2k -cjk -emacs"
[nomerge      ]        app-text/ghostscript-gpl-8.54  USE="X cups gtk jpeg2k -cjk -emacs"
[nomerge      ] net-dialup/rp-pppoe-3.8  USE="X"
[ebuild     U ]  net-dialup/ppp-2.4.3-r16 [2.4.2-r15] USE="gtk% pam -activefilter -atm -dhcp -eap-tls% -ipv6 -mppe-mppc -radius" 0 kB
[nomerge      ] dev-perl/DBD-mysql-2.9007
[nomerge      ]  dev-perl/DBI-1.50
[nomerge      ]   dev-perl/PlRPC-0.2018
[nomerge      ]    dev-perl/Net-Daemon-0.38
[nomerge      ]          media-libs/alsa-lib-1.0.11  USE="-doc"
[nomerge      ]           sys-kernel/gentoo-sources-2.6.17-r4  USE="-build -symlink"
[nomerge      ]            sys-fs/udev-087-r1
[ebuild     U ]             sys-apps/baselayout-1.12.4-r2 [1.11.15-r3] USE="unicode -bootstrap -build -static" 0 kB
...

s939 ~ # cat /var/lib/portage/world |grep ghost
app-text/ghostscript-esp
s939 ~ #

È la seconda installazione consecutiva dove mi capita. Nella prima, però, ne ero uscito smanettando in un modo che, evidentemente, non ho capito e non so riprodurre.
Da dove nasce questa dipendenza circolare?
_________________
vu vu vu
gentù
mi piaci tu


Last edited by cloc3 on Sun Aug 13, 2006 1:09 am; edited 1 time in total
Back to top
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Sat Aug 12, 2006 9:04 am    Post subject: Reply with quote

app-text/ghostscript-esp è una versione migliorata di app-text/ghostscript-gpl, devi sciegliere una delle due, non puoi usarle entrambe.

ESP è una versione avanzata (e proprietaria) di CUPS.
_________________
Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe

all my contents are released under the Creative Commons Licence by-nc-nd 2.5
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


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

PostPosted: Sat Aug 12, 2006 9:55 am    Post subject: Reply with quote

!equilibrium wrote:

app-text/ghostscript-esp è una versione migliorata di app-text/ghostscript-gpl, devi sciegliere una delle due, non puoi usarle entrambe.

Daccordo, ma qui sta il dramma: io non fatto nulla (di consapevole) per avere ghostscript-gpl.
Adesso ho pulito e riemerso in questo modo:
Code:

s939 ~ # emerge -C foomatic-db-engine cups net-print/foomatic-filters ghostscript-gpl ghostscript-esp ghostscript-0 gimp-print
s939 ~ # emerge  gimp-print ghostscript-esp -K

E ho ritrovato ghostscript-gpl !!!
Allora ho provato a controllare con genlop e ho scoperto con sorpresa:
Code:

s939 ~ # genlop -t ghostscript-gpl
 * app-text/ghostscript-gpl

     Tue Aug  8 10:13:07 2006 >>> app-text/ghostscript-gpl-8.54
       merge time: 6 minutes and 35 seconds.

     Sat Aug 12 09:47:59 2006 >>> app-text/ghostscript-gpl-8.54
       merge time: 7 seconds.

s939 ~ #

Addirittura due installazioni, una delle quali esaurita in sette secondi (qui forse stavo pasticciando).
Ma almeno la prima, come è accaduta?
A questo punto, ho dato:
Code:

s939 ~ # emerge -C ghostscript-gpl
s939 ~ # emerge -uDpv world

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

Calculating world dependencies... done!
[ebuild     U ] sys-apps/baselayout-1.12.4-r2 [1.11.15-r3] USE="unicode -bootstrap -build -static" 0 kB
[ebuild     U ] net-dialup/ppp-2.4.3-r16 [2.4.2-r15] USE="gtk% pam -activefilter -atm -dhcp -eap-tls% -ipv6 -mppe-mppc -radius" 0 kB
[ebuild     U ] media-libs/musicbrainz-2.1.2 [2.1.1-r1] 0 kB
[ebuild     U ] sys-apps/dmapi-2.2.3 [2.2.1] 0 kB
[ebuild     U ] sys-apps/attr-2.4.28-r1 [2.4.24] USE="nls" 0 kB
[ebuild     U ] sys-fs/xfsdump-2.2.33-r1 [2.2.30] 0 kB
[ebuild     UD] media-libs/x264-svn-20060612 [20060810] USE="threads -debug -mp4" 0 kB

finalmente pulito.
Non capisco. Adesso ci riprovo e ripubblico il risultato.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


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

PostPosted: Sat Aug 12, 2006 10:03 am    Post subject: Reply with quote

8O ecco il guasto:
Code:

s939 ~ # emerge  gimp-print ghostscript-esp -Kpv

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

Calculating dependencies... done!
[binary  N    ] net-print/cups-1.1.23-r8  USE="nls pam samba ssl -gnutls -slp"
[binary  N    ] app-text/ghostscript-gpl-8.54  USE="X cups gtk jpeg2k -cjk -emacs"
[binary  N    ] virtual/ghostscript-0
[binary  N    ] net-print/foomatic-filters-3.0.2-r1  USE="cups samba"
[binary  N    ] net-print/foomatic-db-engine-3.0.2
[binary  N    ] media-gfx/gimp-print-4.2.7  USE="cups foomaticdb gtk nls ppds readline"
[binary  N    ] app-text/ghostscript-esp-8.15.1_p20060430  USE="X cups gtk threads xml -cjk -emacs"

Epperò:
Code:

s939 ~ # emerge  ghostscript-esp gimp-print -Kpv

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

Calculating dependencies... done!
[binary  N    ] net-print/cups-1.1.23-r8  USE="nls pam samba ssl -gnutls -slp"
[binary  N    ] app-text/ghostscript-esp-8.15.1_p20060430  USE="X cups gtk threads xml -cjk -emacs"
[binary  N    ] virtual/ghostscript-0
[binary  N    ] net-print/foomatic-filters-3.0.2-r1  USE="cups samba"
[binary  N    ] net-print/foomatic-db-engine-3.0.2
[binary  N    ] media-gfx/gimp-print-4.2.7  USE="cups foomaticdb gtk nls ppds readline"
8O 8O 8O
È giusto che sia così?
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Sat Aug 12, 2006 10:36 am    Post subject: Reply with quote

il problema penso che sia generato da virtual/ghostscript-0 il quale è il wrapper per:

Code:
*  app-text/ghostscript-esp
      Description: ESP Ghostscript -- an enhanced version of GPL Ghostscript with better printer support
      License:     GPL-2 LGPL-2

*  app-text/ghostscript-gnu
      Description: GNU Ghostscript
      License:     GPL-2

*  app-text/ghostscript-gpl
      Description: GPL Ghostscript - the most current Ghostscript, AFPL, relicensed
      License:     GPL-2


penso che se non installi a mano uno di questi tre, di default prende app-text/ghostscript-gpl ecco perchè emerge gimp-print ghostscript-esp -Kpv ti vuole emergere prima ghostscrpt-gpl e poi ghostscript-esp (lo hai specificato nella riga di comando, quindi il virtual di ghostscript installerà quello di default e poi quello da te richiesto). semplicemente leva ghostscript-esp dall'emerge:

Code:
emerge gimp-print -Kpv


in automatico ti dovrebbe emergere il pacchetto ghostscript-gpl e non darti più la dipendenza circolare.
oppure prima emergi il ghostscript di cui hai bisogno con emerge -1 ghostscript-XXX e poi continua con quello che stavi facendo ma senza specificare esplicitamente alcun pacchetto ghostscript durante gli emerge (ci penserà il virtual a rilevare quello già installato e ad usarlo come dipendenza).
_________________
Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe

all my contents are released under the Creative Commons Licence by-nc-nd 2.5
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


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

PostPosted: Sat Aug 12, 2006 11:10 am    Post subject: Reply with quote

!equilibrium wrote:
semplicemente leva ghostscript-esp dall'emerge:

Code:
emerge gimp-print -Kpv


in automatico ti dovrebbe emergere il pacchetto ghostscript-gpl e non darti più la dipendenza circolare.
oppure ...

A questo punto, credo che tutto quello che dici sia evidente.
Mi chiedo se è corretto che accada.

Sembra che ghostscript-esp blocchi ghostscript-gpl, ma non viceversa. e vorrei sapere se questa deve essere ritenuta una contraddizione interna di portage (eventualmente posto il baco).
Code:

s939 ~ # emerge -pv ghostscript-gpl ghostscript-esp

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

Calculating dependencies... done!
[ebuild  N    ] app-text/ghostscript-gpl-8.54  USE="X cups gtk jpeg2k -cjk -emacs" 0 kB
[ebuild  N    ] app-text/ghostscript-esp-8.15.1_p20060430  USE="X cups gtk threads xml -cjk -emacs" 0 kB

Total size of downloads: 0 kB
s939 ~ # emerge -pv ghostscript-esp ghostscript-gpl

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

Calculating dependencies... done!
[blocks B     ] app-text/ghostscript-esp (is blocking app-text/ghostscript-gpl-8.54)
[ebuild  N    ] app-text/ghostscript-esp-8.15.1_p20060430  USE="X cups gtk threads xml -cjk -emacs" 0 kB
[ebuild  N    ] app-text/ghostscript-gpl-8.54  USE="X cups gtk jpeg2k -cjk -emacs" 0 kB


Inoltre non ho capito bene se avere gimp-print con ghostscript-esp, come io vorrei, sia scorretto per qualche motivo di sostanza.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Sat Aug 12, 2006 11:18 am    Post subject: Reply with quote

cloc3 wrote:
Mi chiedo se è corretto che accada.


non saprei, in effetti il comportamento di virtual/ghostscript è un po anomalo rispetto agli altri virtual presenti in portage.

cloc3 wrote:
Sembra che ghostscript-esp blocchi ghostscript-gpl, ma non viceversa. e vorrei sapere se questa deve essere ritenuta una contraddizione interna di portage (eventualmente posto il baco).


a prima vista sembra di sì, cioè il block dovrebbe esserci per tutti e 3 i ghostscript a prescindere, invece a te li fa installare entrambi se cambi ordine di pacchetti nel comando emerge. sicuramente il virtual non è perfetto.

cloc3 wrote:
Inoltre non ho capito bene se avere gimp-print con ghostscript-esp, come io vorrei, sia scorretto per qualche motivo di sostanza.


non che io sappia, ma se dai emerge -1 ghostscript-esp e poi emerge -av gimp-print ti da qualche conflitto?
_________________
Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe

all my contents are released under the Creative Commons Licence by-nc-nd 2.5
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


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

PostPosted: Sat Aug 12, 2006 11:26 am    Post subject: Reply with quote

!equilibrium wrote:

non che io sappia, ma se dai emerge -1 ghostscript-esp e poi emerge -av gimp-print ti da qualche conflitto?

Per quanto riguarda portage, no.
Mi chiedevo se ci fosse un problema a mescolare software proprietario e driver liberi.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
cloc3
Advocate
Advocate


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

PostPosted: Sat Aug 12, 2006 11:38 am    Post subject: Reply with quote

Ok. Il dado è tratto.
_________________
vu vu vu
gentù
mi piaci tu
Back to top
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Sat Aug 12, 2006 11:50 am    Post subject: Reply with quote

cloc3 wrote:
Mi chiedevo se ci fosse un problema a mescolare software proprietario e driver liberi.


no, solo ESP è proprietario, mentre ghostscript-esp è stato rilasciato di recente sotto licenza GPL (prima non lo era); quindi da questo punto di vista non ci sono problemi ;) puoi usarli tranquillamente.
_________________
Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe

all my contents are released under the Creative Commons Licence by-nc-nd 2.5
Back to top
View user's profile Send private message
randomaze
Bodhisattva
Bodhisattva


Joined: 21 Oct 2003
Posts: 9983

PostPosted: Sat Aug 12, 2006 12:30 pm    Post subject: Reply with quote

!equilibrium wrote:
cloc3 wrote:
Mi chiedevo se ci fosse un problema a mescolare software proprietario e driver liberi.


no, solo ESP è proprietario, mentre ghostscript-esp è stato rilasciato di recente sotto licenza GPL (prima non lo era); quindi da questo punto di vista non ci sono problemi ;) puoi usarli tranquillamente.


Cosa intendi con "proprietario"? Perché io ho sempre inteso qualcosa che viene rilasciato con licenza non libera mentre mi sembra di capire che in questo caso si tratta di un fork (forse della versione aladdin che effettivamente era rilasciato con una licenza particolare....)

Code:
*  app-text/ghostscript-esp
...
      License:       GPL-2 LGPL-2

_________________
Ciao da me!
Back to top
View user's profile Send private message
!equilibrium
Bodhisattva
Bodhisattva


Joined: 06 Jun 2004
Posts: 2109
Location: MI/BG/LC

PostPosted: Sat Aug 12, 2006 12:41 pm    Post subject: Reply with quote

randomaze wrote:
Cosa intendi con "proprietario"? Perché io ho sempre inteso qualcosa che viene rilasciato con licenza non libera mentre mi sembra di capire che in questo caso si tratta di un fork (forse della versione aladdin che effettivamente era rilasciato con una licenza particolare....)


con 'proprietario' mi riferivo a ESP, non a ghoscript-esp.
http://www.cups.org/espgs/articles.php?L390
_________________
Arch Tester for Gentoo/FreeBSD
Equilibrium's Universe

all my contents are released under the Creative Commons Licence by-nc-nd 2.5
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) 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