Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 612530 - sys-libs/gdbm-1.13: a typo in gdbm.h.in breaks building dev-lisp/clisp
Summary: sys-libs/gdbm-1.13: a typo in gdbm.h.in breaks building dev-lisp/clisp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 634606 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-03-13 18:05 UTC by Toralf Förster
Modified: 2017-10-21 00:16 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,5.68 KB, text/plain)
2017-03-13 18:05 UTC, Toralf Förster
Details
config.log.tbz2 (config.log.tbz2,68.97 KB, application/x-bzip)
2017-03-13 18:05 UTC, Toralf Förster
Details
dev-lisp:clisp-2.49-r100:20170313-153833.log (dev-lisp:clisp-2.49-r100:20170313-153833.log,549.08 KB, text/plain)
2017-03-13 18:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,348.89 KB, text/plain)
2017-03-13 18:05 UTC, Toralf Förster
Details
environment (environment,90.47 KB, text/plain)
2017-03-13 18:05 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.77 KB, application/x-bzip)
2017-03-13 18:05 UTC, Toralf Förster
Details
Include gdbm patch and revbump. (gdbm.patch,1.75 KB, patch)
2017-03-14 15:26 UTC, Mihai Moldovan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-03-13 18:05:13 UTC
	-c gdbm.m.c -o gdbm.o
In file included from /var/tmp/portage/dev-lisp/clisp-2.49-r100/work/clisp-2.49/modules/gdbm/gdbm.c:20:0:
/var/tmp/portage/dev-lisp/clisp-2.49-r100/work/clisp-2.49/modules/gdbm/gdbm.c:782:5: error: ‘GDBM_ERR_UNKNOWN_ERROR’ undeclared here (not in a function)
In file included from /var/tmp/portage/dev-lisp/clisp-2.49-r100/work/clisp-2.49/modules/gdbm/gdbm.c:9:0:
/var/tmp/portage/dev-lisp/clisp-2.49-r100/work/clisp-2.49/modules/gdbm/gdbm.c: In function ‘open_gdbm’:
/var/tmp/portage/dev-lisp/clisp-2.49-r100/work/clisp-2.49/modules/gdbm/gdbm.c:133:32: warning: passing argument 5 of ‘gdbm_open’ from incompatible pointer type [-Wincompatible-pointer-types]

  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named desktop_20170305-211735) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
llvm-config:
3.9.1
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 7.2.6.9 [icedtea-7]
2)	IcedTea JDK 7.2.6.9 [icedtea-bin-7]
*)	IcedTea JDK 3.3.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-7 
  [2]   icedtea-bin-7 
  [3]   icedtea-bin-8  system-vm
Comment 1 Toralf Förster gentoo-dev 2017-03-13 18:05:16 UTC
Created attachment 466952 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-03-13 18:05:20 UTC
Created attachment 466954 [details]
config.log.tbz2
Comment 3 Toralf Förster gentoo-dev 2017-03-13 18:05:24 UTC
Created attachment 466956 [details]
dev-lisp:clisp-2.49-r100:20170313-153833.log
Comment 4 Toralf Förster gentoo-dev 2017-03-13 18:05:27 UTC
Created attachment 466958 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2017-03-13 18:05:31 UTC
Created attachment 466960 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2017-03-13 18:05:34 UTC
Created attachment 466962 [details]
etc.portage.tbz2
Comment 7 Mihai Moldovan 2017-03-14 15:25:08 UTC
This is actually a bug in gdbm.

I've submitted a patch to the maintainers - though they seem to have no public bug tracking mailing list or the like that I could reference.

I'll attach a patch to bump the ebuild and include the patch here as well, but I need someone to change the description and assignee to gdbm's maintainer.
Comment 8 Mihai Moldovan 2017-03-14 15:26:22 UTC
Created attachment 467022 [details, diff]
Include gdbm patch and revbump.
Comment 9 email200202 2017-09-15 12:34:34 UTC
same here.

I was able to emerge it by disabling gdbm use flags:

# echo "=dev-lisp/clisp-2.49-r100 -gdbm" >> /etc/portage/package.use/package.use
Comment 10 tman 2017-09-15 21:47:39 UTC
(In reply to Mihai Moldovan from comment #8)
> Created attachment 467022 [details, diff] [details, diff]
> Include gdbm patch and revbump.




TuX /mnt/portage/sys-libs/gdbm # patch gdbm-1.13.ebuild a.patch 

The next patch would create the file gdbm-1.13.ebuild,
which already exists!  Assume -R? [n] R
Apply anyway? [n] y
patching file gdbm-1.13.ebuild
Hunk #1 FAILED at 1.
1 out of 1 hunk FAILED -- saving rejects to file gdbm-1.13.ebuild.rej
patching file gdbm-1.13-r1.ebuild (renamed from gdbm-1.13.ebuild)
Hunk #1 succeeded at 23 with fuzz 2 (offset -1 lines).
Comment 11 Andrey Grozin gentoo-dev 2017-10-13 08:39:28 UTC
The fix by ionic@ionic.de works. Please apply and commit.
Comment 12 Larry the Git Cow gentoo-dev 2017-10-13 12:17:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dafbc798a1d73b3f625a9119334f16774db1c601

commit dafbc798a1d73b3f625a9119334f16774db1c601
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2017-10-13 11:18:18 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2017-10-13 12:17:44 +0000

    sys-libs/gdbm: Fix a typo in gdbm.h
    
    Closes: https://bugs.gentoo.org/612530
    Package-Manager: Portage-2.3.10, Repoman-2.3.3

 .../files/gdbm-1.13-fix-a-typo-in-gdbm.h.patch     | 21 +++++++
 sys-libs/gdbm/gdbm-1.13-r1.ebuild                  | 70 ++++++++++++++++++++++
 2 files changed, 91 insertions(+)
Comment 13 Andrey Grozin gentoo-dev 2017-10-19 08:33:19 UTC
*** Bug 634606 has been marked as a duplicate of this bug. ***
Comment 14 Andrew 2017-10-20 09:41:06 UTC
With the use of the patch from Mihai Moldovan, the clisp assembly was successful
Comment 15 Mihai Moldovan 2017-10-21 00:16:09 UTC
No need to apply any patches any longer - the patch has been applied to the portage tree.

Just make sure to sync up.