Bug 51320

Summary: Can't create source archive (.tar.gz, .tar.bz2)
Product: [Applications] kdevelop Reporter: Manuel Fierlbeck <manuel.fierlbeck>
Component: distpartAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 3.0.0a2   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: output of "make dist"
output of kdevelop-3.0.3

Description Manuel Fierlbeck 2002-11-29 13:42:38 UTC
Version:            (using KDE KDE 3.0.9)
Compiler:          gcc-2.95.3 
OS:          Linux

Creating source archives with tool "Packaging and distribution"doesn't seem to be functional yet.If "use bzip2" is selected, the make process stops immediatelywith error "No rule to make target dist-bzip2".If you use standard settings, the make process creates a temporarydirectory "appname-version" and sets some symlinks there. Aftera while, the process stops with a syntax error (see below).The temporary directory breaks all other build processes, it mustbe deleted manually before make works again.chmod -R a+w orthanc-0.1.4 >/dev/null 2>&1; rm -rf orthanc-0.1.4mkdir orthanc-0.1.4/bin/sh /home/manuel/entw/cpp/orthanc/admin/mkinstalldirs orthanc-0.1.4/adminmkdir -p -- orthanc-0.1.4/adminfor subdir in doc po src; do \  if test "$subdir" = .; then :; else \    test -d orthanc-0.1.4/$subdir \    || mkdir orthanc-0.1.4/$subdir \    || exit 1; \    (cd $subdir && \      make  \        top_distdir="." \        distdir=../orthanc-0.1.4/$subdir \        distdir) \      || exit 1; \  fi; \donemake[1]: Wechsel in das Verzeichnis Verzeichnis 
Comment 1 Manuel Fierlbeck 2002-11-29 13:43:34 UTC
Created attachment 544 [details]
output of "make dist"
Comment 2 Harald Fernengel 2002-12-03 22:00:49 UTC
Yes, confirmed. P.S.: Linefeeds increase readability a lot ;) 
Comment 3 Manuel Fierlbeck 2004-05-16 14:54:29 UTC
Created attachment 6024 [details]
output of kdevelop-3.0.3
Comment 4 Manuel Fierlbeck 2004-05-16 14:55:52 UTC
In KDevelop-3.0.3, packaging doesn't work at all. Targets "dist" and
"dist-bzip2" are undefined. This problem is independent from location of builddir relative to srcdir.
I tested with a new "KDE Application framework" project created with KDevelop-3.0.3 running under KDE-3.2.2. I created the project and ran
automake and configure from the menu. I use automake 1.7.6 and autoconf 2.57.
In the attached output of building a bzip2-archive, note that the filename to be moved looks somewhat wierd. I entered "disttest-%v-%d" for the target filename in the packaging dialog.

Comment 5 Sven Schmidt 2004-10-18 15:24:56 UTC
Works here with kdevelop 3.1.1 fine.
SuSE 9.1, GCC 3.4.2, kompiled from source.

Regards,

Sven Schmidt
Comment 6 Amilcar do Carmo Lucas 2004-10-26 20:35:38 UTC
Manuel can you test again ?
Comment 7 Amilcar do Carmo Lucas 2005-01-14 14:03:49 UTC
No feedback, assuming FIXED