Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 637628 - dev-lisp/clisp-2.49-r101 : linux.c:680:37: error: cfree undeclared (first use in this function)
Summary: dev-lisp/clisp-2.49-r101 : linux.c:680:37: error: cfree undeclared (first use...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Common Lisp Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-15 18:50 UTC by Toralf Förster
Modified: 2018-03-06 19:43 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.01 KB, text/plain)
2017-11-15 18:50 UTC, Toralf Förster
Details
dev-lisp:clisp-2.49-r101:20171114-172732.log (dev-lisp:clisp-2.49-r101:20171114-172732.log,523.09 KB, text/plain)
2017-11-15 18:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,179.36 KB, text/plain)
2017-11-15 18:50 UTC, Toralf Förster
Details
environment (environment,91.07 KB, text/plain)
2017-11-15 18:50 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.34 KB, application/x-bzip)
2017-11-15 18:50 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,60.51 KB, application/x-bzip)
2017-11-15 18:50 UTC, Toralf Förster
Details
patch for clisp-2.49.60 with reference to the official code update (after_glibc_cfree_bdb.patch,8.73 KB, patch)
2017-12-07 06:47 UTC, giskard
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-11-15 18:50:32 UTC
                                                ^~~~~~
linux.c: In function ‘module__linux__init_function_2’:
linux.c:680:37: error: ‘cfree’ undeclared (first use in this function)
   register_foreign_function((void*)&cfree,"cfree",1024);
                                     ^~~~~
linux.c:680:37: note: each undeclared identifier is reported only once for each function it appears in

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0_libressl_20171111-114143

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
  [4]   pypy3 (fallback)
  [5]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *



emerge -qpv dev-lisp/clisp
[ebuild  N    ] dev-lisp/clisp-2.49-r101  USE="berkdb gdbm pcre readline unicode zlib -X -dbus -fastcgi -gtk -hyperspec -pari -postgres (-svm) -threads"
Comment 1 Toralf Förster gentoo-dev 2017-11-15 18:50:36 UTC
Created attachment 504434 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-11-15 18:50:40 UTC
Created attachment 504436 [details]
dev-lisp:clisp-2.49-r101:20171114-172732.log
Comment 3 Toralf Förster gentoo-dev 2017-11-15 18:50:44 UTC
Created attachment 504438 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-11-15 18:50:48 UTC
Created attachment 504440 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-11-15 18:50:52 UTC
Created attachment 504442 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-11-15 18:50:56 UTC
Created attachment 504444 [details]
logs.tbz2
Comment 7 giskard 2017-12-06 12:27:07 UTC
I'm also stuck here, same problem, having tried cblas-2.49-r100 cblas-2.49.60. 
My gcc version is 7.2.0, installed with glibc-2.26-r3
Comment 8 giskard 2017-12-07 03:38:30 UTC
well, I should finally got this problem solved! cfree is removed from glibc-2.26-r3, on the official site sourceforge, there has the updated code for it, and another problem is for an output statu not exist in db-4.8(thought it's there in db-5.3), just comment it out.
I'm now using clisp-2.49.60 from overlay lisp, with glibc-2.26-r3 and gcc-7.2
Now after add several user patches, my system is nearly come back to life!
Comment 9 Andrey Grozin gentoo-dev 2017-12-07 04:53:48 UTC
(In reply to rtgiskard from comment #8)
> I'm now using clisp-2.49.60 from overlay lisp, with glibc-2.26-r3 and gcc-7.2
> Now after add several user patches, my system is nearly come back to life!
How have you managed to compiled 2.49.60 from the lisp overlay? For me it fails with

linux.c:678:37: error: ‘cfree’ undeclared (first use in this function)
Comment 10 giskard 2017-12-07 06:43:21 UTC
now my desktop finally come back to life! till now I can upload my patch here
Comment 11 giskard 2017-12-07 06:47:23 UTC
Created attachment 508628 [details, diff]
patch for clisp-2.49.60 with reference to the official code update

create directory /etc/portage/patches/dev-lisp/clisp-2.49.60 and put this patch here as user patch, then clisp-2.49.60 can be built with gcc-7.2.0, glibc-2.26-r3 and sys-libs/db ..
Comment 12 Chema Alonso Josa (RETIRED) gentoo-dev 2017-12-10 16:00:00 UTC
(In reply to rtgiskard from comment #11)
> Created attachment 508628 [details, diff] [details, diff]
> patch for clisp-2.49.60 with reference to the official code update
> 

Thanks for the patch.

I've pushed it to the lisp overlay, please test and continue in bug 638942
Comment 13 Chema Alonso Josa (RETIRED) gentoo-dev 2018-03-06 19:43:27 UTC
=dev-lisp/clisp-2.49-r101 removed from the tree, current clisp version is =dev-lisp/clisp-2.49.90