Skip Menu |
Report information
Id: 130563
Status: open
Priority: 0/
Queue: perl5

Owner: Nobody
Requestors: igor.polovykh [at] gmail.com
Cc:
AdminCc:

Operating System: (no value)
PatchStatus: (no value)
Severity: (no value)
Type: (no value)
Perl Version: (no value)
Fixed In: (no value)



From: Igor Polovykh <igor.polovykh [...] gmail.com>
Date: Mon, 16 Jan 2017 01:01:45 +0300
To: perlbug-admin [...] perl.org
Subject: Bug #130108 for perl5: Perl 5.24.1 fails to compile with DTrace enabled on FreeBSD
Download (untitled) / with headers
text/plain 1.6k
Hello

I tried to apply all attached patches but I got the same error while compilation.

dtrace_mini.o: In function `fixsymbol':
drti.c:(.text+0x203): undefined reference to `gelf_getsym'
drti.c:(.text+0x256): undefined reference to `elf_strptr'
dtrace_mini.o: In function `dtrace_dof_init':
drti.c:(.text+0x3b6): undefined reference to `elf_version'
drti.c:(.text+0x3e9): undefined reference to `elf_begin'
drti.c:(.text+0x41a): undefined reference to `elf_getshdrstrndx'
drti.c:(.text+0x45d): undefined reference to `elf_nextscn'
drti.c:(.text+0x474): undefined reference to `gelf_getshdr'
drti.c:(.text+0x4a7): undefined reference to `elf_strptr'
drti.c:(.text+0x4c6): undefined reference to `elf_getdata'
drti.c:(.text+0x4ef): undefined reference to `elf_getdata'
drti.c:(.text+0x527): undefined reference to `elf_getdata'
drti.c:(.text+0x8ae): undefined reference to `elf_end'
drti.c:(.text+0x93e): undefined reference to `elf_end'
*** [lib/buildcustomize.pl] Error code 1
1 error
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** [do-build] Error code 1

Stop in /usr/ports/lang/perl5.24.
*** [install] Error code 1

Stop in /usr/ports/lang/perl5.24.


info:

FreeBSD 9.3-STABLE FreeBSD 9.3-STABLE #155 r309781: Sat Dec 10 06:32:50 MSK 2016     root@bvg:/usr/obj/usr/src/sys/BVG  amd64

[ /usr/ports/lang/perl5.24 ] # cat distinfo
TIMESTAMP = 1484491231
SHA256 (perl/perl-5.24.1.tar.xz) = 03a77bac4505c270f1890ece75afc7d4b555090b41aa41ea478747e23b2afb3f
SIZE (perl/perl-5.24.1.tar.xz) = 11569284



 

____________________________________________________
Yours sincerely,
Igor
RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 2.3k
On Sun, 15 Jan 2017 22:02:57 GMT, igor.polovykh@gmail.com wrote: Show quoted text
> Hello > > I tried to apply all attached patches but I got the same error while > compilation. > > dtrace_mini.o: In function `fixsymbol': > drti.c:(.text+0x203): undefined reference to `gelf_getsym' > drti.c:(.text+0x256): undefined reference to `elf_strptr' > dtrace_mini.o: In function `dtrace_dof_init': > drti.c:(.text+0x3b6): undefined reference to `elf_version' > drti.c:(.text+0x3e9): undefined reference to `elf_begin' > drti.c:(.text+0x41a): undefined reference to `elf_getshdrstrndx' > drti.c:(.text+0x45d): undefined reference to `elf_nextscn' > drti.c:(.text+0x474): undefined reference to `gelf_getshdr' > drti.c:(.text+0x4a7): undefined reference to `elf_strptr' > drti.c:(.text+0x4c6): undefined reference to `elf_getdata' > drti.c:(.text+0x4ef): undefined reference to `elf_getdata' > drti.c:(.text+0x527): undefined reference to `elf_getdata' > drti.c:(.text+0x8ae): undefined reference to `elf_end' > drti.c:(.text+0x93e): undefined reference to `elf_end' > *** [lib/buildcustomize.pl] Error code 1 > 1 error > ===> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to > the maintainer. > *** [do-build] Error code 1 > > Stop in /usr/ports/lang/perl5.24. > *** [install] Error code 1 > > Stop in /usr/ports/lang/perl5.24. > > > info: > > FreeBSD 9.3-STABLE FreeBSD 9.3-STABLE #155 r309781: Sat Dec 10 06:32:50 MSK > 2016 root@bvg:/usr/obj/usr/src/sys/BVG amd64 > > [ /usr/ports/lang/perl5.24 ] # cat distinfo > TIMESTAMP = 1484491231 > SHA256 (perl/perl-5.24.1.tar.xz) = > 03a77bac4505c270f1890ece75afc7d4b555090b41aa41ea478747e23b2afb3f > SIZE (perl/perl-5.24.1.tar.xz) = 11569284 > > > > > > ____________________________________________________ > Yours sincerely, > Igor
As indicated here: https://rt.perl.org/Ticket/Display.html?id=130108#txn-1443092 ... the Perl 5 committer rebased the patches on the HEAD of the 'blead' branch and then applied them to that branch in a series of commits two weeks ago. Applying the patches to perl-5.24.1 would probably not be the correct approach. If you can checkout perl 5 blead on your FreeBSD-with-dtrace machine and build and test it there, that would be a good indicator of where things stand. You can request assistance on irc.perl.org #p5p or #bsdperl. Thank you very much. -- James E Keenan (jkeenan@cpan.org)
RT-Send-CC: perl5-porters [...] perl.org
Download (untitled) / with headers
text/plain 2.6k
On Tue, 17 Jan 2017 13:17:05 GMT, jkeenan wrote: Show quoted text
> On Sun, 15 Jan 2017 22:02:57 GMT, igor.polovykh@gmail.com wrote:
> > Hello > > > > I tried to apply all attached patches but I got the same error while > > compilation. > > > > dtrace_mini.o: In function `fixsymbol': > > drti.c:(.text+0x203): undefined reference to `gelf_getsym' > > drti.c:(.text+0x256): undefined reference to `elf_strptr' > > dtrace_mini.o: In function `dtrace_dof_init': > > drti.c:(.text+0x3b6): undefined reference to `elf_version' > > drti.c:(.text+0x3e9): undefined reference to `elf_begin' > > drti.c:(.text+0x41a): undefined reference to `elf_getshdrstrndx' > > drti.c:(.text+0x45d): undefined reference to `elf_nextscn' > > drti.c:(.text+0x474): undefined reference to `gelf_getshdr' > > drti.c:(.text+0x4a7): undefined reference to `elf_strptr' > > drti.c:(.text+0x4c6): undefined reference to `elf_getdata' > > drti.c:(.text+0x4ef): undefined reference to `elf_getdata' > > drti.c:(.text+0x527): undefined reference to `elf_getdata' > > drti.c:(.text+0x8ae): undefined reference to `elf_end' > > drti.c:(.text+0x93e): undefined reference to `elf_end' > > *** [lib/buildcustomize.pl] Error code 1 > > 1 error > > ===> Compilation failed unexpectedly. > > Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the > > failure to > > the maintainer. > > *** [do-build] Error code 1 > > > > Stop in /usr/ports/lang/perl5.24. > > *** [install] Error code 1 > > > > Stop in /usr/ports/lang/perl5.24. > > > > > > info: > > > > FreeBSD 9.3-STABLE FreeBSD 9.3-STABLE #155 r309781: Sat Dec 10 > > 06:32:50 MSK > > 2016 root@bvg:/usr/obj/usr/src/sys/BVG amd64 > > > > [ /usr/ports/lang/perl5.24 ] # cat distinfo > > TIMESTAMP = 1484491231 > > SHA256 (perl/perl-5.24.1.tar.xz) = > > 03a77bac4505c270f1890ece75afc7d4b555090b41aa41ea478747e23b2afb3f > > SIZE (perl/perl-5.24.1.tar.xz) = 11569284 > > > > > > > > > > > > ____________________________________________________ > > Yours sincerely, > > Igor
> > As indicated here: > > https://rt.perl.org/Ticket/Display.html?id=130108#txn-1443092 > > ... the Perl 5 committer rebased the patches on the HEAD of the > 'blead' branch and then applied them to that branch in a series of > commits two weeks ago. Applying the patches to perl-5.24.1 would > probably not be the correct approach.
Which is to say: The patches in question will not appear in a production release version of perl until perl-5.26.0 is released in May of this year. Show quoted text
> > If you can checkout perl 5 blead on your FreeBSD-with-dtrace machine > and build and test it there, that would be a good indicator of where > things stand. You can request assistance on irc.perl.org #p5p or > #bsdperl. > > Thank you very much.
-- James E Keenan (jkeenan@cpan.org)


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org