Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#30363 closed defect (fixed)

Soprano-2.6.52 fails to find correct raptor header

Reported by: davidfavor (David Favor) Owned by: pixilla (Bradley Giesbrecht)
Priority: Normal Milestone:
Component: ports Version: 2.0.0
Keywords: Cc: martinhennemann@…, pixilla (Bradley Giesbrecht), macports@…, cjones051073 (Chris Jones), hofione@…
Port: soprano

Description

Build log attached.

OS is latest Snow + all updates.

Attachments (5)

main.log (1.3 KB) - added by davidfavor (David Favor) 13 years ago.
upgrade_soprano-2.6.52_main.log (44.0 KB) - added by martinhennemann@… 13 years ago.
build log for soprano
main.2.log (762.0 KB) - added by cjones051073 (Chris Jones) 13 years ago.
main.3.log (1.3 KB) - added by davidfavor (David Favor) 13 years ago.
patch-raptorserializer.cpp.diff (332 bytes) - added by ak.ml@… 13 years ago.
Looking for raptor2's include

Download all attachments as: .zip

Change History (35)

Changed 13 years ago by davidfavor (David Favor)

Attachment: main.log added

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Port: soprano added
Priority: HighNormal

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 13 years ago by martinhennemann@…

build log for soprano

comment:2 Changed 13 years ago by martinhennemann@…

I confirm this issue, see attached build log upgrade... OS is up-to-date Snow Leopard.

comment:3 Changed 13 years ago by martinhennemann@…

Cc: martinhennemann@… added

Cc Me!

comment:4 Changed 13 years ago by cjones051073 (Chris Jones)

soprano upgrade fails for me to on SL, but the log seems to show a slightly different error to the others already reported.

Chris

Changed 13 years ago by cjones051073 (Chris Jones)

Attachment: main.2.log added

comment:5 Changed 13 years ago by davidfavor (David Favor)

Here's a copy of my 'port upgrade soprano' log file.

Changed 13 years ago by davidfavor (David Favor)

Attachment: main.3.log added

comment:6 Changed 13 years ago by pixilla (Bradley Giesbrecht)

Cc: pixilla@… added

Cc Me!

comment:7 Changed 13 years ago by pixilla (Bradley Giesbrecht)

Owner: changed from macports-tickets@… to pixilla@…

comment:8 Changed 13 years ago by pixilla (Bradley Giesbrecht)

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 13 years ago by davidfavor (David Favor)

# 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 13 years 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:11 Changed 13 years ago by macports@…

Cc: macports@… added

Cc Me!

comment:12 in reply to:  8 Changed 13 years 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 13 years ago by ak.ml@…

Looking for raptor2's include

comment:13 Changed 13 years ago by pixilla (Bradley Giesbrecht)

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 13 years ago by pixilla (Bradley Giesbrecht)

Fixed r81121.
david, martinhennemann and jonesc: some confirmations would be great.

comment:15 Changed 13 years ago by macports@…

I had the same problem. Works for me, now.

comment:16 Changed 13 years ago by pixilla (Bradley Giesbrecht)

macports: thank you for the feedback.

comment:17 Changed 13 years ago by pixilla (Bradley Giesbrecht)

Resolution: fixed
Status: newclosed

comment:18 Changed 13 years ago by martinhennemann@…

soprano @2.6.52_1 was successfully built now for me. Thanks!

comment:19 Changed 13 years ago by davidfavor (David Favor)

Builds for me too. Thanks!

comment:20 Changed 13 years ago by cjones051073 (Chris Jones)

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:21 Changed 13 years ago by cjones051073 (Chris Jones)

Cc: jonesc@… added

Cc Me!

comment:22 Changed 13 years ago by cjones051073 (Chris Jones)

I thought replying to a ticket automatically added you to the cc list ?

comment:23 in reply to:  22 Changed 13 years ago by mf2k (Frank Schima)

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 13 years ago by cjones051073 (Chris Jones)

My mistake. Maybe I'm too used to other bug tracking systems which do do this.

comment:25 Changed 13 years 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 13 years 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 13 years ago by hofione@…

Resolution: fixed
Status: closedreopened

comment:28 Changed 13 years ago by hofione@…

Cc: hofione@… added

Cc Me!

comment:29 Changed 13 years ago by pixilla (Bradley Giesbrecht)

Resolution: fixed
Status: reopenedclosed

hofione: This ticket was opened for different issue then you are reporting. Please open new tickets for new issues.

comment:30 Changed 13 years ago by pixilla (Bradley Giesbrecht)

Summary: Soprano-2.6.52 fails to buildSoprano-2.6.52 fails to find correct raptor header
Note: See TracTickets for help on using tickets.