Subject: pkg/35358: "pkgsrc/www/curl/" is broken
To: None <,,>
From: Matthias Scheler <>
List: pkgsrc-bugs
Date: 01/04/2007 14:25:00
>Number:         35358
>Category:       pkg
>Synopsis:       "pkgsrc/www/curl/" is broken
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 04 14:25:00 +0000 2007
>Originator:     Matthias Scheler
>Release:        Darwin 8.8.0
Matthias Scheler                        
System: Darwin 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep  8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh powerpc
Architecture: powerpc
Machine: Power Macintosh
Building the "rtorrent" package fails under Mac OS X:

=> Required installed package libtool-base>=1.5.18nb5: libtool-base-1.5.22nb4 found
=> Required installed package pkg-config>=0.19: pkg-config-0.21 found
=> Required installed package libtorrent>=0.10.0: libtorrent-0.10.4 found
===> Overriding tools for rtorrent-0.6.4nb1
===> Extracting for rtorrent-0.6.4nb1
===> Patching for rtorrent-0.6.4nb1
=> Applying pkgsrc patches for rtorrent-0.6.4nb1
===> Creating toolchain wrappers for rtorrent-0.6.4nb1
ERROR: libidn is not installed; can't buildlink files.
*** Error code 1

bmake: stopped in /usr/pkgsrc/net/rtorrent
*** Error code 1

The reason is that "pkgsrc/www/curl/" decides to use the
"libcurl" provided by Mac OS X. "pkgsrc/www/curl/" will
later include "devel/libidn/" unconditionally. "libidn"
is however not available under Mac OS X.

cd pkgsrc/net/rtorrent

Removing "pkgsrc/www/curl/" fixes the build problem.