[MacPorts] #19540: python25 - Registry error after upgrade
#19540: python25 - Registry error after upgrade ----------------------------------------+----------------------------------- Reporter: asbjorn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.7.1 Keywords: registry error port failed | Port: python25 ----------------------------------------+----------------------------------- After an "upgrade outdated", python25 has been destroyed and left MacPorts in a non-working state, only yielding the following error message: {{{ Error: /opt/local/bin/port: port installed failed: Registry error: python25 @2.5.4_3+darwin_9+macosx not registered as installed. }}} I get this error message on most "port" arguments/actions. Please let me know if there's any debugging I can do to make it easier to figure out what's wrong. Thanks! -- Ticket URL: <http://trac.macports.org/ticket/19540> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19540: python25 - Registry error after upgrade ----------------------------------------+----------------------------------- Reporter: asbjorn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.7.1 Keywords: registry error port failed | Port: python25 ----------------------------------------+----------------------------------- Comment(by blb@…): What is the result from running the following? {{{ ls -l /opt/local/var/macports/software/python25 ls -l /opt/local/var/macports/receipts/python25 ls -l /opt/local/bin/python2.5 }}} -- Ticket URL: <http://trac.macports.org/ticket/19540#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19540: python25 - Registry error after upgrade ----------------------------------------+----------------------------------- Reporter: asbjorn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.7.1 Keywords: registry error port failed | Port: python25 ----------------------------------------+----------------------------------- Comment(by asbjorn@…): {{{ $ ls -l /opt/local/var/macports/software/python25 total 0 drwxr-xr-x 5 root admin 170B May 4 12:30 ./ drwxr-xr-x 318 asbjorn admin 11K May 4 12:22 ../ drwxr-xr-x 4 root admin 136B Nov 8 12:41 2.5.2_5+darwin_9/ drwxr-xr-x 4 root admin 136B Jan 12 09:41 2.5.2_7+darwin_9/ drwxr-xr-x 4 root admin 136B May 4 12:30 2.5.4_3+darwin_9+macosx/ $ ls -l /opt/local/var/macports/receipts/python25 total 0 drwxr-xr-x 5 root admin 170B May 4 12:31 ./ drwxr-xr-x 322 root admin 11K May 4 12:30 ../ drwxr-xr-x 4 root admin 136B Dec 5 00:12 2.5.2_5+darwin_9/ drwxr-xr-x 4 root admin 136B Apr 7 21:09 2.5.2_7+darwin_9/ drwxr-xr-x 3 root admin 102B May 4 12:31 2.5.4_3+darwin_9+macosx/ $ ls -l /opt/local/bin/python2.5 ls: /opt/local/bin/python2.5: No such file or directory }}} -- Ticket URL: <http://trac.macports.org/ticket/19540#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19540: python25 - Registry error after upgrade ----------------------------------------+----------------------------------- Reporter: asbjorn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.7.1 Keywords: registry error port failed | Port: python25 ----------------------------------------+----------------------------------- Comment(by blb@…): It looks like no python25 is currently activated, and the 2.5.4_3 has something wrong; one more ls should tell us: {{{ ls -l /opt/local/var/macports/receipts/python25/2.5.4_3+darwin_9+macosx }}} If it isn't {{{receipt.bz2}}} then it sounds like something bad happened during writing the receipt. -- Ticket URL: <http://trac.macports.org/ticket/19540#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19540: python25 - Registry error after upgrade ----------------------------------------+----------------------------------- Reporter: asbjorn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.7.1 Keywords: registry error port failed | Port: python25 ----------------------------------------+----------------------------------- Comment(by asbjorn@…): {{{ $ ls -l /opt/local/var/macports/receipts/python25/2.5.4_3+darwin_9+macosx total 0 drwxr-xr-x 3 root admin 102B May 4 12:31 ./ drwxr-xr-x 5 root admin 170B May 4 12:31 ../ -rw-r--r-- 1 root admin 0B May 4 12:31 receipt.tmp }}} -- Ticket URL: <http://trac.macports.org/ticket/19540#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19540: python25 - Registry error after upgrade ----------------------------------------+----------------------------------- Reporter: asbjorn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.7.1 Keywords: registry error port failed | Port: python25 ----------------------------------------+----------------------------------- Comment(by jmr@…): Yep, looks like port was interrupted before it wrote the receipt out. Delete the whole 2.5.4_3+darwin_9+macosx directory, there's nothing that can be salvaged there. -- Ticket URL: <http://trac.macports.org/ticket/19540#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19540: python25 - Registry error after upgrade ----------------------------------------+----------------------------------- Reporter: asbjorn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.7.1 Keywords: registry error port failed | Port: python25 ----------------------------------------+----------------------------------- Comment(by blb@…): Make sure to delete both, under var/macports/software/python25 and var/macports/receipts/python25; then you should be able to get python25 installed again. -- Ticket URL: <http://trac.macports.org/ticket/19540#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19540: python25 - Registry error after upgrade ----------------------------------------+----------------------------------- Reporter: asbjorn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.7.1 Keywords: registry error port failed | Port: python25 ----------------------------------------+----------------------------------- Comment(by asbjorn@…): So, the full paths I'm supposed to delete are {{{/opt/local/var/macports/software/python25}}} and {{{/opt/local/var/macports/receipts/python25}}}? -- Ticket URL: <http://trac.macports.org/ticket/19540#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19540: python25 - Registry error after upgrade ----------------------------------------+----------------------------------- Reporter: asbjorn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.7.1 Keywords: registry error port failed | Port: python25 ----------------------------------------+----------------------------------- Comment(by blb@…): No, just {{{2.5.4_3+darwin_9+macosx}}} ''within'' those two paths, since that version is the only one that appears to have problems. -- Ticket URL: <http://trac.macports.org/ticket/19540#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19540: python25 - Registry error after upgrade ----------------------------------------+----------------------------------- Reporter: asbjorn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.7.1 Keywords: registry error port failed | Port: python25 ----------------------------------------+----------------------------------- Comment(by asbjorn@…): Ok. I've just executed {{{ sudo rm -rf /opt/local/var/macports/software/python25/2.5.4_3+darwin_9+macosx/ sudo rm -rf /opt/local/var/macports/receipts/python25/2.5.4_3+darwin_9+macosx/ sudo port upgrade outdated }}} so let's see how that goes. I'll report back when the upgrade is done. -- Ticket URL: <http://trac.macports.org/ticket/19540#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19540: python25 - Registry error after upgrade ----------------------------------------+----------------------------------- Reporter: asbjorn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.7.1 Keywords: registry error port failed | Port: python25 ----------------------------------------+----------------------------------- Comment(by macsforever2000@…): Replying to [comment:9 asbjorn@…]:
so let's see how that goes. I'll report back when the upgrade is done.
Did it work? -- Ticket URL: <http://trac.macports.org/ticket/19540#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19540: python25 - Registry error after upgrade ----------------------------------------+----------------------------------- Reporter: asbjorn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.7.1 Keywords: registry error port failed | Port: python25 ----------------------------------------+----------------------------------- Comment(by asbjorn@…): Not really: {{{ make[3]: Nothing to be done for `all'. if /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/local/include -g -O3 -ffast-math -Wall -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DENBLEND_CACHE_IMAGES -DNDEBUG -I../include -O2 -MT enblend-enblend.o -MD -MP -MF ".deps/enblend-enblend.Tpo" -c -o enblend-enblend.o `test -f 'enblend.cc' || echo './'`enblend.cc; \ then mv -f ".deps/enblend-enblend.Tpo" ".deps/enblend-enblend.Po"; else rm -f ".deps/enblend-enblend.Tpo"; exit 1; fi /opt/local/include/GL/gl.h:1737: error: conflicting declaration 'typedef void (* PFNGLTEXIMAGE3DPROC)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid*)' /opt/local/include/GL/glew.h:1190: error: 'PFNGLTEXIMAGE3DPROC' has a previous declaration as 'typedef void (* PFNGLTEXIMAGE3DPROC)(GLenum, GLint, GLint, GLsizei, GLsizei, GLsizei, GLint, GLenum, GLenum, const GLvoid*)' /opt/local/include/GL/gl.h:1841: error: conflicting declaration 'typedef void (* PFNGLSECONDARYCOLORPOINTERPROC)(GLint, GLenum, GLsizei, const GLvoid*)' /opt/local/include/GL/glew.h:1477: error: 'PFNGLSECONDARYCOLORPOINTERPROC' has a previous declaration as 'typedef void (* PFNGLSECONDARYCOLORPOINTERPROC)(GLint, GLenum, GLsizei, GLvoid*)' /opt/local/include/GL/gl.h:1843: error: conflicting declaration 'typedef void (* PFNGLPOINTPARAMETERFVPROC)(GLenum, const GLfloat*)' /opt/local/include/GL/glew.h:1458: error: 'PFNGLPOINTPARAMETERFVPROC' has a previous declaration as 'typedef void (* PFNGLPOINTPARAMETERFVPROC)(GLenum, GLfloat*)' /opt/local/include/GL/gl.h:1845: error: conflicting declaration 'typedef void (* PFNGLPOINTPARAMETERIVPROC)(GLenum, const GLint*)' /opt/local/include/GL/glew.h:1460: error: 'PFNGLPOINTPARAMETERIVPROC' has a previous declaration as 'typedef void (* PFNGLPOINTPARAMETERIVPROC)(GLenum, GLint*)' /opt/local/include/GL/gl.h:1847: error: conflicting declaration 'typedef void (* PFNGLMULTIDRAWARRAYSPROC)(GLenum, const GLint*, const GLsizei*, GLsizei)' /opt/local/include/GL/glew.h:1455: error: 'PFNGLMULTIDRAWARRAYSPROC' has a previous declaration as 'typedef void (* PFNGLMULTIDRAWARRAYSPROC)(GLenum, GLint*, GLsizei*, GLsizei)' /opt/local/include/GL/gl.h:1848: error: conflicting declaration 'typedef void (* PFNGLMULTIDRAWELEMENTSPROC)(GLenum, const GLsizei*, GLenum, const GLvoid**, GLsizei)' /opt/local/include/GL/glew.h:1456: error: 'PFNGLMULTIDRAWELEMENTSPROC' has a previous declaration as 'typedef void (* PFNGLMULTIDRAWELEMENTSPROC)(GLenum, GLsizei*, GLenum, const GLvoid**, GLsizei)' /opt/local/include/GL/gl.h:1927: error: conflicting declaration 'typedef void (* PFNGLGETVERTEXATTRIBPOINTERVPROC)(GLuint, GLenum, GLvoid**)' /opt/local/include/GL/glew.h:1766: error: 'PFNGLGETVERTEXATTRIBPOINTERVPROC' has a previous declaration as 'typedef void (* PFNGLGETVERTEXATTRIBPOINTERVPROC)(GLuint, GLenum, GLvoid*)' /opt/local/include/GL/gl.h:1969: error: conflicting declaration 'typedef void (* PFNGLGETSHADERSOURCEPROC)(GLuint, GLsizei, GLsizei*, GLchar*)' /opt/local/include/GL/glew.h:1761: error: 'PFNGLGETSHADERSOURCEPROC' has a previous declaration as 'typedef void (* PFNGLGETSHADERSOURCEPROC)(GLint, GLsizei, GLsizei*, GLchar*)' make[3]: *** [enblend-enblend.o] Error 1 make[2]: *** [all-recursive] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 Warning: the following items did not execute (for enblend): org.macports.destroot org.macports.build Error: Unable to upgrade port: 1 }}} -- Ticket URL: <http://trac.macports.org/ticket/19540#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19540: python25 - Registry error after upgrade ----------------------------------------+----------------------------------- Reporter: asbjorn@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.7.1 Keywords: registry error port failed | Port: python25 ----------------------------------------+----------------------------------- Comment(by macsforever2000@…): We're going to need more information. For instance, what port was building when that error occurred? Can you post the complete more of the build log? -- Ticket URL: <http://trac.macports.org/ticket/19540#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19540: python25 - Registry error after upgrade ---------------------------------+------------------------------------------ Reporter: asbjorn@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 1.8.0 Component: base | Version: 1.7.1 Resolution: fixed | Keywords: registry error port failed Port: python25 | ---------------------------------+------------------------------------------ Changes (by jmr@…): * status: new => closed * resolution: => fixed * milestone: => MacPorts 1.8.0 Comment: This should be fixed by r51138. The error in comment:11 has nothing to do with the originally reported problem. -- Ticket URL: <http://trac.macports.org/ticket/19540#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#19540: python25 - Registry error after upgrade ---------------------------------+------------------------------------------ Reporter: asbjorn@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: MacPorts 1.8.0 Component: base | Version: 1.7.1 Resolution: fixed | Keywords: registry error port failed Port: python25 | ---------------------------------+------------------------------------------ Comment(by asbjorn@…): Ok, looking forward to v1.8.0 then! :) -- Ticket URL: <http://trac.macports.org/ticket/19540#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts