[issue11013] Build of CVS version 2.7 fails in readline
New submission from Geoge R. Goffe : Howdy, I just updated my copy of the SVN version of 2.7 and got the following error messages. Did I do something wrong? Regards, George... building dbm using bdb building 'readline' extension gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -g -O0 -Wall -Wstrict-prototypes -I/usr/lsd/Linux/include -I. -IInclude -I./Include -I/usr/local/include -I/usr/local/google/tools/python/release27-maint/Include -I/usr/local/google/tools/python/release27-maint -c /usr/local/google/tools/python/release27-maint/Modules/readline.c -o build/temp.linux-x86_64-2.7-pydebug/usr/local/google/tools/python/release27-maint/Modules/readline.o /usr/local/google/tools/python/release27-maint/Modules/readline.c: In function ‘write_history_file’: /usr/local/google/tools/python/release27-maint/Modules/readline.c:147: warning: implicit declaration of function ‘history_truncate_file’ /usr/local/google/tools/python/release27-maint/Modules/readline.c: In function ‘_py_free_history_entry’: /usr/local/google/tools/python/release27-maint/Modules/readline.c:385: warning: passing argument 1 of ‘free’ discards qualifiers from pointer target type /usr/include/stdlib.h:488: note: expected ‘void *’ but argument is of type ‘const char *’ /usr/local/google/tools/python/release27-maint/Modules/readline.c: In function ‘py_replace_history’: /usr/local/google/tools/python/release27-maint/Modules/readline.c:436: warning: implicit declaration of function ‘replace_history_entry’ /usr/local/google/tools/python/release27-maint/Modules/readline.c:436: warning: assignment makes pointer from integer without a cast /usr/local/google/tools/python/release27-maint/Modules/readline.c: In function ‘_py_get_history_length’: /usr/local/google/tools/python/release27-maint/Modules/readline.c:523: error: ‘HISTORY_STATE’ undeclared (first use in this function) /usr/local/google/tools/python/release27-maint/Modules/readline.c:523: error: (Each undeclared identifier is reported only once /usr/local/google/tools/python/release27-maint/Modules/readline.c:523: error: for each function it appears in.) /usr/local/google/tools/python/release27-maint/Modules/readline.c:523: error: ‘hist_st’ undeclared (first use in this function) /usr/local/google/tools/python/release27-maint/Modules/readline.c:523: warning: implicit declaration of function ‘history_get_history_state’ /usr/local/google/tools/python/release27-maint/Modules/readline.c: In function ‘insert_text’: /usr/local/google/tools/python/release27-maint/Modules/readline.c:628: warning: implicit declaration of function ‘rl_insert_text’ /usr/local/google/tools/python/release27-maint/Modules/readline.c: In function ‘flex_complete’: /usr/local/google/tools/python/release27-maint/Modules/readline.c:847: error: ‘rl_completion_suppress_append’ undeclared (first use in this function) /usr/local/google/tools/python/release27-maint/Modules/readline.c:853: warning: implicit declaration of function ‘rl_completion_matches’ /usr/local/google/tools/python/release27-maint/Modules/readline.c:853: error: ‘rl_compentry_func_t’ undeclared (first use in this function) /usr/local/google/tools/python/release27-maint/Modules/readline.c:853: error: expected expression before ‘)’ token /usr/local/google/tools/python/release27-maint/Modules/readline.c: In function ‘setup_readline’: /usr/local/google/tools/python/release27-maint/Modules/readline.c:886: warning: passing argument 2 of ‘rl_bind_key_in_map’ from incompatible pointer type /usr/lsd/Linux/include/readline/readline.h:195: note: expected ‘int (*)(const char *, int)’ but argument is of type ‘int (*)(int, int)’ /usr/local/google/tools/python/release27-maint/Modules/readline.c:887: warning: passing argument 2 of ‘rl_bind_key_in_map’ from incompatible pointer type /usr/lsd/Linux/include/readline/readline.h:195: note: expected ‘int (*)(const char *, int)’ but argument is of type ‘int (*)(int, int)’ /usr/local/google/tools/python/release27-maint/Modules/readline.c: In function ‘readline_until_enter_or_signal’: /usr/local/google/tools/python/release27-maint/Modules/readline.c:940: error: ‘rl_catch_signals’ undeclared (first use in this function) /usr/local/google/tools/python/release27-maint/Modules/readline.c:979: warning: implicit declaration of function ‘rl_free_line_state’ /usr/local/google/tools/python/release27-maint/Modules/readline.c:980: warning: implicit declaration of function ‘rl_cleanup_after_signal’ Python build finished, but the necessary bits to build these modules were not found: bsddb185 dl gdbm imageopsunaudiodev To find the necessary bits, look in setup.py in detect_modules() for the module's name. Failed to build these modules: readline -- components: Build messages: 127080 nosy: grgo...@yahoo.com priority: normal severity: normal status: open title: Build of CVS version 2.7 fails in readline type: compile
[issue11013] Build of 2.7 svn fails in readline
Geoge R. Goffe added the comment: Brett, THANKS for your response, it's appreciated. Yes I did... I always do that. I use a more or less standard script to build software. I can send the script tomorrow if you would like to see it. Regards and THANKS for your response. George... "It's not what you know that hurts you, It's what you know that ain't so." Wil Rogers From: Brett Cannon To: grgo...@yahoo.com Sent: Tue, January 25, 2011 6:14:56 PM Subject: [issue11013] Build of 2.7 svn fails in readline Brett Cannon added the comment: Did you try a `make distclean` before compiling? -- nosy: +brett.cannon title: Build of CVS version 2.7 fails in readline -> Build of 2.7 svn fails in readline ___ Python tracker <http://bugs.python.org/issue11013> ___ -- Added file: http://bugs.python.org/file20526/unnamed ___ Python tracker <http://bugs.python.org/issue11013> ___<!-- DIV {margin:0px;} -->Brett,THANKS for your response, it's appreciated.Yes I did... I always do that. I use a more or less standard script to build software. I can send the script tomorrow if you would like to see it.Regards and THANKS for your response.George... "It's not what you know that hurts you, It's what you know that ain't so." Wil RogersFrom: Brett Cannon <rep...@bugs.python.org>To: grgo...@yahoo.comSent: Tue, January 25, 2011 6:14:56 PMSubject: [issue11013] Build of 2.7 svn fails in readline Brett Cannon <mailto:br...@python.org"; href="mailto:br...@python.org";>br...@python.org> added the comment:Did you try a `make distclean` before compiling?--nosy: +brett.cannontitle: Build of CVS version 2.7 fails in readline -> Build of 2.7 svn fails in readline___Python tracker <mailto:rep...@bugs.python.org"; href="mailto:rep...@bugs.python.org";>rep...@bugs.python.org><http://bugs.python.org/issue11013";>http://bugs.python.org/issue11013>___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11013] Build of 2.7 svn fails in readline
Geoge R. Goffe added the comment: Brett, Here's the file you requested. Thanks for your help. George... -- status: pending -> open Added file: http://bugs.python.org/file20552/readline.i.gz ___ Python tracker <http://bugs.python.org/issue11013> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11013] Build of 2.7 svn fails in readline
Geoge R. Goffe added the comment: Martin, I'm looking at the file right now. history.h is a link to readline.h which has 6771 characters in it. George... goffe@goffeg bash-4.1 /usr/lsd };-) find . -name 'readline.h' -ls 205381   8 -r--r--r--  1 goffe   nonconf     6771 Nov 23 11:49 ./Linux/include/readline/readline.h goffe@goffeg bash-4.1 /usr/lsd };-) l /usr/lsd/Linux/include/readline/history.h lrwxrwxrwx 1 goffe nonconf 10 Nov 23 11:49 /usr/lsd/Linux/include/readline/history.h -> readline.h goffe@goffeg bash-4.1 /usr/lsd };-) l /usr/lsd/Linux/include/readline/readline.h -r--r--r-- 1 goffe nonconf 6771 Nov 23 11:49 /usr/lsd/Linux/include/readline/readline.h "It's not what you know that hurts you, It's what you know that ain't so." Wil Rogers --- On Thu, 1/27/11, Martin v. Löwis wrote: From: Martin v. Löwis Subject: [issue11013] Build of 2.7 svn fails in readline To: grgo...@yahoo.com Date: Thursday, January 27, 2011, 11:38 AM Martin v. Löwis added the comment: What is /usr/lsd/Linux? This seems broken. Please take a look at /usr/lsd/Linux/include/readline/history.h - it appears to be an empty file. Make sure you have a working copy of the readline header files installed, and make sure the build process picks them up. -- ___ Python tracker <http://bugs.python.org/issue11013> ___ -- Added file: http://bugs.python.org/file20553/unnamed ___ Python tracker <http://bugs.python.org/issue11013> ___Martin,I'm looking at the file right now. history.h is a link to readline.h which has 6771 characters in it.George...goffe@goffeg bash-4.1 /usr/lsd };-) find . -name 'readline.h' -ls205381 8 -r--r--r-- 1 goffe nonconf 6771 Nov 23 11:49 ./Linux/include/readline/readline.hgoffe@goffeg bash-4.1 /usr/lsd };-) l /usr/lsd/Linux/include/readline/history.hlrwxrwxrwx 1 goffe nonconf 10 Nov 23 11:49 /usr/lsd/Linux/include/readline/history.h -> readline.hgoffe@goffeg bash-4.1 /usr/lsd };-) l /usr/lsd/Linux/include/readline/readline.h-r--r--r-- 1 goffe nonconf 6771 Nov 23 11:49 /usr/lsd/Linux/include/readline/readline.h"It's not what you know that hurts you, It's what you know that ain't so." Wil Rogers--- On Thu, 1/27/11, Martin v. Löwis <rep...@bugs.python.org> wrote:From: Martin v. Löwis <rep...@bugs.python.org>Subject: [issue11013] Build of 2.7 svn fails in readlineTo: grgo...@yahoo.comDate: Thursday, January 27, 2011, 11:38 AMMartin v. Löwis <mailto:mar...@v.loewis.de"; href="/mc/compose?to=mar...@v.loewis.de">mar...@v.loewis.de> added the comment:What is /usr/lsd/Linux? This seems broken. Please take a look at /usr/lsd/Linux/include/readline/history.h - it appears to be an empty file. Make sure you have a working copy of the readline header files installed, and make sure the build process picks them up.--___Python tracker <mailto:rep...@bugs.python.org"; href="/mc/compose?to=rep...@bugs.python.org">rep...@bugs.python.org><http://bugs.python.org/issue11013"; target="_blank">http://bugs.python.org/issue11013>__ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11013] Build of 2.7 svn fails in readline
Geoge R. Goffe added the comment: Martin, I traced back to where that readline installation came from... It's the latest version from ftp.gnu.org + patches. George... "It's not what you know that hurts you, It's what you know that ain't so." Wil Rogers --- On Thu, 1/27/11, Martin v. Löwis wrote: From: Martin v. Löwis Subject: [issue11013] Build of 2.7 svn fails in readline To: grgo...@yahoo.com Date: Thursday, January 27, 2011, 12:12 PM Martin v. Löwis added the comment: > I'm looking at the file right now. history.h is a link to readline.h Ah, that's wrong. It must be a separate file, entirely different from readline.h. -- ___ Python tracker <http://bugs.python.org/issue11013> ___ -- Added file: http://bugs.python.org/file20554/unnamed ___ Python tracker <http://bugs.python.org/issue11013> ___Martin,I traced back to where that readline installation came from... It's the latest version from ftp.gnu.org + patches.George..."It's not what you know that hurts you, It's what you know that ain't so." Wil Rogers--- On Thu, 1/27/11, Martin v. Löwis <rep...@bugs.python.org> wrote:From: Martin v. Löwis <rep...@bugs.python.org>Subject: [issue11013] Build of 2.7 svn fails in readlineTo: grgo...@yahoo.comDate: Thursday, January 27, 2011, 12:12 PMMartin v. Löwis <mailto:mar...@v.loewis.de"; href="/mc/compose?to=mar...@v.loewis.de">mar...@v.loewis.de> added the comment:> I'm looking at the file right now. history.h is a link to readline.hAh, that's wrong. It must be a separate file, entirely different fromreadline.h.--___Python tracker <mailto:rep...@bugs.python.org"; href="/mc/compose?to=rep...@bugs.python.org">rep...@bugs.python.org><http://bugs.python.org/issue11013"; target="_blank">http://bugs.python.org/issue11013>___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11013] Build of 2.7 svn fails in readline
Geoge R. Goffe added the comment: Martin, After the rebuild/reinstall of readline, readline.h is different than history.h... AND NOT A LINK. NO OTHER CHANGES. Same build script... I did NOT do "svn up" but this current build attempt succeeded. AND THE BEST PART... command line editing works now. This probably explains why my python-3.x build and IDLE didn't do command line editing either. Sigh... To err is human, to get things really screwed up requires a computer. I wonder why I had this problem with readline? Maybe it only happens with a fresh install? I'll try that. Let me do an svn up and re-build... This worked WITHOUT INCIDENT. Go figure... I guess you can close this bug... If I discover what the problem is/was, I'll let you guys know. THANKS for all your help... George... "It's not what you know that hurts you, It's what you know that ain't so." Wil Rogers --- On Thu, 1/27/11, Martin v. Löwis wrote: From: Martin v. Löwis Subject: [issue11013] Build of 2.7 svn fails in readline To: grgo...@yahoo.com Date: Thursday, January 27, 2011, 12:29 PM Martin v. Löwis added the comment: > I traced back to where that readline installation came from... It's > the latest version from ftp.gnu.org + patches. Did you mean to imply that you have now fixed your installation, or that you consider it correct? -- ___ Python tracker <http://bugs.python.org/issue11013> ___ -- Added file: http://bugs.python.org/file20558/unnamed ___ Python tracker <http://bugs.python.org/issue11013> ___Martin,After the rebuild/reinstall of readline, readline.h is different than history.h... AND NOT A LINK. NO OTHER CHANGES. Same build script...I did NOT do "svn up" but this current build attempt succeeded. AND THE BEST PART... command line editing works now. This probably explains why my python-3.x build and IDLE didn't do command line editing either. Sigh... To err is human, to get things really screwed up requires a computer.I wonder why I had this problem with readline? Maybe it only happens with a fresh install? I'll try that.Let me do an svn up and re-build... This worked WITHOUT INCIDENT. Go figure...I guess you can close this bug... If I discover what the problem is/was, I'll let you guys know.THANKS for all your help...George..."It's not what you know that hurts you, It's what you know that ain't so." Wil Rogers--- On Thu, 1/27/11, Martin v. Löwis <rep...@bugs.python.org> wrote:From: Martin v. Löwis <rep...@bugs.python.org>Subject: [issue11013] Build of 2.7 svn fails in readlineTo: grgo...@yahoo.comDate: Thursday, January 27, 2011, 12:29 PMMartin v. Löwis <mailto:mar...@v.loewis.de"; href="/mc/compose?to=mar...@v.loewis.de">mar...@v.loewis.de> added the comment:> I traced back to where that readline installation came from... It's> the latest version from ftp.gnu.org + patches.Did you mean to imply that you have now fixed your installation, or thatyou consider it correct?--___Python tracker <mailto:rep...@bugs.python.org"; href="/mc/compose?to=rep...@bugs.python.org">rep...@bugs.python.org><http://bugs.python.org/issue11013"; target="_blank">http://bugs.python.org/issue11013>___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11013] Build of 2.7 svn fails in readline
Geoge R. Goffe added the comment: Martin, command line editing with 3.2 (I just did a "svn co") works now as well... Regards and have a GREAT day, George... "It's not what you know that hurts you, It's what you know that ain't so." Wil Rogers --- On Thu, 1/27/11, Martin v. Löwis wrote: From: Martin v. Löwis Subject: [issue11013] Build of 2.7 svn fails in readline To: grgo...@yahoo.com Date: Thursday, January 27, 2011, 12:29 PM Martin v. Löwis added the comment: > I traced back to where that readline installation came from... It's > the latest version from ftp.gnu.org + patches. Did you mean to imply that you have now fixed your installation, or that you consider it correct? -- ___ Python tracker <http://bugs.python.org/issue11013> ___ -- Added file: http://bugs.python.org/file20560/unnamed ___ Python tracker <http://bugs.python.org/issue11013> ___Martin,command line editing with 3.2 (I just did a "svn co") works now as well...Regards and have a GREAT day,George..."It's not what you know that hurts you, It's what you know that ain't so." Wil Rogers--- On Thu, 1/27/11, Martin v. Löwis <rep...@bugs.python.org> wrote:From: Martin v. Löwis <rep...@bugs.python.org>Subject: [issue11013] Build of 2.7 svn fails in readlineTo: grgo...@yahoo.comDate: Thursday, January 27, 2011, 12:29 PMMartin v. Löwis <mailto:mar...@v.loewis.de"; href="/mc/compose?to=mar...@v.loewis.de">mar...@v.loewis.de> added the comment:> I traced back to where that readline installation came from... It's> the latest version from ftp.gnu.org + patches.Did you mean to imply that you have now fixed your installation, or thatyou consider it correct?--___Python tracker <mailto:rep...@bugs.python.org"; href="/mc/compose?to=rep...@bugs.python.org">rep...@bugs.python.org><http://bugs.python.org/issue11013"; target="_blank">http://bugs.python.org/issue11013>___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue38299] build errors - latest "git pull"
New submission from Geoge R. Goffe : SUMMARY: AddressSanitizer: 240 byte(s) leaked in 3 allocation(s). -- components: Build files: build-python-3.log messages: 353391 nosy: grgo...@yahoo.com priority: normal severity: normal status: open title: build errors - latest "git pull" type: compile error versions: Python 3.9 Added file: https://bugs.python.org/file48629/build-python-3.log ___ Python tracker <https://bugs.python.org/issue38299> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com