Skip to content
This repository has been archived by the owner on Jun 1, 2022. It is now read-only.

Fail: [test-geoip] Copyright keyword not found #79

Closed
gnought opened this issue May 30, 2016 · 2 comments
Closed

Fail: [test-geoip] Copyright keyword not found #79

gnought opened this issue May 30, 2016 · 2 comments

Comments

@gnought
Copy link

gnought commented May 30, 2016

The GeoIP_database_info function in libGeoIP/GeoIP.c only returns "GEO-106FREE 20160503 Build 1 Copy" and it causes the test-geoip fails. Would you take a look?

OS: Centos 7.2.1511
kernel: 3.10.0-327.10.1.el7.x86_64
gcc: 4.8.5 20150623 (Red Hat 4.8.5-4) (GCC)

Error message:

GeoIP 1.6.9: test/test-suite.log

TOTAL: 2

PASS: 1

SKIP: 0

XFAIL: 0

FAIL: 1

XPASS: 0

ERROR: 0

.. contents:: :depth: 2

FAIL: test-geoip

Error reading database info (got GEO-106FREE 20160503 Build 1 Copy).
Error reading database info (got GEO-106FREE 20160503 Build 1 Copy).

@oschwald
Copy link
Member

I tried reproducing this but I was not able to. Could you attach your config.log as well?

@gnought
Copy link
Author

gnought commented Jun 13, 2016

My Config:

  CFLAGS="${CFLAGS:--O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -m64 -mtune=generic}" ; export CFLAGS ;
  CXXFLAGS="${CXXFLAGS:--O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -m64 -mtune=generic}" ; export CXXFLAGS ;
  FFLAGS="${FFLAGS:--O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -m64 -mtune=generic -I/usr/lib64/gfortran/modules}" ; export FFLAGS ;
  FCFLAGS="${FCFLAGS:--O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1  -m64 -mtune=generic -I/usr/lib64/gfortran/modules}" ; export FCFLAGS ;
  LDFLAGS="${LDFLAGS:--Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld}"; export LDFLAGS;
  [ "1" == 1 ] && [ "x86_64" == ppc64le ] && /usr/lib/rpm/redhat/libtool-handle-ppc64le.sh ;
  for i in $(find . -name config.guess -o -name config.sub) ; do
      [ -f /usr/lib/rpm/redhat/$(basename $i) ] && /usr/bin/rm -f $i && /usr/bin/cp -fv /usr/lib/rpm/redhat/$(basename $i) $i ;
  done ;
  ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu \
        --program-prefix= \
        --disable-dependency-tracking \
        --prefix=/usr \
        --exec-prefix=/usr \
        --bindir=/usr/bin \
        --sbindir=/usr/sbin \
        --sysconfdir=/etc \
        --datadir=/usr/share \
        --includedir=/usr/include \
        --libdir=/usr/lib64 \
        --libexecdir=/usr/libexec \
        --localstatedir=/var \
        --sharedstatedir=/var/lib \
        --mandir=/usr/share/man \
        --infodir=/usr/share/info --prefix=$(pwd)/.geoip --libdir=$(pwd)/.geoip/lib --includedir=$(pwd)/.geoip/include --bindir=$(pwd)/.geoip/bin --datadir=$(pwd)/.geoip/share --mandir=$(pwd)/.geoip/share/man --sysconfdir=$(pwd)/.geoip/etc --enable-static --disable-shared --disable-data-files

oschwald added a commit that referenced this issue Jun 24, 2016
@rafl rafl closed this as completed in #80 Jun 24, 2016
oschwald added a commit that referenced this issue Mar 29, 2017
1.6.10

* GeoIP_database_info now returns the full version string rather than
  incorrectly truncating it. GitHub #79.
* This API is now distributed with a small test copy of GeoIP.dat rather than
  a full copy.
* Fix issue where Visual Studio 2015 was optimizing out initialization code.
  Reported and fixed by Scott Godin. GitHub #81.
* Fix test/benchmark on Windows. Gisle Vanem. GitHub #75.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants