Re: ~/rpmbuild directory can't be a symlink?

2023-07-06 Thread Franta Hanzlík via users
On Thu, 6 Jul 2023 22:16:09 +0100 Barry wrote: > > On 6 Jul 2023, at 15:08, Franta Hanzlík via users > > wrote: > > > > But sometimes I need to build an RPM package "in the field", at my > > colleagues/friends/... machines - and I don't use the ~/.rpmmacros > > Why not put the one line in

Re: ~/rpmbuild directory can't be a symlink?

2023-07-06 Thread Barry
> On 6 Jul 2023, at 15:08, Franta Hanzlík via users > wrote: > > But sometimes I need to build an RPM package "in the field", at my > colleagues/friends/... machines - and I don't use the ~/.rpmmacros Why not put the one line in the .rpmmacros when off site, i am curious? It is surely no

Re: ~/rpmbuild directory can't be a symlink?

2023-07-06 Thread Franta Hanzlík via users
On Thu, 6 Jul 2023 09:42:30 -0400 Tom Horsley wrote: > On Thu, 6 Jul 2023 05:59:05 +0200 > Franta Hanzlík via users wrote: > > > The problem seems to be somehow caused by ~/rpmbuild being a symlink ( > > If a symlink is the problem, you could always set up a ~/.rpmmacros

Re: ~/rpmbuild directory can't be a symlink?

2023-07-06 Thread Tom Horsley
On Thu, 6 Jul 2023 05:59:05 +0200 Franta Hanzlík via users wrote: > The problem seems to be somehow caused by ~/rpmbuild being a symlink ( If a symlink is the problem, you could always set up a ~/.rpmmacros file with the line: %_topdir /path/to/real/rpmbu

~/rpmbuild directory can't be a symlink?

2023-07-05 Thread Franta Hanzlík via users
1()(64bit) librados.so.2()(64bit) libtalloc.so.2()(64bit) libtalloc.so.2(TALLOC_2.0.2)(64bit) libtevent.so.0()(64bit) libtevent.so.0(TEVENT_0.9.9)(64bit) rtld(GNU_HASH) Processing files: samba-debugsource-4.18.3-4.fc38.x86_64 error: Empty %files file /home/hanzlik/rpmbuild/BUILD/sam

rpmbuild

2021-06-29 Thread Patrick Dupre
Hello, running rpmbuild -bb perl-Alien-GSL.spec I get: PM build errors: File not found: /home/pdupre/rpmbuild/BUILDROOT/perl-Alien-GSL-1.03-1.fc32.x86_64/usr/share/perl5/vendor_perl/* rpmbuild/BUILDROOT/perl-Alien-GSL-1.03-1.fc32.x86_64/usr/share/perl5 does not exit. I guess that I need

rpmbuild

2021-06-27 Thread Patrick Dupre
Hello, I am trying to generate a rpm package from the sources of perl-PDL-Graphics-PLplot-0.72 I run cpanspec to generate the .spec file (see below) and I get. setting SOURCE_DATE_EPOCH=1624752000 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.iQt9av + umask 022 + cd /home/pdupre/rpmbuild/BUILD

Re: rpmbuild perl-PDL-Graphics-PLplot

2021-06-19 Thread Patrick Dupre
Here is the new error rpmbuild -bb perl-PDL-Graphics-PLplot.spec warning: Macro expanded in comment on line 9: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) setting SOURCE_DATE_EPOCH=1624060800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.N0YTFx + umask 022 + cd /home/pdupre

Re: rpmbuild perl-PDL-Graphics-PLplot

2021-06-19 Thread Jerry James
On Sat, Jun 19, 2021 at 9:00 AM Patrick Dupre wrote: > This spec file provide the an error. > Can you help me to fix it? You didn't show the compiler flags in use, so this is just a guess, but ... > cc1: some warnings being treated as errors ... this message suggests that -Werror is included.

rpmbuild perl-PDL-Graphics-PLplot

2021-06-19 Thread Patrick Dupre
Hello, This spec file provide the an error. Can you help me to fix it? PLplot.c: In function 'XS_PDL__Graphics__PLplot_plgfci': PLplot.c:85895:25: warning: unused variable 'RETVAL' [-Wunused-variable] 85895 | unsigned intRETVAL; | ^~

Re: rpmbuild

2019-06-15 Thread Samuel Sieb
On 6/15/19 1:10 PM, Patrick Dupre wrote: Another question How could I get %{_bindir}/* added in the %files section without having to edit the generated .spec file (i.e. when I run cpanspec)? You would have to modify cpanspec to substitute that. ___

Re: rpmbuild

2019-06-15 Thread Patrick Dupre
=== > Sent: Saturday, June 15, 2019 at 5:41 PM > From: "Michael Schwendt" > To: users@lists.fedoraproject.org > Subject: Re: rpmbuild > > On Fri, 14 Jun 2019 23:38:56 +0200, Patrick Dupre wrote: > > > perl-Tk-JBrowseEntry-5.22-1.fc30.noa

Re: rpmbuild

2019-06-15 Thread Michael Schwendt
On Fri, 14 Jun 2019 23:38:56 +0200, Patrick Dupre wrote: > perl-Tk-JBrowseEntry-5.22-1.fc30.noarch > The solutions that I found are: > 1) add Provides: perl(Tk::JBrowseEntry) = %{version}-%{release} > in perl-Tk-JBrowseEntry.spec > or > 2) remove > BuildRequires: perl(Tk::JBrowseEntry) >= 4.63

Re: rpmbuild

2019-06-14 Thread Gordon Messmer
On 6/14/19 2:38 PM, Patrick Dupre wrote: 1) I expect that I would have to edit the .spec file That's right.  You do.  And that's expected. http://cpanspec.sourceforge.net/ indicates: "It is assumed that maintainers will need to do some (hopefully small) amount of work to clean up the

Re: rpmbuild

2019-06-14 Thread Patrick Dupre
> Sent: Friday, June 14, 2019 at 7:06 PM > From: "Gordon Messmer" > To: users@lists.fedoraproject.org > Subject: Re: rpmbuild > > On 6/12/19 1:43 PM, Patrick Dupre wrote: > > cpanspec --add-buildrequires perl-generators Tk-JBrowseEntry-5.22.tar.gz > >

Re: rpmbuild

2019-06-14 Thread Gordon Messmer
uilding the package, both packages can be installed: # rpm -q perl-Tk-JFileDialog perl-Tk-JBrowseEntry perl-Tk-JFileDialog-2.20-1.fc30.noarch perl-Tk-JBrowseEntry-5.22-1.fc30.noarch On 6/10/19 1:10 AM, Patrick Dupre wrote: Same issue with Tk-JFileDialog.spec In addition, I get: rpmbuild -bb p

Re: rpmbuild

2019-06-14 Thread Michael Schwendt
On Thu, 13 Jun 2019 23:09:58 +0200, Patrick Dupre wrote: > Maybe, however, some perl packages require packages with a version > number higher than a certain value. > Thus, if the Provides/Requires instructions are not set properly, > all the packages requiring other packages fail, either at the

Re: rpmbuild

2019-06-13 Thread Patrick Dupre
> On Wed, 12 Jun 2019 22:43:24 +0200, Patrick Dupre wrote: > > > Hello, > > > > Again, I am not sure to understand: > > > > cpanspec --add-buildrequires perl-generators Tk-JBrowseEntry-5.22.tar.gz > > > > only add: > > BuildRequires: perl-generators > > in the .spec file > > > > which does not

Re: rpmbuild

2019-06-13 Thread Michael Schwendt
On Wed, 12 Jun 2019 22:43:24 +0200, Patrick Dupre wrote: > Hello, > > Again, I am not sure to understand: > > cpanspec --add-buildrequires perl-generators Tk-JBrowseEntry-5.22.tar.gz > > only add: > BuildRequires: perl-generators > in the .spec file > > which does not help. It helps with

Re: rpmbuild

2019-06-13 Thread Patrick Dupre
Cedex FRANCE Tel: +33 (0)380395988 === > Sent: Thursday, June 13, 2019 at 4:50 AM > From: "Samuel Sieb" > To: users@lists.fedoraproject.org > Subject: Re: rpmbuild > > On 6/12/19 1:43 PM, Patrick

Re: rpmbuild

2019-06-12 Thread Samuel Sieb
On 6/12/19 1:43 PM, Patrick Dupre wrote: Again, I am not sure to understand: cpanspec --add-buildrequires perl-generators Tk-JBrowseEntry-5.22.tar.gz only add: BuildRequires: perl-generators in the .spec file which does not help. The spec file you get from cpanspec will need to be modified

Re: rpmbuild

2019-06-12 Thread Patrick Dupre
019 at 2:26 PM > From: "Michael Schwendt" > To: users@lists.fedoraproject.org > Subject: Re: rpmbuild > > On Tue, 11 Jun 2019 21:13:10 +0200, Patrick Dupre wrote: > > > I am not sure to take the point: > > You focus on something else. > > > I can run

Re: rpmbuild

2019-06-12 Thread Michael Schwendt
On Tue, 11 Jun 2019 21:13:10 +0200, Patrick Dupre wrote: > I am not sure to take the point: You focus on something else. > I can run > cpanspec --add-buildrequires perl-generators Tk-JBrowseEntry-5.22.tar.gz > --add-provide "perl(Tk::JBrowseEntry) %{version}-%{release}" > > If it is correct.

Re: rpmbuild

2019-06-11 Thread Todd Zullinger
Samuel Sieb wrote: > On 6/11/19 12:13 PM, Patrick Dupre wrote: >> Again, why the generation of the .spec is not automatic? > > Because the script isn't perfect and it's a difficult problem to solve. > cpanspec appears to be pretty dead upstream. You could try filing a bug in > Fedora bugzilla.

Re: rpmbuild

2019-06-11 Thread Samuel Sieb
On 6/11/19 12:13 PM, Patrick Dupre wrote: Again, why the generation of the .spec is not automatic? Because the script isn't perfect and it's a difficult problem to solve. cpanspec appears to be pretty dead upstream. You could try filing a bug in Fedora bugzilla.

Re: rpmbuild

2019-06-11 Thread Patrick Dupre
Sent: Tuesday, June 11, 2019 at 12:46 PM > From: "Michael Schwendt" > To: users@lists.fedoraproject.org > Subject: Re: rpmbuild > > On Mon, 10 Jun 2019 17:45:23 +0200, Patrick Dupre wrote: > > > Sorry, when I run > > cpanspec Tk-JBrowseEntry-5.22.tar.gz >

Re: rpmbuild

2019-06-11 Thread Michael Schwendt
On Mon, 10 Jun 2019 17:45:23 +0200, Patrick Dupre wrote: > Sorry, when I run > cpanspec Tk-JBrowseEntry-5.22.tar.gz I referred to _build time_ creation of inter-package dependencies. The step when rpmbuild adds Requires/Provides to the built packages. You are not supposed to hack a spe

Re: rpmbuild

2019-06-10 Thread Patrick Dupre
rgogne 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988 === > Sent: Monday, June 10, 2019 at 5:22 PM > From: "Michael Schwendt" > To: users@lists.fedoraproject.org >

Re: rpmbuild

2019-06-10 Thread Michael Schwendt
On Mon, 10 Jun 2019 15:35:22 +0200, Patrick Dupre wrote: > Provides: perl(Tk::JBrowseEntry) = %{version}-%{release} > > seems missing in the .spec file No. These are automatically created Provides/Requires for Perl Modules. You need to work with a package that _really_ includes and "Provides"

Re: rpmbuild

2019-06-10 Thread Patrick Dupre
Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE Tel: +33 (0)380395988 === > > Same issue with Tk-JFileDialog.spec > > In addition, I get: > > rpmbuild -bb perl-Tk-JFileDialog.spec > > error: F

Re: rpmbuild

2019-06-10 Thread stan via users
On Mon, 10 Jun 2019 10:10:54 +0200 "Patrick Dupre" wrote: > Same issue with Tk-JFileDialog.spec > In addition, I get: > rpmbuild -bb perl-Tk-JFileDialog.spec > error: Failed build dependencies: > perl(Tk::JBrowseEntry) >= 4.63 is needed by > perl-Tk

Re: rpmbuild

2019-06-10 Thread Patrick Dupre
Thank. Same issue with Tk-JFileDialog.spec In addition, I get: rpmbuild -bb perl-Tk-JFileDialog.spec error: Failed build dependencies: perl(Tk::JBrowseEntry) >= 4.63 is needed by perl-Tk-JFileDialog-2.20-1.fc30.noarch while the installed version is 5.22 Could you tell me what is wr

Re: rpmbuild

2019-06-09 Thread Gordon Messmer
On 6/9/19 2:27 PM, Patrick Dupre wrote: RPM build errors: Installed (but unpackaged) file(s) found: /usr/bin/JBrowseTest.pl Add that path to the %files section of the spec.  If you're maintaining this for redistribution, you might want to list the path as

rpmbuild

2019-06-09 Thread Patrick Dupre
rpm/check-files /home/pdupre/rpmbuild/BUILDROOT/perl-Tk-JBrowseEntry-5.22-1.fc30.x86_64 error: Installed (but unpackaged) file(s) found: /usr/bin/JBrowseTest.pl RPM build errors: Installed (but unpackaged) file(s) found: /usr/bin/JBrowseTest.pl Any ide

Re: rpmbuild

2019-06-09 Thread Michael Schwendt
On Sun, 9 Jun 2019 08:38:05 -0700, Gordon Messmer wrote: > On 6/9/19 7:29 AM, Patrick Dupre wrote: > > How can I make a rpmbuild and keep the compiled files? > > > Have you tried "rpmbuild --noclean"? Alternatively, end the building after the %build stage: rp

Re: rpmbuild

2019-06-09 Thread Gordon Messmer
On 6/9/19 7:29 AM, Patrick Dupre wrote: How can I make a rpmbuild and keep the compiled files? Have you tried "rpmbuild --noclean"? ___ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email t

rpmbuild

2019-06-09 Thread Patrick Dupre
Hello, How can I make a rpmbuild and keep the compiled files? BUILD and BUIDROOT are erased === Patrick DUPRÉ | | email: pdu...@gmx.com Laboratoire interdisciplinaire Carnot de Bourgogne 9

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
is available at: https://code.google.com/archive/p/wbar/downloads So, I get the error: $ rpmbuild -bb wbar.spec warning: Macro expanded in comment on line 11: %{name}-%{version}.tar.bz2 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.XYyyfC + umask 022 + cd /home/maitra/rpmbuild/BUILD + cd /home

Re: rpmbuild --define - some rpm sorcerer around?

2018-06-11 Thread Todd Zullinger
lejeczek via users wrote: > It actually might be working. What I was doing I was looking for a > confirmation like this: > > $ ps -FC rpmbuild --cols > UIDPID PPID CSZ RSS PSR STIME TTY TIME CMD > appmgr 24855 24835 0 44512 6772 16 17:33

Re: rpmbuild --define - some rpm sorcerer around?

2018-06-11 Thread lejeczek via users
On 11/06/18 17:07, lejeczek via users wrote: I'm sorry, I do not get it.. was I so hard to read? $ _def1="_me 1" $ rpmbuild --define \'"${_def1}"\' and no matter how I quote, how I escape bash's var, rpmbuild does not "react" to it. I run it from a bash script.

Re: rpmbuild --define - some rpm sorcerer around?

2018-06-11 Thread Todd Zullinger
lejeczek via users wrote: > I'm sorry, I do not get it.. was I so hard to read? > > $ _def1="_me 1" > $ rpmbuild --define \'"${_def1}"\' > > and no matter how I quote, how I escape bash's var, rpmbuild does not > "react" to it. I run it from

Re: rpmbuild --define - some rpm sorcerer around?

2018-06-11 Thread lejeczek via users
I'm sorry, I do not get it.. was I so hard to read? $ _def1="_me 1" $ rpmbuild --define \'"${_def1}"\' and no matter how I quote, how I escape bash's var, rpmbuild does not "react" to it. I run it from a bash script. I should mention I'm on Centos 7.5. RPM

Re: rpmbuild --define - some rpm sorcerer around?

2018-06-08 Thread Ulf Volmer
On 09.06.2018 00:50, Rick Stevens wrote: > On 06/08/2018 03:24 PM, Ulf Volmer wrote: >> On 08.06.2018 23:58, lejeczek via users wrote: >> >>> $ _def1="_me 1" >>> $ rpmbuild --define=${_def1} >> >> Try double quotes around your macro: >>

Re: rpmbuild --define - some rpm sorcerer around?

2018-06-08 Thread Rick Stevens
On 06/08/2018 03:24 PM, Ulf Volmer wrote: > On 08.06.2018 23:58, lejeczek via users wrote: > >> $ _def1="_me 1" >> $ rpmbuild --define=${_def1} > > Try double quotes around your macro: > > $ rpmbuild --define "${_def1}" The man page

Re: rpmbuild --define - some rpm sorcerer around?

2018-06-08 Thread Todd Zullinger
lejeczek via users wrote: > On 08/06/18 16:39, Todd Zullinger wrote: >> lejeczek via users wrote: >>> how do you pass vars to rpmbuild for definition? eg >>> >>> rpmbuild --define \'"${_definition2}"\' >>> >>> I've been fiddlin

Re: rpmbuild --define - some rpm sorcerer around?

2018-06-08 Thread Ulf Volmer
On 08.06.2018 23:58, lejeczek via users wrote: > $ _def1="_me 1" > $ rpmbuild --define=${_def1} Try double quotes around your macro: $ rpmbuild --define "${_def1}" best regards Ulf ___ users mailing list -- use

Re: rpmbuild --define - some rpm sorcerer around?

2018-06-08 Thread lejeczek via users
On 08/06/18 16:39, Todd Zullinger wrote: Hi, lejeczek via users wrote: how do you pass vars to rpmbuild for definition? eg rpmbuild --define \'"${_definition2}"\' I've been fiddling with ways to escape, but none is fricking working.. I mean, rpmbuild rushes to work(no errors n

Re: rpmbuild --define - some rpm sorcerer around?

2018-06-08 Thread Todd Zullinger
Hi, lejeczek via users wrote: > how do you pass vars to rpmbuild for definition? eg > > rpmbuild --define \'"${_definition2}"\' > > I've been fiddling with ways to escape, but none is fricking working.. > I mean, rpmbuild rushes to work(no errors nor failure) so if

rpmbuild --define - some rpm sorcerer around?

2018-06-08 Thread lejeczek via users
hi how do you pass vars to rpmbuild for definition? eg rpmbuild --define \'"${_definition2}"\' I've been fiddling with ways to escape, but none is fricking working.. I mean, rpmbuild rushes to work(no errors nor failure) so if you try just command line do not believe it, bec

Re: rpmbuild

2018-02-09 Thread Todd Zullinger
Hi, Patrick Dupre wrote: > I am trying to create a rpm file from a tgz package. > Could you help me? > > I have been here > http://fedoraproject.org/wiki/How_to_create_a_GNU_Hello_RPM_package > I run > rpmbuild -ba textext.spec > > Here is my file: > >

Re: rpmbuild

2018-02-09 Thread Patrick Dupre
> Den 2018-02-09 kl. 15:45, skrev Patrick Dupre: > > Hello, > > > > I am trying to create a rpm file from a tgz package. > > Could you help me? > > > > I have been here > > http://fedoraproject.org/wiki/How_to_create_a_GNU_Hello_RPM_package > >

Re: rpmbuild

2018-02-09 Thread Jon Ingason
Den 2018-02-09 kl. 15:45, skrev Patrick Dupre: > Hello, > > I am trying to create a rpm file from a tgz package. > Could you help me? > > I have been here > http://fedoraproject.org/wiki/How_to_create_a_GNU_Hello_RPM_package > I run > rpmbuild -ba textext.spec >

rpmbuild

2018-02-09 Thread Patrick Dupre
Hello, I am trying to create a rpm file from a tgz package. Could you help me? I have been here http://fedoraproject.org/wiki/How_to_create_a_GNU_Hello_RPM_package I run rpmbuild -ba textext.spec Here is my file: Name: textext Version:0.4 Release:1%{?dist} Summary

Re: rpmbuild

2017-09-19 Thread Richard W.M. Jones
On Sun, Sep 17, 2017 at 09:48:26PM +0200, Patrick Dupre wrote: > Hello, > > Can somebody tell me whatis wrong in the spec file In addition to the other reply, some stylistic points ... > Group: Development/Libraries This is not needed. > BuildRoot:

Re: rpmbuild

2017-09-17 Thread Michael Schwendt
robably an issue with the spec? because it does not say that it > will provide > perl(Forest) Those are _automatic_ Provides adding during rpmbuild. Whether or not those automatic Provides are added depends on the build environment contents. And sometimes it can happen that the automat

Re: rpmbuild

2017-09-17 Thread Patrick Dupre
> Sent: Sunday, September 17, 2017 at 10:49 PM > From: "Michael Schwendt" <mschwe...@gmail.com> > To: users@lists.fedoraproject.org > Subject: Re: rpmbuild > > On Sun, 17 Sep 2017 22:42:47 +0200, Patrick Dupre wrote: > > > > > C

Re: rpmbuild

2017-09-17 Thread Michael Schwendt
On Sun, 17 Sep 2017 22:42:47 +0200, Patrick Dupre wrote: > > > Can somebody tell me whatis wrong in the spec file > > > > > I get: > > > rpmbuild -bb perl-Graphics-Primitive.spec > > > error: Failed build dependencies: > > > perl(Forest)

Re: rpmbuild

2017-09-17 Thread Patrick Dupre
> Sent: Sunday, September 17, 2017 at 10:14 PM > From: "Michael Schwendt" <mschwe...@gmail.com> > To: users@lists.fedoraproject.org > Subject: Re: rpmbuild > > On Sun, 17 Sep 2017 21:48:26 +0200, Patrick Dupre wrote: > > > Hello, > > >

Re: rpmbuild

2017-09-17 Thread Michael Schwendt
On Sun, 17 Sep 2017 21:48:26 +0200, Patrick Dupre wrote: > Hello, > > Can somebody tell me whatis wrong in the spec file > I get: > rpmbuild -bb perl-Graphics-Primitive.spec > error: Failed build dependencies: > perl(Forest) >= 0.06 is needed by > perl-Gra

rpmbuild

2017-09-17 Thread Patrick Dupre
atrick Dupre <pdu...@gmx.com> 0.67-1 - Specfile autogenerated by cpanspec 1.78. I get: rpmbuild -bb perl-Graphics-Primitive.spec error: Failed build dependencies: perl(Forest) >= 0.06 is needed by perl-Graphics-Primitive-0.67-1.fc26.noarch perl(Geometry::Primi

Re: rpmbuild --rebuiild with config options

2017-08-18 Thread Gordon Messmer
=no --with-xwidgets \ --with-modules %{?_with_all} and rpmbuild invoked as: rpmbuild ... --with all ... (note the space between "with" and "all"). I think that's what's needed. I'm mostly sure you also need to add a "bcond" statement, and you'

Re: rpmbuild --rebuiild with config options

2017-08-18 Thread Rick Stevens
On 08/17/2017 07:14 PM, Gordon Messmer wrote: > On Wed, Aug 16, 2017 at 4:50 PM, Amadeus W.M. <amadeu...@verizon.net> wrote: >> I'm trying to put together a minimal emacs rpm and I'm trying this, with >> the ensuing error: >> >> rpmbuild --rebuild emacs-

Re: rpmbuild --rebuiild with config options

2017-08-17 Thread Gordon Messmer
On Wed, Aug 16, 2017 at 4:50 PM, Amadeus W.M. <amadeu...@verizon.net> wrote: > I'm trying to put together a minimal emacs rpm and I'm trying this, with > the ensuing error: > > rpmbuild --rebuild emacs-25.2-3.fc25.src.rpm --without-all > rpmbuild: --without-all: unk

Re: rpmbuild --rebuiild with config options

2017-08-17 Thread Rick Stevens
;> ./configure --without-all --with-x-toolkit=no --without-x >>> >>> and worked very well. So these are valid options. Don't know why >>> rpmbuild doesn't like those. It would have been nice to have an rpm but >>> I'll take what I can. >> >> >> I d

Re: rpmbuild --rebuiild with config options

2017-08-17 Thread Amadeus W.M.
;> >> and worked very well. So these are valid options. Don't know why >> rpmbuild doesn't like those. It would have been nice to have an rpm but >> I'll take what I can. > > > I don't think I was very clear. > > Yes, the options are valid for "configure" and yo

Re: rpmbuild --rebuiild with config options

2017-08-16 Thread Todd Zullinger
Amadeus W.M. wrote: Actually I compiled, out of curiosity, the tar file that came with the srpm, with ./configure --without-all --with-x-toolkit=no --without-x and worked very well. So these are valid options. Don't know why rpmbuild doesn't like those. It would have been nice to have an rpm

Re: rpmbuild --rebuiild with config options

2017-08-16 Thread Ed Greshko
On 08/17/2017 09:22 AM, Amadeus W.M. wrote: > Actually I compiled, out of curiosity, the tar file that came with the > srpm, with > > ./configure --without-all --with-x-toolkit=no --without-x > > and worked very well. So these are valid options. Don't know why rpmbuild &g

Re: rpmbuild --rebuiild with config options

2017-08-16 Thread Amadeus W.M.
On Thu, 17 Aug 2017 08:04:16 +0800, Ed Greshko wrote: > On 08/17/2017 07:50 AM, Amadeus W.M. wrote: >> I'm trying to put together a minimal emacs rpm and I'm trying this, >> with the ensuing error: >> >> rpmbuild --rebuild emacs-25.2-3.fc25.src.rpm --without-all

Re: rpmbuild --rebuiild with config options

2017-08-16 Thread Ed Greshko
On 08/17/2017 07:50 AM, Amadeus W.M. wrote: > I'm trying to put together a minimal emacs rpm and I'm trying this, with > the ensuing error: > > rpmbuild --rebuild emacs-25.2-3.fc25.src.rpm --without-all > rpmbuild: --without-all: unknown option > > I untarred the emac

rpmbuild --rebuiild with config options

2017-08-16 Thread Amadeus W.M.
I'm trying to put together a minimal emacs rpm and I'm trying this, with the ensuing error: rpmbuild --rebuild emacs-25.2-3.fc25.src.rpm --without-all rpmbuild: --without-all: unknown option I untarred the emacs source code and ran ./configure --help and --without- all is an option. I tried

Re: rpmbuild

2017-07-19 Thread Matthew Miller
On Wed, Jul 19, 2017 at 12:50:50AM -0400, Bill Shirley wrote: > I just recently build a spec file for ndppd (NDP Proxy Daemon) and found out > you can't comment out by using a single # in a spec file if it is a % command. > It has to be like this: > #%%configure Yeah, this is because macros are

Re: rpmbuild

2017-07-18 Thread Bill Shirley
generate the package directly from the SOURCES? with rpmbuild I try to modify the .spc file by removing the #%patch0 -p1 -b .refto #%patch1 -p1 -b .font #%patch3 -p1 -b .plot-sigsegv #%patch4 -p1 -b .isinglethread #%patch5 -p1 -b .checkint #%patch6 -p1 -b .tabulate # This fails But it does

Re: rpmbuild

2017-07-18 Thread John Pilkington
to a previous one). Then a fixed directly the tabulate.c file How can generate the package directly from the SOURCES? with rpmbuild I try to modify the .spc file by removing the #%patch0 -p1 -b .refto #%patch1 -p1 -b .font #%patch3 -p1 -b .plot-sigsegv #%patch4 -p1 -b .isinglethread #%patch5 -p1 -b

Re: rpmbuild

2017-07-18 Thread Todd Zullinger
How can generate the package directly from the SOURCES? with rpmbuild I try to modify the .spc file by removing the #%patch0 -p1 -b .refto #%patch1 -p1 -b .font #%patch3 -p1 -b .plot-sigsegv #%patch4 -p1 -b .isinglethread #%patch5 -p1 -b .checkint #%patch6 -p1 -b .tabulate # This fails

Re: rpmbuild

2017-07-18 Thread John Pilkington
the tabulate.c file How can generate the package directly from the SOURCES? with rpmbuild I try to modify the .spc file by removing the #%patch0 -p1 -b .refto #%patch1 -p1 -b .font #%patch3 -p1 -b .plot-sigsegv #%patch4 -p1 -b .isinglethread #%patch5 -p1 -b .checkint #%patch6 -p1 -b .tabulate

Re: rpmbuild

2017-07-18 Thread Rick Stevens
(maybe to a previous one). > Then a fixed directly the tabulate.c file > > How can generate the package directly from the SOURCES? > with rpmbuild > I try to modify the .spc file by removing the > #%patch0 -p1 -b .refto > #%patch1 -p1 -b .font > #%patch3 -p1 -b .plot-sigsegv &g

rpmbuild

2017-07-18 Thread Patrick Dupre
the package directly from the SOURCES? with rpmbuild I try to modify the .spc file by removing the #%patch0 -p1 -b .refto #%patch1 -p1 -b .font #%patch3 -p1 -b .plot-sigsegv #%patch4 -p1 -b .isinglethread #%patch5 -p1 -b .checkint #%patch6 -p1 -b .tabulate # This fails But it does not work. because

Re: rpmbuild

2016-11-02 Thread Patrick Dupre
=== > Sent: Wednesday, November 02, 2016 at 1:48 PM > From: "Michael Schwendt" <mschwe...@gmail.com> > To: users@lists.fedoraproject.org > Subject: Re: rpmbuild > > On Wed, 2 Nov 2016 12:58:53 +0100, Patrick Dupre wrote:

Re: rpmbuild

2016-11-02 Thread Michael Schwendt
On Wed, 2 Nov 2016 12:58:53 +0100, Patrick Dupre wrote: > rpmbuild -bb > and I got the following error message: > RPM build errors: > File not found: > /home/pdupre/rpmbuild/BUILDROOT/perl-PAR-Packer-1.035-1.fc24.x86_64/usr/lib64/perl5/vendor_perl/auto/* > File not foun

rpmbuild

2016-11-02 Thread Patrick Dupre
Hello, I tried to build my own package perl-PAR-Packer from Url: http://search.cpan.org/dist/PAR-Packer/ (see rpmfind.net) I run cpanspec and then rpmbuild -bb and I got the following error message: RPM build errors: File not found: /home/pdupre/rpmbuild/BUILDROOT/perl-PAR-Packer-1.035-1

Re: rpmbuild: compiles without error but does not install

2016-10-03 Thread Ranjan Maitra
On Mon, 3 Oct 2016 20:24:05 +0200 Ahmad Samir wrote: > On 3 October 2016 at 15:38, Ranjan Maitra wrote: > > Hi, > > > > I have had issues with batti for quite a while, and I came across battray > > as a replacement (and it works). So, I was trying to

[SOLVED] rpmbuild: compiles without error but does not install

2016-10-03 Thread Ranjan Maitra
On Mon, 3 Oct 2016 11:06:46 -0700 Rick Stevens wrote: > > Looking at that, I'm wondering if your line 31 in the "%install" > section should read: > > /bin/python3 setup.py install --prefix=%{_prefix} --root=%{buildroot} > > As it is now, it's depending on a relative

Re: rpmbuild: compiles without error but does not install

2016-10-03 Thread Ahmad Samir
On 3 October 2016 at 15:38, Ranjan Maitra wrote: > Hi, > > I have had issues with batti for quite a while, and I came across battray as > a replacement (and it works). So, I was trying to put it together as a rpm > and perhaps and get it approved for Fedora. > > I have created

Re: rpmbuild: compiles without error but does not install

2016-10-03 Thread Rick Stevens
On 10/03/2016 10:04 AM, Ranjan Maitra wrote: > On Mon, 3 Oct 2016 09:34:39 -0700 stan wrote: > >> On Mon, 3 Oct 2016 08:38:01 -0500 >> Ranjan Maitra wrote: >> >>> Hi, >>> >>> I have had issues with batti for quite a while, and I came across >>>

Re: rpmbuild: compiles without error but does not install

2016-10-03 Thread Ranjan Maitra
On Mon, 3 Oct 2016 10:44:41 -0700 stan wrote: > On Mon, 3 Oct 2016 12:04:31 -0500 > Ranjan Maitra wrote: > > > Sorry, here is the corrected > > > > $ fpaste battray.spec > > Uploading (1.6KiB)... > >

Re: rpmbuild: compiles without error but does not install

2016-10-03 Thread stan
On Mon, 3 Oct 2016 12:04:31 -0500 Ranjan Maitra wrote: > Sorry, here is the corrected > > $ fpaste battray.spec > Uploading (1.6KiB)... > http://paste.fedoraproject.org/442684/51425714/ -> > https://paste.fedoraproject.org/442684/51425714 I think this is still wrong. It

Re: rpmbuild: compiles without error but does not install

2016-10-03 Thread Ranjan Maitra
On Mon, 3 Oct 2016 09:34:39 -0700 stan wrote: > On Mon, 3 Oct 2016 08:38:01 -0500 > Ranjan Maitra wrote: > > > Hi, > > > > I have had issues with batti for quite a while, and I came across > > battray as a replacement (and it works). So, I was

Re: rpmbuild: compiles without error but does not install

2016-10-03 Thread Ranjan Maitra
On Mon, 3 Oct 2016 09:30:44 -0700 Rick Stevens wrote: > On 10/03/2016 06:38 AM, Ranjan Maitra wrote: > > Hi, > > > > I have had issues with batti for quite a while, and I came across battray > > as a replacement (and it works). So, I was trying to put it together as a >

Re: rpmbuild: compiles without error but does not install

2016-10-03 Thread Ranjan Maitra
On Mon, 3 Oct 2016 09:34:39 -0700 stan wrote: > On Mon, 3 Oct 2016 08:38:01 -0500 > Ranjan Maitra wrote: > > > Hi, > > > > I have had issues with batti for quite a while, and I came across > > battray as a replacement (and it works). So, I was

Re: rpmbuild: compiles without error but does not install

2016-10-03 Thread stan
On Mon, 3 Oct 2016 08:38:01 -0500 Ranjan Maitra wrote: > Hi, > > I have had issues with batti for quite a while, and I came across > battray as a replacement (and it works). So, I was trying to put it > together as a rpm and perhaps and get it approved for Fedora. > > I have

Re: rpmbuild: compiles without error but does not install

2016-10-03 Thread Rick Stevens
On 10/03/2016 06:38 AM, Ranjan Maitra wrote: > Hi, > > I have had issues with batti for quite a while, and I came across battray as > a replacement (and it works). So, I was trying to put it together as a rpm > and perhaps and get it approved for Fedora. > > I have created the following spec

rpmbuild: compiles without error but does not install

2016-10-03 Thread Ranjan Maitra
Hi, I have had issues with batti for quite a while, and I came across battray as a replacement (and it works). So, I was trying to put it together as a rpm and perhaps and get it approved for Fedora. I have created the following spec file available here:

Re: rpmbuild for cmake project error :: Found 'build_dir' in installed files

2016-09-01 Thread stan
ster/clhep.spec > > the error that i get is : > Found '/home/adrian/rpmbuild/BUILDROOT/clhep-2.3.3.2-1.x86_64' in > installed files; aborting error: Bad exit status > from /var/tmp/rpm-tmp.tOmNW2 (%install) > > i imagine that it is a problem of setting the buildroot but have no > id

rpmbuild for cmake project error :: Found 'build_dir' in installed files

2016-09-01 Thread Adrian Sevcenco
Hi! I have a head scratching problem with a project (clhep) that i try to package. It is cmake based and the spec file can be seen here: https://github.com/adriansev/SPECS/blob/master/clhep.spec the error that i get is : Found '/home/adrian/rpmbuild/BUILDROOT/clhep-2.3.3.2-1.x86_64' in installed

  1   2   3   >