Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 182248 - net-im/skype-1.4.0.74 ebuild broken w/ USE=static
Summary: net-im/skype-1.4.0.74 ebuild broken w/ USE=static
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
: 182345 (view as bug list)
Depends on: 179568
Blocks: 182240
  Show dependency tree
 
Reported: 2007-06-16 19:03 UTC by Jakub Moc (RETIRED)
Modified: 2007-06-17 20:11 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
skype-1.4.0.74-r1.ebuild (skype-1.4.0.74-r1.ebuild,2.95 KB, text/plain)
2007-06-17 08:19 UTC, Jakub Moc (RETIRED)
Details
skype-1.4.0.74-r1.ebuild (skype-1.4.0.74-r1.ebuild,3.17 KB, text/plain)
2007-06-17 09:08 UTC, Jakub Moc (RETIRED)
Details
skype-1.4.0.74-r1.ebuild (skype-1.4.0.74-r1.ebuild,3.20 KB, text/plain)
2007-06-17 09:12 UTC, Jakub Moc (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakub Moc (RETIRED) gentoo-dev 2007-06-16 19:03:46 UTC
No sounds or icons installed...

>>> Install skype-1.4.0.74 into /var/tmp/portage/net-im/skype-1.4.0.74/image/ category net-im
install: cannot stat `skype': No such file or directory
install: cannot stat `sounds/*.wav': No such file or directory
chown: cannot access `/var/tmp/portage/net-im/skype-1.4.0.74/image//opt/skype/skype': No such file or directory
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-16 19:07:13 UTC
As an added bonus, the application itself is not installed either...

$ skype 
/usr/bin/skype: line 10: /opt/skype/skype: No such file or directory
/usr/bin/skype: line 10: exec: /opt/skype/skype: cannot execute: No such file or directory
Comment 2 Mike Auty (RETIRED) gentoo-dev 2007-06-16 19:28:34 UTC
That's because the static version needs a different ${S} from the dynamic version.  I believe the dynamic version is correct, but the static version unpacks to ${PN}_static-${PV}.  They also missed the .tar off the dynamic filename, so this isn't the only distribution issue they've suffered this version...
Comment 3 Jakub Nawalaniec 2007-06-16 20:05:48 UTC
Same here too. Emerging newest skype renders it unusable (no /usr/bin/skype stuff).
Comment 4 Sven 2007-06-16 21:53:47 UTC
Hmm, this might get important.

<skype-1.4 is masked :-)
So let's hope, not too many users use USE=static ;-)
Comment 5 Francois Chenier 2007-06-17 02:44:50 UTC
(In reply to comment #4)
> Hmm, this might get important.
> 
> <skype-1.4 is masked :-)
> So let's hope, not too many users use USE=static ;-)
> 

It's no longer masked in portage tree. BTW, just cp skype && cp sounds/* from tarball into /opt/skype directory. Don't forget to set/check your sound notifications in your preferences because it's still a bit missy with this beta version.
Comment 6 Sven 2007-06-17 04:07:09 UTC
> > <skype-1.4 is masked :-)
> It's no longer masked in portage tree.

You got me wrong. Skype 1.4.0.74 (the broken version) is the only version, that is NOT masked currently. All versions below 1.4.0.74 are masked. See http://www.gentoo-portage.com/net-im/skype
Comment 7 Peter Avramucz 2007-06-17 07:56:50 UTC
Same here on ~amd64.
I had to extract manually, the tarball. I'm using the static flag, because, this is the only way, it can be installed, on this platform:
!!! There is no pre-built qt4 for amd64. Please turn the static flag on
However, i know at least one person, who doesn't have this problem, and he had this installed fine... :-/
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2007-06-17 08:19:58 UTC
Created attachment 122295 [details]
skype-1.4.0.74-r1.ebuild

Major rewrite, please test on amd64. Tested and working on x86 w/ both static and non-static.
Comment 9 Jakub Moc (RETIRED) gentoo-dev 2007-06-17 08:24:43 UTC
(In reply to comment #7)
> Same here on ~amd64.
> I had to extract manually, the tarball. I'm using the static flag, because,
> this is the only way, it can be installed, on this platform:

Correct; amd64 users must enable USE=static for this.

@humpback: you need to package.use.force static on amd64; letting ebuild die
really sucks.
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2007-06-17 09:08:12 UTC
Created attachment 122301 [details]
skype-1.4.0.74-r1.ebuild

OK, this one changes USE=static to USE=qt-static (that's what opera uses) because it's not really static except for QT. Also, fix dbus and other dependencies wrt Bug 179568 (see Bug 179568 Comment #8 there)

Please, test.
Comment 11 Jakub Moc (RETIRED) gentoo-dev 2007-06-17 09:12:34 UTC
Created attachment 122303 [details]
skype-1.4.0.74-r1.ebuild

Eh, no need to install dbus config for qt-static, sorry.
Comment 12 Rodolphe Rocca 2007-06-17 09:15:01 UTC
(In reply to comment #11)
> Created an attachment (id=122303) [edit]
> skype-1.4.0.74-r1.ebuild
> 
> Eh, no need to install dbus config for qt-static, sorry.
> 

Ok After 3 attempts to update the entry while you were modifying it ;-) : this one works perfectly fine for me (amd64). Thank you Jakub !
Comment 13 Ian Pickworth 2007-06-17 09:36:44 UTC
(In reply to comment #11)
> Created an attachment (id=122303) [edit]
> skype-1.4.0.74-r1.ebuild
> 
> Eh, no need to install dbus config for qt-static, sorry.
> 
I'm on ~x86 - I have just tried this e-build with USE=qt-static and it works.
Previous portage build 1.4.0.74 failed as described above.

Many thanks.
Comment 14 Sven 2007-06-17 09:39:36 UTC
(In reply to comment #11)
> Created an attachment (id=122303) [edit]
> skype-1.4.0.74-r1.ebuild

Works like a charm! MANY many thanks!

Comment 15 Jakub Nawalaniec 2007-06-17 09:40:36 UTC
Latest ebuild rocks here too :) thanks!
Comment 16 Peter Avramucz 2007-06-17 09:49:07 UTC
Latest ebuild work for me on ~amd64.
Thanks!
Comment 17 Richard H. 2007-06-17 10:47:28 UTC
WORKS on x86 like a charm too.
(qt4 is masked, so the only way keeping package.unmask empty is to use qt-static.)
Comment 18 Jakub Moc (RETIRED) gentoo-dev 2007-06-17 10:49:49 UTC
(In reply to comment #17)
> (qt4 is masked, so the only way keeping package.unmask empty is to use
> qt-static.)

It's not masked, it's ~arch. You must have it masked locally.

Comment 19 Alexander Huemer 2007-06-17 14:09:57 UTC
not working for me. i am on ~x86.
without useflag static i get the executable, but

ahuemer@xeon ~ % skype
/opt/skype/skype: symbol lookup error: /opt/skype/skype: undefined symbol: _ZN7QWidget17setAccessibleNameERK7QString
ahuemer@xeon ~ % 

with useflag static i do not get the exeutable.

last emerge --sync was 5 minutes ago.
Comment 20 Jakub Moc (RETIRED) gentoo-dev 2007-06-17 14:14:31 UTC
(In reply to comment #19)
> not working for me. i am on ~x86.

No offense, but you need the ebuild from *this* bug; not the one that's in the tree.
Comment 21 Gustavo Felisberto (RETIRED) gentoo-dev 2007-06-17 16:22:49 UTC
Commiting fix. Thanks Jakub
Comment 22 Gianni Costanzi 2007-06-17 19:03:30 UTC
*** Bug 182345 has been marked as a duplicate of this bug. ***