Re: rpmbuild error

2018-09-27 Thread Ranjan Maitra
Hi, Thanks again! The spec file compiles fine but also does without libtool. Why do we need it? What more info would you like? I don't know what a desktop file does exactly, and I don't know why there is a file such as that in /etc/wbar.d, sorry. Many thanks and best wishes, Ranjan On Tue,

Re: rpmbuild error

2018-09-27 Thread Sam Varshavchik
Ranjan Maitra writes: RPM build errors: Macro expanded in comment on line 11: %{name}-%{version}.tar.bz2 Bad exit status from /var/tmp/rpm-tmp.Am2P0X (%build) I wonder: what is causing these errors? Line 11 of the file seems to be something else. Line 11 has nothing to do with

Re: rpmbuild error

2018-09-27 Thread Richard Shaw
I played around a bit and built it in mock and found several dependencies you didn't have in the spec file. You didn't provide the desktop file so I commented it out but I noticed it puts one in /etc/wbar.d so I'm not sure what it's for... I can fix it up a bit more if you can provide more info.

Re: rpmbuild error

2018-09-27 Thread Richard Shaw
On Tue, Sep 25, 2018 at 9:47 PM Ranjan Maitra wrote: > On Tue, 25 Sep 2018 07:52:46 -0500 Richard Shaw > wrote: > > > On Mon, Sep 24, 2018 at 10:07 PM Ranjan Maitra wrote: > > > > > Hi, > > > > > > I have not done this for a while, and I was trying to build a small rpm > > > using a previously

Re: rpmbuild error

2018-09-25 Thread Ranjan Maitra
On Tue, 25 Sep 2018 07:52:46 -0500 Richard Shaw wrote: > On Mon, Sep 24, 2018 at 10:07 PM Ranjan Maitra wrote: > > > Hi, > > > > I have not done this for a while, and I was trying to build a small rpm > > using a previously written .spec file which I had created some time ago and > > which

Re: rpmbuild error

2018-09-25 Thread Richard Shaw
On Mon, Sep 24, 2018 at 10:07 PM Ranjan Maitra wrote: > Hi, > > I have not done this for a while, and I was trying to build a small rpm > using a previously written .spec file which I had created some time ago and > which compiled without incident till F27. Over time gcc gets more pedantic

rpmbuild error

2018-09-24 Thread Ranjan Maitra
Hi, I have not done this for a while, and I was trying to build a small rpm using a previously written .spec file which I had created some time ago and which compiled without incident till F27. The spec file is at: https://paste.fedoraproject.org/paste/UyRdT3LJxQ5cW21SjBeR9w The source is

Re: rpmbuild error (wbar) on F24

2016-06-27 Thread stan
On Mon, 27 Jun 2016 10:56:52 -0500 Ranjan Maitra wrote: > On Sun, 26 Jun 2016 23:35:39 +0200 Michael Schwendt > wrote: > > > On Sun, 26 Jun 2016 12:44:59 -0500, Ranjan Maitra wrote: > > > > > > Revisit the build output and look for a real

Re: rpmbuild error (wbar) on F24

2016-06-27 Thread Ranjan Maitra
On Sun, 26 Jun 2016 23:35:39 +0200 Michael Schwendt wrote: > On Sun, 26 Jun 2016 12:44:59 -0500, Ranjan Maitra wrote: > > > > Revisit the build output and look for a real error message from the > > > compiler, not these that Make prints. > > > > Where is this build

Re: rpmbuild error (wbar) on F24

2016-06-26 Thread Link Dupont
On Sun, 2016-06-26 at 18:09 -0500, Ranjan Maitra wrote: > > So, how should I fix this? Is this something that has to be taken > care of, upstream? The normal procedure, as a package maintainer, would be for you to fix it by writing a patch, applying the patch to your spec file, and submit the

Re: rpmbuild error (wbar) on F24

2016-06-26 Thread Ranjan Maitra
Michael, Thanks! > Here: > > > ../src/core/Main.cc:84:35: error: invalid suffix on literal; C++11 requires > > a space between literal and string macro [-Werror=literal-suffix] > > command = PACKAGE_NAME" "DEFAULT_ARGV; > > And the line above that is the full invocation of the

Re: rpmbuild error (wbar) on F24

2016-06-26 Thread Michael Schwendt
On Sun, 26 Jun 2016 12:44:59 -0500, Ranjan Maitra wrote: > > Revisit the build output and look for a real error message from the > > compiler, not these that Make prints. > > Where is this build output? I get the following complete output when I use: Here: > ../src/core/Main.cc:84:35:

Re: rpmbuild error (wbar) on F24

2016-06-26 Thread Ranjan Maitra
Michael, Thanks! On Sun, 26 Jun 2016 16:44:39 +0200 Michael Schwendt wrote: > On Sun, 26 Jun 2016 09:26:29 -0500, Ranjan Maitra wrote: > > > Hi, > > > > I have a local rpm that I have created using wbar. The spec file is here: > > > >

Re: rpmbuild error (wbar) on F24

2016-06-26 Thread Michael Schwendt
On Sun, 26 Jun 2016 09:26:29 -0500, Ranjan Maitra wrote: > Hi, > > I have a local rpm that I have created using wbar. The spec file is here: > > https://paste.fedoraproject.org/384973/14669508 > > I have successfully created this rpm up to Fedora 23. But have been unable to > do so this time

rpmbuild error (wbar) on F24

2016-06-26 Thread Ranjan Maitra
Hi, I have a local rpm that I have created using wbar. The spec file is here: https://paste.fedoraproject.org/384973/14669508 I have successfully created this rpm up to Fedora 23. But have been unable to do so this time around in F24. I get the following errors: cc1plus: all warnings

Re: rpmbuild error

2015-11-30 Thread Michael Schwendt
On Mon, 30 Nov 2015 13:54:10 -0600, Ranjan Maitra wrote: > I did read the README which says that all that is needed to be done is: > > make And once you've compiled the executable, you are free do put in anywhere you like. Such as somewhere below /usr/local or into your user's local dir that's

Re: rpmbuild error

2015-11-30 Thread Michael Schwendt
On Mon, 30 Nov 2015 07:07:33 -0600, Ranjan Maitra wrote: > I am sorry I do not quite understand what to do here. Is there an example > spec file I can look at for this? > > I tried Gordon's suggestion and added: > > > %install > install -d $RPM_BUILD_ROOT/%{_bindir} > install -m 755 luskipc

Re: rpmbuild error

2015-11-30 Thread Ranjan Maitra
On Mon, 30 Nov 2015 19:37:39 +0100 Michael Schwendt wrote: > On Mon, 30 Nov 2015 07:07:33 -0600, Ranjan Maitra wrote: > > > I am sorry I do not quite understand what to do here. Is there an example > > spec file I can look at for this? > > > > I tried Gordon's suggestion

Re: rpmbuild error

2015-11-30 Thread Gordon Messmer
On 11/30/2015 05:07 AM, Ranjan Maitra wrote: Thanks again (to Gordon also)! I am sorry I do not quite understand what to do here. Is there an example spec file I can look at for this? Start here: https://fedoraproject.org/wiki/How_to_create_an_RPM_package but get: + cd luksipc-0.04 +

Re: rpmbuild error

2015-11-30 Thread Michael Schwendt
On Mon, 30 Nov 2015 13:14:15 -0600, Ranjan Maitra wrote: > Besides, I have always had the feeling that rpmbuild is too complicated, > perhaps needlessly. Not really. You just approach the "problem" from the wrong side. If you wanted to compile and install the same software from source

Re: rpmbuild error

2015-11-30 Thread Gordon Messmer
On 11/30/2015 11:54 AM, Ranjan Maitra wrote: luksipc.src: W: non-standard-group Applications/Security ... What is the correct group to put it into? I made up Applications/Security but clearly that guess is not right:-) https://fedoraproject.org/wiki/RPMGroups cryptsetup is in

Re: rpmbuild error

2015-11-30 Thread Michael Schwendt
On Sun, 29 Nov 2015 22:32:58 -0600, Ranjan Maitra wrote: > Hello, > > I am trying to build a RPM for luksipc to allow for in-place LUKS encryption > of existing HDDs from a LiveUSB without erasing their data but I am running > into some errors. The trouble is that the file does not come with a

Re: rpmbuild error

2015-11-30 Thread Ranjan Maitra
On Mon, 30 Nov 2015 10:03:06 +0100 Michael Schwendt wrote: > On Sun, 29 Nov 2015 22:32:58 -0600, Ranjan Maitra wrote: > > > Hello, > > > > I am trying to build a RPM for luksipc to allow for in-place LUKS > > encryption of existing HDDs from a LiveUSB without erasing

rpmbuild error

2015-11-29 Thread Ranjan Maitra
Hello, I am trying to build a RPM for luksipc to allow for in-place LUKS encryption of existing HDDs from a LiveUSB without erasing their data but I am running into some errors. The trouble is that the file does not come with a make install in the Makefile: thus the executable is not moved to

Re: rpmbuild error on F23

2015-11-04 Thread Ralf Corsepius
On 11/04/2015 03:20 PM, Ranjan Maitra wrote: How does one create debuginfo packages (is there an easy/automated way?) They normally are being generated automatically as by-product of building rpms. However, you a) must not to use "%global debug_package %{nil}" (this disables building

Re: rpmbuild error on F23

2015-11-04 Thread Ranjan Maitra
Michael, > > Processing files: aNu-debuginfo-0.1-1.fc23.x86_64 > > error: Empty %files file /home/maitra/rpmbuild/BUILD/aNu-0.1/debugfiles.list > > > > RPM build errors: > > Empty %files file /home/maitra/rpmbuild/BUILD/aNu-0.1/debugfiles.list > > That's an indication that you build with

Re: rpmbuild error on F23

2015-11-04 Thread Michael Schwendt
On Tue, 3 Nov 2015 22:13:08 -0600, Ranjan Maitra wrote: > Hi, > > I have been having an error on F23 with rpmbuild while building my personal > rpms. > > Here is the error I have been having. (aNu is a terminal emulator program > that I have modified from an existing source file, ie

rpmbuild error on F23

2015-11-03 Thread Ranjan Maitra
Hi, I have been having an error on F23 with rpmbuild while building my personal rpms. Here is the error I have been having. (aNu is a terminal emulator program that I have modified from an existing source file, ie evilvte.) Processing files: aNu-debuginfo-0.1-1.fc23.x86_64 error: Empty

Re: rpmbuild error

2015-10-08 Thread Michael Schwendt
On Wed, 7 Oct 2015 14:15:23 -0500, Ranjan Maitra wrote: > %{python3_sitelib} > rpmbuild -bb pyFilter.spec > > + exit 0 > > > RPM build errors: > File not found: > /home/etc/rpmbuild/BUILDROOT/pyFltk-1.3.3.1-1.fc22.x86_64/usr/lib/python3.4/site-packages > >

rpmbuild error

2015-10-07 Thread Ranjan Maitra
Hi, I have been trying to build pyFltk. Here is my spec file: # spec file for package pyFltk # Name: pyFltk Version:1.3.3.1 Release:1%{?dist} Summary:Python wrapper for the Fast Light Tool Kit License:GPL URL:http://pyfltk.sourceforge.net/

Re: rpmbuild error in F22 (looking for desktop file)

2015-07-15 Thread Ranjan Maitra
Michael, https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GSettings_Schema ? Reading this was a great help and I have been able to create a rpm (which works). Here is the rpm if someone is interested.

Re: rpmbuild error in F22 (looking for desktop file)

2015-07-15 Thread Michael Schwendt
On Wed, 15 Jul 2015 00:27:53 -0500, Ranjan Maitra wrote: I guess it might be helpful to know the difference between a desktop and a desktop.in file. Could someone please tell me about this difference? A *.in file is an input/include file, i.e. a template file that is taken by a tool to

Re: rpmbuild error in F22 (looking for desktop file)

2015-07-15 Thread Richard Shaw
On Tue, Jul 14, 2015 at 9:25 PM, Ranjan Maitra maitra.mbox.igno...@inbox.com wrote: Hello, I am trying to make a rpm out of the following application: https://github.com/apandada1/typhoon but my spec file, created from looking at the batti.spec file looks for a desktop file, rather than

Re: rpmbuild error in F22 (looking for desktop file)

2015-07-15 Thread Ranjan Maitra
On Wed, 15 Jul 2015 16:01:25 +0200 Michael Schwendt mschwe...@gmail.com wrote: On Wed, 15 Jul 2015 07:59:39 -0500, Ranjan Maitra wrote: So, now with this modified spec file, I am in this predicament now (files not packaged but installed) -- how do I get rid of this problem? error:

Re: rpmbuild error in F22 (looking for desktop file)

2015-07-15 Thread Michael Schwendt
On Wed, 15 Jul 2015 07:59:39 -0500, Ranjan Maitra wrote: So, now with this modified spec file, I am in this predicament now (files not packaged but installed) -- how do I get rid of this problem? error: Installed (but unpackaged) file(s) found: Well, obviously you need to edit the %files

Re: rpmbuild error in F22 (looking for desktop file)

2015-07-15 Thread Michael Schwendt
On Wed, 15 Jul 2015 09:41:18 -0500, Ranjan Maitra wrote: However, there appears to be some errors in the actual application. Upon installing, I get: /usr/lib/python2.7/site-packages/typhoon_lib/Builder.py:81: Warning: The property GtkWindow:has-resize-grip is deprecated and shouldn't be

Re: rpmbuild error in F22 (looking for desktop file)

2015-07-15 Thread Ranjan Maitra
Are you aware of https://fedoraproject.org/wiki/Packaging:ScriptletSnippets#GSettings_Schema ? Thanks, no. I will take a look. I guess trying to package this was not a very smart idea: issues here are getting to be beyond me. Have you ever before installed this program as

Re: rpmbuild error in F22 (looking for desktop file)

2015-07-15 Thread Ranjan Maitra
Hi, Thanks (to Richard also)! Do some trouble-shooting. As a first step, forget rpmbuild. Run the same commands you run in %build and %install in your terminal. If the commands fail, you need to fix the source code and cannot blame rpmbuild or the spec file. I was not familiar with setup.py

rpmbuild error in F22 (looking for desktop file)

2015-07-14 Thread Ranjan Maitra
Hello, I am trying to make a rpm out of the following application: https://github.com/apandada1/typhoon but my spec file, created from looking at the batti.spec file looks for a desktop file, rather than a desktop.in file. What I don't understand is where it figures out how to look for a

Re: rpmbuild error in F22 (looking for desktop file)

2015-07-14 Thread stan
On Tue, 14 Jul 2015 21:25:13 -0500 Ranjan Maitra maitra.mbox.igno...@inbox.com wrote: Hello, I am trying to make a rpm out of the following application: https://github.com/apandada1/typhoon but my spec file, created from looking at the batti.spec file looks for a desktop file, rather

Re: rpmbuild error in F22 (looking for desktop file)

2015-07-14 Thread Ranjan Maitra
Hi, Thank you for your response! I am trying to make a rpm out of the following application: https://github.com/apandada1/typhoon but my spec file, created from looking at the batti.spec file looks for a desktop file, rather than a desktop.in file. What I don't understand is

Re: rpmbuild error in F22 (looking for desktop file)

2015-07-14 Thread Ranjan Maitra
Thanks again! So, from what I understood from your suggestions, I should look at: /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages/typhoon-0.8.94-py2.7.egg-info So, that is what I did but I can not see what the files are that it wants. (I

Re: rpmbuild error in F22 (looking for desktop file)

2015-07-14 Thread stan
On Tue, 14 Jul 2015 23:35:24 -0500 Ranjan Maitra maitra.mbox.igno...@inbox.com wrote: So, from what I understood from your suggestions, I should look at: /home/maitra/rpmbuild/BUILDROOT/typhoon-0.8.9.4-1.fc22.x86_64/usr/lib/python2.7/site-packages/typhoon-0.8.94-py2.7.egg-info So, that is

rpmbuild error for typhoon

2015-07-12 Thread Ranjan Maitra
Hi, I was trying to build a Fedora 22 rpm for typhoon: https://sites.google.com/site/typhoonweatherapp/home modifying a python-based spec file of mine, but I have run into problems. Here is the spec file: $ fpaste typhoon.spec Uploading (1.1KiB)... http://ur1.ca/n3vhs -