lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] First version of the illustrations pagination patch


From: Greg Chicares
Subject: Re: [lmi] First version of the illustrations pagination patch
Date: Tue, 17 Jul 2018 15:55:16 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0

On 2018-07-14 13:05, Vadim Zeitlin wrote:
> On Sat, 14 Jul 2018 12:51:09 +0000 Greg Chicares <address@hidden> wrote:
[...]
> GC> I imagine I should first commit and push PR 86 in full in any case, as
> GC> upgrading wx again is just a forty-character change on one makefile
> GC> line.
> 
>  Yes. If I may be immodest for a moment, it's really great how simple it is
> to upgrade wxWidgets used by lmi now.

Yes, it worked very nicely:

/opt/lmi/src/lmi[0]$time ./install_wx.sh >../wx_log 2>&1
./install_wx.sh > ../wx_log 2>&1  2740.65s user 141.70s system 1741% cpu 
2:45.55 total

...and I saw no errors or warnings in the log.

The experience with wxPdfDoc wasn't quite as smooth, although I suspect that the
warnings reported below might simply be noise. I had meant to use this command:

/opt/lmi/src/lmi[0]$time make $coefficiency --output-sync=recurse -f 
install_wxpdfdoc.make >../wxpdf_log 2>&1

but I accidentally omitted the '2>&1', and (far) below I've copied what appeared
on the screen. First, I saw several iterations of this:

  perl: warning: Setting locale failed.
  perl: warning: Please check that your locale settings:
      [...details below...]
      are supported and installed on your system.
  perl: warning: Falling back to the standard locale ("C").

These are only warnings, and perhaps the "Falling back" message implies
that they don't actually matter.

Second, I saw this message:

          Warning: No config found to match: /opt/lmi/local/bin/wx-config 
--exec-prefix=/opt/lmi/local --prefix=/opt/lmi/local --host=i686-w64-mingw32 
--static --libs base,core,xml

...followed by this one, which strangely duplicates the first three options
but then adds more option-arguments at the end:

          Warning: No config found to match: /opt/lmi/local/bin/wx-config 
--exec-prefix=/opt/lmi/local --prefix=/opt/lmi/local --host=i686-w64-mingw32 
--exec-prefix=/opt/lmi/local --prefix=/opt/lmi/local --host=i686-w64-mingw32 
--static --libs adv,base,core,html,richtext,xml

Then, each time, I see:

          If you require this configuration, please install the desired
          library build.  If this is part of an automated configuration
          test and no other errors occur, you may safely ignore it.
          You may use wx-config --list to see all configs available in
          the default prefix.

...so I "may safely ignore" this, if "this is part of an automated configuration
test and no other errors occur"? Apparently no other errors occur. But this is
not part of an automated configuration test AFAICT: the intention is actually to
configure, not to test configuration. Following the advice in the last sentence:

/opt/lmi/src/lmi[0]$wx-config --list

    Default config is i686-w64-mingw32-msw-unicode-3.1

  Default config will be used for output

Well, who knows, maybe perl's failure to "set" the LANG = "en_US.UTF-8" locale
that I'm using caused the "-unicode-" part of `wx-config` to puzzle wxPdfDoc?
No, I guess not, because the log (stdout) says:
  checking if wxWidgets was built with UNICODE enabled... yes

Rerunning with the '2>&1' redirection so that stdout and stderr might be
reasonably interleaved, I see that these warnings appear to be harmless
in context:

checking for wx-config... /opt/lmi/local/bin/wx-config
checking for wxWidgets version >= 2.8.0... yes (version 3.1.2)
checking for wxWidgets static library... 
          Warning: No config found to match: /opt/lmi/local/bin/wx-config [...]
no
checking for wx-config... (cached) /opt/lmi/local/bin/wx-config
checking for wxWidgets version >= 2.8.0... yes (version 3.1.2)
checking for wxWidgets static library... 
          Warning: No config found to match: /opt/lmi/local/bin/wx-config [...]
no

AFAICT, that just means it's looking for a static build of wx that we don't 
have,
and telling us that it finds none because we're using a shared wx library (maybe
there should be a '--wx-is-shared-only' option to keep it from complaining).
Still, it is at least mildly unsettling that these similar lines:
  checking for wx-config... /opt/lmi/local/bin/wx-config
  checking for wx-config... (cached) /opt/lmi/local/bin/wx-config
report somewhat different options (above).

Third, I saw:

  i686-w64-mingw32-ar: `u' modifier ignored since `D' is the default (see `U')

...which seems to be a harmless 'automake' defect:
  http://lists.gnu.org/archive/html/bug-libtool/2015-02/msg00014.html

I'm guessing that none of that really matters, because this all succeeds:

  /opt/lmi/src/lmi[0]$make $coefficiency install check_physical_closure 2>&1 
|less -S
  /opt/lmi/src/lmi[0]$./nychthemeral_test.sh 2>&1 | tee /tmp/lmi/logs/log | sed 
-f errors.sed
  Production system built--ready to start GUI test in another session.
  /opt/lmi/bin[0]$wine ./wx_test --ash_nazg --data_path=/opt/lmi/data 
--pyx=only_new_pdf

FWIW, here's everything I saw on stderr:

time make $coefficiency --output-sync=recurse -f install_wxpdfdoc.make 
>../wxpdf_log           
--2018-07-17 14:50:30--  
https://github.com/vadz/wxpdfdoc/archive/f66b42805a7262cdf07ab04a4e20b252b5d81ddb.zip
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: 
https://codeload.github.com/vadz/wxpdfdoc/zip/f66b42805a7262cdf07ab04a4e20b252b5d81ddb
 [following]
--2018-07-17 14:50:30--  
https://codeload.github.com/vadz/wxpdfdoc/zip/f66b42805a7262cdf07ab04a4e20b252b5d81ddb
Resolving codeload.github.com (codeload.github.com)... 192.30.253.121, 
192.30.253.120
Connecting to codeload.github.com (codeload.github.com)|192.30.253.121|:443... 
connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/zip]
Saving to: 'wxpdfdoc-f66b42805a7262cdf07ab04a4e20b252b5d81ddb.zip'

     0K .......... .......... .......... .......... ..........  681K
    50K .......... .......... .......... .......... .......... 1.17M
   100K .......... .......... .......... .......... ..........  877K
[...elided because this information seems truly unuseful...]
  2750K .......... ...                                         55.5M=3.0s

2018-07-17 14:50:34 (910 KB/s) - 
'wxpdfdoc-f66b42805a7262cdf07ab04a4e20b252b5d81ddb.zip' saved [2829529]

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_TIME = "en_DK.UTF-8",
        LC_COLLATE = "C.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_TIME = "en_DK.UTF-8",
        LC_COLLATE = "C.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_TIME = "en_DK.UTF-8",
        LC_COLLATE = "C.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_TIME = "en_DK.UTF-8",
        LC_COLLATE = "C.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_TIME = "en_DK.UTF-8",
        LC_COLLATE = "C.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LC_TIME = "en_DK.UTF-8",
        LC_COLLATE = "C.UTF-8",
        LANG = "en_US.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
configure: WARNING: using cross tools not prefixed with host triplet

          Warning: No config found to match: /opt/lmi/local/bin/wx-config 
--exec-prefix=/opt/lmi/local --prefix=/opt/lmi/local --host=i686-w64-mingw32 
--static --libs base,core,xml
                   in /opt/lmi/local/lib/wx/config
          If you require this configuration, please install the desired
          library build.  If this is part of an automated configuration
          test and no other errors occur, you may safely ignore it.
          You may use wx-config --list to see all configs available in
          the default prefix.


          Warning: No config found to match: /opt/lmi/local/bin/wx-config 
--exec-prefix=/opt/lmi/local --prefix=/opt/lmi/local --host=i686-w64-mingw32 
--exec-prefix=/opt/lmi/local --prefix=/opt/lmi/local --host=i686-w64-mingw32 
--static --libs adv,base,core,html,richtext,xml
                   in /opt/lmi/local/lib/wx/config
          If you require this configuration, please install the desired
          library build.  If this is part of an automated configuration
          test and no other errors occur, you may safely ignore it.
          You may use wx-config --list to see all configs available in
          the default prefix.

i686-w64-mingw32-ar: `u' modifier ignored since `D' is the default (see `U')
make $coefficiency --output-sync=recurse -f install_wxpdfdoc.make >   705.33s 
user 40.25s system 1682% cpu 44.311 total



reply via email to

[Prev in Thread] Current Thread [Next in Thread]