| View previous topic :: View next topic |
| Author |
Message |
bjorntj Guru


Joined: 01 Jun 2005 Posts: 396
|
Posted: Mon Feb 11, 2008 2:59 am Post subject: [solved]emerge -Du insists on downgrading my claws-mail? |
|
|
I have been running with my own ebuilds for claws-mail to get the latest version and it has been working ok... But after upgrading to claws-mail 3.3.0 last week (and doing the same thing to my ebuild files as I have been doing with success before), emerge -Du now wants to downgrade to version 3.2.0, why?
And also, how do I stop emerge from wanting to downgrade?
Regards,
BTJ _________________ Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
Last edited by bjorntj on Tue Feb 12, 2008 2:43 am; edited 1 time in total |
|
| Back to top |
|
 |
yabbadabbadont Veteran


Joined: 13 Mar 2003 Posts: 4739
|
Posted: Mon Feb 11, 2008 3:16 am Post subject: |
|
|
You would need to provide a lot more information before anyone would be able to answer your first question.
To prevent portage from downgrading a package, create an appropriate entry in /etc/portage/package.mask. |
|
| Back to top |
|
 |
bjorntj Guru


Joined: 01 Jun 2005 Posts: 396
|
Posted: Mon Feb 11, 2008 3:21 am Post subject: |
|
|
Well, I tried that but then it just wants to downgrade to 3.1.0 so I was kind of hoping for another solution...
What kind of information should I provide to make it easier to help me?
BTJ |
|
| Back to top |
|
 |
yabbadabbadont Veteran


Joined: 13 Mar 2003 Posts: 4739
|
Posted: Mon Feb 11, 2008 4:19 am Post subject: |
|
|
Your package.mask should have something like this in it:
| Code: | | <mail-client/claws-mail-3.3.0 |
Although you have been using your own ebuilds, perhaps you need to read the portage man page again.
As for the additional information, how about "emerge --info" and the actual output from your "emerge -Du" command... You've been around long enough that you should have an idea of the customary information to provide.  |
|
| Back to top |
|
 |
mzq n00b

Joined: 11 Feb 2008 Posts: 4
|
|
| Back to top |
|
 |
yabbadabbadont Veteran


Joined: 13 Mar 2003 Posts: 4739
|
Posted: Mon Feb 11, 2008 4:50 am Post subject: |
|
|
Re-read his first post...
| Quote: | | I have been running with my own ebuilds for claws-mail to get the latest version |
|
|
| Back to top |
|
 |
bjorntj Guru


Joined: 01 Jun 2005 Posts: 396
|
Posted: Mon Feb 11, 2008 8:20 am Post subject: |
|
|
| yabbadabbadont wrote: | Your package.mask should have something like this in it:
| Code: | | <mail-client/claws-mail-3.3.0 |
Although you have been using your own ebuilds, perhaps you need to read the portage man page again.
As for the additional information, how about "emerge --info" and the actual output from your "emerge -Du" command... You've been around long enough that you should have an idea of the customary information to provide.  |
Hmmm... Ok then, I should have known....
Here is emerge --info..:
| Code: |
Portage 2.1.3.19 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8-BTJ i686)
=================================================================
System uname: 2.6.22-gentoo-r8-BTJ i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz
Timestamp of tree: Mon, 11 Feb 2008 05:16: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-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
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
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool: 1.5.24
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/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.gentoo.no/ http://trumpetti.atm.tut.fi/gentoo/ http://gentoo.math.bme.hu http://gentoo.mirror.icd.hu/ http://ftp.du.se/pub/os/gentoo http://ds.thn.htu.se/linux/gentoo"
LANG="en_US.ISO-8859-1"
LINGUAS="en en_GB uk us nb no nb_NO"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 arts berkdb bitmap-fonts bluetooth browserplugin bzip2 cairo cddb cdr cli cracklib crypt cups dbus dillo dri dv dvd dvdr dvdread eds emboss encode esd evo exif fam ffmpeg firefox flac fontconfig foomatic foomaticdb gd gdbm gif gimp gnome gnutls gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal hddtemp iconv imap imlib ipv6 isdnlog java jpeg jpeg2k kde kerberos lame ldap libclamav libnotify mad mhash midi mikmod mjpeg mp3 mpeg mplayer mudflap mysql ncurses nfs nls nptl nptlonly nsplugin ogg opengl openmp oss pam pcre pdf perl png postgres ppds pppd python qt3 qt3support qt4 quicktime rar readline reflection ruby sasl scanner sdl session sms snmp spell spl ssl svg tcpd threads tiff truetype truetype-fonts type1-fonts unicode usb vim-syntax vorbis win32codecs x86 xface xml xorg xosd xv xvid zlib" ALSA_CARDS="hda-intel" 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 auth_digest authn_anon authn_dbd 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 dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_GB uk us nb no nb_NO" USERLAND="GNU" VIDEO_CARDS="fglrx radeon"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
|
And also emerge -Dupv world..:
| Code: |
Calculating world dependencies... done!
[ebuild U ] app-text/libpaper-1.1.23 [1.1.21] 343 kB
[ebuild U ] www-client/mozilla-launcher-1.58 [1.56] 7 kB
[ebuild U ] net-misc/tn5250-0.17.3-r1 [0.17.3] USE="X ssl (-slang%)" 0 kB
[ebuild U ] dev-libs/libtasn1-1.2 [0.3.5] USE="-doc" 1,476 kB
[ebuild U ] dev-python/sip-4.7.3 [4.7.1] USE="-debug" 436 kB
[ebuild U ] media-libs/xine-lib-1.1.10.1 [1.1.10] USE="X a52 alsa arts dts dvd esd flac gnome gtk ipv6 mad modplug musepack nls opengl oss sdl theora truetype v4l vorbis win32codecs xcb xv -aac -aalib (-altivec) -debug -directfb -dxr3 -fbcon -imagemagick -jack -libcaca -mmap -mng -pulseaudio -real -samba -speex -vcd -vidix -wavpack -xinerama -xvmc" 7,264 kB
[ebuild U ] www-client/mozilla-firefox-2.0.0.12 [2.0.0.11] USE="gnome ipv6 java -bindist -debug -filepicker -iceweasel% -mozdevelop -moznopango -restrict-javascript -xforms -xinerama -xprint" LINGUAS="en_GB nb nb_NO uk -af -ar -be -bg -ca -cs -da -de -el -es -es_AR -es_ES -eu -fi -fr -fy -fy_NL -ga -ga_IE -gu -gu_IN -he -hu -it -ja -ka -ko -ku -lt -mk -mn -nl -nn -nn_NO -pa -pa_IN -pl -pt -pt_BR -pt_PT -ro -ru -sk -sl -sv -sv_SE -tr -zh -zh_CN -zh_TW" 37,064 kB
[ebuild N ] dev-python/PyQt4-4.3.3 USE="-debug -doc -examples" 6,047 kB
[ebuild U ] media-gfx/imagemagick-6.3.7.9 [6.3.5.10] USE="X bzip2 fontconfig%* jpeg jpeg2k perl png svg%* tiff truetype xml zlib -djvu% -doc -fpx -graphviz -gs -hdri -jbig -lcms -nocxx -openexr -q32 -q8 -wmf (-mpeg%*)" 7,331 kB
[ebuild U ] net-wireless/libbtctl-0.10.0 [0.9.0] USE="-debug -doc -mono" 324 kB
[ebuild U ] app-emulation/wine-0.9.55 [0.9.54] USE="X alsa cups dbus esd gecko hal jpeg ldap ncurses opengl oss scanner xml -jack -lcms -nas -samba" 12,797 kB
[ebuild U ] net-wireless/gnome-bluetooth-0.11.0 [0.9.1] USE="-debug" 545 kB
[ebuild U ] net-misc/networkmanager-0.6.5_p20080205 [0.6.5_p20080130] USE="crypt gnome -debug -doc" 970 kB
[ebuild U ] gnome-extra/nm-applet-0.6.5_p20080208 [0.6.5_p20080131] USE="libnotify -debug -doc" 763 kB
[ebuild U ] net-wireless/bluez-gnome-0.18 [0.17] USE="gnome -debug" 300 kB
[ebuild U ] x11-libs/qscintilla-2.1-r1 [1.7.1] USE="python%* qt4%* -debug% -doc -examples%" 1,824 kB
[ebuild N ] dev-python/qscintilla-python-2.1 USE="qt4" 0 kB
|
Maybe not so interesting since using less than in my mask file of course worked...
But what I still don't understand is why emerge suddenly didn't like my ebuilds.....
BTJ |
|
| Back to top |
|
 |
yabbadabbadont Veteran


Joined: 13 Mar 2003 Posts: 4739
|
Posted: Mon Feb 11, 2008 3:33 pm Post subject: |
|
|
| bjorntj wrote: | | But what I still don't understand is why emerge suddenly didn't like my ebuilds..... |
You would actually have to post them before anyone would be able to answer that question...  |
|
| Back to top |
|
 |
bjorntj Guru


Joined: 01 Jun 2005 Posts: 396
|
Posted: Mon Feb 11, 2008 4:12 pm Post subject: |
|
|
Didn't think anything was wrong with my ebuild since it has worked ok before but here it is...
| Code: |
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.1.0-r1.ebuild,v 1.2 2007/12/05 21:29:23 ticho Exp $
IUSE="bogofilter crypt dillo doc gnome gnutls imap ipv6 kde ldap nntp pda session spamassassin spell ssl startup-notification xface"
inherit eutils multilib
DESCRIPTION="Claws-Mail is an email client (and news reader) based on GTK+"
HOMEPAGE="http://www.claws-mail.org"
if [ -n "${P/*_rc*/}" ]; then
SRC_URI="mirror://sourceforge/sylpheed-claws/${P}.tar.bz2"
else
MY_P="${P/_/-}"
S="${WORKDIR}/${MY_P}"
SRC_URI="http://www.claws-mail.org/snapshots/${MY_P}.tar.bz2"
fi
SLOT="0"
LICENSE="GPL-3"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
COMMONDEPEND=">=x11-libs/gtk+-2.6
pda? ( >=app-pda/jpilot-0.99 )
ssl? ( >=dev-libs/openssl-0.9.7 )
ldap? ( >=net-nds/openldap-2.0.7 )
crypt? ( >=app-crypt/gpgme-1.1.1 )
dillo? ( www-client/dillo )
spell? ( virtual/aspell-dict )
kde? ( kde-base/kdelibs )
imap? ( >=net-libs/libetpan-0.49 )
nntp? ( >=net-libs/libetpan-0.49 )
gnome? ( >=gnome-base/libgnomeprintui-2.2 )
gnutls? ( net-libs/gnutls )
startup-notification? ( x11-libs/startup-notification )
bogofilter? ( mail-filter/bogofilter )
session? ( x11-libs/libSM
x11-libs/libICE )
!<mail-client/sylpheed-claws-2.6.1" # old name, block as user hint and due to some file collision
DEPEND="${COMMONDEPEND}
xface? ( >=media-libs/compface-1.4 )
>=sys-apps/sed-4
dev-util/pkgconfig"
RDEPEND="${COMMONDEPEND}
app-misc/mime-types
x11-misc/shared-mime-info"
PLUGIN_NAMES="acpi-notifier att-remover attachwarner cachesaver etpan-privacy fetchinfo gtkhtml maildir mailmbox newmail notification pdf-viewer perl rssyl smime synce vcalendar"
src_unpack() {
unpack ${A}
cd "${S}"
# Remove unmaintained insecure script, following upstream action
#rm tools/*sylprint* || die
sed -i -e '/sylprint/d' tools/Makefile.in || die
}
src_compile() {
local myconf="--disable-libetpan"
# libetpan is needed if user wants nntp or imap functionality
# TODO: Perhaps change it into a single "libetpan" USE flag?
use imap && myconf="--enable-libetpan"
use nntp && myconf="--enable-libetpan"
# Optional features
myconf="${myconf} `use_enable gnome gnomeprint`"
myconf="${myconf} `use_enable ipv6`"
myconf="${myconf} `use_enable ldap`"
myconf="${myconf} `use_enable pda jpilot`"
myconf="${myconf} `use_enable spell aspell`"
myconf="${myconf} `use_enable gnutls`"
myconf="${myconf} `use_enable ssl openssl`"
myconf="${myconf} `use_enable xface compface`"
myconf="${myconf} `use_enable doc manual`"
myconf="${myconf} `use_enable startup-notification`"
myconf="${myconf} `use_enable session libsm`"
# Optional plugins
myconf="${myconf} `use_enable crypt pgpmime-plugin`"
myconf="${myconf} `use_enable crypt pgpinline-plugin`"
myconf="${myconf} `use_enable crypt pgpcore-plugin`"
myconf="${myconf} `use_enable dillo dillo-viewer-plugin`"
myconf="${myconf} `use_enable spamassassin spamassassin-plugin`"
myconf="${myconf} `use_enable bogofilter bogofilter-plugin`"
econf \
--enable-trayicon-plugin \
--disable-maemo \
${myconf} || die "./configure failed"
emake || die
}
src_install() {
emake DESTDIR="${D}" install || die
# Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
# => also install it in /usr/share/pixmaps for other desktop envs
# => also install higher resolution icons in /usr/share/icons/hicolor/...
insinto /usr/share/pixmaps
doins ${PN}.png || die
local res resdir
for res in 64x64 128x128 ; do
resdir="/usr/share/icons/hicolor/${res}/apps"
insinto ${resdir}
newins ${PN}-${res}.png ${PN}.png || die
done
dodoc AUTHORS ChangeLog* INSTALL* NEWS README* TODO*
docinto tools
dodoc tools/README*
insinto /usr/share/applications
doins ${PN}.desktop
einfo "Installing extra tools"
cd "${S}"/tools
exeinto /usr/$(get_libdir)/${PN}/tools
doexe *.pl *.py *.conf *.sh || die
doexe tb2claws-mail update-po uudec uuooffice || die
if use kde; then
einfo "Installing kde service scripts"
local kdeprefix="$(kde-config --prefix)"
local servicescript="${PN}-kdeservicemenu.pl"
local desktopfile="${PN}-attach-files.desktop"
cd "${S}"/tools/kdeservicemenu
sed -i -e "s:SCRIPT_PATH:${kdeprefix}/bin/${servicescript}:g" \
${desktopfile}.template
dodir /usr/share/apps/konqueror/servicemenus
insopts -m 0644
insinto /usr/share/apps/konqueror/servicemenus
newins ${desktopfile}.template ${desktopfile} || die
dodir ${kdeprefix}/bin
insopts -m 755
exeinto ${kdeprefix}/bin
doexe ${servicescript} || die
fi
# kill useless plugin files
rm -f "${D}"/usr/lib*/${PN}/plugins/*.{la,a}
}
pkg_postinst() {
gtk-update-icon-cache -f -t "${ROOT}"/usr/share/icons/hicolor
UPDATE_PLUGINS=""
RENAME_PLUGINS=""
for x in ${PLUGIN_NAMES}; do
has_version mail-client/${PN}-$x && UPDATE_PLUGINS="${UPDATE_PLUGINS} $x"
has_version mail-client/sylpheed-claws-$x && RENAME_PLUGINS="${RENAME_PLUGINS} $x"
done
if [ -n "${RENAME_PLUGINS}" ]; then
elog
elog "The following sylpheed-claws plugins were found on your system:"
elog
for x in ${RENAME_PLUGINS}; do
elog " mail-client/sylpheed-claws-$x"
done
elog
elog "If you want to continue using those you need to merge their "
elog "renamed counterparts:"
elog
for x in ${RENAME_PLUGINS}; do
elog " mail-client/${PN}-$x"
done
elog
fi
if [ -n "${UPDATE_PLUGINS}" ]; then
elog
elog "You have to re-emerge or update the following plugins:"
elog
for x in ${UPDATE_PLUGINS}; do
elog " mail-client/${PN}-$x"
done
elog
fi
if [ -n "${RENAME_PLUGINS}${UPDATE_PLUGINS}" ]; then
elog
elog "You can use"
elog " /bin/bash ${FILESDIR}/plugins-rebuild.sh"
elog "to automatically handle this."
elog
epause 5
ebeep 3
fi
}
pkg_postrm() {
gtk-update-icon-cache -f -t "${ROOT}"/usr/share/icons/hicolor
}
|
BTJ |
|
| Back to top |
|
 |
Genone Retired Dev


Joined: 14 Mar 2003 Posts: 7742 Location: beyond the rim
|
Posted: Mon Feb 11, 2008 7:06 pm Post subject: |
|
|
Standard question: What does the following command say (exactly)?
| Code: | | emerge -pv '>=mail-client/claws-mail-3.3' |
|
|
| Back to top |
|
 |
bjorntj Guru


Joined: 01 Jun 2005 Posts: 396
|
Posted: Tue Feb 12, 2008 2:42 am Post subject: |
|
|
| Genone wrote: | Standard question: What does the following command say (exactly)?
| Code: | | emerge -pv '>=mail-client/claws-mail-3.3' |
|
Case solved...
The following has been entered in /usr/portage/profiles/package.mask:
| Code: |
# Andrej Kacian <ticho@gentoo.org> (09 Feb 2008)
# Temp. mask until I bump all plugins
=mail-client/claws-mail-3.3.0
=mail-client/claws-mail-acpi-notifier-1.0.15
=mail-client/claws-mail-attachwarner-0.2.9
=mail-client/claws-mail-clamav-3.3
=mail-client/claws-mail-gtkhtml-0.17.1
=mail-client/claws-mail-notification-0.15
=mail-client/claws-mail-pdf-viewer-0.9
=mail-client/claws-mail-rssyl-0.18
=mail-client/claws-mail-vcalendar-1.101
|
Thx... I hate not knowing why things doesn't work....
BTJ _________________ Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows" |
|
| Back to top |
|
 |
|