[MacPorts] #35695: emacs @24.1 compilation error
#35695: emacs @24.1 compilation error ------------------------------------+--------------------------------------- Reporter: e.greenwood2@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: emacs @24.1 ------------------------------------+--------------------------------------- My machine is running 10.6 with Xcode 4.0.2. Whenever I attempt to build emacs from source (for example, by choosing +gtk), the build fails with "shell command failed." An examination of the log shows compilation errors in dired.c. {{{ :info:build dired.c: In function ‘directory_files_internal’: :info:build dired.c:227: error: ‘struct dirent’ has no member named ‘d_ino’ :info:build dired.c: In function ‘file_name_completion’: :info:build dired.c:525: error: ‘struct dirent’ has no member named ‘d_ino’ :info:build dired.c: In function ‘Ffile_attributes’: :info:build dired.c:973: warning: comparison is always true due to limited range of data type :info:build dired.c:973: warning: comparison is always true due to limited range of data type :info:build dired.c:977: warning: comparison is always true due to limited range of data type :info:build dired.c:977: warning: comparison is always true due to limited range of data type :info:build dired.c:1005: warning: comparison is always true due to limited range of data type :info:build dired.c:1005: warning: comparison is always true due to limited range of data type :info:build dired.c:1005: warning: comparison is always true due to limited range of data type :info:build dired.c:1005: warning: comparison is always true due to limited range of data type :info:build dired.c:1005: warning: comparison is always true due to limited range of data type :info:build dired.c:1005: warning: comparison is always true due to limited range of data type :info:build make[1]: *** [dired.o] Error 1 }}} What could be causing this to occur? I see the same problem on my other machine running 10.7 with Xcode 4.4. I just upgraded that machine from 10.6, and have tried removing and reinstalling both Xcode and MacPorts. I can't find a similar ticket, but it seems strange that this would be effecting both of my machines but nobody else. -- Ticket URL: <https://trac.macports.org/ticket/35695> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35695: emacs @24.1 compilation error ------------------------------------+--------------------------------------- Reporter: e.greenwood2@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: emacs @24.1 ------------------------------------+--------------------------------------- Comment(by e.greenwood2@…): Whoops! A very poorly behaved installer decided to overwrite the header for /usr/include/dirent.h with it's own, obviously not containing a definition for dirent.d_ino, I restored my headers in /usr/local from the Xcode SDK, and things work correctly. Sorry for bothering everyone! Please close this ticket. -- Ticket URL: <https://trac.macports.org/ticket/35695#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35695: emacs @24.1 compilation error -------------------------------------+-------------------------------------- Reporter: e.greenwood2@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: emacs | -------------------------------------+-------------------------------------- Changes (by ryandesign@…): * status: new => closed * cc: dports@… (added) * resolution: => invalid * port: emacs @24.1 => emacs Comment: When you said "/usr/local" above I hope you meant "/usr". It's not supported to install things in /usr/local while using MacPorts because this often interferes with things. -- Ticket URL: <https://trac.macports.org/ticket/35695#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35695: emacs @24.1 compilation error -------------------------------------+-------------------------------------- Reporter: e.greenwood2@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: invalid | Keywords: Port: emacs | -------------------------------------+-------------------------------------- Comment(by e.greenwood2@…): Yes, you are correct, I meant /usr/include! Thanks. -- Ticket URL: <https://trac.macports.org/ticket/35695#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts