Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 477594 - www-client/opera-12.16_p1860: Please add amd64-fbsd support and add ~amd64-fbsd KEYWORDS.
Summary: www-client/opera-12.16_p1860: Please add amd64-fbsd support and add ~amd64-fb...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal enhancement (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-07-21 10:11 UTC by Yuta SATOH
Modified: 2013-08-10 14:43 UTC (History)
1 user (show)

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


Attachments
sample patch for opera-12.16_p1860.ebuild (477594.patch,2.51 KB, patch)
2013-07-21 10:16 UTC, Yuta SATOH
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2013-07-21 10:11:08 UTC
www-client/opera has 4 problems on Gentoo/FreeBSD.

* sys-apps/util-linux is included in RDEPEND.
  This package is required only on Linux.

* opera require libfreetype.so.9. However, exists actually is libfreetype.so.6.

* opera_autoupdatechecker does not exist.

* SRC_URI for amd64-fbsd is not included.


I'll attach the patch.

NOTE,
Change libz.so.3 to libz.so.1 is no longer required.
I'll fix the problem of libfreetype.so.9 by reusing the code.


Reproducible: Always




# emerge -pv opera
<snip>
The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by www-client/opera-12.16_p1860
# required by opera (argument)
=sys-apps/util-linux-9999 **
# required by opera (argument)
=www-client/opera-12.16_p1860 **

The following mask changes are necessary to proceed:
 (see "package.unmask" in the portage(5) man page for more details)
# required by www-client/opera-12.16_p1860
# required by opera (argument)
# /usr/portage/profiles/default/bsd/package.mask:
# Mask out the GNU versions of various packages.
# We want BSD versions wherever possible
# Also mask packages that are depending on Linux kernel
=sys-apps/util-linux-9999

# ldd /usr/lib/opera/opera
/usr/lib/opera/opera:
        libfreetype.so.9 => not found (0)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x801e74000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0x8020ae000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0x8022b6000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0x8024d2000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0x8026e4000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0x8028ee000)
        libthr.so.3 => /lib/libthr.so.3 (0x802c27000)
        librt.so.1 => /usr/lib/librt.so.1 (0x802e4b000)
        libstdc++.so.6 => /usr/lib/gcc/x86_64-gentoo-freebsd9.1/4.7.3/libstdc++.so.6 (0x803051000)
        libm.so.5 => /lib/libm.so.5 (0x80335e000)
        libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x803581000)
        libc.so.7 => /lib/libc.so.7 (0x803790000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x803af1000)
        libz.so.1 => /lib/libz.so.1 (0x803d94000)
        libbz2.so.1 => /lib/libbz2.so.1 (0x803faa000)
        libexpat.so.1 => /lib/libexpat.so.1 (0x8041ba000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0x8043e4000)
        libpthread-stubs.so.0 => /usr/lib/libpthread-stubs.so.0 (0x804604000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0x804806000)
        libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x804a0a000)
        librpcsvc.so.5 => /usr/lib/librpcsvc.so.5 (0x804c10000)

# equery f freetype | grep ^/usr/lib/libfreetype
/usr/lib/libfreetype.so
/usr/lib/libfreetype.so.6
/usr/lib/libfreetype.so.6.10.1
Comment 1 Yuta SATOH 2013-07-21 10:16:20 UTC
Created attachment 353760 [details, diff]
sample patch for opera-12.16_p1860.ebuild
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-10 14:10:17 UTC
$ repoman full -d

RepoMan scours the neighborhood...
  dependency.badindev           1
   www-client/opera/opera-12.16_p1860.ebuild: RDEPEND: ~x86-fbsd(default/bsd/fbsd/x86/9.1) ['sys-apps/util-linux']
RepoMan sez: "You're only giving me a partial QA payment?
              I'll take it this time, but I'm not happy."

Is this something to get overly worried about?
Comment 3 Alexis Ballier gentoo-dev 2013-08-10 14:21:07 UTC
(In reply to Jeroen Roovers from comment #2)
> $ repoman full -d
> 
> RepoMan scours the neighborhood...
>   dependency.badindev           1
>    www-client/opera/opera-12.16_p1860.ebuild: RDEPEND:
> ~x86-fbsd(default/bsd/fbsd/x86/9.1) ['sys-apps/util-linux']
> RepoMan sez: "You're only giving me a partial QA payment?
>               I'll take it this time, but I'm not happy."
> 
> Is this something to get overly worried about?

yes - this makes opera uninstallable

Yuta's patch make it conditional on kernel_linux. I'm not sure if it right. I'd just do:
amd64? ( util-linux )
x86? ( util-linux )

since it is a binary, and we fetch the tarballs based on this, only the linux ones need util-linux libs.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2013-08-10 14:43:57 UTC
(In reply to Alexis Ballier from comment #3)
> Yuta's patch make it conditional on kernel_linux. I'm not sure if it right.

It actually says that without Yuta's patch applied.

> I'd just do:
> amd64? ( util-linux )
> x86? ( util-linux )

ISTR opera linked against libuuid.so in the past but that is no longer the case, so I have simply removed the dependency.