Complete.Org: Mailing Lists: Archives: offlineimap: July 2002:
Re: RPM build of version 3.0.3 failed on Mandrake 8.2
Home

Re: RPM build of version 3.0.3 failed on Mandrake 8.2

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: John Goerzen <jgoerzen@xxxxxxxxxxxx>
Cc: offlineimap@xxxxxxxxxxxx
Subject: Re: RPM build of version 3.0.3 failed on Mandrake 8.2
From: "Fischer, Daniel" <Daniel.Fischer@xxxxxxxxxx>
Date: 22 Jul 2002 17:19:07 +0200

Am Mon, 2002-07-22 um 16.15 schrieb John Goerzen:
> On Mon, Jul 22, 2002 at 02:12:36PM +0200, Fischer, Daniel wrote:
> 
> 
> > Could anyone please take a look why this happens?
> 
> 
> Looks like a bug in distutils.  Try this patch:
> 
> --- offlineimap/head/setup.py (original)
> +++ offlineimap/head/setup.py Mon Jul 22 09:08:10 2002
> @@ -35,6 +35,7 @@
>        packages = ['offlineimap', 'offlineimap.folder',
>                    'offlineimap.repository', 'offlineimap.ui'],
>        scripts = ['offlineimap.py'],
> -      license = offlineimap.version.license
> +      license = offlineimap.version.copyright + \
> +                ", Licensed under the GPL version 2"
>  )
>  

It is better than before, but now there is another problem:


[root@df23 offlineimap-3.0.3]# python setup.py bdist_rpm
running bdist_rpm
writing 'build/bdist.linux-i686/rpm/SPECS/offlineimap.spec'
running sdist
reading manifest file 'MANIFEST'
creating offlineimap-3.0.3
creating offlineimap-3.0.3/offlineimap
creating offlineimap-3.0.3/offlineimap/folder
creating offlineimap-3.0.3/offlineimap/repository
creating offlineimap-3.0.3/offlineimap/ui
making hard links in offlineimap-3.0.3...
hard linking README -> offlineimap-3.0.3
hard linking setup.py -> offlineimap-3.0.3
hard linking offlineimap/__init__.py -> offlineimap-3.0.3/offlineimap
hard linking offlineimap/imaplib.py -> offlineimap-3.0.3/offlineimap
hard linking offlineimap/imapserver.py -> offlineimap-3.0.3/offlineimap
hard linking offlineimap/imaputil.py -> offlineimap-3.0.3/offlineimap
hard linking offlineimap/mbnames.py -> offlineimap-3.0.3/offlineimap
hard linking offlineimap/threadutil.py -> offlineimap-3.0.3/offlineimap
hard linking offlineimap/version.py -> offlineimap-3.0.3/offlineimap
hard linking offlineimap/folder/Base.py ->
offlineimap-3.0.3/offlineimap/folder
hard linking offlineimap/folder/IMAP.py ->
offlineimap-3.0.3/offlineimap/folder
hard linking offlineimap/folder/LocalStatus.py ->
offlineimap-3.0.3/offlineimap/folder
hard linking offlineimap/folder/Maildir.py ->
offlineimap-3.0.3/offlineimap/folder
hard linking offlineimap/folder/__init__.py ->
offlineimap-3.0.3/offlineimap/folder
hard linking offlineimap/repository/Base.py ->
offlineimap-3.0.3/offlineimap/repository
hard linking offlineimap/repository/IMAP.py ->
offlineimap-3.0.3/offlineimap/repository
hard linking offlineimap/repository/LocalStatus.py ->
offlineimap-3.0.3/offlineimap/repository
hard linking offlineimap/repository/Maildir.py ->
offlineimap-3.0.3/offlineimap/repository
hard linking offlineimap/repository/__init__.py ->
offlineimap-3.0.3/offlineimap/repository
hard linking offlineimap/ui/TTY.py -> offlineimap-3.0.3/offlineimap/ui
hard linking offlineimap/ui/Tk.py -> offlineimap-3.0.3/offlineimap/ui
hard linking offlineimap/ui/UIBase.py ->
offlineimap-3.0.3/offlineimap/ui
hard linking offlineimap/ui/__init__.py ->
offlineimap-3.0.3/offlineimap/ui
hard linking offlineimap/ui/detector.py ->
offlineimap-3.0.3/offlineimap/ui
tar -cf dist/offlineimap-3.0.3.tar offlineimap-3.0.3
gzip -f9 dist/offlineimap-3.0.3.tar
removing 'offlineimap-3.0.3' (and everything under it)
copying dist/offlineimap-3.0.3.tar.gz ->
build/bdist.linux-i686/rpm/SOURCES
building RPMs
rpm -ba --define _topdir
/home/df/download/offlineimap-3.0.3/build/bdist.linux-i686/rpm --clean
build/bdist.linux-i686/rpm/SPECS/offlineimap.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.24895
+ umask 022
+ cd
/home/df/download/offlineimap-3.0.3/build/bdist.linux-i686/rpm/BUILD
+ cd
/home/df/download/offlineimap-3.0.3/build/bdist.linux-i686/rpm/BUILD
+ rm -rf offlineimap-3.0.3
+ /bin/gzip -dc
/home/df/download/offlineimap-3.0.3/build/bdist.linux-i686/rpm/SOURCES/offlineimap-3.0.3.tar.gz
+ tar -xvvf -
drwxr-sr-x root/users        0 2002-07-22 17:03:09 offlineimap-3.0.3/
drwxr-sr-x root/users        0 2002-07-22 17:03:09
offlineimap-3.0.3/offlineimap/
drwxr-sr-x root/users        0 2002-07-22 17:03:09
offlineimap-3.0.3/offlineimap/folder/
-rw-r--r-- df/users      11672 2002-07-18 02:25:16
offlineimap-3.0.3/offlineimap/folder/Base.py
-rw-r--r-- df/users       8834 2002-07-20 04:01:15
offlineimap-3.0.3/offlineimap/folder/IMAP.py
-rw-r--r-- df/users       3116 2002-07-18 02:25:16
offlineimap-3.0.3/offlineimap/folder/LocalStatus.py
-rw-r--r-- df/users       8109 2002-07-21 22:40:14
offlineimap-3.0.3/offlineimap/folder/Maildir.py
-rw-r--r-- df/users         41 2002-07-18 02:25:16
offlineimap-3.0.3/offlineimap/folder/__init__.py
drwxr-sr-x root/users        0 2002-07-22 17:03:09
offlineimap-3.0.3/offlineimap/repository/
-rw-r--r-- df/users       2254 2002-07-18 02:25:13
offlineimap-3.0.3/offlineimap/repository/Base.py
-rw-r--r-- df/users       3380 2002-07-18 02:25:13
offlineimap-3.0.3/offlineimap/repository/IMAP.py
-rw-r--r-- df/users       1808 2002-07-18 02:25:13
offlineimap-3.0.3/offlineimap/repository/LocalStatus.py
-rw-r--r-- df/users       2401 2002-07-18 02:25:13
offlineimap-3.0.3/offlineimap/repository/Maildir.py
-rw-r--r-- df/users         40 2002-07-18 02:25:13
offlineimap-3.0.3/offlineimap/repository/__init__.py
drwxr-sr-x root/users        0 2002-07-22 17:03:09
offlineimap-3.0.3/offlineimap/ui/
-rw-r--r-- df/users       2902 2002-07-18 02:25:15
offlineimap-3.0.3/offlineimap/ui/TTY.py
-rw-r--r-- df/users       9705 2002-07-18 02:25:14
offlineimap-3.0.3/offlineimap/ui/Tk.py
-rw-r--r-- df/users       6694 2002-07-18 02:25:15
offlineimap-3.0.3/offlineimap/ui/UIBase.py
-rw-r--r-- df/users        972 2002-07-18 02:25:14
offlineimap-3.0.3/offlineimap/ui/__init__.py
-rw-r--r-- df/users       1433 2002-07-18 02:25:14
offlineimap-3.0.3/offlineimap/ui/detector.py
-rw-r--r-- df/users         52 2002-07-18 02:25:11
offlineimap-3.0.3/offlineimap/__init__.py
-rw-r--r-- df/users      42016 2002-07-18 02:25:12
offlineimap-3.0.3/offlineimap/imaplib.py
-rw-r--r-- df/users       9546 2002-07-18 02:25:12
offlineimap-3.0.3/offlineimap/imapserver.py
-rw-r--r-- df/users       4163 2002-07-18 02:25:11
offlineimap-3.0.3/offlineimap/imaputil.py
-rw-r--r-- df/users       1441 2002-07-18 02:25:11
offlineimap-3.0.3/offlineimap/mbnames.py
-rw-r--r-- df/users       6281 2002-07-18 02:25:11
offlineimap-3.0.3/offlineimap/threadutil.py
-rw-r--r-- df/users       3529 2002-07-21 22:46:33
offlineimap-3.0.3/offlineimap/version.py
-rw-r--r-- df/users        410 2002-07-18 02:25:07
offlineimap-3.0.3/README
-rw-r--r-- df/users       1523 2002-07-22 17:00:42
offlineimap-3.0.3/setup.py
-rw-r--r-- root/users      348 2002-07-22 17:03:09
offlineimap-3.0.3/PKG-INFO
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd offlineimap-3.0.3
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.24895
+ umask 022
+ cd
/home/df/download/offlineimap-3.0.3/build/bdist.linux-i686/rpm/BUILD
+ cd offlineimap-3.0.3
+ python setup.py build
running build
running build_py
creating build
creating build/lib
creating build/lib/offlineimap
copying offlineimap/__init__.py -> build/lib/offlineimap
copying offlineimap/imaplib.py -> build/lib/offlineimap
copying offlineimap/imapserver.py -> build/lib/offlineimap
copying offlineimap/imaputil.py -> build/lib/offlineimap
copying offlineimap/mbnames.py -> build/lib/offlineimap
copying offlineimap/threadutil.py -> build/lib/offlineimap
copying offlineimap/version.py -> build/lib/offlineimap
creating build/lib/offlineimap/folder
copying offlineimap/folder/Base.py -> build/lib/offlineimap/folder
copying offlineimap/folder/IMAP.py -> build/lib/offlineimap/folder
copying offlineimap/folder/LocalStatus.py ->
build/lib/offlineimap/folder
copying offlineimap/folder/Maildir.py -> build/lib/offlineimap/folder
copying offlineimap/folder/__init__.py -> build/lib/offlineimap/folder
creating build/lib/offlineimap/repository
copying offlineimap/repository/Base.py ->
build/lib/offlineimap/repository
copying offlineimap/repository/IMAP.py ->
build/lib/offlineimap/repository
copying offlineimap/repository/LocalStatus.py ->
build/lib/offlineimap/repository
copying offlineimap/repository/Maildir.py ->
build/lib/offlineimap/repository
copying offlineimap/repository/__init__.py ->
build/lib/offlineimap/repository
creating build/lib/offlineimap/ui
copying offlineimap/ui/TTY.py -> build/lib/offlineimap/ui
copying offlineimap/ui/Tk.py -> build/lib/offlineimap/ui
copying offlineimap/ui/UIBase.py -> build/lib/offlineimap/ui
copying offlineimap/ui/__init__.py -> build/lib/offlineimap/ui
copying offlineimap/ui/detector.py -> build/lib/offlineimap/ui
running build_scripts
creating build/scripts-2.2
error: file 'offlineimap.py' does not exist
Fehler: Bad exit status from /var/tmp/rpm-tmp.24895 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.24895 (%build)
error: command 'rpm' failed with exit status 1
[root@df23 offlineimap-3.0.3]# 


> -- 
> John Goerzen <jgoerzen@xxxxxxxxxxxx>    GPG: 0x8A1D9A1F    www.complete.org



[Prev in Thread] Current Thread [Next in Thread]