Skip Menu |
 

This queue is for tickets about the B-Flags CPAN distribution.

Report information
The Basics
Id: 103874
Status: resolved
Priority: 0/
Queue: B-Flags

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: 0.11
Fixed in: (no value)



Subject: Compilation fails with perl 5.21.11 (op_lastsib)
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: <rt-4.0.18-8689-1429681126-283.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 431
Download (untitled) / with headers
text/plain 431b
Compilation fails with perl 5.21.11: cc -c -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"0.11\" -DXS_VERSION=\"0.11\" -fPIC "-I/opt/perl-5.21.11/lib/5.21.11/x86_64-linux/CORE" Flags.c Flags.xs: In function ‘XS_B__OP_flagspv’: Flags.xs:69:14: error: ‘OP’ has no member named ‘op_lastsib’
MIME-Version: 1.0
X-Spam-Status: No, score=-6.599 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, FROM_OUR_RT=-4, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
In-Reply-To: <rt-4.0.18-8689-1429681126-586.103874-4-0 [...] rt.cpan.org>
X-Spam-Flag: NO
X-RT-Interface: API
References: <RT-Ticket-103874 [...] rt.cpan.org> <rt-4.0.18-8689-1429681126-586.103874-4-0 [...] rt.cpan.org>
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Received: by 10.42.52.4 with SMTP id h4mr3393790icg.32.1429791318406; Thu, 23 Apr 2015 05:15:18 -0700 (PDT)
Message-ID: <CAHiT=DEYA8Jaq5B1m0Zi24aOgwDbUw9i0Z_Fg23cym2gs8rtiw [...] mail.gmail.com>
content-type: text/plain; charset="utf-8"
X-RT-Original-Encoding: utf-8
X-Spam-Score: -6.599
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] gmail.com
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 58D5F240451 for <cpan-bug+B-Flags [...] hipster.bestpractical.com>; Thu, 23 Apr 2015 08:16:01 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qmjinLVd0M+v for <cpan-bug+B-Flags [...] hipster.bestpractical.com>; Thu, 23 Apr 2015 08:15:59 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id 81F2D2401D7 for <bug-B-Flags [...] rt.cpan.org>; Thu, 23 Apr 2015 08:15:59 -0400 (EDT)
Received: (qmail 29663 invoked by alias); 23 Apr 2015 12:15:58 -0000
Received: from mail-ie0-f175.google.com (HELO mail-ie0-f175.google.com) (209.85.223.175) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Thu, 23 Apr 2015 05:15:22 -0700
Received: by iecrt8 with SMTP id rt8so58912280iec.0 for <bug-B-Flags [...] rt.cpan.org>; Thu, 23 Apr 2015 05:15:18 -0700 (PDT)
Received: by 10.36.103.137 with HTTP; Thu, 23 Apr 2015 05:15:18 -0700 (PDT)
Delivered-To: cpan-bug+B-Flags [...] hipster.bestpractical.com
Subject: Re: [rt.cpan.org #103874] Compilation fails with perl 5.21.11 (op_lastsib)
Return-Path: <reini.urban [...] gmail.com>
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=HhDQXaIZAuGmEr9GHAUHTQc2UBsVDIuRUMp0JclQTKI=; b=Tncu+1V6NozQKYR7QRNgaydEZI8A4zHn69FSyqhwqf/zG1QN160WNgAiNweN4rd7I2 dEAgY09MrXvAoqv6VYKkCLdWuk4s8LjpkobRjW1VzXPS4k8wp+xaasgNfJmpS7OK8rSX PgaOFPi/f08dql5SDXc/77I+bveV2+NBzI5aOM5QwyASw6DZp/6aSEEHoRAr35x0VBmC UIzgNPyprUNyIiS0wGIG1rRIFEtKl0bIEVInQ/QzoWkxnWlXyXbPXq0j9QQVoq5qsdoG vC7+2GaHHBVHhVI/L8GvakeOQwQSM45/5dDrqgvgvTYbMZZrj2ZXECbkUE9stwcDTGL3 w80A==
X-Spam-Check-BY: la.mx.develooper.com
X-Original-To: cpan-bug+B-Flags [...] hipster.bestpractical.com
X-RT-Mail-Extension: b-flags
X-Google-Sender-Auth: iKmYRBBdoHxpPTo9yZpYba-MAcg
Sender: reini.urban [...] gmail.com
Date: Thu, 23 Apr 2015 14:15:18 +0200
X-Spam-Level:
To: bug-B-Flags [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: Reini Urban <rurban [...] cpan.org>
RT-Message-ID: <rt-4.0.18-25678-1429791362-479.103874-0-0 [...] rt.cpan.org>
Content-Length: 1105
Thanks for the reminder. I already saw those changes, but I still need to find some time build a current perl. Not sure what to do about OP_PARENT yet. op_sibparent vs op_sibling. 2015-04-22 7:38 GMT+02:00 Slaven_Rezic via RT <bug-B-Flags@rt.cpan.org>: Show quoted text
> Wed Apr 22 01:38:46 2015: Request 103874 was acted upon. > Transaction: Ticket created by SREZIC > Queue: B-Flags > Subject: Compilation fails with perl 5.21.11 (op_lastsib) > Broken in: 0.11 > Severity: (no value) > Owner: Nobody > Requestors: SREZIC@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=103874 > > > > Compilation fails with perl 5.21.11: > > cc -c -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -DVERSION=\"0.11\" -DXS_VERSION=\"0.11\" -fPIC "-I/opt/perl-5.21.11/lib/5.21.11/x86_64-linux/CORE" Flags.c > Flags.xs: In function ‘XS_B__OP_flagspv’: > Flags.xs:69:14: error: ‘OP’ has no member named ‘op_lastsib’ >
-- -- Reini
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-25678-1429791362-479.103874-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
X-RT-Interface: Web
References: <RT-Ticket-103874 [...] rt.cpan.org> <rt-4.0.18-8689-1429681126-586.103874-4-0 [...] rt.cpan.org> <CAHiT=DEYA8Jaq5B1m0Zi24aOgwDbUw9i0Z_Fg23cym2gs8rtiw [...] mail.gmail.com> <rt-4.0.18-25678-1429791362-479.103874-0-0 [...] rt.cpan.org>
Content-Type: multipart/mixed; boundary="----------=_1429881992-32649-2"
Message-ID: <rt-4.0.18-32649-1429881992-1304.103874-0-0 [...] rt.cpan.org>
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 316
Download (untitled) / with headers
text/plain 316b
Le Jeu 23 Avr 2015 08:16:02, RURBAN a écrit : Show quoted text
> Thanks for the reminder. I already saw those changes, but I still need > to find some time build a current perl. > > Not sure what to do about OP_PARENT yet. op_sibparent vs op_sibling.
To have it work again, in the FreeBSD ports tree, I added the attached patch.
MIME-Version: 1.0
Subject: patch-Flags.xs
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Type: application/octet-stream; name="patch-Flags.xs"
Content-Disposition: inline; filename="patch-Flags.xs"
Content-Transfer-Encoding: base64
Content-Length: 456
Download patch-Flags.xs
text/x-csrc 456b
--- Flags.xs.orig 2014-12-03 12:04:54 UTC +++ Flags.xs @@ -66,8 +66,13 @@ flagspv(o) if (o->op_folded) sv_catpv(RETVAL, ",FOLDED"); #if (PERL_VERSION == 21 && PERL_SUBVERSION > 1) || PERL_VERSION >= 22 +#if (PERL_VERSION == 21 && PERL_SUBVERSION < 11) if (o->op_lastsib) sv_catpv(RETVAL, ",LASTSIB"); +#else + if (o->op_moresib) + sv_catpv(RETVAL, ",MORESIB"); +#endif #endif #endif #endif
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-8689-1429681126-283.0-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-8689-1429681126-283.0-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-29386-1430089260-488.103874-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 40
Thanks, fixed with 0.12 -- Reini Urban
MIME-Version: 1.0
In-Reply-To: <rt-4.0.18-29386-1430089260-488.103874-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: <rt-4.0.18-8689-1429681126-283.0-0-0 [...] rt.cpan.org> <rt-4.0.18-29386-1430089260-488.103874-0-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
Message-ID: <rt-4.0.18-14447-1430093690-586.103874-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
X-RT-Encrypt: 0
X-RT-Sign: 0
Content-Length: 238
Download (untitled) / with headers
text/plain 238b
Note that I changed the LASTSIB|MORESIB flag to SIBLING only with 0.13 MORESIB is too low-level to me, SIBLING is now consistent for all perl versions, either indicating the existance of the pointer or the MORESIB flag. -- Reini Urban


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

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.