Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 136046 - swftools-0.7.0 configure doesn't find t1lib w/ LDFLAGS="Wl,--as-needed"
Summary: swftools-0.7.0 configure doesn't find t1lib w/ LDFLAGS="Wl,--as-needed"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Marcelo Goes (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 130362
Blocks: as-needed
  Show dependency tree
 
Reported: 2006-06-08 03:17 UTC by Samuli Suominen (RETIRED)
Modified: 2006-06-12 05:41 UTC (History)
1 user (show)

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


Attachments
swftools-0.7.0.ebuild.patch , adds ewarn with epause to swftools-0.7.0.ebuild about missing features. (swftools-0.7.0.ebuild.patch,378 bytes, patch)
2006-06-08 03:43 UTC, Samuli Suominen (RETIRED)
Details | Diff
Cleaned patch to swftools-0.7.0.ebuild , thanks to jakub. (swftools-0.7.0.ebuild.patch,368 bytes, patch)
2006-06-08 04:44 UTC, Samuli Suominen (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2006-06-08 03:17:47 UTC
media-gfx/swftools-0.7.0 has this..

DEPEND=">=media-libs/t1lib-1.3.1

and on ~x86 system, during configure:

***************************************************
* The following headers/libraries are missing:  t1lib ungif avifile
* Disabling avi2swf tool...
* Disabling gif2swf tool...
***************************************************

and on x86 system, during configure:

***************************************************
* The following headers/libraries are missing:  ungif avifile
* Disabling avi2swf tool...
* Disabling gif2swf tool...
***************************************************

Point is, on x86 it finds the installed media-libs/t1lib-5.0.2 but on ~x86 system it doesn't.

- It can't find libungif which I think, is not in portage anymore.
- It can't find avifile which I think, is not in portage anymore.

So there is 3 issues with libraries it needs resulting at least 2 missing commands, gif2swf and avi2swf (and to repeat myself, this is IMO the most important feature of this package). 

0.7.0 was just marked stable, and I don't really understand how this can be since major features is missing.

See bug, http://bugs.gentoo.org/show_bug.cgi?id=135393 for more comments.

(Personally, I'd dump the whole swftools from portage if those missing libraries isn't added to portage tree as it renders swftools.. almost unusable.)

Apologies if i've used too rude statements but I'm having hard time understanding why it isn't in package.mask instead of stable x86!)
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2006-06-08 03:19:51 UTC
Adding tsunam to CC because I'm hoping a comment from him.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-06-08 03:27:13 UTC
avi2swf and gif2swf support won't be there, sorry. libungif was colliding w/ giflib, causing nightmares for everyone, and avifile is broken beyond any repair and won't be coming back, ever.

Post emerge -pv t1lib output from both systems (i.e., the working and non-working
one and reopen then).
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2006-06-08 03:43:02 UTC
Created attachment 88662 [details, diff]
swftools-0.7.0.ebuild.patch , adds ewarn with epause to swftools-0.7.0.ebuild about missing features.

about t1lib,

on ~x86 [ebuild   R   ] media-libs/t1lib-5.0.2  USE="X -doc" 0 kB
on x86 [ebuild   R   ] media-libs/t1lib-5.0.2  +X -doc 0 kB
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2006-06-08 03:50:36 UTC
Reopening because of the patch to ebuild to inform users about lack of functionality of this package and for asked info.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-06-08 04:13:04 UTC
Please, don't use echo in ebuilds, that's what einfo if for. And that epause is pretty pointless and annoying. 

As for this bug, I assume that t1lib is broken on your ~x86 box, you should re-emerge it. No reason why swtfools should detect an identical t1lib version on one system and not on the other.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2006-06-08 04:28:29 UTC
(In reply to comment #5)
> Please, don't use echo in ebuilds, that's what einfo if for. And that epause is
> pretty pointless and annoying. 
> 

Roger, posting another fix and obsoliting the old one.

> As for this bug, I assume that t1lib is broken on your ~x86 box, you should
> re-emerge it. No reason why swtfools should detect an identical t1lib version
> on one system and not on the other.

Did that, no change -- still doesn't find t1lib.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2006-06-08 04:44:06 UTC
Created attachment 88671 [details, diff]
Cleaned patch to swftools-0.7.0.ebuild , thanks to jakub.
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2006-06-08 04:57:24 UTC
After taking a real close look at this, summary:

- swftools-0.7.0 doesn't find t1lib because of LDFLAGS="-Wl,--as-needed"

- gif2swf and avi2swf doesn't get installed because of libraries which isn't in portage, and will not be added in portage. einfo patch in ebuild should take care of this.
Comment 9 Marcelo Goes (RETIRED) gentoo-dev 2006-06-11 10:14:38 UTC
Thanks, I added a slightly reworded einfo to the ebuild.
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2006-06-12 05:20:28 UTC
(In reply to comment #9)
> Thanks, I added a slightly reworded einfo to the ebuild.
> 

I'm reopening because the LDFLAGS="-Wl,--as-needed" issue with t1lib can't be found during configure is still there and this is depending on --as-needed tracker.

I included more than one issue to this bug which might've been confusing, sorry about that..

Thanks, drac
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2006-06-12 05:20:59 UTC
Comment on attachment 88671 [details, diff]
Cleaned patch to swftools-0.7.0.ebuild , thanks to jakub.

allready in tree.
Comment 12 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-06-12 05:26:57 UTC
That problem is related to t1lib itself, not to swftool.
Comment 13 Samuli Suominen (RETIRED) gentoo-dev 2006-06-12 05:41:48 UTC
(In reply to comment #12)
> That problem is related to t1lib itself, not to swftool.
> 

Right, you are correct. Patch in t1lib bug for --as-needed, https://bugs.gentoo.org/show_bug.cgi?id=130362#c3 fixes also this bug.