Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#29982 closed defect (fixed)

cclive: build failure and update to 0.7.5

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: haspatch Cc: haloris-ports@…
Port: cclive

Description

As reported on the mailing list, cclive fails to build:

In file included from /opt/local/var/macports/build/_Users_rschmidt_macports_dports_net_cclive/work/cclive-0.7.3.1/src/quvicpp/error.cpp:18:
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_net_cclive/work/cclive-0.7.3.1/include/quvicpp/quvicpp.h:63: error: 'quvi_callback_write' has not been declared
/opt/local/var/macports/build/_Users_rschmidt_macports_dports_net_cclive/work/cclive-0.7.3.1/include/quvicpp/quvicpp.h:68: error: 'quvi_callback_write' does not name a type

I noticed a newer version is available and thought maybe they've fixed this problem by now. So I tried to update to it, but it fails during configure:

checking for the Boost filesystem library... no
configure: error: cannot find the flags to link with Boost filesystem

config.log contains 120 occurrences of:

ld: unknown option: -R/opt/local/lib

I know -R is an unknown option for Xcode's ld, but I don't know what the replacement is.

The patch for my attempted update to 0.7.4.1 is attached. The project has switched from cmake back to autotools so I removed the cmake portgroup. I also switched to the xz distfile because it's smaller.

Attachments (3)

cclive-0.7.4.1.diff (881 bytes) - added by ryandesign (Ryan Carsten Schmidt) 13 years ago.
attempted update to 0.7.4.1
cclive-0.7.4.1_1.diff (1.0 KB) - added by ak.ml@… 13 years ago.
Attempted update revision 1, Portfile with patched configure
patch-configure.diff (2.4 KB) - added by ak.ml@… 13 years ago.
Change -Wl,-R with -Wl,-rpath,

Download all attachments as: .zip

Change History (9)

Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: cclive-0.7.4.1.diff added

attempted update to 0.7.4.1

comment:1 Changed 13 years ago by ak.ml@…

As a quick fix, I replaced -R with -rpath in configure which worked for me:

gsed -i.orig -e '/-Wl,-R/ { s/-Wl,-R/-Wl,-rpath,/; }' configure

See also http://linux.die.net/man/1/ld.

Also databases/dbh's Portfile is even more radical:

reinplace "s|-Wl,-R\${libdir}||g" ${worksrcpath}/src/dbh-1.0.pc.in

I haven't tested it myself but it might work.

Changed 13 years ago by ak.ml@…

Attachment: cclive-0.7.4.1_1.diff added

Attempted update revision 1, Portfile with patched configure

Changed 13 years ago by ak.ml@…

Attachment: patch-configure.diff added

Change -Wl,-R with -Wl,-rpath,

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

Summary: cclive: build failure and update to 0.7.4.1cclive: build failure and update to 0.7.5
Version: 1.9.22.0.1

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

Status: newassigned

Haloris-ports: thanks for the patches! They continue to work in 0.7.5.

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

Resolution: fixed
Status: assignedclosed

Updated and patched in r82481.

comment:5 in reply to:  3 Changed 13 years ago by bayonne

Replying to snc@…:

Haloris-ports: thanks for the patches! They continue to work in 0.7.5.

Hmm... I have not submitted patches. They come from ak.ml it seems :)

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

Meh. I looked at who was on the ticket at the bottom. Oopsies.

Note: See TracTickets for help on using tickets.