aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Rpmbuild error missing /var/tpm/ ... /share/amuled repertory  (Read 2341 times)

flash90

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1
Rpmbuild error missing /var/tpm/ ... /share/amuled repertory
« on: October 22, 2006, 02:47:25 PM »

Hello,
I have a problem to make a rmp with rpmbuild when i try rpmbuild -ta aMule-2.1.3.tar.bz2 :

Erreur de construction de RPM:
    Fichier non trouvé: /var/tmp/aMule-2.1.3-0-root-famille/usr/share/amuled

The /var/tmp/aMule- .../usr/share/ repertory contain :
/aMule
/application
/cas
/doc
/locale
/man
/pixmaps
but not aMuled.

My goal is to create a rpm of aMule with the following options :
(I want the amule deamon amuled, amule gui and webserver)

   --enable-embedded_crypto \
   --enable-amule-daemon \
   --enable-amule-gui \
        --enable-optimize \
        --disable-debug \
        --enable-cas \
        --enable-wxcas \
        --enable-amulecmd \
        --enable-webserver \
   --disable-monolithic \
   --enable-alcc \
   --enable-alc \
        --enable-ccache

I have this spec file that i have write with the previous options:

Code: [Select]
Summary:        aMule - another eMule p2p client
Name:           aMule
Version:        2.1.3
Release:        0
License:        GPL
Group:          Applications/Internet
Packager:       The aMule Team ([URL]http://forum.amule.org/[/URL])
Vendor:         The aMule Project
URL:            [URL]http://www.amule.org/[/URL]
Source:         %{name}-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

%description
aMule is a peer to peer file sharing client, based on the well known eMule.
Starting with 2.0.0 aMule works on Linux, Mac, *BSD and Windows, which makes it
the first multi-platform edonkey network client.

%prep
%setup -q

%build
%configure \
--enable-embedded_crypto \
--enable-amule-daemon \
--enable-amule-gui \
        --enable-optimize \
        --disable-debug \
        --enable-cas \
        --enable-wxcas \
        --enable-amulecmd \
        --enable-webserver \
--disable-monolithic \
--enable-alcc \
--enable-alc \
        --enable-ccache
%{__make} %{?_smp_mflags}

%install
[ ! "$RPM_BUILD_ROOT" = "/" ] && %{__rm} -rf "$RPM_BUILD_ROOT"
%makeinstall
%find_lang amule

%clean
[ ! "$RPM_BUILD_ROOT" = "/" ] && %{__rm} -rf "$RPM_BUILD_ROOT"

%files -f amule.lang
%defattr(-,root,root,-)
%{_bindir}/amuled
%{_bindir}/ed2k
%{_bindir}/amulecmd
%{_bindir}/cas
%{_bindir}/wxcas
%{_bindir}/amuleweb
%{_libdir}/xchat/plugins/xas.pl
%{_datadir}/applications/*
%{_datadir}/pixmaps/*
%{_mandir}/man1/*
%{_mandir}/*/man1/*
%docdir %{_datadir}/doc/%{name}-%{version}
%{_datadir}/doc/%{name}-%{version}
%{_datadir}/cas
%{_datadir}/amuled

%changelog

I do : rpmbuild -ta aMule-2.1.3.tar.bz2 to lunch the compilation and i optain the following error :

Code: [Select]
extracting debug info from /var/tmp/aMule-2.1.3-0-root-famille/usr/bin/wxcas
extracting debug info from /var/tmp/aMule-2.1.3-0-root-famille/usr/bin/amulegui
extracting debug info from /var/tmp/aMule-2.1.3-0-root-famille/usr/bin/alc
extracting debug info from /var/tmp/aMule-2.1.3-0-root-famille/usr/bin/amulecmd
extracting debug info from /var/tmp/aMule-2.1.3-0-root-famille/usr/bin/ed2k
cpio: aMule-2.1.3/src/: No such file or directory
cpio: aMule-2.1.3/src/libs/common/: No such file or directory
cpio: aMule-2.1.3/src/libs/ec/: No such file or directory
cpio: aMule-2.1.3/src/utils/aLinkCreator/src/: No such file or directory
cpio: aMule-2.1.3/src/utils/wxCas/src/: No such file or directory
cpio: aMule-2.1.3/src/webserver/src/: No such file or directory
10065 blocks
+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump
+ /usr/lib/rpm/brp-python-bytecompile
Traitement des fichiers: aMule-2.1.3-0
erreur: Fichier non trouvé: /var/tmp/aMule-2.1.3-0-root-famille/usr/share/amuled
Traitement des fichiers: aMule-debuginfo-2.1.3-0
Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1


[COLOR=red]Erreur de construction de RPM:
    Fichier non trouvé: /var/tmp/aMule-2.1.3-0-root-famille/usr/share/amuled[/COLOR]

Someone have an idea?

ls -l /usr/bin/wx*
lrwxrwxrwx 1 root root    43 oct 22 12:26 /usr/bin/wx-config -> /usr/lib/wx/config/gtk2-unicode-release-2.6
lrwxrwxrwx 1 root root     8 oct 22 12:26 /usr/bin/wxrc -> wxrc-2.6
-rwxr-xr-x 1 root root 92376 jui  3 18:14 /usr/bin/wxrc-2.6

 ls -l /usr/local/bin/wx*
ls: /usr/local/bin/wx*: Aucun fichier ou répertoire de ce type

rpm -qa | grep wx
wxGTK-2.6.3-2.6.3.2.2.fc5
wxGTK-devel-2.6.3-2.6.3.2.2.fc5
wxGTK-gl-2.6.3-2.6.3.2.2.fc5
« Last Edit: October 22, 2006, 02:48:24 PM by flash90 »
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: Rpmbuild error missing /var/tpm/ ... /share/amuled repertory
« Reply #1 on: October 22, 2006, 06:07:34 PM »

Please post the complete buildlog as attachment. (Just the stuff at the end is not sufficient.)

It seems that amuled does not get build although requested. Maybe a missing dependency => buildlog needed.
Logged