Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128487 - recent changes to perl-app.eclass and perl-module.eclass break many packages (tunepimp imagemagick)
Summary: recent changes to perl-app.eclass and perl-module.eclass break many packages ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 128522 128548 128580 128611 128636 128956 129203 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-02 03:08 UTC by Ryan Hill (RETIRED)
Modified: 2006-04-07 23:39 UTC (History)
12 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Hill (RETIRED) gentoo-dev 2006-04-02 03:08:29 UTC
mcummings committed some changes to the perl-app and perl-module eclasses that seems to have broken compilation of multiple packages (basically anything that inherits them).


eg. (perl-app)

make[1]: Leaving directory `/var/tmp/portage/tunepimp-0.3.0-r1/work/libtunepimp-0.3.0'
 * No Make or Build file detect...
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: media-libs/tunepimp-0.3.0-r1 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  tunepimp-0.3.0-r1.ebuild, line 45:   Called perl-app_src_compile
  perl-app.eclass, line 55:   Called die


eg. (perl-module)

>>> Compiling source in /var/tmp/portage/module-build-0.26.11/work/Module-Build-0.2611 ...
 * Using ExtUtils::MakeMaker
Sorry, PREFIX is not supported.  See the Module::Build
documentation for 'destdir' or 'install_base' instead.
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: dev-perl/module-build-0.26.11 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  ebuild.sh, line 1236:   Called perl-module_src_compile
  perl-module.eclass, line 127:   Called die


the revisions are perl-app.eclass 1.2 and perl-module.eclass 1.85.  reverting to the previous revisions fixes the build errors.
Comment 1 Tobias Klausmann (RETIRED) gentoo-dev 2006-04-02 07:06:37 UTC
This seems to affect tunepimp, too:

i686-pc-linux-gnu-gcc -march=prescott -O2 -pipe -fomit-frame-pointer -Wall -g -o
 .libs/trm trm.o  ../lib/.libs/libtunepimp.so -lpthread -L/usr/i686-pc-linux-gnu/bin -L/usr/i686-pc-linux-gnu/lib /usr/lib/libmad.so /usr/lib/libvorbisfile.so /usr/lib/libvorbis.so /usr/lib/libogg.so /usr/lib/libFLAC.so /usr/lib/libmusicbrainz.so /usr/lib/libexpat.so /usr/lib/gcc/i686-pc-linux-gnu/4.1.0/libstdc++.so -lm -lz                                                                           creating trm
make[2]: Leaving directory `/var/tmp/portage/tunepimp-0.3.0-r1/work/libtunepimp-
0.3.0/examples'                                                                 Making all in include
make[2]: Entering directory `/var/tmp/portage/tunepimp-0.3.0-r1/work/libtunepimp
-0.3.0/include'                                                                 Making all in tunepimp
make[3]: Entering directory `/var/tmp/portage/tunepimp-0.3.0-r1/work/libtunepimp
-0.3.0/include/tunepimp'                                                        make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/tunepimp-0.3.0-r1/work/libtunepimp-
0.3.0/include/tunepimp'                                                         make[3]: Entering directory `/var/tmp/portage/tunepimp-0.3.0-r1/work/libtunepimp
-0.3.0/include'                                                                 make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/var/tmp/portage/tunepimp-0.3.0-r1/work/libtunepimp-
0.3.0/include'                                                                  make[2]: Leaving directory `/var/tmp/portage/tunepimp-0.3.0-r1/work/libtunepimp-
0.3.0/include'                                                                  make[2]: Entering directory `/var/tmp/portage/tunepimp-0.3.0-r1/work/libtunepimp
-0.3.0'                                                                         make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/var/tmp/portage/tunepimp-0.3.0-r1/work/libtunepimp-
0.3.0'                                                                          make[1]: Leaving directory `/var/tmp/portage/tunepimp-0.3.0-r1/work/libtunepimp-
0.3.0'                                                                           * No Make or Build file detect...
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: media-libs/tunepimp-0.3.0-r1 failed.


emerge info:
Portage 2.1_pre7-r3 (default-linux/x86/2005.0, gcc-4.1.0, glibc-2.4-r1, 2.6.16.1
 i686)                                                                          =================================================================
System uname: 2.6.16.1 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.12.0_pre16
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disable
d]                                                                              dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share
/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"                                                  CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/t
erminfo /etc/texmf/web2c /etc/env.d"                                            CXXFLAGS="-march=prescott -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict userpriv
 usersandbox"                                                                   GENTOO_MIRRORS="http://ftp.freenet.de/pub/ftp.snt.utwente.nl/pub/os/linux/gentoo
 http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"                         LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X a52 acpi aim alsa apache2 apm audiofile avi bash-completion berkdb bi
tmap-fonts browserplugin bzip2 bzlib crypt cups curlwrappers divx4linux dri dv dvd dvdread dxr3 emboss encode ethereal exif exiscan exiscan-acl fame fftw font-server foomaticdb fortran ftp gdbm gif gimpprint gnutls gpm gstreamer gtk gtk2 icq imap imlib isdnlog jabber jpeg kdeenablefinal libg++ libwww mad maildir mailwrapper mikmod mmap mmx mng motif mp3 mpeg mpi ncurses network nls nptl nptlonly offensive ogg oggvorbis opengl oss pam pdflib perl png pppd python qt quicktime readline recode sdl sndfile spell sse ssl svg sysvipc tcpd theora truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vorbis wmf wxwindows xml2 xmms xpm xv xvid yv12 zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_apm video_cards_mga video_cards_nvidia video_cards_s3 video_cards_s3virge video_cards_v4l video_cards_vesa video_cards_vga"         Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS, LINGUAS
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-04-02 07:10:00 UTC
(In reply to comment #1)
> This seems to affect tunepimp, too:

Uh, did you at least read the previous comment?
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-04-02 07:51:14 UTC
*** Bug 128522 has been marked as a duplicate of this bug. ***
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-04-02 07:52:50 UTC
CCing sekretarz wrt imagemagick and kde wrt tunepimp.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-04-02 11:46:43 UTC
*** Bug 128548 has been marked as a duplicate of this bug. ***
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-02 15:57:30 UTC
*** Bug 128580 has been marked as a duplicate of this bug. ***
Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-04-03 01:57:32 UTC
*** Bug 128611 has been marked as a duplicate of this bug. ***
Comment 8 Michael Cummings (RETIRED) gentoo-dev 2006-04-03 04:01:39 UTC
testing now, i believe the culprit is actually 

if [ -f ${S}/Makefile.PL ]; 

instead of 

if [ -f Makefile.PL ];

ie, the Makefile.PL may not be at the top (should also change the ${S}/Build.PL, but one test at a time :). Emerging without fix so I can verify fix, should be fixed in the tree shortly.
Comment 9 Michael Cummings (RETIRED) gentoo-dev 2006-04-03 04:17:20 UTC
fixed and in cvs. (tested and confirmed, both as broken and as fixed)
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2006-04-03 06:44:35 UTC
tested and confirmed. imagemagick builds & works.
Comment 11 Michael Cummings (RETIRED) gentoo-dev 2006-04-03 07:43:21 UTC
*** Bug 128636 has been marked as a duplicate of this bug. ***
Comment 12 Michael Cummings (RETIRED) gentoo-dev 2006-04-03 07:44:11 UTC
anyone else before i close this out? imagemagick and tunepimp have been tested (plus your average module-build dep'd module).
Comment 13 Tomasz Golinski 2006-04-03 08:15:19 UTC
 Bug 128636: synced, but still the same. I have perl-app.eclass,v 1.3 and perl-module.eclass,v 1.86. What have I done wrong?
Comment 14 Michael Cummings (RETIRED) gentoo-dev 2006-04-03 08:34:37 UTC
(In reply to comment #13)
>  Bug 128636: synced, but still the same. I have perl-app.eclass,v 1.3 and
> perl-module.eclass,v 1.86. What have I done wrong?
> 

Version numbers look right. Any overlays? Timestamp in the headers should be for April 3.
Comment 15 Michael Cummings (RETIRED) gentoo-dev 2006-04-03 08:34:55 UTC
(and which specific package are you still getting this on, and what is the error?)
Comment 16 Tomasz Golinski 2006-04-03 08:38:22 UTC
Timestamp is ok.
# $Header: /var/cvsroot/gentoo-x86/eclass/perl-app.eclass,v 1.3 2006/04/03 11:16:52 mcummings Exp $

# $Header: /var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v 1.86 2006/04/03 11:16:52 mcummings Exp $

I'm trying to merge  module-build-0.26.11 - error like in Bug 128636: 

>>> Source unpacked.
 * Using ExtUtils::MakeMaker
Sorry, PREFIX is not supported.  See the Module::Build
documentation for 'destdir' or 'install_base' instead.
make: *** No targets specified and no makefile found.  Stop.

!!! ERROR: dev-perl/module-build-0.25 failed.
!!! Function perl-module_src_compile, Line 127, Exitcode 2
!!! compilation failed

------------------------------

Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.15-gentoo-r7 x86_64 AMD Sempron(tm) Processor 2600+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/init.d /etc/terminfo /etc/xdg /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/mnt/hardcore/temp/gentoo/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/mnt/rh/gentoo/build"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X alsa apache2 audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt ctype curl dba dri dts dvd dvdr eds emboss encode exif expat fam fastbuild ffmpeg flac foomaticdb force-cgi-redirect fortran ftp gd gif glut gphoto2 gpm gstreamer gtk gtk2 idn imagemagick imlib isdnlog java jpeg lcms libwww lua lzw lzw-tiff mad memlimit mng motif mp3 mpeg ncurses nls nptl ogg openal opengl pam pcre pdflib perl png posix pppd python quicktime readline samba sdl session simplexml soap sockets spell spl ssl tcltk tcpd tetex tiff tokenizer truetype truetype-fonts type1-fonts udev usb userlocales vorbis xine xml xml2 xmms xpm xsl xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 17 Michael Cummings (RETIRED) gentoo-dev 2006-04-03 09:50:55 UTC
/var/cvsroot/gentoo-x86/eclass/perl-module.eclass,v  <--  perl-module.eclass
new revision: 1.88; previous revision: 1.87
/var/cvsroot/gentoo-x86/eclass/perl-app.eclass,v  <--  perl-app.eclass
new revision: 1.4; previous revision: 1.3
Comment 18 Tomasz Golinski 2006-04-03 10:12:12 UTC
I don't understand. How should I get these versions? Emerge gives me 1.87 and 1.3 and also http://www.gentoo.org/cgi-bin/viewcvs.cgi/eclass/ has the same. 
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2006-04-03 10:18:11 UTC
(In reply to comment #18)
> I don't understand. How should I get these versions? Emerge gives me 1.87 and
> 1.3 and also http://www.gentoo.org/cgi-bin/viewcvs.cgi/eclass/ has the same. 

You need to wait until it gets at least a chance to propagate to rsync mirrors. Also, viewcvs is at least 1/2 hour late, it's not exactly "live". 

Comment 20 Michael Cummings (RETIRED) gentoo-dev 2006-04-03 10:57:35 UTC
(In reply to comment #18)
> I don't understand. How should I get these versions? Emerge gives me 1.87 and
> 1.3 and also http://www.gentoo.org/cgi-bin/viewcvs.cgi/eclass/ has the same. 
> 

patience, they are on their way up, though I see they still haven't made it into viewcvs (odd). If they don't post in the next few hours, I can always upload them on here as well (i have removed them from my local repo and cvs up and they show up, so I know they made it up to the gentoo end of the server chain).
Comment 21 Tomasz Golinski 2006-04-03 11:32:17 UTC
It got through to rsync servers. Still not to CVS. However it works. Thanks and sorry for impatience.
Comment 22 Michael Cummings (RETIRED) gentoo-dev 2006-04-04 10:20:37 UTC
(In reply to comment #21)
> It got through to rsync servers. Still not to CVS. However it works. Thanks and
> sorry for impatience.
> 

it's all good, you had a broken box, what else would i expect? :)

closing out tomorrow (4.5.06) unless someone posts otherwise
Comment 23 Alexander Wigen 2006-04-04 13:22:02 UTC
(In reply to comment #22)
> closing out tomorrow (4.5.06) unless someone posts otherwise

I experienced this bug with tunepimp and imagemagick when doing a new install. Found this bug report, resynced and now it works. Safe to close this one.

Cheers
Alex
Comment 24 Chris White (RETIRED) gentoo-dev 2006-04-05 13:09:21 UTC
*** Bug 128956 has been marked as a duplicate of this bug. ***
Comment 25 Michael Cummings (RETIRED) gentoo-dev 2006-04-06 03:02:06 UTC
ok, so i fell behind a day. closing :)
Comment 26 Jakub Moc (RETIRED) gentoo-dev 2006-04-07 23:39:23 UTC
*** Bug 129203 has been marked as a duplicate of this bug. ***