[MacPorts] #35909: emacs-app @24.2 build error under Mountain Lion (10.8)
#35909: emacs-app @24.2 build error under Mountain Lion (10.8) ----------------------------+----------------------------------------------- Reporter: chalin@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: ----------------------------+----------------------------------------------- I upgraded to Mountain Lion, uninstalled MacPorts, re-installed it. Attempts to build emacs-app @24.2 report an error; hence the build fails. Note that everything that emacs-app depends on was successfully built and installed. The first error reported is: {{{ image.c:8099:10: fatal error: 'librsvg/rsvg.h' file not found #include <librsvg/rsvg.h> }}} The full emacs-app build log file is attached. -- Ticket URL: <https://trac.macports.org/ticket/35909> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35909: emacs-app @24.2 build error under Mountain Lion (10.8) ----------------------------+----------------------------------------------- Reporter: chalin@… | Owner: css@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: emacs-app ----------------------------+----------------------------------------------- Changes (by ciserlohn@…): * owner: macports-tickets@… => css@… * cc: hum@… (added) * port: => emacs-app * keywords: => mountainlion Comment: Works for me on Lion. In the future please cc the maintainer and fill in the port field. -- Ticket URL: <https://trac.macports.org/ticket/35909#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35909: emacs-app @24.2 build error under Mountain Lion (10.8) ----------------------------+----------------------------------------------- Reporter: chalin@… | Owner: hum@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: emacs-app ----------------------------+----------------------------------------------- Changes (by hum@…): * owner: css@… => hum@… * status: new => assigned Comment: I have built the port successfully on Mountain Lion. I wonder the configuration phase was skipped during your build according to your main log file. Could you try to clean and re-built the port again? In addition, if you deactivate librsvg, then rsvg.h will be not included. -- Ticket URL: <https://trac.macports.org/ticket/35909#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35909: emacs-app @24.2 build error under Mountain Lion (10.8) ----------------------------+----------------------------------------------- Reporter: chalin@… | Owner: hum@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: emacs-app ----------------------------+----------------------------------------------- Comment(by chalin@…): Replying to [comment:2 hum@…]:
... Could you try to clean and re-built the port again? In addition, if you deactivate librsvg, then rsvg.h will be not included.
Here is what I have tried: * I uninstalled and then re-installed MacPorts; then attempted to install emacs-app and I get the same error. * I then tried cleaning all (vile) ports, then attempted to install emacs-app: same build error. * Attempting to deactivate libsvg reported that it was not active (could it be that the dependencies or not being properly computed?). * So I installed libsvg, then attempted to build emacs-app: same build error. * Deactivated libsvg. Attempt to build emacs-app: same build error. -- Ticket URL: <https://trac.macports.org/ticket/35909#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35909: emacs-app @24.2 build error under Mountain Lion (10.8) ----------------------------+----------------------------------------------- Reporter: chalin@… | Owner: hum@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: emacs-app ----------------------------+----------------------------------------------- Comment(by hum@…): Replying to [comment:3 chalin@…]:
* I then tried cleaning all (vile) ports, then attempted to install emacs-app: same build error.
If librsvg is installed, I suppose you will find the following output in the configure phase: {{{ :info:configure checking for librsvg-2.0 >= 2.11.0... yes :info:configure checking RSVG_CFLAGS... -D_REENTRANT -I/opt/local/include/librsvg-2.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/cairo -I/opt/local/include/libpng14 -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 :info:configure checking RSVG_LIBS... -L/opt/local/lib -lrsvg-2 -lm -lgio-2.0 -lgdk_pixbuf-2.0 -lcairo -lgobject-2.0 -lglib-2.0 -lintl }}} How about doing the following: {{{ $ sudo port uninstall emacs-app $ sudo port clean emacs-app $ sudo port deactivate installed $ sudo port -v install emacs-app }}} -- Ticket URL: <https://trac.macports.org/ticket/35909#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35909: emacs-app @24.2 build error under Mountain Lion (10.8) ----------------------------+----------------------------------------------- Reporter: chalin@… | Owner: hum@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: mountainlion | Port: emacs-app ----------------------------+----------------------------------------------- Comment(by chalin@…): Thanks for the further suggestions. I ended up trying this first and it worked: * Un- and re-install MacPorts. * Install librsvg. * Install emacs-app. I suppose that the original problem was then due to an inaccurate computation of dependencies (or are dependent ports identified manually)? -- Ticket URL: <https://trac.macports.org/ticket/35909#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#35909: emacs-app @24.2 build error under Mountain Lion (10.8) -----------------------------+---------------------------------------------- Reporter: chalin@… | Owner: hum@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: worksforme | Keywords: mountainlion Port: emacs-app | -----------------------------+---------------------------------------------- Changes (by hum@…): * status: assigned => closed * resolution: => worksforme Comment:
I suppose that the original problem was then due to an inaccurate computation of dependencies (or are dependent ports identified manually)?
Actually, I have no idea what caused your problem. Anyway, please feel free to report any problems in the future. Thanks. -- Ticket URL: <https://trac.macports.org/ticket/35909#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts