Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
how to solve the libpng dependency problem?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
diablo465
Apprentice
Apprentice


Joined: 10 Sep 2013
Posts: 194

PostPosted: Thu Jan 23, 2014 4:36 am    Post subject: how to solve the libpng dependency problem? Reply with quote

when I was trying to update the system by
Code:
emerge -uDv @world


the following part always pop out that prevents updates:

Code:
media-libs/libpng:0

  (media-libs/libpng-1.5.17-r1::gentoo, ebuild scheduled for merge) pulled in by
    >=media-libs/libpng-1.4:0/0= required by (app-editors/emacs-24.3-r2::gentoo, installed)
    (and 1 more with the same problem)

  (media-libs/libpng-1.6.7::gentoo, installed) pulled in by
    media-libs/libpng:0/16= required by (app-text/poppler-0.24.5::gentoo, installed)
    media-libs/libpng:0/16= required by (dev-qt/qtgui-4.8.5-r1::gentoo, installed)
    media-libs/libpng:0/16= required by (x11-libs/cairo-1.12.14-r4::gentoo, installed)
    >=media-libs/libpng-1.4:0/16= required by (x11-libs/gdk-pixbuf-2.28.2::gentoo, installed)
    media-libs/libpng:0/16= required by (www-client/links-2.8-r1::gentoo, installed)
    media-libs/libpng:0/16= required by (media-libs/jbig2dec-0.11-r1::gentoo, installed)


I tried to mask media-libs/libpng-1.5.17-r1::gentoo in package.mask, but it still doesn't work by saying I need to unmask it.
if I uninstall emacs 24, maybe the problem could be solved. But I do wish to keep emacs24 in the system.

here is the results by emerge -av libpng
Code:

Calculating dependencies... done!
[ebuild   R   ~] media-libs/libpng-1.6.7:0/16  USE="apng static-libs (-neon)" ABI_X86="(64) -32 (-x32)" 0 kB


any great ideals? thanks in advance!
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Jan 23, 2014 5:35 am    Post subject: Reply with quote

suggest first run
Code:
emerge --sync
As media-libs/libpng-1.6.8 is the latest stable version. Then
Code:
emerge wgetpaste
then retry
Code:
emerge -uND  world | tee wg
wgetpaste wg
rm wg
post the url returned
_________________
Defund the FCC.
Back to top
View user's profile Send private message
diablo465
Apprentice
Apprentice


Joined: 10 Sep 2013
Posts: 194

PostPosted: Thu Jan 23, 2014 6:37 am    Post subject: Reply with quote

Hi Donahue, follow your method, I have got (haven't got the reason):

Code:

(gentoo) C665D package.mask # emerge -uND  world | tee wg
Calculating dependencies 
 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

... . .... done!

!!! Multiple package instances within a single package slot have been pulled
!!! into the dependency graph, resulting in a slot conflict:

sys-libs/zlib:0

  (sys-libs/zlib-1.2.8-r1::gentoo, installed) pulled in by
    sys-libs/zlib:=[minizip] required by (www-client/chromium-32.0.1700.77::gentoo, ebuild scheduled for merge)

  (sys-libs/zlib-1.2.8-r1::gentoo, ebuild scheduled for merge) pulled in by
    (no parents that aren't satisfied by other packages in this slot)


It might be possible to solve this slot collision
by applying all of the following changes:
   - sys-libs/zlib-1.2.8-r1 (Change USE: +minizip)


The following USE changes are necessary to proceed:
 (see "package.use" in the portage(5) man page for more details)
# required by dev-python/pycurl-7.19.0-r3[ssl]
# required by app-admin/system-config-printer-common-1.4.3
# required by app-admin/system-config-printer-gnome-1.4.3
# required by gnome-base/gnome-control-center-3.8.6[cups]
# required by gnome-base/gnome-shell-3.8.4-r2
# required by gnome-base/gdm-3.8.4-r3[gnome-shell]
# required by @selected
# required by @world (argument)
>=net-misc/curl-7.34.0-r1 curl_ssl_nss -curl_ssl_openssl

Use --autounmask-write to write changes to config files (honoring
CONFIG_PROTECT). Carefully examine the list of proposed changes,
paying special attention to mask or keyword changes that may expose
experimental or unstable packages.

!!! The ebuild selected to satisfy "sci-libs/hdf5[mpi=]" has unmet requirements.
- sci-libs/hdf5-1.8.10::gentoo USE="cxx fortran fortran2003 mpi (multilib) static-libs szip zlib -debug -examples -threads" ABI_X86="64"
  The following REQUIRED_USE flag constraints are unsatisfied:
    cxx? ( !mpi ) mpi? ( !cxx )

  The above constraints are a subset of the following complete expression:
    cxx? ( !mpi ) mpi? ( !cxx ) threads? ( !cxx !mpi !fortran ) fortran2003? ( fortran )

(dependency required by "sci-visualization/paraview-4.0.1-r1" [ebuild])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])
(gentoo) C665D package.mask # rm wg
Back to top
View user's profile Send private message
DONAHUE
Watchman
Watchman


Joined: 09 Dec 2006
Posts: 7651
Location: Goose Creek SC

PostPosted: Thu Jan 23, 2014 7:15 am    Post subject: Reply with quote

wgetpaste wg should have returned a pastebin url which should have contained a complete copy of the output of emerge -uND world.

it appears the libpng problem has cleared.

Code:
echo ">=sys-libs/zlib-1.2.8-r1 minizip" >> /etc/portage/package.use
echo ">=net-misc/curl-7.34.0-r1 curl_ssl_nss -curl_ssl_openssl" >> /etc/portage/package.use
echo ">=sci-libs/hdf5-1.8.10::gentoo cxx -mpi" >> /etc/portage/package.use
emerge -auND world

mpi and cxx use flags are mutually exclusive; I flipped a coin and picked cxx and banned mpi; have no idea of what either is for
_________________
Defund the FCC.
Back to top
View user's profile Send private message
diablo465
Apprentice
Apprentice


Joined: 10 Sep 2013
Posts: 194

PostPosted: Fri Jan 24, 2014 3:40 am    Post subject: Reply with quote

thanks @Donahue

yes it is working when i use
Code:
 emerge -auND world


but the problem on libpng shows up again when i use the following command to update

Code:
 emerge -auDv world


I have read about the meaning of -N from the emerge manpage, but still didn't get the idea of it. especially how -N can handle the problem of libpng I had before
Back to top
View user's profile Send private message
N8Fear
Tux's lil' helper
Tux's lil' helper


Joined: 15 Apr 2013
Posts: 140
Location: Berlin (Germany)

PostPosted: Fri Jan 24, 2014 3:42 am    Post subject: Reply with quote

-N is --newuse - it forces portage to check if some useflags have changed and rebuild the packages affected by a useflag change...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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