[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
[issue11013] Build of 2.7 svn fails in readline
Geoge R. Goffe grgo...@yahoo.com 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 rep...@bugs.python.org 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 grgo...@yahoo.com 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 rep...@bugs.python.org wrote: From: Martin v. Löwis rep...@bugs.python.org 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 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 rep...@bugs.python.org http://bugs.python.org/issue11013 ___ -- Added file: http://bugs.python.org/file20553/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11013 ___table cellspacing=0 cellpadding=0 border=0 trtd valign=top style=font: inherit;Martin,brbrI'm looking at the file right now. history.h is a link to readline.h which has 6771 characters in it.brbrGeorge...brbrgoffe@goffeg bash-4.1 /usr/lsd };-) find . -name 'readline.h' -lsbr205381nbsp;nbsp;nbsp; 8 -r--r--r--nbsp;nbsp; 1 goffenbsp;nbsp;nbsp; nonconfnbsp;nbsp;nbsp;nbsp;nbsp; 6771 Nov 23 11:49 ./Linux/include/readline/readline.hbrgoffe@goffeg bash-4.1 /usr/lsd };-) l /usr/lsd/Linux/include/readline/history.hbrlrwxrwxrwx 1 goffe nonconf 10 Nov 23 11:49 /usr/lsd/Linux/include/readline/history.h -gt; readline.hbrgoffe@goffeg bash-4.1 /usr/lsd };-) l /usr/lsd/Linux/include/readline/readline.hbr-r--r--r-- 1 goffe nonconf 6771 Nov 23 11:49 /usr/lsd/Linux/include/readline/readline.hbrbrbrbrbrbrIt's not what you know that hurts you, It's what you know that ain't so. Wil Rogersbrbr--- On bThu, 1/27/11, Martin v. Löwis ilt;rep...@bugs.python.orggt;/i/b wrote:brblockquote style=border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;brFrom: Martin v. Löwis lt;rep...@bugs.python.orggt;brSubject: [issue11013] Build of 2.7 svn fails in readlinebrTo: grgo...@yahoo.combrDate: Thursday, January 27, 2011, 11:38 AMbrbrdiv class=plainMailbrMartin v. Löwis lt;a ymailto=mailto:mar...@v.loewis.de; href=/mc/compose?to=mar...@v.loewis.demar...@v.loewis.de/agt; added the comment:brbrWhat 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.brbr--brbr___brPython tracker lt;a ymailto=mailto:rep...@bugs.python.org; href=/mc/compose?to=rep...@bugs.python.orgrep...@bugs.python.org/agt;brlt;a href=http://bugs.python.org/issue11013; target=_blankhttp://bugs.python.org/issue11013/agt;br___br/div/blockquote/td/tr/tablebr___ 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 grgo...@yahoo.com 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 rep...@bugs.python.org wrote: From: Martin v. Löwis rep...@bugs.python.org 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 mar...@v.loewis.de 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 rep...@bugs.python.org http://bugs.python.org/issue11013 ___ -- Added file: http://bugs.python.org/file20554/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11013 ___table cellspacing=0 cellpadding=0 border=0 trtd valign=top style=font: inherit;Martin,brbrI traced back to where that readline installation came from... It's the latest version from ftp.gnu.org + patches.brbrGeorge...brbrIt's not what you know that hurts you, It's what you know that ain't so. Wil Rogersbrbr--- On bThu, 1/27/11, Martin v. Löwis ilt;rep...@bugs.python.orggt;/i/b wrote:brblockquote style=border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;brFrom: Martin v. Löwis lt;rep...@bugs.python.orggt;brSubject: [issue11013] Build of 2.7 svn fails in readlinebrTo: grgo...@yahoo.combrDate: Thursday, January 27, 2011, 12:12 PMbrbrdiv class=plainMailbrMartin v. Löwis lt;a ymailto=mailto:mar...@v.loewis.de; href=/mc/compose?to=mar...@v.loewis.demar...@v.loewis.de/agt; added the comment:brbrgt; I'm looking at the file right now. history.h is a link to readline.hbrbrAh, that's wrong. It must be a separate file, entirely different frombrreadline.h.brbr--brbr___brPython tracker lt;a ymailto=mailto:rep...@bugs.python.org; href=/mc/compose?to=rep...@bugs.python.orgrep...@bugs.python.org/agt;brlt;a href=http://bugs.python.org/issue11013; target=_blankhttp://bugs.python.org/issue11013/agt;br___br/div/blockquote/td/tr/tablebr ___ 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 grgo...@yahoo.com 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 rep...@bugs.python.org wrote: From: Martin v. Löwis rep...@bugs.python.org 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 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 that you consider it correct? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11013 ___ -- Added file: http://bugs.python.org/file20558/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11013 ___table cellspacing=0 cellpadding=0 border=0 trtd valign=top style=font: inherit;Martin,brbrAfter the rebuild/reinstall of readline, readline.h is different than history.h... AND NOT A LINK. NO OTHER CHANGES. Same build script...brbrI did NOT do svn up but this current build attempt succeeded. AND THE BEST PART... command line editing works now.nbsp; 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.brbrI wonder why I had this problem with readline? Maybe it only happens with a fresh install? I'll try that.brbrLet me do an svn up and re-build... This worked WITHOUT INCIDENT. Go figure...brbrI guess you can close this bug... If I discover what the problem is/was, I'll let you guys know.brbrTHANKS for all your help...brbrGeorge...brbrbrIt's not what you know that hurts you, It's what you know that ain't so. Wil Rogersbrbr--- On bThu, 1/27/11, Martin v. Löwis ilt;rep...@bugs.python.orggt;/i/b wrote:brblockquote style=border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;brFrom: Martin v. Löwis lt;rep...@bugs.python.orggt;brSubject: [issue11013] Build of 2.7 svn fails in readlinebrTo: grgo...@yahoo.combrDate: Thursday, January 27, 2011, 12:29 PMbrbrdiv class=plainMailbrMartin v. Löwis lt;a ymailto=mailto:mar...@v.loewis.de; href=/mc/compose?to=mar...@v.loewis.demar...@v.loewis.de/agt; added the comment:brbrgt; I traced back to where that readline installation came from... It'sbrgt; the latest version from ftp.gnu.org + patches.brbrDid you mean to imply that you have now fixed your installation, or thatbryou consider it correct?brbr--brbr___brPython tracker lt;a ymailto=mailto:rep...@bugs.python.org; href=/mc/compose?to=rep...@bugs.python.orgrep...@bugs.python.org/agt;brlt;a href=http://bugs.python.org/issue11013; target=_blankhttp://bugs.python.org/issue11013/agt;br___br/div/blockquote/td/tr/tablebr ___ 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 grgo...@yahoo.com 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 rep...@bugs.python.org wrote: From: Martin v. Löwis rep...@bugs.python.org 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 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 that you consider it correct? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11013 ___ -- Added file: http://bugs.python.org/file20560/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11013 ___table cellspacing=0 cellpadding=0 border=0 trtd valign=top style=font: inherit;Martin,brbrcommand line editing with 3.2 (I just did a svn co) works now as well...brbrRegards and have a GREAT day,brbrGeorge...brbrIt's not what you know that hurts you, It's what you know that ain't so. Wil Rogersbrbr--- On bThu, 1/27/11, Martin v. Löwis ilt;rep...@bugs.python.orggt;/i/b wrote:brblockquote style=border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;brFrom: Martin v. Löwis lt;rep...@bugs.python.orggt;brSubject: [issue11013] Build of 2.7 svn fails in readlinebrTo: grgo...@yahoo.combrDate: Thursday, January 27, 2011, 12:29 PMbrbrdiv class=plainMailbrMartin v. Löwis lt;a ymailto=mailto:mar...@v.loewis.de; href=/mc/compose?to=mar...@v.loewis.demar...@v.loewis.de/agt; added the comment:brbrgt; I traced back to where that readline installation came from... It'sbrgt; the latest version from ftp.gnu.org + patches.brbrDid you mean to imply that you have now fixed your installation, or thatbryou consider it correct?brbr--brbr___brPython tracker lt;a ymailto=mailto:rep...@bugs.python.org; href=/mc/compose?to=rep...@bugs.python.orgrep...@bugs.python.org/agt;brlt;a href=http://bugs.python.org/issue11013; target=_blankhttp://bugs.python.org/issue11013/agt;br___br/div/blockquote/td/tr/tablebr ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue11013] Build of CVS version 2.7 fails in readline
New submission from Geoge R. Goffe grgo...@yahoo.com: 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 grgo...@yahoo.com 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 rep...@bugs.python.org 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 br...@python.org 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 rep...@bugs.python.org http://bugs.python.org/issue11013 ___ -- Added file: http://bugs.python.org/file20526/unnamed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11013 ___htmlheadstyle type=text/css!-- DIV {margin:0px;} --/style/headbodydiv style=font-family:times new roman,new york,times,serif;font-size:12ptBrett,brbrTHANKS for your response, it's appreciated.brbrYes 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.brbrRegards and THANKS for your response.brbrGeorge...brdivnbsp;/divIt's not what you know that hurts you, It's what you know that ain't so. Wil Rogersdivbr/divdiv style=font-family: times new roman,new york,times,serif; font-size: 12pt;brdiv style=font-family: arial,helvetica,sans-serif; font-size: 13px;font face=Tahoma size=2hr size=1bspan style=font-weight: bold;From:/span/b Brett Cannon lt;rep...@bugs.python.orggt;brbspan style=font-weight: bold;To:/span/b grgo...@yahoo.combrbspan style=font-weight: bold;Sent:/span/b Tue, January 25, 2011 6:14:56 PMbrbspan style=font-weight: bold;Subject:/span/b [issue11013] Build of 2.7 svn fails in readlinebr/fontbr brBrett Cannon lt;a ymailto=mailto:br...@python.org; href=mailto:br...@python.org;br...@python.org/agt; added the comment:brbrDid you try a `make distclean` before compiling?brbr--brnosy: +brett.cannonbrtitle: Build of CVS version 2.7 fails in readline -gt; Build ofnbsp; 2.7 svn fails in readlinebrbr___brPython tracker lt;a ymailto=mailto:rep...@bugs.python.org; href=mailto:rep...@bugs.python.org;rep...@bugs.python.org/agt;brspanlt;a target=_blank href=http://bugs.python.org/issue11013;http://bugs.python.org/issue11013/agt;/spanbr___br/div/div /divbr /body/html___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com