Mailing List Archive

crm114 - update failure
Hi all,
A long time ago I installed crm114 and have been having failures of updates for
some time. I have actually had the updates masked but thought I would try
again today. Thanks for any help
Paul
This is the error:-
>>> Compiling source in /var/tmp/portage/app-
text/crm114-20090807/work/crm114-20090807-BlameThorstenAndJenny.src ...
make -j5 -s
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -ltre
collect2: ld returned 1 exit status
make: *** [cssmerge] Error 1
make: *** Waiting for unfinished jobs....
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -ltre
collect2: ld returned 1 exit status
make: *** [cssdiff] Error 1
crmregex_tre.c:44: warning: initialization makes integer from pointer without a
cast
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -ltre
collect2: ld returned 1 exit status
make: *** [cssutil] Error 1
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -ltre
collect2: ld returned 1 exit status
make: *** [osbf-util] Error 1
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -ltre
collect2: ld returned 1 exit status
make: *** [crm114] Error 1
[.31;01m*[.0m ERROR: app-text/crm114-20090807 failed:
[.31;01m*[.0m emake failed

My emerge info:-
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop, gcc-4.4.4, glibc-2.11.2-r0,
2.6.33-gentoo x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-x86_64-AMD_Athlon-tm-
_64_X2_Dual_Core_Processor_4600+-with-gentoo-2.0.1
Timestamp of tree: Wed, 30 Jun 2010 18:00:22 +0000
ccache version 2.4 [enabled]
app-shells/bash: 4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python: 2.6.5-r2, 3.1.2-r3
dev-util/ccache: 2.4-r8
dev-util/cmake: 2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.6.1-r1
sys-apps/sandbox: 2.2
sys-devel/autoconf: 2.13, 2.65-r1
sys-devel/automake: 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.4.4-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.10
virtual/os-headers: 2.6.34
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -march=k8 -mno-tls-direct-seg-refs -mmmx -msse3 -pipe -fomit-frame-
pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/java-config/vms/
/etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo
/etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d
/etc/texmf/web2c"
CXXFLAGS="-Os -march=k8 -mno-tls-direct-seg-refs -mmmx -msse3 -pipe -fomit-
frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests ccache distlocks fixpackages metadata-transfer news
parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-
orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://www.ibiblio.org/pub/Linux/distributions/gentoo
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
ftp://mirror.qubenet.net/mirror/gentoo/ ftp://sunsite.informatik.rwth-
aachen.de/pub/Linux/gentoo http://pandemonium.tiscali.de/pub/gentoo/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,--as-needed,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="en_GB"
MAKEOPTS="-j5 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acl acpi alsa amd64 avi bash-completion berkdb
bluetooth branding bzip2 cairo cdparanoia cdr clamav cli consolekit cracklib
crypt cups cxx dbus divx divx4linux dri dts dv dvb dvd dvdr dvdread embedded
emboss encode examples exif fam ffmpeg flac fortran gdbm gif gphoto2 gpm hal
iconv imagemagick ipv6 jack java java6 javascript jpeg kde kerberos lame lcms
ldap libnotify lm_sensors logrotate mad mikmod mjpeg mmx mng modules mp3 mp4
mpeg mplayer mudflap multilib mysql ncurses nls nptl nptlonly nsplugin nvidia
ogg opengl openmp pam pango pascal pcre pdf perl png ppds pppd python
qt3support qt4 readline reflection ruby samba scanner sdl semantic-desktop
session spell spl sql sqlite sse sse2 ssl startup-notification svg sysfs tcpd
theora tiff tk truetype udev unicode usb v4l vorbis webkit x264 xcb xcomposite
xine xinerama xml xml2 xorg xulrunner 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 mmap_emul 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="evdev wacom" KERNEL="linux"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses
text" LINGUAS="en_GB" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia"
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface
geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac
delude chaos account"
Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
--
This message has been sent using kmail on gentoo.
Re: crm114 - update failure [ In reply to ]
On Wed, 30 Jun 2010 19:32:39 +0100
Paul Stear <gentoo@appjaws.plus.com> wrote:

> This is the error:-
> >>> Compiling source in /var/tmp/portage/app-
> text/crm114-20090807/work/crm114-20090807-BlameThorstenAndJenny.src ...
> make -j5 -s
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
> cannot find -ltre
>

I don't use crm114, but from this log it seems that libtre, and thus
package tre, is not installed.

Frank Peters
Re: crm114 - update failure [ In reply to ]
On Wednesday 30 Jun 2010 20:20:43 Frank Peters wrote:
> On Wed, 30 Jun 2010 19:32:39 +0100
>
> Paul Stear <gentoo@appjaws.plus.com> wrote:
> > This is the error:-
> >
> > >>> Compiling source in /var/tmp/portage/app-
> >
> > text/crm114-20090807/work/crm114-20090807-BlameThorstenAndJenny.src ...
> > make -j5 -s
> > /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bi
> > n/ld: cannot find -ltre
>
> I don't use crm114, but from this log it seems that libtre, and thus
> package tre, is not installed.
>
> Frank Peters
Thanks for your reply. package tre is installed

~/ > slocate libtre
/usr/lib64/libtre.so.5.0.0
/usr/lib64/libtre.so.5
/usr/lib64/libtre.so
/usr/lib64/libtre.la

But I do not have any entries for ltre
I tried again with MAKEOPTS="-j1" and the install gets a bit further but still
fails with:-
crmregex_tre.c:44: warning: initialization makes integer from pointer without a
cast
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
cannot find -ltre
collect2: ld returned 1 exit status
make: *** [crm114] Error 1

Any other ideas?
regards
Paul
--
This message has been sent using kmail on gentoo.
Re: crm114 - update failure [ In reply to ]
On Thu, 1 Jul 2010 11:30:55 +0100
Paul Stear wrote:

> On Wednesday 30 Jun 2010 20:20:43 Frank Peters wrote:
> > On Wed, 30 Jun 2010 19:32:39 +0100
> >
> > Paul Stear <gentoo@appjaws.plus.com> wrote:
> > > This is the error:-
> > >
> > > >>> Compiling source in /var/tmp/portage/app-
> > >
> > > text/crm114-20090807/work/crm114-20090807-BlameThorstenAndJenny.src ...
> > > make -j5 -s
> > > /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bi
> > > n/ld: cannot find -ltre
> >
> > I don't use crm114, but from this log it seems that libtre, and thus
> > package tre, is not installed.
> >
> > Frank Peters
> Thanks for your reply. package tre is installed
>
> ~/ > slocate
> libtre /usr/lib64/libtre.so.5.0.0
> /usr/lib64/libtre.so.5
> /usr/lib64/libtre.so
> /usr/lib64/libtre.la
>
> But I do not have any entries for ltre
> I tried again with MAKEOPTS="-j1" and the install gets a bit further
> but still fails with:-
> crmregex_tre.c:44: warning: initialization makes integer from pointer
> without a cast
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.4/../../../../x86_64-pc-linux-gnu/bin/ld:
> cannot find -ltre
> collect2: ld returned 1 exit status
> make: *** [crm114] Error 1
>
> Any other ideas?
> regards
> Paul

"-ltre" indicates a library is needed (with the "-l" switch) and is
named "tre". It does not indicate that "ltre" is needed (since the "l"
is part of the switch).

Possibly you have a bad symlink. Instead of "slocate libtre" to simply
list matching names, try "ls -lt `slocate libtre`" (using backticks) to
show the actual directory entries. This will give more detailed info.
Re: crm114 - update failure [ In reply to ]
On Thursday 01 Jul 2010 12:25:48 David Relson wrote:
>Possibly you have a bad symlink. Instead of "slocate libtre" to simply
>list matching names, try "ls -lt `slocate libtre`" (using backticks) to
>show the actual directory entries. This will give more detailed info.

Thanks David,
This is what I get:-
~/ > ls -lt `slocate libtre`
lrwxrwxrwx 1 root root 15 Jul 1 11:02 /usr/lib64/libtre.so ->
libtre.so.5.0.0
lrwxrwxrwx 1 root root 15 Jul 1 11:02 /usr/lib64/libtre.so.5 ->
libtre.so.5.0.0
-rwxr-xr-x 1 root root 51520 Jul 1 11:02 /usr/lib64/libtre.so.5.0.0
-rw-r--r-- 1 root root 796 Jul 1 11:02 /usr/lib64/libtre.la

I'm none the wiser, does this indicate anything to you?
regards
Paul
--
This message has been sent using kmail on gentoo.
Re: crm114 - update failure [ In reply to ]
On Thu, 1 Jul 2010 13:22:01 +0100
Paul Stear <gentoo@appjaws.plus.com> wrote:

> This is what I get:-
> ~/ > ls -lt `slocate libtre`
> lrwxrwxrwx 1 root root 15 Jul 1 11:02 /usr/lib64/libtre.so ->
> libtre.so.5.0.0
> lrwxrwxrwx 1 root root 15 Jul 1 11:02 /usr/lib64/libtre.so.5 ->
> libtre.so.5.0.0
> -rwxr-xr-x 1 root root 51520 Jul 1 11:02 /usr/lib64/libtre.so.5.0.0
> -rw-r--r-- 1 root root 796 Jul 1 11:02 /usr/lib64/libtre.la
>

You are missing libtre.a, the static library.

You should emerge tre with USE="static-libs" to get it.

I don't know if package tre respects the "static-libs" USE option, but
it is worth a try.

Frank Peters
Re: crm114 - update failure [ In reply to ]
В Чтв, 01/07/2010 в 10:50 -0400, Frank Peters пишет:
> You are missing libtre.a, the static library.
>
> You should emerge tre with USE="static-libs" to get it.

Better option is to fix http://bugs.gentoo.org/299503 and attach patch
to the bug. I don't think it's hard so if somebody have time and
interest you are welcome to contribute :)

--
Peter.
Re: crm114 - update failure [ In reply to ]
On Thursday 01 Jul 2010 15:50:46 Frank Peters wrote:
> On Thu, 1 Jul 2010 13:22:01 +0100
>
> Paul Stear <gentoo@appjaws.plus.com> wrote:
<snip>
> You are missing libtre.a, the static library.
>
> You should emerge tre with USE="static-libs" to get it.
>
> I don't know if package tre respects the "static-libs" USE option, but
> it is worth a try.
>
> Frank Peters
Hello Frank,
USE="static-libs" did not work but after reading the bug that Peter highlighted
I was a bit confused (not unusual for me) but I tried MAKEOPTS="-j1" USE=-
static emerge --oneshot -avtu crm114 and it worked.
So I now have it installed but in kmail when I run the spam wizard it reports
that no spam detection tools were found.
I just don't know what to do next, should I use another spam tool? Any
recommendations?
Thanks for all who helped
Paul
--
This message has been sent using kmail on gentoo.