Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

media-libs/libexif-0.6.13-r1 failed

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
m_sqrd
Guru
Guru
Posts: 367
Joined: Mon Jul 18, 2005 7:38 pm

media-libs/libexif-0.6.13-r1 failed

  • Quote

Post by m_sqrd » Sun Feb 18, 2007 5:09 pm

* preserve_old_lib() must be called from pkg_preinst() only

!!! ERROR: media-libs/libexif-0.6.13-r1 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_install
ebuild.sh, line 1060: Called qa_call 'src_install'
environment, line 3297: Called src_install
libexif-0.6.13-r1.ebuild, line 63: Called preserve_old_lib '/usr/lib/libexif.so.9'
eutils.eclass, line 1586: Called die

!!! Invalid preserve_old_lib() usage
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/media-libs:libexif-0.6.13-r1:20070218-162302.log'.

any ideas ?
Top
Hamsterkill
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 81
Joined: Sat Apr 01, 2006 12:16 am

  • Quote

Post by Hamsterkill » Sun Feb 18, 2007 7:29 pm

Same thing here... no ideas yet.
Top
Hamsterkill
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 81
Joined: Sat Apr 01, 2006 12:16 am

  • Quote

Post by Hamsterkill » Sun Feb 18, 2007 7:41 pm

It seems to be messing up on a line of the ebuild that hasn't changed. Perhaps the recent portage update changed something about the preserve_old_lib call? Otherwise, I'm drawing a blank.
Top
m_sqrd
Guru
Guru
Posts: 367
Joined: Mon Jul 18, 2005 7:38 pm

  • Quote

Post by m_sqrd » Sun Feb 18, 2007 7:50 pm

Sorry did not check back on this..
you need to edit the ebuild and change the line

Code: Select all

                # Keep around old lib
                 preserve_old_lib /usr/$(get_libdir)/libexif.so.9
to this

Code: Select all

}
pkg_postinst() {
        preserve_old_lib_notify /usr/$(get_libdir)/libexif.so.9
}
then

Code: Select all

ebuild /usr/portage/media-libs/libexif/libexif-0.6.13-r1.ebuild digest
I have to rember to have coffie before computer work :-}
Top
Hamsterkill
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 81
Joined: Sat Apr 01, 2006 12:16 am

  • Quote

Post by Hamsterkill » Sun Feb 18, 2007 8:05 pm

Okay, so it looks like the ebuild maintainer fixed the problem in in the libexif-0.6.13-r2 ebuild. I guess portage made it so that preserve_old_lib could only be called from pkg_preinst.

For now, changing the package to work with ~x86 should fix it or you could modify the old ebuild yourself and update the digest (though if you do this it will be reverted every time you emerge --sync I think). Once the r2 package is marked as stable you can then take the ~x86 keyword off the libexif package if you want.

EDIT: You beat me to the post
Top
bschnzl
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 105
Joined: Sun Mar 13, 2005 7:15 am

Double entry

  • Quote

Post by bschnzl » Tue Feb 20, 2007 8:12 am

AAAaaaiiiieeee.....

I notice that the "to this:" text is the same as the last line. Wouldn't it be easier (cleaner, more elegant) to just comment out

Code: Select all

# preserve_old_lib /usr/$(get_libdir)/libexif.so.9
????

As I read it (being a n00b and all) that would prevent double execution. Of course, if that were meant as a confirmation that you were in the right place (a la 'diff') then c'est la vie as it were.

EDIT: emerging libexif in this manner worked for me!
Persistance Pays
Top
Gentree
Watchman
Watchman
User avatar
Posts: 5350
Joined: Tue Jul 01, 2003 12:51 am
Location: France, Old Europe

  • Quote

Post by Gentree » Tue Feb 27, 2007 7:37 am

Code: Select all

bash-3.2#gimp3
This is a development version of GIMP.  Debug messages may appear here.

/opt/gimp/lib/gimp/2.0/plug-ins/jpeg: error while loading shared libraries: libexif.so.10: cannot open shared object file: No such file or directory

(gimp-2.3:16016): Gimp-Plug-In-WARNING **: gimp-2.3: plug_in_flush(): error: Broken pipe

(gimp-2.3:16016): Gimp-Plug-In-WARNING **: gimp-2.3: plug_in_flush(): error: Broken pipe
bash-3.2#ls /usr/lib/libexif*
/usr/lib/libexif.a   /usr/lib/libexif.so     /usr/lib/libexif.so.12.0.1
/usr/lib/libexif.la  /usr/lib/libexif.so.12  /usr/lib/libexif.so.9
Dont know if this is related seems it did keep something but gimp is built against so.10 , I just rebuild gimp but it still fails.
:?
Linux, because I'd rather own a free OS than steal one that's not worth paying for.
Gentoo because I'm a masochist
AthlonXP-M on A7N8X. Portage ~x86
Top
Post Reply

7 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic