Opened 13 years ago

Closed 12 years ago

Last modified 12 years ago

#30632 closed defect (fixed)

redland: No rule to make target -lltdl

Reported by: hofione@… Owned by: pixilla (Bradley Giesbrecht)
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: lion Cc: hofione@…, bgrupe27, marcel.setten@…, rosicrucian@…, cjones051073 (Chris Jones), asic512, nprokofiev@…, thedoobs@…, ryandesign (Ryan Carsten Schmidt), k-Laus@…, norbert.nemec@…, fares.chucri@…, markn-mp@…
Port: redland

Description (last modified by ryandesign (Ryan Carsten Schmidt))

installing kde4-baseapps i got the error

 *** No rule to make target `-lltdl', needed by `librdf.la'.  Stop.

As suggested in slackware source (http://slackware.osuosl.org/slackware_source/l/redland/redland.SlackBuild) i've tried

sed -i -e 's# -lltdl$# #' -e '/^LIBS =/s# = # = -lltdl #' src/Makefile

in

/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_www_redland/redland/work/redland-1.0.13

and it worked.

Attachments (1)

main.log (147.4 KB) - added by hofione@… 13 years ago.

Download all attachments as: .zip

Change History (30)

comment:1 Changed 13 years ago by hofione@…

sorry i forgot that, it's on OSX lion

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

Cc: sharky@… pixilla@… added
Keywords: kde4-baseapps redland removed
Owner: changed from macports-tickets@… to snc@…
Port: redland added

Please remember to cc the maintainers.

comment:3 Changed 13 years ago by nerdling (Jeremy Lavergne)

Cc: sharky@… pixilla@… removed
Keywords: lion added
Owner: changed from snc@… to pixilla@…
Port: kde4-baseapps removed
Summary: kde4-baseapps and redland problemredland lion problem

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

hofione: Please attach the port log (main.log) for redland.
This command will show you it's location. The second will open the file dir in Finder if you are building locally.

 $ port logfile redland
 $ open $(dirname $(port logfile redland))

comment:5 Changed 13 years ago by hofione@…

Cc: hofione@… added

Cc Me!

comment:6 in reply to:  4 Changed 13 years ago by hofione@…

sorry, the fix and the successfull build (or one of the cleans!?) removed the log

port logfile redland
Error: Log file not found for port in /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/www/redland

but i don't think you could find more info in it than i add initially

there is a link error in redland build caused by the unnecessary libltdl reference

Replying to pixilla@…:

hofione: Please attach the port log (main.log) for redland.
This command will show you it's location. The second will open the file dir in Finder if you are building locally.

 $ port logfile redland
 $ open $(dirname $(port logfile redland))

comment:7 Changed 13 years ago by bgrupe27

Cc: bgrupe@… added

Cc Me!

comment:8 Changed 13 years ago by hofione@…

Added fresh log of error after

sudo port clean redland
sudo port install redland

Changed 13 years ago by hofione@…

Attachment: main.log added

comment:9 Changed 13 years ago by hofione@…

and the same solution mentioned in the first comment (just remove every reference of libltdl (-lltdl)

comment:10 Changed 12 years ago by marcel.setten@…

Cc: marcel.setten@… added

Cc Me!

comment:11 Changed 12 years ago by rosicrucian@…

Cc: rosicrucian@… added

Cc Me!

comment:12 Changed 12 years ago by cjones051073 (Chris Jones)

this problem is still here. OS X 10.7.2 and Xcode 4.2

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

Cc: jonesc@… added

Cc Me!

comment:14 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: pf15@… nprokofiev@… thedoobs@… hobbsilla@… ryandesign@… added
Description: modified (diff)
Summary: redland lion problemredland: No rule to make target -lltdl

Has duplicates #31707 and #32048.

comment:15 Changed 12 years ago by hobbsilla

Cc: hobbsilla@… removed

Cc Me!

comment:16 Changed 12 years ago by k-Laus@…

Cc: k-Laus@… added

Cc Me!

comment:17 Changed 12 years ago by norbert.nemec@…

This bug seems to originate upstream in src/Makefile.am:

librdf_la_DEPENDENCIES = \
@DIGEST_OBJS@ @HASH_OBJS@ \
@LIBRDF_INTERNAL_LIBS@

where the _LIBS variables are actually meant to be used as compiler options (as -lltdl) rather than dependencies

comment:18 Changed 12 years ago by norbert.nemec@…

Cc: norbert.nemec@… added

Cc Me!

comment:19 Changed 12 years ago by fares.chucri@…

Cc: fares.chucri@… added

Cc Me!

comment:20 Changed 12 years ago by markn-mp@…

Cc: markn-mp@… added

Cc Me!

comment:21 Changed 12 years ago by pixilla (Bradley Giesbrecht)

I could not reproduce this issue with Lion/Xcode4.1 so it must be specific to XCode4.2.
Commit r87441 should fix the issue.
I would appreciate someone with Xcode4.2 reporting if this issue is fixed.

comment:22 in reply to:  17 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Replying to norbert.nemec@…:

This bug seems to originate upstream in src/Makefile.am:

Thanks.

comment:23 Changed 12 years ago by cjones051073 (Chris Jones)

I have OSX 10.7 + Xcode 4.2, and the latest update works for me.

Thanks !

Chris

comment:24 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Resolution: fixed
Status: newclosed

comment:25 in reply to:  23 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Replying to jonesc@…:

I have OSX 10.7 + Xcode 4.2, and the latest update works for me.

Chris: thanks for reporting!

comment:26 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

If this problem is still present in the HEAD of the redland sources, you should file a bug report with them.

comment:27 Changed 12 years ago by norbert.nemec@…

OSDX 10.7 + Xcode 4.2: works for me!

comment:28 in reply to:  26 ; Changed 12 years ago by pixilla (Bradley Giesbrecht)

Replying to ryandesign@…:

If this problem is still present in the HEAD of the redland sources, you should file a bug report with them.

Done.bugs.librdf.org

comment:29 in reply to:  28 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Fixed upstream. bugs.librdf.org

Note: See TracTickets for help on using tickets.