[MacPorts] #30769: liblrdf does not compile
#30769: liblrdf does not compile ---------------------------------------+------------------------------------ Reporter: softwarejanitor@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: Lion, liblrdf, | Port: liblrdf ---------------------------------------+------------------------------------ This library is used as part of Lyx. The specific command that illustrates the fault was: port install liblrdf ---> Computing dependencies for liblrdf ---> Building liblrdf Error: Target org.macports.build returned: shell command failed (see log for details) Log for liblrdf is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_liblrdf/liblrdf/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> The compile error messages from the log file are: :info:build libtool: compile: /Developer/usr/bin/llvm-gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I./src -I../src -O2 -arch x86_64 -I/opt/local/include/raptor2 -Wall -g -I.. -MT lrdf.lo -MD -MP -MF .deps/lrdf.Tpo -c lrdf.c -fno-common -DPIC -o .libs/lrdf.o :info:build lrdf.c:237: warning: type defaults to 'int' in declaration of 'raptor_term' :info:build lrdf.c:237: error: expected ';', ',' or ')' before '*' token :info:build lrdf.c: In function 'lrdf_store': -- Ticket URL: <https://trac.macports.org/ticket/30769> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30769: liblrdf does not compile ---------------------------------------+------------------------------------ Reporter: softwarejanitor@… | Owner: pixilla@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Keywords: lion | Port: liblrdf ---------------------------------------+------------------------------------ Changes (by macsforever2000@…): * owner: macports-tickets@… => pixilla@… * keywords: Lion, liblrdf, => lion Old description:
This library is used as part of Lyx. The specific command that illustrates the fault was: port install liblrdf ---> Computing dependencies for liblrdf ---> Building liblrdf Error: Target org.macports.build returned: shell command failed (see log for details) Log for liblrdf is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_liblrdf/liblrdf/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
The compile error messages from the log file are:
:info:build libtool: compile: /Developer/usr/bin/llvm-gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I./src -I../src -O2 -arch x86_64 -I/opt/local/include/raptor2 -Wall -g -I.. -MT lrdf.lo -MD -MP -MF .deps/lrdf.Tpo -c lrdf.c -fno-common -DPIC -o .libs/lrdf.o :info:build lrdf.c:237: warning: type defaults to 'int' in declaration of 'raptor_term' :info:build lrdf.c:237: error: expected ';', ',' or ')' before '*' token :info:build lrdf.c: In function 'lrdf_store':
New description: This library is used as part of Lyx. The specific command that illustrates the fault was: {{{ port install liblrdf ---> Computing dependencies for liblrdf ---> Building liblrdf Error: Target org.macports.build returned: shell command failed (see log for details) Log for liblrdf is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_liblrdf/liblrdf/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} The compile error messages from the log file are: {{{ :info:build libtool: compile: /Developer/usr/bin/llvm-gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -I./src -I../src -O2 -arch x86_64 -I/opt/local/include/raptor2 -Wall -g -I.. -MT lrdf.lo -MD -MP -MF .deps/lrdf.Tpo -c lrdf.c -fno-common -DPIC -o .libs/lrdf.o :info:build lrdf.c:237: warning: type defaults to 'int' in declaration of 'raptor_term' :info:build lrdf.c:237: error: expected ';', ',' or ')' before '*' token :info:build lrdf.c: In function 'lrdf_store': }}} -- -- Ticket URL: <https://trac.macports.org/ticket/30769#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30769: liblrdf does not compile ----------------------------------------+----------------------------------- Reporter: softwarejanitor@… | Owner: pixilla@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: fixed | Keywords: lion Port: liblrdf | ----------------------------------------+----------------------------------- Changes (by pixilla@…): * status: new => closed * resolution: => fixed Comment: See r83338 -- Ticket URL: <https://trac.macports.org/ticket/30769#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30769: liblrdf does not compile ----------------------------------------+----------------------------------- Reporter: softwarejanitor@… | Owner: pixilla@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: | Keywords: lion Port: liblrdf | ----------------------------------------+----------------------------------- Changes (by deesto@…): * status: closed => reopened * resolution: fixed => Comment: I'm seeing the same behavior now in upgrading to liblrdf 0.5.0-1, in 10.6.8: {{{ $ port list liblrdf liblrdf @0.5.0 textproc/liblrdf $ sudo port clean liblrdf ---> Cleaning liblrdf $ sudo port upgrade liblrdf ---> Computing dependencies for liblrdf ---> Fetching archive for liblrdf ---> Attempting to fetch liblrdf-0.5.0_1.darwin_10.x86_64.tbz2 from http://packages.macports.org/liblrdf ---> Fetching liblrdf ---> Verifying checksum(s) for liblrdf ---> Extracting liblrdf ---> Configuring liblrdf ---> Building liblrdf Error: Target org.macports.build returned: shell command failed (see log for details) Log for liblrdf is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_www.macports.org_files_ports_textproc_liblrdf/liblrdf/main.log Error: Unable to upgrade port: 1 To report a bug, see <http://guide.macports.org/#project.tickets> }}} From the log: {{{ :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_www.macports. org_files_ports_textproc_liblrdf/liblrdf/work/LRDF-0.5.0/src' 249 :info:build /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/in clude -Wall -g -I.. -pipe -O2 -arch x86_64 -I/opt/local/include/raptor2 -pipe -O2 -arch x86_64 -MT lrdf.lo -MD -MP -MF .deps/lrdf.Tpo -c -o lrdf.lo lrdf.c 250 :info:build /bin/sh ../libtool --tag=CC --mode=compile /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/in clude -Wall -g -I.. -pipe -O2 -arch x86_64 -I/opt/local/include/raptor2 -pipe -O2 -arch x86_64 -MT lrdf_multi.lo - MD -MP -MF .deps/lrdf_multi.Tpo -c -o lrdf_multi.lo lrdf_multi.c 251 :info:build libtool: compile: /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -Wall -g -I.. -pipe -O 2 -arch x86_64 -I/opt/local/include/raptor2 -pipe -O2 -arch x86_64 -MT lrdf_multi.lo -MD -MP -MF .deps/lrdf_multi.Tp o -c lrdf_multi.c -fno-common -DPIC -o .libs/lrdf_multi.o 252 :info:build libtool: compile: /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I/opt/local/include -Wall -g -I.. -pipe -O 2 -arch x86_64 -I/opt/local/include/raptor2 -pipe -O2 -arch x86_64 -MT lrdf.lo -MD -MP -MF .deps/lrdf.Tpo -c lrdf.c -fno-common -DPIC -o .libs/lrdf.o 253 :info:build lrdf.c:237: warning: type defaults to 'int' in declaration of 'raptor_term' 254 :info:build lrdf.c:237: error: expected ';', ',' or ')' before '*' token }}} -- Ticket URL: <https://trac.macports.org/ticket/30769#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30769: liblrdf does not compile ----------------------------------------+----------------------------------- Reporter: softwarejanitor@… | Owner: pixilla@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: | Keywords: lion Port: liblrdf | ----------------------------------------+----------------------------------- Comment(by pixilla@…): deesto: do you have raptor installed? {{{ $ sudo port selfupdate $ sudo port clean raptor report2 liblrdf $ sudo port upgrade raptor report2 liblrdf }}} -- Ticket URL: <https://trac.macports.org/ticket/30769#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30769: liblrdf does not compile ----------------------------------------+----------------------------------- Reporter: softwarejanitor@… | Owner: pixilla@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: | Keywords: lion Port: liblrdf | ----------------------------------------+----------------------------------- Comment(by deesto@…): Thanks pixilla. 'raptor' was certainly an issue: {{{ $ sudo port upgrade raptor liblrdf ---> raptor is replaced by raptor2 ---> Deactivating raptor @1.4.21_2 ---> Cleaning raptor ---> Computing dependencies for raptor2 .... }}} FYI, 'report' and 'report2' are not available ports in my case. -- Ticket URL: <https://trac.macports.org/ticket/30769#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30769: liblrdf does not compile ----------------------------------------+----------------------------------- Reporter: softwarejanitor@… | Owner: pixilla@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: | Keywords: lion Port: liblrdf | ----------------------------------------+----------------------------------- Comment(by pixilla@…): Replying to [comment:6 deesto@…]:
FYI, 'report' and 'report2' are not available ports in my case.
Ya, that should have been raptor2 :) So liblrdf installs/upgrades for you now? -- Ticket URL: <https://trac.macports.org/ticket/30769#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30769: liblrdf does not compile ----------------------------------------+----------------------------------- Reporter: softwarejanitor@… | Owner: pixilla@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: | Keywords: lion Port: liblrdf | ----------------------------------------+----------------------------------- Comment(by deesto@…): Replying to [comment:7 pixilla@…]:
Ya, that should have been raptor2 :)
So liblrdf installs/upgrades for you now?
Yes, so long as raptor*2* is installed. For whatever reason, having raptor installed didn't pull the necessary trigger to upgrade to raptor2, and the liblrdf upgrade failed with raptor*1*. -- Ticket URL: <https://trac.macports.org/ticket/30769#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30769: liblrdf does not compile ----------------------------------------+----------------------------------- Reporter: softwarejanitor@… | Owner: pixilla@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: fixed | Keywords: lion Port: liblrdf | ----------------------------------------+----------------------------------- Changes (by pixilla@…): * status: reopened => closed * resolution: => fixed Comment: deesto: The liblrdf port takes care of installing raptor2. Your issue was the need to have raptor deactivated/uninstalled which upgrading the raptor port took care of. Had you upgraded your "outdated" ports you would not have had this issue. This is a common approach to keeping your ports updated: {{{ $ sudo port selfupdate # update port and packages $ port outdated # view outdated ports (optional) $ sudo upgrade outdated # upgrade outdated packages }}} See [http://guide.macports.org/#using.port.selfupdate 3.1.2. selfupdate] and [http://guide.macports.org/#using.port.upgrade 3.1.15. upgrade] -- Ticket URL: <https://trac.macports.org/ticket/30769#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30769: liblrdf does not compile ----------------------------------------+----------------------------------- Reporter: softwarejanitor@… | Owner: pixilla@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: fixed | Keywords: lion Port: liblrdf | ----------------------------------------+----------------------------------- Comment(by user-macports.org-trac-20110213@…): Note: `sudo port selfupdate` and `sudo port upgrade outdated` is how I '''got''' this issue... `sudo port upgrade raptor` does seem to get me out of it (I ''think'' that's what did it; I tried a few things), but `sudo port upgrade outdated` didn't do that by itself, or at the very least, it was trying to `upgrade liblrdf` first. So, note to future people having this problem: Try: {{{ sudo port upgrade gator sudo port upgrade outdated }}} Hopefully that will fix it for you. -- Ticket URL: <https://trac.macports.org/ticket/30769#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30769: liblrdf does not compile ----------------------------------------+----------------------------------- Reporter: softwarejanitor@… | Owner: pixilla@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.1 Resolution: fixed | Keywords: lion Port: liblrdf | ----------------------------------------+----------------------------------- Comment(by deesto@…): Replying to [comment:10 user-macports.org-trac-20110213@…]:
So, note to future people having this problem:
Try:
{{{ sudo port upgrade gator sudo port upgrade outdated }}}
Hopefully that will fix it for you.
I think you mean `sudo port upgrade raptor` ;) , but yes, that should help. Also in my case, MacPorts itself had just come out with a new tree, so a `sudo port selfupdate` before all else also helped. -- Ticket URL: <https://trac.macports.org/ticket/30769#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts