{"action":"closed","issue":{"url":"https://api.github.com/repos/DragonFlyBSD/DPorts/issues/173","repository_url":"https://api.github.com/repos/DragonFlyBSD/DPorts","labels_url":"https://api.github.com/repos/DragonFlyBSD/DPorts/issues/173/labels{/name}","comments_url":"https://api.github.com/repos/DragonFlyBSD/DPorts/issues/173/comments","events_url":"https://api.github.com/repos/DragonFlyBSD/DPorts/issues/173/events","html_url":"https://github.com/DragonFlyBSD/DPorts/issues/173","id":133358000,"number":173,"title":"lang/python27 make expat","user":{"login":"davshao","id":317509,"avatar_url":"https://avatars.githubusercontent.com/u/317509?v=3","gravatar_id":"","url":"https://api.github.com/users/davshao","html_url":"https://github.com/davshao","followers_url":"https://api.github.com/users/davshao/followers","following_url":"https://api.github.com/users/davshao/following{/other_user}","gists_url":"https://api.github.com/users/davshao/gists{/gist_id}","starred_url":"https://api.github.com/users/davshao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davshao/subscriptions","organizations_url":"https://api.github.com/users/davshao/orgs","repos_url":"https://api.github.com/users/davshao/repos","events_url":"https://api.github.com/users/davshao/events{/privacy}","received_events_url":"https://api.github.com/users/davshao/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-02-12T22:23:08Z","updated_at":"2016-02-16T05:30:49Z","closed_at":"2016-02-16T05:30:49Z","body":"Move /usr/local and /var/db/pkg.  Clean /usr/obj/dports.  Build dports from scratch using\r\nmake clean && make NO_DIALOG=yes install clean\r\nand /etc/make.conf\r\n\r\nCFLAGS+=-g\r\nSTRIP=\r\n\r\nWITH_PKGNG=yes\r\nDISABLE_VULNERABILITIES=yes\r\n\r\nWITH_VIM_OPTIONS=yes\r\n\r\nBuilding lang/python27 fails with:\r\n\r\n*** WARNING: renaming \"pyexpat\" since importing it failed: build/lib.dragonfly-4.5-DEVELOPMENT-x86_64-2.7/pyexpat.so: Undefined symbol \"XML_ErrorString\"\r\n\r\npkg-static: Unable to access file /usr/obj/dports/lang/python27/stage/usr/local/lib/python2.7/lib-dynload/_elementtree.so: No such file or directory\r\npkg-static: Unable to access file /usr/obj/dports/lang/python27/stage/usr/local/lib/python2.7/lib-dynload/pyexpat.so: No such file or directory\r\n\r\nI was able to get python27 to at least build adding -lexpat to the Makefile to get the line:\r\n\r\nNLS_LIBS=               -L${LOCALBASE}/lib -lintl -lexpat\r\n\r\n\r\n\r\n"}}