Ticket #30363 (closed defect: fixed)
Soprano-2.6.52 fails to find correct raptor header
| Reported by: | david@… | Owned by: | pixilla@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.0.0 |
| Keywords: | Cc: | martinhennemann@…, pixilla@…, macports@…, jonesc@…, hofione@… | |
| Port: | soprano |
Description
Build log attached.
OS is latest Snow + all updates.
Attachments
Change History
comment:1 Changed 22 months ago by jmr@…
- Priority changed from High to Normal
- Port set to soprano
Please remember to fill in the Port field. As per the ticket guidelines, the High priority is reserved for the use of MacPorts team members.
The attached log shows an uninstall attempt, not a build.
Changed 22 months ago by martinhennemann@…
- Attachment upgrade_soprano-2.6.52_main.log added
build log for soprano
comment:2 Changed 22 months ago by martinhennemann@…
I confirm this issue, see attached build log upgrade... OS is up-to-date Snow Leopard.
comment:4 Changed 22 months ago by jonesc@…
soprano upgrade fails for me to on SL, but the log seems to show a slightly different error to the others already reported.
Chris
comment:8 follow-up: ↓ 12 Changed 22 months ago by pixilla@…
david, martinhennemann and jonesc: Are your raptor2 versions @2.0.3_2?
Please provide the output of:
$ port installed raptor raptor2 redland rasqal
comment:9 Changed 22 months ago by david@…
# port installed raptor raptor2 redland rasqal The following ports are currently installed: raptor @1.4.21_1 (active) raptor2 @2.0.3_2 (active) rasqal @0.9.26_1 (active) redland @1.0.13_1+db46+sqlite3 (active)
comment:10 Changed 22 months ago by martinhennemann@…
~$ port installed raptor raptor2 redland rasqal The following ports are currently installed: raptor @1.4.19_0 raptor @1.4.21_1 (active) raptor2 @2.0.3_1 raptor2 @2.0.3_2 (active) rasqal @0.9.16_0 rasqal @0.9.19_2 rasqal @0.9.21_0 rasqal @0.9.26_1 (active) redland @1.0.9_0+db46 redland @1.0.10_5+db46 redland @1.0.12_0+db46 redland @1.0.13_1+db46 (active)
comment:12 in reply to: ↑ 8 Changed 22 months ago by ak.ml@…
$ port installed raptor raptor2 redland rasqal The following ports are currently installed: raptor @1.4.21_1 (active) raptor2 @2.0.3_2 (active) rasqal @0.9.26_1 (active) redland @1.0.13_1+db46 (active)
The issue here is that a raptor.h is provided by raptor and raptor2 and #include <raptor.h> in `port work soprano`/soprano-2.6.52/serializers/raptor/raptorserializer.cpp resolves to raptor's include instead of raptor2's.
Quick fixes:
- Either: #include <raptor.h> -> #include <raptor2/raptor.h> in raptorserializer.cpp
- Or temporarily deactivate raptor
Changed 22 months ago by ak.ml@…
- Attachment patch-raptorserializer.cpp.diff added
Looking for raptor2's include
comment:13 Changed 22 months ago by pixilla@…
Thank you ak.ml. I had a patch for that but we switched soprano to git and my patch did not get committed.
I should have a patch for this in a couple minutes.
comment:14 Changed 22 months ago by pixilla@…
Fixed r81121.
david, martinhennemann and jonesc: some confirmations would be great.
comment:15 Changed 22 months ago by macports@…
I had the same problem. Works for me, now.
comment:16 Changed 22 months ago by pixilla@…
macports: thank you for the feedback.
comment:17 Changed 22 months ago by pixilla@…
- Status changed from new to closed
- Resolution set to fixed
comment:18 Changed 22 months ago by martinhennemann@…
soprano @2.6.52_1 was successfully built now for me. Thanks!
comment:19 Changed 22 months ago by david@…
Builds for me too. Thanks!
comment:20 Changed 22 months ago by jonesc@…
sorry for my silence (for some reason I wasn't getting email notifications for this ticket ?)
Anyway, the latest version builds fine for me to.
Chris
comment:22 follow-up: ↓ 23 Changed 22 months ago by jonesc@…
I thought replying to a ticket automatically added you to the cc list ?
comment:23 in reply to: ↑ 22 Changed 22 months ago by macsforever2000@…
Replying to jonesc@…:
I thought replying to a ticket automatically added you to the cc list ?
No, you have to add yourself or be added by an admin.
comment:24 Changed 22 months ago by jonesc@…
My mistake. Maybe I'm too used to other bug tracking systems which do do this.
comment:25 Changed 22 months ago by hofione@…
on Lion
port installed raptor raptor2 redland rasqal The following ports are currently installed:
raptor2 @2.0.3_2 (active) rasqal @0.9.26_1 (active) redland @1.0.13_1+db46 (active)
:info:build Linking CXX shared module libsoprano_raptorparser.so :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_soprano/soprano/work/build/parsers/raptor && /opt/local/bin/cmake -E cmake_link_script CMakeFiles/soprano_raptorparser.dir/link.txt --verbose=1 :info:build /Developer/usr/bin/clang++ -pipe -O2 -arch x86_64 -O3 -DNDEBUG -arch x86_64 -bundle -Wl,-headerpad_max_install_names -arch x86_64 -o libsoprano_raptorparser.so CMakeFiles/soprano_raptorparser.dir/raptorparser.cpp.o ../../soprano/libsoprano.4.3.0.dylib -lraptor2 /opt/local/lib/libraptor2.dylib /opt/local/lib/libQtCore.dylib -lpthread :info:build ld: library not found for -lraptor2 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[2]: * [parsers/raptor/libsoprano_raptorparser.so] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_soprano/soprano/work/build' :info:build make[1]: * [parsers/raptor/CMakeFiles/soprano_raptorparser.dir/all] Error 2
it's a linker error, i think it has nothing to do with the headers mentioned in the solution
comment:26 Changed 22 months ago by hofione@…
please remove
-lraptor2
from
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_soprano/soprano/work/build/parsers/raptor/CMakeFiles/soprano_raptorparser.dir/link.txt
comment:27 Changed 22 months ago by hofione@…
- Status changed from closed to reopened
- Resolution fixed deleted
comment:29 Changed 22 months ago by pixilla@…
- Status changed from reopened to closed
- Resolution set to fixed
hofione: This ticket was opened for different issue then you are reporting. Please open new tickets for new issues.
comment:30 Changed 22 months ago by pixilla@…
- Summary changed from Soprano-2.6.52 fails to build to Soprano-2.6.52 fails to find correct raptor header

