Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 750812 - games-action/minecraft-launcher-2.1.17785:build successful, but can not run
Summary: games-action/minecraft-launcher-2.1.17785:build successful, but can not run
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: AMD64 Linux
: Normal normal
Assignee: GURU project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-10-23 08:12 UTC by liushike1997
Modified: 2020-10-23 09:28 UTC (History)
1 user (show)

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


Attachments
strace minecraft-launcher full log (strace.log,115.63 KB, text/x-log)
2020-10-23 08:12 UTC, liushike1997
Details

Note You need to log in before you can comment on or make changes to this bug.
Description liushike1997 2020-10-23 08:12:10 UTC
Created attachment 668012 [details]
strace minecraft-launcher full log

run minecraft-launcher nothing happens,strace minecraft-launcher full log see file this is emerge log:

>>> Emerging (1 of 1) games-action/minecraft-launcher-2.1.17785::guru
 * minecraft-launcher-2.1.17785.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                        [ ok ]
 * minecraft-launcher.svg BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                     [ ok ]
>>> Unpacking source...
>>> Unpacking minecraft-launcher-2.1.17785.tar.gz to /var/tmp/portage/games-action/minecraft-launcher-2.1.17785/work
>>> Unpacking minecraft-launcher.svg to /var/tmp/portage/games-action/minecraft-launcher-2.1.17785/work
unpack minecraft-launcher.svg: file format not recognized. Ignoring.
>>> Source unpacked in /var/tmp/portage/games-action/minecraft-launcher-2.1.17785/work
>>> Preparing source in /var/tmp/portage/games-action/minecraft-launcher-2.1.17785/work/minecraft-launcher ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/games-action/minecraft-launcher-2.1.17785/work/minecraft-launcher ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/games-action/minecraft-launcher-2.1.17785/work/minecraft-launcher ...
>>> Source compiled.
>>> Test phase [not enabled]: games-action/minecraft-launcher-2.1.17785

>>> Install games-action/minecraft-launcher-2.1.17785 into /var/tmp/portage/games-action/minecraft-launcher-2.1.17785/image
>>> Completed installing games-action/minecraft-launcher-2.1.17785 into /var/tmp/portage/games-action/minecraft-launcher-2.1.17785/image

 * Final size of build directory: 119503 KiB (116.7 MiB)
 * Final size of installed tree:      41 KiB

scanelf: rpath_security_checks(): Security problem with relative DT_RPATH '.:$ORIGIN/' in /var/tmp/portage/games-action/minecraft-launcher-2.1.17785/image/opt/minecraft-launcher/minecraft-launcher
scanelf: rpath_security_checks(): Security problem with relative DT_RPATH '.:$ORIGIN/' in /var/tmp/portage/games-action/minecraft-launcher-2.1.17785/image/opt/minecraft-launcher/liblauncher.so


 * QA Notice: Pre-stripped files found:
 * /opt/minecraft-launcher/minecraft-launcher
 * /opt/minecraft-launcher/liblauncher.so
 * /opt/minecraft-launcher/libcef.so
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   /opt/minecraft-launcher/libgconf-2.so.4
   /opt/minecraft-launcher/chrome-sandbox
 * QA Notice: Unresolved soname dependencies:
 *
 * 	/opt/minecraft-launcher/libcef.so: libcups.so.2
 *
Comment 1 liushike1997 2020-10-23 08:51:07 UTC
emerge net-print/cups worked!
Comment 2 Larry the Git Cow gentoo-dev 2020-10-23 09:26:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=35078254064eb3c672c1a442bbc0a553bb9820b3

commit 35078254064eb3c672c1a442bbc0a553bb9820b3
Author:     Andrew Ammerlaan <andrewammerlaan@riseup.net>
AuthorDate: 2020-10-23 09:26:03 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan@riseup.net>
CommitDate: 2020-10-23 09:26:03 +0000

    games-action/minecraft-launcher: add missing dep
    
    why on earth would the minecraft launcher
    require CUPS? It makes no sense, but it
    doesn't work without it so here we are
    
    Closes: https://bugs.gentoo.org/750812
    Package-Manager: Portage-3.0.8, Repoman-3.0.2
    Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>

 .../minecraft-launcher/minecraft-launcher-2.1.17785.ebuild         | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 3 Nowa Ammerlaan gentoo-dev 2020-10-23 09:28:07 UTC
Thank you! I have added cups to RDEPEND, and fixed the QA_PRESTRIPPED warning while I was at it. I'm still very confused as to why minecraft requires cups though.