Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVED net-misc/curl-7.17.1 compile failed
View unanswered posts
View posts from last 24 hours

rackathon
 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
JasonX
n00b
n00b


Joined: 26 Jul 2006
Posts: 66
Location: Minsk

PostPosted: Mon Apr 21, 2008 5:16 am    Post subject: SOLVED net-misc/curl-7.17.1 compile failed Reply with quote

Code:
Messages for package net-misc/curl-7.17.1:

 *
 * ERROR: net-misc/curl-7.17.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2375:  Called die
 * The specific snippet of code:
 *           die 'ldap and kerberos (gssapi) not playing nicely try version >=7.18.1';
 *  The die message:
 *   ldap and kerberos (gssapi) not playing nicely try version >=7.18.1
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/net-misc/curl-7.17.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/curl-7.17.1/temp/environment'.
 *
 * GNU info directory index is up-to-date.


emerge --info

Code:
Portage 2.1.4.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r5 i686)
=================================================================
System uname: 2.6.22-gentoo-r5 i686 Celeron (Coppermine)
Timestamp of tree: Mon, 21 Apr 2008 01:35:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://192.168.171.1/soft http://gentoo.zie.pg.gda.pl http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirrors.elova.ro/gentoo/"
LANG="ru_RU.KOI8-R"
LC_ALL=""
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 acl acpi alsa avahi berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread encode esd evo fam ffmpeg fortran gdbm gif gnome gpm gtk hal iconv isdnlog jpeg kde kerberos ldap libnotify mad midi mikmod mmx mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sdl session spell spl ssl startup-notification svg tcpd tiff truetype unicode userlocales utf8 vorbis win32codecs x86 xml xorg xscreensaver xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


cat /etc/make.conf

Code:
CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"
CHOST="i686-pc-linux-gnu"
MAKEOPTS="-j2"
USE="a52 avahi dbus -firefox -ipv6 -eds -emboss ffmpeg gnome -gstreamer gtk hal kde mmx mplayer userlocales -oss samba -wifi utf8 X xscreensaver xvid"
ALSA_CARDS="emu10k1"
INPUT_DEVICES="keyboard mouse"
VIDEO_CARDS="nvidia"
LINGUAS="ru"
FEATURES="sandbox ccache fixpackages"# parallel-fetch"
CCACHE_SIZE="2G"
GENTOO_MIRRORS="ftp://192.168.171.1/soft http://gentoo.zie.pg.gda.pl http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://mirrors.elova.ro/gentoo/"


In portage tree the latest curl package is curl-7.17.1. And it tells to install version >=7.18.1...

I solved the problem by
Code:
USE=-kerberos emerge curl


But i didn't know what does it means for security and compatibility with other packages.


May anybody solve this missunderstanding?


Last edited by JasonX on Mon Apr 28, 2008 2:38 pm; edited 1 time in total
Back to top
View user's profile Send private message
cyrillic
Veteran
Veteran


Joined: 18 Feb 2003
Posts: 7086
Location: Groton, Massachusetts USA

PostPosted: Mon Apr 21, 2008 6:06 pm    Post subject: Reply with quote

curl-7.18.1 is in portage, but it is ~ARCH keyworded.
Back to top
View user's profile Send private message
JasonX
n00b
n00b


Joined: 26 Jul 2006
Posts: 66
Location: Minsk

PostPosted: Tue Apr 22, 2008 10:51 am    Post subject: Is it normally? Reply with quote

Is it normally for gentoo such unusial solutions?

What your advice to me:

1) Leave as it is
Code:
USE=-kerberos emerge curl

2) Install curl-1.18.1

?
Back to top
View user's profile Send private message
Mounir Lamouri
n00b
n00b


Joined: 23 Jul 2006
Posts: 13
Location: Montreal, QC

PostPosted: Fri Apr 25, 2008 6:20 pm    Post subject: Reply with quote

Add curl-7.17.1 as masked package (add it to portage.mask)

Like this, as root :
Code:
echo "=net-misc/curl-7.17.1" >> /etc/portage/package.mask


I did that to prevent the error.
Back to top
View user's profile Send private message
JasonX
n00b
n00b


Joined: 26 Jul 2006
Posts: 66
Location: Minsk

PostPosted: Mon Apr 28, 2008 2:37 pm    Post subject: Thanks Reply with quote

Thanks for answer
But isn't is a bug in portage to force users to mask or install package from unstable branch?
Back to top
View user's profile Send private message
drwook
Veteran
Veteran


Joined: 30 Mar 2005
Posts: 1280
Location: London

PostPosted: Mon Apr 28, 2008 2:51 pm    Post subject: Reply with quote

I guess either the pkg shouldn't hsve got the stable keyword, or the USE flag should be masked for the package.

is that a reproducable error across all systems? if so open a bug to get the use flag masked for the package I'd say.
Back to top
View user's profile Send private message
TaxAlien
n00b
n00b


Joined: 04 Sep 2006
Posts: 11

PostPosted: Thu May 01, 2008 1:58 pm    Post subject: affects 2008 beta 2 Reply with quote

Rather annoyingly this problem shows up after installing fresh using 2008 beta 2 (desktop profile on 686), while trying to emerge kde-meta.

I think it would be helpful if this was cleared up, no fun coming home to find that the build stopped so early on just because something standard is unstable.
Back to top
View user's profile Send private message
Kobin
n00b
n00b


Joined: 23 Aug 2007
Posts: 24

PostPosted: Tue May 27, 2008 9:35 am    Post subject: Reply with quote

I have same problem trying to install gnome..
Back to top
View user's profile Send private message
rockfly12
Tux's lil' helper
Tux's lil' helper


Joined: 24 Aug 2005
Posts: 94
Location: New Hampshire

PostPosted: Fri May 30, 2008 1:06 pm    Post subject: Reply with quote

Same problem here installing a fresh system from the stable branch.
Back to top
View user's profile Send private message
lawa42
n00b
n00b


Joined: 05 Apr 2004
Posts: 60
Location: Leoben, Austria

PostPosted: Tue Jun 03, 2008 2:58 am    Post subject: sort of a soultion Reply with quote

I solved the problem by adding
Code:
=net-misc/curl-1.17.1 -kerberos


into the /etc/portage/package.use

so when ever 1.18.1 gets stabilized I get everything back I am not sure if I need kerberos anyway

Gregor
Back to top
View user's profile Send private message
Jimbo5584
n00b
n00b


Joined: 15 Jul 2007
Posts: 15

PostPosted: Thu Jun 05, 2008 6:34 pm    Post subject: Reply with quote

You mean
Code:

=net-misc/curl-7.17.1 -kerberos


There is not a 1.17.1 build :)
Back to top
View user's profile Send private message
gentunian
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2006
Posts: 118
Location: Río Cuarto, Argentina

PostPosted: Tue Jun 17, 2008 6:05 pm    Post subject: Re: sort of a soultion Reply with quote

Quote:

so when ever 1.18.1 gets stabilized I get everything back I am not sure if I need kerberos anyway

Gregor


That is the point from the first user. What do we lose by not compiling curl with kerberos functionality? I have the same problem. For some reason today, I commented out all the packages in package.keywords, and I'm downgrading all packages to stable. I'm tired of things that does not work, anything, alsa, flash, libs,etc. So, today I'm "making" my box as fresh and stable. I don't care if I need to use 2.4 kernel!

The thing is that it's making me crazy after years of using linux with unstable packages, I want software that works. It seems that anyone, even not programmers, are developing software! I know is hard to reach the stability/perfomance/compatibility relation, but truly I realized that I'm losing too much time configuring linux. I used to love that (when I was a student with less things to do), also I love gentoo, thats why even tired I'm gonna downgrade all packages to keep using it.

(sorry my discharge, i really needed).
_________________
Si un pueblo tiene hambre, no le des un pez. Enséñale a pescar.
http://labombiya.com.ar
Back to top
View user's profile Send private message
notageek
n00b
n00b


Joined: 05 Jun 2008
Posts: 16
Location: New Delhi, India

PostPosted: Thu Jun 19, 2008 10:25 am    Post subject: Reply with quote

I've the same problem, I'm now trying the workaround suggested in this thread.

And my question too is what am I loosing by compiling curl without kerberos?

(btw I'm still compiling curl now)

...and that worked!! (I was trying emerge -uDv world, when I got the same error on curl)
Back to top
View user's profile Send private message
coregan
n00b
n00b


Joined: 21 Jun 2005
Posts: 9
Location: Montreal, Canada

PostPosted: Sun Jun 29, 2008 10:44 am    Post subject: Reply with quote

notageek wrote:
And my question too is what am I loosing by compiling curl without kerberos?


If you are asking this question then you probably don't need it. ;-)

Kerberos is an authentication mechanism used for single sign-on. Instead of entering a password to access each service in your domain, you enter it once when you login. Clients compiled with Kerberos (such as curl) will then exchange tokens with the service to prove who you are. Your site must be set up to use Kerberos. Typically this is required if you are talking to an Active Directory domain though there are some pure Kerberos sites out there. You will need Kerberos support with curl if you need to access URLs that require authentication with Kerberos/AD.


Chris
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum