FAQ
All patches concerning changes Configure from 17671 .. 17881
are now backported to the metaunits :)

a5 is on patchlevel 17881
l1 is generated with metaconfig -m

# sed 's/^[ ]*//' /a5$pc/Configure | sort > /tmp/xx5
# sed 's/^[ ]*//' /l1$pc/Configure | sort > /tmp/xx1
# diff -w /tmp/xx1 /tmp/xx5 1214a1215
>
1576c1577
< # Generated on Tue Sep 10 20:32:27 METDST 2002 [metaconfig 3.0 PL70]
---
# Generated on Thu Aug 1 18:53:48 CEST 2002 [metaconfig 3.0 PL70]

:)))))


More actions needed?

# p4 edit Configure
# p4 submit

comes to mind

(and the same for config_h.SH)

Going to sleep now.

--
H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/)
using perl-5.6.1, 5.8.0 & 633 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
WinNT 4, Win2K pro & WinCE 2.11. Smoking perl CORE: smokers@perl.org
http://archives.develooper.com/daily-build@perl.org/ perl-qa@perl.org
send smoke reports to: smokers-reports@perl.org, QA: http://qa.perl.org

Search Discussions

  • Andy Dougherty at Sep 10, 2002 at 8:35 pm

    On Tue, 10 Sep 2002, H.Merijn Brand wrote:

    All patches concerning changes Configure from 17671 .. 17881
    are now backported to the metaunits :)

    More actions needed?
    U/mksample will re-generate Porting/config* and Porting/Glossary
    (make sure you hand-edit U/mkglossary to point to where your dist units
    are located). You might want to adjust the Configure options in
    U/mksample to suit your system (e.g. whatever 64-bitness you want to
    go with). It's not strictly necessary, but it's good housekeeping.
    Going to sleep now.
    That's probably more important :-).

    Andy Dougherty doughera@lafayette.edu
  • H.Merijn Brand at Sep 11, 2002 at 8:07 am

    On Tue 10 Sep 2002 22:36, Andy Dougherty wrote:
    On Tue, 10 Sep 2002, H.Merijn Brand wrote:

    All patches concerning changes Configure from 17671 .. 17881
    are now backported to the metaunits :)

    More actions needed?
    U/mksample will re-generate Porting/config* and Porting/Glossary
    (make sure you hand-edit U/mkglossary to point to where your dist units
    are located). You might want to adjust the Configure options in
    U/mksample to suit your system (e.g. whatever 64-bitness you want to
    go with). It's not strictly necessary, but it's good housekeeping.
    l1:/pro/3gl/CPAN/perl-current 120 > U/mkglossary | diff - Porting/Glossary
    U/mkglossary: couldn't find PERL_API_REVISION
    U/mkglossary: couldn't find PERL_API_SUBVERSION
    U/mkglossary: couldn't find PERL_API_VERSION
    U/mkglossary: couldn't find PERL_CONFIG_SH
    U/mkglossary: couldn't find PERL_PATCHLEVEL
    U/mkglossary: couldn't find baserev
    U/mkglossary: couldn't find c
    U/mkglossary: couldn't find contains
    U/mkglossary: couldn't find d_alarm
    U/mkglossary: couldn't find d_attribut
    U/mkglossary: couldn't find d_bcmp
    U/mkglossary: couldn't find d_bcopy

    Does this sound a resonable change to mkglossary or did I miss the point
    --8<--- U/mkglossary
    #!/pro/bin/perl

    #use strict;
    use warnings;

    use File::Basename;

    # WARNING: This is site-specific. Change to the location
    # where you have installed dist-3.0PL70.
    @std_units = glob('/pro/3gl/CPAN/metaconfig/lib/dist/U/*.U');
    $PWD = '/pro/3gl/CPAN/perl';
    # @std_units = glob('/opt/dist/lib/U/*.U');
    # $PWD = '/export/home/doughera/src/perl/p4perl';
    -->8---

    The following takes away all the warnings, and produces a reasonable diff

    --8<--- U/mkglossary
    #!/pro/bin/perl

    #use strict;
    use warnings;

    use File::Basename;

    # WARNING: This is site-specific. Change to the location
    # where you have installed dist-3.0PL70.
    @std_units = (glob('/pro/3gl/CPAN/metaconfig/lib/dist/U/*.U'),
    glob('/pro/3gl/CPAN/metaconfig/dist-3.0at70b/mcon/U/*.U'));
    $PWD = '/pro/3gl/CPAN/perl';
    # @std_units = glob('/opt/dist/lib/U/*.U');
    # $PWD = '/export/home/doughera/src/perl/p4perl';
    -->8---

    And wouldn't folded sorting be more DWIM?

    # Get the list of config.sh symbols. Be sure this is up to date!
    # (I run the U/mksample script first to be sure.)
    open(WANTED, "sort -f $PWD/Porting/config.sh|") || die "$0: open $PWD/Wanted: $!\n";
    ^^

    All my diff's so far seem to be mostly repositioning due to different sorts.
    Above might unify that

    --
    H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/)
    using perl-5.6.1, 5.8.0 & 633 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
    WinNT 4, Win2K pro & WinCE 2.11. Smoking perl CORE: smokers@perl.org
    http://archives.develooper.com/daily-build@perl.org/ perl-qa@perl.org
    send smoke reports to: smokers-reports@perl.org, QA: http://qa.perl.org
  • H.Merijn Brand at Sep 11, 2002 at 8:13 am

    On Wed 11 Sep 2002 10:08, H.Merijn Brand wrote:
    On Tue 10 Sep 2002 22:36, Andy Dougherty wrote:
    On Tue, 10 Sep 2002, H.Merijn Brand wrote:

    All patches concerning changes Configure from 17671 .. 17881
    are now backported to the metaunits :)

    More actions needed?
    U/mksample will re-generate Porting/config* and Porting/Glossary
    (make sure you hand-edit U/mkglossary to point to where your dist units
    are located). You might want to adjust the Configure options in
    U/mksample to suit your system (e.g. whatever 64-bitness you want to
    go with). It's not strictly necessary, but it's good housekeeping.
    Does this sound a resonable change to mkglossary or did I miss the point
    N'ahh ... it doesn't :)

    --8<--- U/mkglossary
    # WARNING: This is site-specific. Change to the location
    # where you have installed dist-3.0PL70.
    @std_units = glob('/pro/3gl/CPAN/lib/dist/U/*.U');
    $PWD = '/pro/3gl/CPAN/perl';
    -->8---

    But it still reorders the list

    --
    H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/)
    using perl-5.6.1, 5.8.0 & 633 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
    WinNT 4, Win2K pro & WinCE 2.11. Smoking perl CORE: smokers@perl.org
    http://archives.develooper.com/daily-build@perl.org/ perl-qa@perl.org
    send smoke reports to: smokers-reports@perl.org, QA: http://qa.perl.org
  • Andy Dougherty at Sep 11, 2002 at 12:36 pm

    On Wed, 11 Sep 2002, H.Merijn Brand wrote:

    And wouldn't folded sorting be more DWIM?

    # Get the list of config.sh symbols. Be sure this is up to date!
    # (I run the U/mksample script first to be sure.)
    open(WANTED, "sort -f $PWD/Porting/config.sh|") || die "$0: open $PWD/Wanted: $!\n";
    ^^
    It might DWYM but not DWIM :-). (Case distinction is one of my (many) pet
    peeves. If I hadn't wanted an upper case letter, I wouldn't have gone to
    the extra work of pushing the "Shift" key down to get it.) However, it's
    your call, do as you wish.
    All my diff's so far seem to be mostly repositioning due to different sorts.
    Above might unify that
    Perhaps. Units do tend to get shuffled around as Configure is generated
    on different systems. The exact order is underdetermined by the
    dependencies. The order used is then determined by the particular make
    program (or is it tsort, I forget now) used by metaconfig to generate
    Configure. Don't worry about it. Once you get your first patch in
    reshuffling things, subsequent ones won't do so much reshuffling.
    (Unless, of course, you move a unit from the standard 'dist' location over
    to perl's 'private' U directory, in which case it (and all its dependents)
    might move around a lot again.)

    --
    Andy Dougherty doughera@lafayette.edu
  • H.Merijn Brand at Sep 11, 2002 at 12:52 pm

    On Wed 11 Sep 2002 14:37, Andy Dougherty wrote:
    On Wed, 11 Sep 2002, H.Merijn Brand wrote:

    And wouldn't folded sorting be more DWIM?

    # Get the list of config.sh symbols. Be sure this is up to date!
    # (I run the U/mksample script first to be sure.)
    open(WANTED, "sort -f $PWD/Porting/config.sh|") || die "$0: open $PWD/Wanted: $!\n";
    ^^
    It might DWYM but not DWIM :-). (Case distinction is one of my (many) pet
    peeves. If I hadn't wanted an upper case letter, I wouldn't have gone to
    the extra work of pushing the "Shift" key down to get it.) However, it's
    your call, do as you wish.
    All my diff's so far seem to be mostly repositioning due to different sorts.
    Above might unify that
    Perhaps. Units do tend to get shuffled around as Configure is generated
    on different systems. The exact order is underdetermined by the
    dependencies. The order used is then determined by the particular make
    program (or is it tsort, I forget now) used by metaconfig to generate
    Configure. Don't worry about it. Once you get your first patch in
    reshuffling things, subsequent ones won't do so much reshuffling.
    (Unless, of course, you move a unit from the standard 'dist' location over
    to perl's 'private' U directory, in which case it (and all its dependents)
    might move around a lot again.)
    You got me wrong :)

    It's the sequence in Glossary that got shuffled. What is the most logical
    sequence there. Alphabetic-lexicographic.

    the 'sed....|sort >>xx[15];diff ...' showed that I was aware of the
    shuffleness in Configure. Otherwise a plain diff would have been far
    more informative

    All applied. Re-rsynced and re-build all. make test still OK.
    Pheeiw. Phase one completed successfully. Up to the next level.

    metaconfig related patches:

    17889 - Metaconfig documentation update (part 1) merijn
    Fri 06 Sep 2002 20:26, Andy Dougherty
    17890 - Metaconfig documentation update (part 2) merijn
    Fri 06 Sep 2002 20:26, Andy Dougherty
    17891 - metaconfig tweakage. jhi
    17893 - Backport all Configure patches 17671 .. 17881 merijn
    to the metaunits
    17894 - Postchecking config_h.SH helps to catch typo's merijn
    Also took the comments from the original patch
    17895 - Cleaning up from metalint; reverting wrong merijn
    voidflags fix from 17893; fix obvious typo
    from 17827
    17896 - re-synced Configure to backported metaunits merijn

    --
    H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/)
    using perl-5.6.1, 5.8.0 & 633 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
    WinNT 4, Win2K pro & WinCE 2.11. Smoking perl CORE: smokers@perl.org
    http://archives.develooper.com/daily-build@perl.org/ perl-qa@perl.org
    send smoke reports to: smokers-reports@perl.org, QA: http://qa.perl.org
  • H.Merijn Brand at Sep 11, 2002 at 10:29 am
    Forgive me being too verbose in the beginning of my job, but I'd for sure
    don't like to mess up, and be corrected asap if needed.
    On Tue 10 Sep 2002 22:36, Andy Dougherty wrote:
    U/mksample will re-generate Porting/config* and Porting/Glossary
    Stripping down executable paths...

    Creating config.sh...
    Hmm...You had some extra variables I don't know about...I'll try to keep 'em...
    Propagating recommended variable $doop_cflags...
    Propagating recommended variable $pthread_h_first...
    Propagating recommended variable $regexec_cflags...
    Propagating recommended variable $toke_cflags...
    Extraction done.
    Extracting config.h (with variable substitutions)
    1
    mkglossary: couldn't find PERL_API_REVISION
    mkglossary: couldn't find PERL_API_SUBVERSION
    mkglossary: couldn't find PERL_API_VERSION
    mkglossary: couldn't find PERL_CONFIG_SH
    mkglossary: couldn't find PERL_PATCHLEVEL
    mkglossary: couldn't find pthread_h_first
    Hmm... Looks like a new-style context diff to me...
    The text leading up to this was:
    --------------------------
    *** Glossary.orig Sat Jun 8 19:33:14 2002
    --- Glossary Sat Jun 8 19:33:28 2002
    --------------------------
    Patching file Glossary using Plan A...
    Hunk #1 failed at 3294.
    Hunk #2 succeeded at 3431 (offset 28 lines).
    Hunk #3 succeeded at 3907 (offset 41 lines).
    Hunk #4 succeeded at 4074 with fuzz 2 (offset 30 lines).
    1 out of 4 hunks failed--saving rejects to Glossary.rej
    done
    Check possible failed patch to Porting/Glossary!


    ***************
    *** 3294,3300 ****
    make_set_make='#' # If your make program handles this for you,
    make_set_make="MAKE=$make" # if it doesn't.
    I used a comment character so that we can distinguish a
    ! 'set' value (from a previous config.sh or Configure -D option)
    from an uncomputed value.

    mallocobj (mallocsrc.U):
    --- 3294,3300 ----
    make_set_make='#' # If your make program handles this for you,
    make_set_make="MAKE=$make" # if it doesn't.
    I used a comment character so that we can distinguish a
    ! 'set' value (from a previous config.sh or Configure '-D' option)
    from an uncomputed value.

    mallocobj (mallocsrc.U):

    fixed manually

    --
    H.Merijn Brand Amsterdam Perl Mongers (http://amsterdam.pm.org/)
    using perl-5.6.1, 5.8.0 & 633 on HP-UX 10.20 & 11.00, AIX 4.2, AIX 4.3,
    WinNT 4, Win2K pro & WinCE 2.11. Smoking perl CORE: smokers@perl.org
    http://archives.develooper.com/daily-build@perl.org/ perl-qa@perl.org
    send smoke reports to: smokers-reports@perl.org, QA: http://qa.perl.org
  • Andy Dougherty at Sep 11, 2002 at 12:27 pm

    On Wed, 11 Sep 2002, H.Merijn Brand wrote:

    Forgive me being too verbose in the beginning of my job, but I'd for sure
    don't like to mess up, and be corrected asap if needed.
    That's fine. Ask away. And don't worry too much about mistakes -- you'd
    have to work at it for a long time to put out as many broken patches as I
    eventually did :-).

    [Glossary patch]
    fixed manually
    Right, that's what you have to do. Fortunately, it's rarely needed.

    --
    Andy Dougherty doughera@lafayette.edu

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupperl5-build @
categoriesperl
postedSep 10, '02 at 6:59p
activeSep 11, '02 at 12:52p
posts8
users2
websiteperl.org

2 users in discussion

H.Merijn Brand: 5 posts Andy Dougherty: 3 posts

People

Translate

site design / logo © 2019 Grokbase