[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 131216] New: Building source and/or binary RPM fails
From: arenamaster () sbcglobal ! net
Date: 2006-07-22 17:04:04
Message-ID: 20060722190402.131216.arenamaster () sbcglobal ! net
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=131216
Summary: Building source and/or binary RPM fails
Product: kdevelop
Version: 3.3.3
Platform: RedHat RPMs
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-bugs kdevelop org
ReportedBy: arenamaster sbcglobal net
Version: 3.3.3 (using KDE KDE 3.5.3)
Installed from: RedHat RPMs
OS: Linux
When trying to build an RPM for my new program (which has never been distributed as an RPM before), I \
follow this procedure:
1) Project | Distribution & Publishing
2) Select Package Information and fill in the empty fields \
(version,release,vendor,license,summary,group,packager) 3) Click "Build Binary Package", which shows that \
the .spec file doesn't exist. 4) Click "Export Build Files" to create spec file.
5) Click "Build Binary Package".
The application window shows:
cd " && rpmbuild -ba [myprogram].kdevelop.spec
error: Legacy syntax is unsupported: copyright
error: line 9: Unknown tag: Copyright: GPL
*** Exited with status: 1 ***
Note that the double quote on the rpmbuild line appears verbatim in the KDevelop Application output tab, \
and was not a typo on my part. I don't know how rpmbuild syntax works, so I'm pointing this out as what \
seems to me to be an oddity.
The GPL reference in the text above is probably because I entered GPL in the license field.
If I delete the Copyright line from the spec file, and try again to build a binary package, rpmbuild \
complains about an empty Source tag (I haven't made a source package yet).
If I change Copyright to License, go to the "Source Distribution" tab, click "Create Source Archive", \
manually copy the created archive file to "/usr/src/redhat/SOURCES", then try to build the binary package \
again, the process begins. However, it produces many errors along the lines of:
tar: [myprogram].kdevelop/[some file in my archive]: Cannot open: File exists
The above repeats for every file in the source archive, including subdirectories.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic