Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make install tries to build things. #8765

Open
p5pRT opened this issue Feb 7, 2007 · 8 comments
Open

make install tries to build things. #8765

p5pRT opened this issue Feb 7, 2007 · 8 comments

Comments

@p5pRT
Copy link

p5pRT commented Feb 7, 2007

Migrated from rt.perl.org#41463 (status was 'open')

Searchable as RT41463$

@p5pRT
Copy link
Author

p5pRT commented Feb 7, 2007

From @Abigail

Created by @Abigail

After building bleadperl, I tried to install it​:

  $ sudo -u perl make install
  /usr/bin/make install.perl install.man STRIPFLAGS= DESTDIR=""
  make[1]​: Entering directory `/home/abigail/Src/perl-current'
  AutoSplitting perl library
  ./miniperl -Ilib -e 'use AutoSplit; \
  autosplit_lib_modules(@​ARGV)' lib/*.pm
  ./miniperl -Ilib -e 'use AutoSplit; \
  autosplit_lib_modules(@​ARGV)' lib/*/*.pm
  /usr/bin/make lib/re.pm
  make[2]​: Entering directory `/home/abigail/Src/perl-current'
  make[2]​: `lib/re.pm' is up to date.
  make[2]​: Leaving directory `/home/abigail/Src/perl-current'

  Making DynaLoader (static)
  make[2]​: Entering directory `/home/abigail/Src/perl-current/ext/DynaLoader'
  make[2]​: Leaving directory `/home/abigail/Src/perl-current/ext/DynaLoader'
  make[2]​: Entering directory `/home/abigail/Src/perl-current/ext/DynaLoader'
  rm -rf ../../DynaLoader.o
  rm​: cannot remove `../../DynaLoader.o'​: Permission denied
  make[2]​: *** [static] Error 1
  make[2]​: Leaving directory `/home/abigail/Src/perl-current/ext/DynaLoader'
  make[1]​: *** [DynaLoader.o] Error 2
  make[1]​: Leaving directory `/home/abigail/Src/perl-current'
  make​: *** [install] Error 2

This shouldn't happen. Once build, everything should be there so a
subsequent 'make install' shouldn't have the need to build anything.

This issue isn't new, it has been around for a long time. It would
be nice if it gets fixed before 5.10.

Perl Info

Flags:
    category=install
    severity=medium

Site configuration information for perl 5.9.5:

Configured by abigail at Wed Feb  7 14:06:56 CET 2007.

Summary of my perl5 (revision 5 version 9 subversion 5 patch 30155) configuration:
  Platform:
    osname=linux, osvers=2.6.11-1.1369_fc4smp, archname=i686-linux-64int-ld
    uname='linux almanda 2.6.11-1.1369_fc4smp #1 smp thu jun 2 23:08:39 edt 2005 i686 i686 i386 gnulinux '
    config_args='-des -Dusedevel -Uversiononly -Dmydomain=.abigail.nl -Dcf_email=abigail@abigail.nl -Dperladmin=camel@abigail.nl -Doptimize=-g -Dcc=gcc -Dprefix=/opt/perl/current -Dusemorebits'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=undef, usemultiplicity=undef
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=undef, uselongdouble=define
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='gcc', ccflags ='-DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
    optimize='-g',
    cppflags='-DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm'
    ccversion='', gccversion='4.0.2 20051125 (Red Hat 4.0.2-8)', gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
    ivtype='long long', ivsize=8, nvtype='long double', nvsize=12, Off_t='off_t', lseeksize=8
    alignbytes=4, prototype=define
  Linker and Libraries:
    ld='gcc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /lib /usr/lib
    libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
    libc=/lib/libc-2.3.5.so, so=so, useshrplib=false, libperl=libperl.a
    gnulibc_version='2.3.5'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches:
    DEVEL


@INC for perl 5.9.5:
    ./lib
    /home/abigail/Perl
    /opt/perl/current/lib/5.9.5/i686-linux-64int-ld
    /opt/perl/current/lib/5.9.5
    /opt/perl/current/lib/site_perl/5.9.5/i686-linux-64int-ld
    /opt/perl/current/lib/site_perl/5.9.5
    .


Environment for perl 5.9.5:
    HOME=/home/abigail
    LANG=en_US.UTF-8
    LANGUAGE (unset)
    LD_LIBRARY_PATH=/home/abigail/Lib:/usr/local/lib:/usr/lib:/lib:/usr/X11R6/lib
    LOGDIR (unset)
    PATH=/home/abigail/Bin:/opt/perl/bin:/usr/local/bin:/usr/local/X11/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/games:/usr/share/texmf/bin:/opt/Acrobat/bin:/opt/java/blackdown/j2sdk1.3.1/bin:/usr/local/games/bin
    PERL5LIB=/home/abigail/Perl
    PERLDIR=/opt/perl
    PERL_BADLANG (unset)
    SHELL=/bin/bash

@p5pRT
Copy link
Author

p5pRT commented Feb 9, 2007

From @adamkennedy

For what it's worth, I have plans to bully people into an overhaul of
all the pending tool-chain issues between 5.10.0 and 5.10.1.

We can address it in that timeframe?

5.10.0 is going to be seen historically as "the buggy" release anyway,
similar to 5.6.0 and 5.8.0. Right?

Adam K

abigail @​ abigail . nl wrote​:

# New Ticket Created by abigail@​abigail.nl
# Please include the string​: [perl #41463]
# in the subject line of all future correspondence about this issue.
# <URL​: http​://rt.perl.org/rt3/Ticket/Display.html?id=41463 >

This is a bug report for perl from abigail@​abigail.nl,
generated with the help of perlbug 1.35 running under perl 5.9.5.

-----------------------------------------------------------------
[Please enter your report here]

After building bleadperl, I tried to install it​:

$ sudo -u perl make install
/usr/bin/make install.perl install.man STRIPFLAGS= DESTDIR=""
make[1]​: Entering directory `/home/abigail/Src/perl-current'
AutoSplitting perl library
./miniperl -Ilib -e 'use AutoSplit; \
autosplit_lib_modules(@​ARGV)' lib/*.pm
./miniperl -Ilib -e 'use AutoSplit; \
autosplit_lib_modules(@​ARGV)' lib/*/*.pm
/usr/bin/make lib/re.pm
make[2]​: Entering directory `/home/abigail/Src/perl-current'
make[2]​: `lib/re.pm' is up to date.
make[2]​: Leaving directory `/home/abigail/Src/perl-current'

      Making DynaLoader \(static\)

make[2]​: Entering directory `/home/abigail/Src/perl-current/ext/DynaLoader'
make[2]​: Leaving directory `/home/abigail/Src/perl-current/ext/DynaLoader'
make[2]​: Entering directory `/home/abigail/Src/perl-current/ext/DynaLoader'
rm -rf ../../DynaLoader.o
rm​: cannot remove `../../DynaLoader.o'​: Permission denied
make[2]​: *** [static] Error 1
make[2]​: Leaving directory `/home/abigail/Src/perl-current/ext/DynaLoader'
make[1]​: *** [DynaLoader.o] Error 2
make[1]​: Leaving directory `/home/abigail/Src/perl-current'
make​: *** [install] Error 2

This shouldn't happen. Once build, everything should be there so a
subsequent 'make install' shouldn't have the need to build anything.

This issue isn't new, it has been around for a long time. It would
be nice if it gets fixed before 5.10.

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags​:
category=install
severity=medium
---
Site configuration information for perl 5.9.5​:

Configured by abigail at Wed Feb 7 14​:06​:56 CET 2007.

Summary of my perl5 (revision 5 version 9 subversion 5 patch 30155) configuration​:
Platform​:
osname=linux, osvers=2.6.11-1.1369_fc4smp, archname=i686-linux-64int-ld
uname='linux almanda 2.6.11-1.1369_fc4smp #1 smp thu jun 2 23​:08​:39 edt 2005 i686 i686 i386 gnulinux '
config_args='-des -Dusedevel -Uversiononly -Dmydomain=.abigail.nl -Dcf_email=abigail@​abigail.nl -Dperladmin=camel@​abigail.nl -Doptimize=-g -Dcc=gcc -Dprefix=/opt/perl/current -Dusemorebits'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=define, use64bitall=undef, uselongdouble=define
usemymalloc=n, bincompat5005=undef
Compiler​:
cc='gcc', ccflags ='-DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm',
optimize='-g',
cppflags='-DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='4.0.2 20051125 (Red Hat 4.0.2-8)', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12
ivtype='long long', ivsize=8, nvtype='long double', nvsize=12, Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries​:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.3.5.so, so=so, useshrplib=false, libperl=libperl.a
gnulibc_version='2.3.5'
Dynamic Linking​:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches​:
DEVEL

---
@​INC for perl 5.9.5​:
./lib
/home/abigail/Perl
/opt/perl/current/lib/5.9.5/i686-linux-64int-ld
/opt/perl/current/lib/5.9.5
/opt/perl/current/lib/site_perl/5.9.5/i686-linux-64int-ld
/opt/perl/current/lib/site_perl/5.9.5
.

---
Environment for perl 5.9.5​:
HOME=/home/abigail
LANG=en_US.UTF-8
LANGUAGE (unset)
LD_LIBRARY_PATH=/home/abigail/Lib​:/usr/local/lib​:/usr/lib​:/lib​:/usr/X11R6/lib
LOGDIR (unset)
PATH=/home/abigail/Bin​:/opt/perl/bin​:/usr/local/bin​:/usr/local/X11/bin​:/usr/bin​:/bin​:/usr/local/sbin​:/usr/sbin​:/sbin​:/usr/X11R6/bin​:/usr/games​:/usr/share/texmf/bin​:/opt/Acrobat/bin​:/opt/java/blackdown/j2sdk1.3.1/bin​:/usr/local/games/bin
PERL5LIB=/home/abigail/Perl
PERLDIR=/opt/perl
PERL_BADLANG (unset)
SHELL=/bin/bash

@p5pRT
Copy link
Author

p5pRT commented Feb 9, 2007

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Feb 9, 2007

From @nwc10

On Fri, Feb 09, 2007 at 11​:41​:09AM +1100, Adam Kennedy wrote​:

5.10.0 is going to be seen historically as "the buggy" release anyway,
similar to 5.6.0 and 5.8.0. Right?

It won't be, but it will be.

[Gosh. Me expressing an opinion, and on record. Check the signature - is it
genuine?]

Nicholas Clark

@p5pRT
Copy link
Author

p5pRT commented Feb 9, 2007

From @smpeters

On Wed Feb 07 09​:24​:29 2007, abigail@​abigail.nl wrote​:

This is a bug report for perl from abigail@​abigail.nl,
generated with the help of perlbug 1.35 running under perl 5.9.5.

-----------------------------------------------------------------
[Please enter your report here]

After building bleadperl, I tried to install it​:

$ sudo -u perl make install
/usr/bin/make install.perl install.man STRIPFLAGS= DESTDIR=""
make[1]​: Entering directory `/home/abigail/Src/perl-current'
AutoSplitting perl library
./miniperl -Ilib -e 'use AutoSplit; \
autosplit_lib_modules(@​ARGV)' lib/*.pm
./miniperl -Ilib -e 'use AutoSplit; \
autosplit_lib_modules(@​ARGV)' lib/*/*.pm
/usr/bin/make lib/re.pm
make[2]​: Entering directory `/home/abigail/Src/perl-current'
make[2]​: `lib/re.pm' is up to date.
make[2]​: Leaving directory `/home/abigail/Src/perl-current'

      Making DynaLoader \(static\)

make[2]​: Entering directory `/home/abigail/Src/perl-
current/ext/DynaLoader'
make[2]​: Leaving directory `/home/abigail/Src/perl-
current/ext/DynaLoader'
make[2]​: Entering directory `/home/abigail/Src/perl-
current/ext/DynaLoader'
rm -rf ../../DynaLoader.o
rm​: cannot remove `../../DynaLoader.o'​: Permission denied
make[2]​: *** [static] Error 1
make[2]​: Leaving directory `/home/abigail/Src/perl-
current/ext/DynaLoader'
make[1]​: *** [DynaLoader.o] Error 2
make[1]​: Leaving directory `/home/abigail/Src/perl-current'
make​: *** [install] Error 2

This shouldn't happen. Once build, everything should be there so a
subsequent 'make install' shouldn't have the need to build anything.

This issue isn't new, it has been around for a long time. It would
be nice if it gets fixed before 5.10.

[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags​:
category=install
severity=medium
---
Site configuration information for perl 5.9.5​:

Configured by abigail at Wed Feb 7 14​:06​:56 CET 2007.

Summary of my perl5 (revision 5 version 9 subversion 5 patch 30155)
configuration​:
Platform​:
osname=linux, osvers=2.6.11-1.1369_fc4smp, archname=i686-linux-
64int-ld
uname='linux almanda 2.6.11-1.1369_fc4smp #1 smp thu jun 2
23​:08​:39 edt 2005 i686 i686 i386 gnulinux '
config_args='-des -Dusedevel -Uversiononly -Dmydomain=.abigail.nl
-Dcf_email=abigail@​abigail.nl -Dperladmin=camel@​abigail.nl
-Doptimize=-g -Dcc=gcc -Dprefix=/opt/perl/current -Dusemorebits'
hint=recommended, useposix=true, d_sigaction=define
useithreads=undef, usemultiplicity=undef
useperlio=define, d_sfio=undef, uselargefiles=define,
usesocks=undef
use64bitint=define, use64bitall=undef, uselongdouble=define
usemymalloc=n, bincompat5005=undef
Compiler​:
cc='gcc', ccflags ='-DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-I/usr/include/gdbm',
optimize='-g',
cppflags='-DDEBUGGING -fno-strict-aliasing -pipe
-I/usr/local/include -I/usr/include/gdbm'
ccversion='', gccversion='4.0.2 20051125 (Red Hat 4.0.2-8)',
gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=12345678
d_longlong=define, longlongsize=8, d_longdbl=define,
longdblsize=12
ivtype='long long', ivsize=8, nvtype='long double', nvsize=12,
Off_t='off_t', lseeksize=8
alignbytes=4, prototype=define
Linker and Libraries​:
ld='gcc', ldflags =' -L/usr/local/lib'
libpth=/usr/local/lib /lib /usr/lib
libs=-lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc
perllibs=-lnsl -ldl -lm -lcrypt -lutil -lc
libc=/lib/libc-2.3.5.so, so=so, useshrplib=false,
libperl=libperl.a
gnulibc_version='2.3.5'
Dynamic Linking​:
dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib'

Locally applied patches​:
DEVEL

---
@​INC for perl 5.9.5​:
./lib
/home/abigail/Perl
/opt/perl/current/lib/5.9.5/i686-linux-64int-ld
/opt/perl/current/lib/5.9.5
/opt/perl/current/lib/site_perl/5.9.5/i686-linux-64int-ld
/opt/perl/current/lib/site_perl/5.9.5
.

---
Environment for perl 5.9.5​:
HOME=/home/abigail
LANG=en_US.UTF-8
LANGUAGE (unset)

LD_LIBRARY_PATH=/home/abigail/Lib​:/usr/local/lib​:/usr/lib​:/lib​:/usr/X11R6/lib

LOGDIR \(unset\)

PATH=/home/abigail/Bin​:/opt/perl/bin​:/usr/local/bin​:/usr/local/X11/bin​:/usr/bin​:/bin​:/usr/local/sbin​:/usr/sbin​:/sbin​:/usr/X11R6/bin​:/usr/games​:/usr/share/texmf/bin​:/opt/Acrobat/bin​:/opt/java/blackdown/j2sdk1.3.1/bin​:/usr/local/games/bin

PERL5LIB=/home/abigail/Perl
PERLDIR=/opt/perl
PERL\_BADLANG \(unset\)
SHELL=/bin/bash

This is another symptom of Dynaload.a being repeatedly deleted through
the build process.

@p5pRT
Copy link
Author

p5pRT commented Feb 9, 2007

From @demerphq

On 2/9/07, Adam Kennedy <cpan@​ali.as> wrote​:

For what it's worth, I have plans to bully people into an overhaul of
all the pending tool-chain issues between 5.10.0 and 5.10.1.

We can address it in that timeframe?

5.10.0 is going to be seen historically as "the buggy" release anyway,
similar to 5.6.0 and 5.8.0. Right?

If people would actually USE blead on production code for test
purposes then we could avoid this.

But few people do.

Yves

--
perl -Mre=debug -e "/just|another|perl|hacker/"

@p5pRT
Copy link
Author

p5pRT commented Feb 9, 2007

From @richardfoley

On Friday 09 February 2007 03​:14, Nicholas Clark wrote​:

On Fri, Feb 09, 2007 at 11​:41​:09AM +1100, Adam Kennedy wrote​:

5.10.0 is going to be seen historically as "the buggy" release anyway,
similar to 5.6.0 and 5.8.0. Right?

It won't be, but it will be.

[Gosh. Me expressing an opinion, and on record. Check the signature - is it
genuine?]

I suspect this is another one sent by the phantom photo-sender...

  ;-)

--
Richard Foley
Ciao - shorter than aufwiedersehen

http​://www.rfi.net/

ps. Please resend any bounced or unanswered emails.

@p5pRT
Copy link
Author

p5pRT commented May 8, 2012

From @jkeenan

On Wed Feb 07 09​:24​:29 2007, abigail@​abigail.nl wrote​:

This is a bug report for perl from abigail@​abigail.nl,
generated with the help of perlbug 1.35 running under perl 5.9.5.

-----------------------------------------------------------------
[Please enter your report here]

After building bleadperl, I tried to install it​:

$ sudo -u perl make install
/usr/bin/make install.perl install.man STRIPFLAGS= DESTDIR=""
make[1]​: Entering directory `/home/abigail/Src/perl-current'
AutoSplitting perl library
./miniperl -Ilib -e 'use AutoSplit; \
autosplit_lib_modules(@​ARGV)' lib/*.pm
./miniperl -Ilib -e 'use AutoSplit; \
autosplit_lib_modules(@​ARGV)' lib/*/*.pm
/usr/bin/make lib/re.pm
make[2]​: Entering directory `/home/abigail/Src/perl-current'
make[2]​: `lib/re.pm' is up to date.
make[2]​: Leaving directory `/home/abigail/Src/perl-current'

      Making DynaLoader \(static\)

make[2]​: Entering directory `/home/abigail/Src/perl-
current/ext/DynaLoader'
make[2]​: Leaving directory `/home/abigail/Src/perl-
current/ext/DynaLoader'
make[2]​: Entering directory `/home/abigail/Src/perl-
current/ext/DynaLoader'
rm -rf ../../DynaLoader.o
rm​: cannot remove `../../DynaLoader.o'​: Permission denied
make[2]​: *** [static] Error 1
make[2]​: Leaving directory `/home/abigail/Src/perl-
current/ext/DynaLoader'
make[1]​: *** [DynaLoader.o] Error 2
make[1]​: Leaving directory `/home/abigail/Src/perl-current'
make​: *** [install] Error 2

This shouldn't happen. Once build, everything should be there so a
subsequent 'make install' shouldn't have the need to build anything.

This issue isn't new, it has been around for a long time. It would
be nice if it gets fixed before 5.10.

There's no evidence from later in the thread to indicate that it was
fixed, but we should at least ask​: What happens on Perl 5.14 or on blead?

Thank you very much.
Jim Keenan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants