First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 74678
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Perl Devs @ Gentoo <perl@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: SpanKY <vapier@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 74678 depends on: 68570 Show dependency tree
Bug 74678 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-12-16 13:46 0000
if an ebuild uses the builder style, the eclass should handle the DEPEND for
it:
if [[ ${style} = "builder" ]] ; then
    DEPEND="${DEPEND} dev-perl/module-build"
fi

also, if module-build isnt emerged, and you try to emerge a perl module which
needs it, the eclass doesnt fail at all:

root@spyro 0 ~ # emerge sdl-perl   
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-perl/sdl-perl-2.1.2 to /
>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) metadata.xml
>>> md5 files   ;-) sdl-perl-1.20.3.ebuild
>>> md5 files   ;-) sdl-perl-2.1.2.ebuild
>>> md5 files   ;-) files/digest-sdl-perl-1.20.3
>>> md5 files   ;-) files/digest-sdl-perl-2.1.2
>>> md5 src_uri ;-) SDL_Perl-2.1.2.tar.gz
>>> Unpacking source...
>>> Unpacking SDL_Perl-2.1.2.tar.gz to /var/tmp/portage/sdl-perl-2.1.2/work
>>> Source unpacked.
Base class package "Module::Build" is empty.
    (Perhaps you need to 'use' the module which defines that package first.)
 at make/lib/SDL/Build.pm line 9
BEGIN failed--compilation aborted at make/lib/SDL/Build.pm line 9.
Compilation failed in require at
/var/tmp/portage/sdl-perl-2.1.2/work/SDL_Perl-2.1.2/Build.PL line 11.
BEGIN failed--compilation aborted at
/var/tmp/portage/sdl-perl-2.1.2/work/SDL_Perl-2.1.2/Build.PL line 11.
>>> Test phase [not enabled]: dev-perl/sdl-perl-2.1.2

------- Comment #1 From SpanKY 2004-12-17 00:24:43 0000 -------
*** Bug 74727 has been marked as a duplicate of this bug. ***

------- Comment #2 From Mr. Bones. 2004-12-17 03:46:47 0000 -------
*** Bug 74736 has been marked as a duplicate of this bug. ***

------- Comment #3 From SpanKY 2004-12-18 19:30:06 0000 -------
*** Bug 74821 has been marked as a duplicate of this bug. ***

------- Comment #4 From Michael Cummings (RETIRED) 2004-12-20 02:35:08 0000 -------
I got sidetracked in real life, but work for making module::build as a "core"
part of the eclass is already under way. Arch's have tested, and forthcoming is
a change to the eclass to handle Build.pl scripts internally.

------- Comment #5 From Mr. Bones. 2004-12-27 15:03:08 0000 -------
*** Bug 75700 has been marked as a duplicate of this bug. ***

------- Comment #6 From Michael Cummings (RETIRED) 2005-03-14 10:58:51 0000 -------
Smile - does now.

First Last Prev Next    No search results available      Search page      Enter new bug