Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Jul 2020 16:56:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 247764] databases/mdbtools: Update to 0.8.2
Message-ID:  <bug-247764-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D247764

            Bug ID: 247764
           Summary: databases/mdbtools: Update to 0.8.2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: rhurlin@gwdg.de

Created attachment 216199
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D216199&action=
=3Dedit
patch to update databases/mdbtools from 0.7.1 to 0.8.2

mdbtools v0.7.1 [1] is not updated for years and the release is from 2013. =
For
quite some time now (~ 2017), there is a fork from Cyber Emissary[2] and af=
ter
some testing I decided to follow this one.

The fork from Cyber Emissary is at version 0.8.2 ATM and some more pull req=
uest
were committed since then.

[1] https://github.com/brjohnsn/mdbtools
[2] https://github.com/cyberemissary



So this PR should update databases/mdbtools from 0.7.1 to 0.8.2 (from
2018-12-28) and brings some improvements and new features. User visible cha=
nges
are

- Improved support for Access 2010, 2013, and 2016
- Build script and readme improvements
- Use bigger buffer when reading big blobs for better performance
- Use bulk inserts on supporting platforms for significantly better perform=
ance
- Added mdb-count utility to return row count in tables
- Update unknown flag to ddl flag for properties
- Print unknown Jet versions in libmdb


The port itself changes

- from version 0.7.1 to 0.8.2
- add CONFIGURE_ARGS=3D--enable-gtk-doc
- change GITHUB account
- add USE_GNOME=3Dgdkpixbuf2
- reorder entries in Makefile (USES=3D, GITHUB=3D, ...)
- rm files/patch-src__sql__Makefile.am (upstream included)
- add newest fork URL to pkg-descr
- update pkg-plist


The patch is tested on Poudriere (11.4i/a, 12.1i/a, and HEADi/a).

'portlint -AC' suggest to add a NLS knob, but there is no easy way to disab=
le
gettext usage in the sources?



########################################################################
IMPORTANT NOTICE:  MDBTools 0.8.2 does not build, if 0.7.1 is installed:


[..snip..]
file.c:232:7: error: use of undeclared identifier 'MDB_VER_ACCDB_2013'; did=
 you
mean 'MDB_VER_ACCDB_2010'?
        case MDB_VER_ACCDB_2013:
             ^~~~~~~~~~~~~~~~~~
             MDB_VER_ACCDB_2010
/usr/local/include/mdbtools.h:71:2: note: 'MDB_VER_ACCDB_2010' declared here
        MDB_VER_ACCDB_2010 =3D 0x0103
        ^
file.c:233:7: error: use of undeclared identifier 'MDB_VER_ACCDB_2016'; did=
 you
mean 'MDB_VER_ACCDB_2010'?
        case MDB_VER_ACCDB_2016:
             ^~~~~~~~~~~~~~~~~~
             MDB_VER_ACCDB_2010
/usr/local/include/mdbtools.h:71:2: note: 'MDB_VER_ACCDB_2010' declared here
        MDB_VER_ACCDB_2010 =3D 0x0103
        ^
file.c:232:7: error: duplicate case value 'MDB_VER_ACCDB_2010'
        case MDB_VER_ACCDB_2013:
             ^
file.c:231:7: note: previous case defined here
        case MDB_VER_ACCDB_2010:
             ^
file.c:233:7: error: duplicate case value 'MDB_VER_ACCDB_2010'
        case MDB_VER_ACCDB_2016:
             ^
file.c:232:7: note: previous case defined here
        case MDB_VER_ACCDB_2013:
             ^
4 errors generated.
*** Error code 1

Stop.
make[4]: stopped in
/usr/ports/databases/mdbtools/work/mdbtools-0.8.2/src/libmdb


As a workaround, one can deinstall 0.7.1 before building 0.8.2.=20
I could need some help here to get rid of this behaviour.
########################################################################

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-247764-7788>