exact ebuild is: net-misc/asterisk-1.0.5-r1 I checked my system for the history of libpri, I found a downgrade: root@AnubisMobile /home/florian 08:30:09 Mo Feb 28 # genlop libpri * net-libs/libpri Tue Nov 16 09:27:42 2004 >>> net-libs/libpri-0.4.0 Tue Nov 16 11:10:30 2004 >>> net-libs/libpri-1.0.2 Mon Jan 17 01:12:42 2005 >>> net-libs/libpri-0.4.0 but why it was downgradet without modifying the asterisk ebuild? here the asterisk build history: root@AnubisMobile /home/florian 08:34:11 Mo Feb 28 # genlop asterisk * net-misc/asterisk Tue Nov 16 11:44:55 2004 >>> net-misc/asterisk-1.0.2 Sun Jan 16 16:47:47 2005 >>> net-misc/asterisk-1.0.3 Reproducible: Always Steps to Reproduce: 1.emerge sync 2.emerge -vauD asterisk (I have done it first time in an emerge -vauD world) 3. Actual Results: asterisk ebuild stops with need of newer version of libpri Expected Results: completed install or warning of no unmasked package to satisfy the deps
error messages? emerge info output?
[ebuild U ] net-misc/asterisk-1.0.5-r1 [1.0.3] +alsa -debug -doc +gtk +mmx +mysql -postgres -pri -resperl (-uclibc) -vmdbmysql -vmdbpostgres -zaptel 0 kB . . . gcc -shared -Xlinker -x -o chan_alsa.so chan_alsa.o -lasound -lm -ldl gcc -c -pipe -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Iinclude -I../include -D_REENTRANT -D_GNU_SOURCE -O2 -mcpu=i686 -pipe -DZAPTEL_OPTIMIZATIONS -DASTERISK_VERSION=\"1.0.5\" -DINSTALL_PREFIX=\"\" -DASTETCDIR=\"/etc/asterisk\" -DASTLIBDIR=\"/usr/lib/asterisk\" -DASTVARLIBDIR=\"/var/lib/asterisk\" -DASTVARRUNDIR=\"/var/run\" -DASTSPOOLDIR=\"/var/spool/asterisk\" -DASTLOGDIR=\"/var/log/asterisk\" -DASTCONFPATH=\"/etc/asterisk/asterisk.conf\" -DASTMODDIR=\"/usr/lib/asterisk/modules\" -DASTAGIDIR=\"/var/lib/asterisk/agi-bin\" -DBUSYDETECT_MARTIN -Wno-missing-prototypes -Wno-missing-declarations -DZAPATA_PRI -DIAX_TRUNKING -DCRYPTO -fPIC -o chan_zap.o chan_zap.c chan_zap.c:59:2: #error "You need newer libpri" distcc[16088] ERROR: compile chan_zap.c on 127.0.0.1 failed make[1]: *** [chan_zap.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/asterisk-1.0.5-r1/work/asterisk-1.0.5/channels' make: *** [subdirs] Error 1 !!! ERROR: net-misc/asterisk-1.0.5-r1 failed. !!! Function src_compile, Line 171, Exitcode 2 !!! Make failed !!! If you need support, post the topmost build error, NOT this status message. Bitte wenn du mir net glaubst das ich lesen kann
The genral question is why was libpri downgradet/remasked, so is it safe to emerge a masked version to resolv the problem?
you're not using pri (-pri), please unmerge libpri and try again. everything >libpri-0.4.0 is unstable, it looks like you don't have an entry in /etc/portage/package.keywords for libpri >0.4.0, w/o that entry (or the discouraged use of ACCEPT_KEYWORDS="..") emerge will downgrade it
instructions above.