Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518534 - dev-perl/Alien-SDL-1.444.0 ERROR: Can't create '/usr/local/bin' Do not have write permissions
Summary: dev-perl/Alien-SDL-1.444.0 ERROR: Can't create '/usr/local/bin' Do not have w...
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Perl team
URL: https://github.com/PerlGameDev/SDL/is...
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2014-07-29 21:26 UTC by jospezial
Modified: 2014-07-30 14:18 UTC (History)
2 users (show)

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


Attachments
/Alien-SDL-1.444.0 -- build.log (build.log,365.49 KB, text/plain)
2014-07-30 01:02 UTC, Otto A. Schell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2014-07-29 21:26:42 UTC
>>> Source compiled.
>>> Test phase [not enabled]: dev-perl/Alien-SDL-1.444.0

>>> Install Alien-SDL-1.444.0 into /var/tmp/portage/dev-perl/Alien-SDL-1.444.0/image/ category dev-perl
Archive::Extract will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at inc/My/Builder.pm, line 15.
Build option used:
        Source code build
    SDL(v1.2.15) SDL_image(v1.2.11) SDL_mixer(v1.2.12) SDL_ttf(v2.0.11) SDL_gfx(v2.0.25) SDL_Pango(v1.2) 
Building Alien-SDL
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
ERROR: Can't create '/usr/local/bin'
Do not have write permissions on '/usr/local/bin'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
 at /usr/lib64/perl5/vendor_perl/5.18.2/Module/Build/Base.pm line 3557.
 * ERROR: dev-perl/Alien-SDL-1.444.0::gentoo failed (install phase):
 *   ./Build pure_install failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_install
 *   environment, line 2400:  Called perl-module_src_install
 *   environment, line 2028:  Called die
 * The specific snippet of code:
 *           ./Build ${mytargets} || die "./Build ${mytargets} failed";

I think it should not write in this phase to that directory. That directory is the wrong place anyways.
Comment 1 Rafał Mużyło 2014-07-29 23:03:46 UTC
Attach the whole build log, for a start.
Comment 2 Otto A. Schell 2014-07-30 01:02:10 UTC
Created attachment 381858 [details]
/Alien-SDL-1.444.0 -- build.log
Comment 3 Rafał Mużyło 2014-07-30 13:13:55 UTC
wow...

Looking at that build log I wonder just how this package didn't earned a permanent package.mask entry from QA.

Anyway, it seems something odd happens right at the beginning:
 [32;01m*[0m perl Build.PL --installdirs=vendor --libdoc= --destdir=/var/tmp/portage/dev-perl/Alien-SDL-1.444.0/image/ --create_packlist=0 --with-sdl-config
Unknown option: installdirs
Unknown option: libdoc
Unknown option: destdir
Unknown option: create_packlist
Unknown option: with-sdl-config

so, it seems that destdir isn't getting passed correctly.
Comment 4 Rafał Mużyło 2014-07-30 14:06:45 UTC
...to clarify, what I see as a reason for pmask, is not the build failure by itself, but embedding libs and fetching outside the fetch phase.
Comment 5 Rafał Mużyło 2014-07-30 14:08:07 UTC
...*bundling* libs...
Comment 6 Mikle Kolyada (RETIRED) archtester Gentoo Infrastructure gentoo-dev Security 2014-07-30 14:18:23 UTC
(In reply to Rafał Mużyło from comment #4)
> ...to clarify, what I see as a reason for pmask, is not the build failure by
> itself, but embedding libs and fetching outside the fetch phase.

there are multiple QA issues. Masked in general.