GithubHelp home page GithubHelp logo

libisocodes's People

Contributors

bubulle avatar joedalton2 avatar lemniscati avatar toddy15 avatar yurayko avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

libisocodes's Issues

Cygwin build failed running valac with "Package `config' not found ..."

Upgrading Cygwin libisocodes from 1.2.2 to 1.2.4 the build failed when running valac:

/usr/bin/valac  --pkg libxml-2.0 --pkg gee-0.8 --library=libisocodes --vapidir=vapi --pkg config --header=libisocodes.h --gir=libisocodes-1.2.4.gir -C .../cygwin/libisocodes/libisocodes-1.2.4-1.x86_64/src/libisocodes-libisocodes-1.2.4/src/isocodes.vala ... .../cygwin/libisocodes/libisocodes-1.2.4-1.x86_64/src/libisocodes-libisocodes-1.2.4/src/exceptions.vala
error: Package `config' not found in specified Vala API directories or GObject-Introspection GIR directories

What is the build looking for here - already tried pickaxe installs of any Vala and GIR packages hinting at conf or dev:

  • libgee-devel libvala0.3{0,4,6,8}-devel
  • vala vala-gee{0.8,1.0} vala-dconf
  • girepository-GConf2.0

Cygwin runs on newlib not glibc and tries to be POSIX and Linux compatible with hints of BSD and Solaris history.

make check check-local quits when assertion fails

I would expect each test result to be reported OK/FAIL/XFAIL/PASS and testing to continue.

Cygwin x86_64 64 bit CI build check:

...
2022-02-19T17:11:14.9942012Z   /iso_3166/3.x/find all codes:                                        OK
2022-02-19T17:11:14.9966613Z   /iso_3166/3.x/find all codes in locale 'fr':                         **
2022-02-19T17:11:14.9967813Z ERROR:$HOME/libisocodes/libisocodes-1.2.4-1.x86_64/build/test_iso_3166.vala.c:980:__lambda13_: assertion failed: (e[0].name == "Allemagne")
2022-02-19T17:11:15.1028571Z FAIL
2022-02-19T17:11:15.1031898Z GTester: last random seed: R02S722263d2c2eb94e137c33dcc2deaa4d0
2022-02-19T17:11:15.1047463Z make[2]: *** [Makefile:1690: check-local] Terminated
...

Cygwin x86_64 64 bit Desktop build check:

...
  /iso_3166_2/3.x/find all codes in locale 'fr':                       OK
  /iso_3166_2/3.x/call find_code() without argument:                   **
ERROR:$HOME/src/cygwin/libisocodes/libisocodes-1.2.4-1.x86_64/build/test_iso_3166_2.vala.c:587:__lambda29_: assertion failed: (error is ISOCodesError.CODE_NOT_DEFINED)
FAIL
GTester: last random seed: R02S966c22862db6004a5748654eeff9b962
make[2]: *** [Makefile:1690: check-local] Terminated
...

Cygwin i686 32 bit build check:

...
  /iso_15924/3.x/find all codes:                                       OK
  /iso_15924/3.x/find all codes in locale 'fr':                        **
ERROR:$HOME/src/cygwin/libisocodes/libisocodes-1.2.4-1.i686/build/test_iso_15924.vala.c:451:__lambda94_: assertion failed: (e[0].name == "bengali")
FAIL
GTester: last random seed: R02S7e9b16e5cfdb77571fb4b4f5b65c8240
make[2]: *** [Makefile:1690: check-local] Terminated
...

Cygwin uses newlib under Windows not glibc so some languages (e.g. Esperanto), territories (e.g. embargoed/sanctioned), or combos, or UTF-8 ops (e.g. regexp classes) may not be supported or return the same results.
The same applies to musl, FreeBSD, MacOSX, and other libc alternatives; e.g. see $ info sed 'sed reg' locale bottom of node, section labelled 5.9.3 Multibyte regexp character classes.

configure.ac uses test ==

build message:
configure: 12786: test: x/usr/bin/g-ir-compiler: unexpected operator
from:
configure.ac:42:if test x"$G_IR_COMPILER" == x"no" ; then

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.