Re: fedpkg

2021-06-19 Thread Jonathan Billings
On Jun 19, 2021, at 18:00, Patrick Dupre wrote: > > How to I extract the .tgz (or the .spec) file from a src.rpm ? You already have fedpkg. You can run fedpkg co -a gsl (Add a —branch f34 to get the Fedora 34 branch, or check it out manually with git) And it will check out the

Re: fedpkg

2021-06-19 Thread Jerry James
On Sat, Jun 19, 2021 at 4:01 PM Patrick Dupre wrote: > > Yes, > > How to I extract the .tgz (or the .spec) file from a src.rpm ? If you run "rpm -i https://src.fedoraproject.org/rpms/gsl/tree/rawhide -- Jerry James http://www.jamezone.org/ ___ users m

Re: fedpkg

2021-06-19 Thread Patrick Dupre
Yes, How to I extract the .tgz (or the .spec) file from a src.rpm ? > > On 2021-06-19 2:35 p.m., Patrick Dupre wrote: > > This what I have done. > > > > extrated the gsl.spec from gsl-2.7.tgz > > edited it to set the version (2.7) > > run rpmbuild -bb gsl.spec > > It started to work, but finally

Re: fedpkg

2021-06-19 Thread Samuel Sieb
On 2021-06-19 2:35 p.m., Patrick Dupre wrote: This what I have done. extrated the gsl.spec from gsl-2.7.tgz edited it to set the version (2.7) run rpmbuild -bb gsl.spec It started to work, but finally stop with * Examples: * - to ignore standard and empty RPATHs, execute 'rpmbuild' like * $ QA

Re: fedpkg

2021-06-19 Thread Patrick Dupre
ib64' in [/usr/lib64] ERROR 0001: file '/usr/bin/gsl-randist' contains a standard rpath '/usr/lib64' in [/usr/lib64] error: Bad exit status from /var/tmp/rpm-tmp.rVEtxu (%install) > Sent: Saturday, June 19, 2021 at 11:35 PM > From: "Patrick Dupre" > T

Re: fedpkg

2021-06-19 Thread Patrick Dupre
(%install) > > > > https://www.gnu.org/software/gsl/gsl-latest.tgz (gsl-2.7) > > > > > >> I thought that fedpkg works with a clone of the git repo for a fedora > >> package. > >> Is that what you are doing? > > That isn't going to work

Re: fedpkg

2021-06-19 Thread Samuel Sieb
On 2021-06-19 2:00 p.m., Patrick Dupre wrote: I do not think so. I downloaded https://www.gnu.org/software/gsl/gsl-latest.tgz (gsl-2.7) I thought that fedpkg works with a clone of the git repo for a fedora package. Is that what you are doing? That isn't going to work. You need the

Re: fedpkg

2021-06-19 Thread Patrick Dupre
I do not think so. I downloaded https://www.gnu.org/software/gsl/gsl-latest.tgz (gsl-2.7) > I thought that fedpkg works with a clone of the git repo for a fedora package. > Is that what you are doing? > > Barry > > > On 19 Jun 2021, at 15:35, Patrick Dupre w

Re: fedpkg

2021-06-19 Thread Barry
I thought that fedpkg works with a clone of the git repo for a fedora package. Is that what you are doing? Barry > On 19 Jun 2021, at 15:35, Patrick Dupre wrote: > > Hello, > > Trying to build a rpm package for gsl.2.7 > I downloaded gsl-2.7.tar.gz > I copy > cp

Re: fedpkg gsl-2.7

2021-06-19 Thread Patrick Dupre
Actually, now I have: fedpkg --release fc34 local sources file doesn't exist. Source files download skipped. Could not execute local: Could not find the release/dist from branch name fc34 Please specify with --release using gsl.spec.in (gsl-2.7.tar.gz) Name: gsl Summary: GNU Scientific Li

Re: fedpkg

2021-06-19 Thread Patrick Dupre
python3-pycurl-7.43.0.6-5.fc34.x86_64 libcurl-7.76.1-4.fc34.x86_64 libcurl-7.76.1-4.fc34.i686 > > On 2021-06-19 7:34 a.m., Patrick Dupre wrote: > > import pycurl > > ImportError: pycurl: libcurl link-time version (7.64.1) is older than > > compile-time version (7.75.0) > > Do you have a self

Re: fedpkg

2021-06-19 Thread Samuel Sieb
On 2021-06-19 7:34 a.m., Patrick Dupre wrote: import pycurl ImportError: pycurl: libcurl link-time version (7.64.1) is older than compile-time version (7.75.0) Do you have a self-installed version of pycurl or libcurl somewhere? What does "rpm -q python3-pycurl libcurl" show? ___

fedpkg

2021-06-19 Thread Patrick Dupre
Hello, Trying to build a rpm package for gsl.2.7 I downloaded gsl-2.7.tar.gz I copy cp -a gsl.spec.in gsl.spec and run (in gsl-2.7) fedpkg --release fc34 local but I get Traceback (most recent call last): File "/usr/bin/fedpkg", line 33, in sys.exit(load_entry_point(&#x

Re: fedpkg: build error No build ID

2016-11-04 Thread James Hogarth
On 4 November 2016 at 08:34, arnaud gaboury wrote: > > > On Fri, Nov 4, 2016 at 9:19 AM arnaud gaboury > wrote: >> >> I am writing a spec file to build an app. >> The build failed with this error: >> >> *** ERROR: No build ID note found in >> /home/makerpm/rpmbuild/BUILDROOT/mattermost-3.4-1.fc24

Re: fedpkg: build error No build ID

2016-11-04 Thread arnaud gaboury
On Fri, Nov 4, 2016 at 9:19 AM arnaud gaboury wrote: > I am writing a spec file to build an app. > The build failed with this error: > > *** ERROR: No build ID note found in > /home/makerpm/rpmbuild/BUILDROOT/mattermost-3.4-1.fc24.x86_64/usr/share/webapps/mattermost/bin/platform > > Googling it,

fedpkg: build error No build ID

2016-11-04 Thread arnaud gaboury
I am writing a spec file to build an app. The build failed with this error: *** ERROR: No build ID note found in /home/makerpm/rpmbuild/BUILDROOT/mattermost-3.4-1.fc24.x86_64/usr/share/webapps/mattermost/bin/platform Googling it, I found a few "tricks" which I tried but don't work: - Adding "LDFL

Re: fedpkg --dist f24 local

2016-11-02 Thread stan
On Wed, 2 Nov 2016 16:46:10 + James Hogarth wrote: > The templates, macros and Fedora Guidelines documentation do make it a > lot cleaner and simpler than it was 5-10 years back though... > > This was something I wrote about building RPMs that should be > applicable - and never forget it's a

Re: fedpkg --dist f24 local

2016-11-02 Thread jd1008
On 11/02/2016 10:46 AM, James Hogarth wrote: On 2 November 2016 at 16:37, jd1008 wrote: On 11/02/2016 10:08 AM, stan wrote: On Wed, 02 Nov 2016 10:00:13 + arnaud gaboury wrote: I am writing a .spec file to build my own .rpm. Here it is, non completed: [snip] RPM build errors:

Re: fedpkg --dist f24 local

2016-11-02 Thread James Hogarth
On 2 November 2016 at 16:37, jd1008 wrote: > > > On 11/02/2016 10:08 AM, stan wrote: >> >> On Wed, 02 Nov 2016 10:00:13 + >> arnaud gaboury wrote: >> >>> I am writing a .spec file to build my own .rpm. >>> Here it is, non completed: >> >> [snip] >> >>> RPM build errors: >>> Empty %files

Re: fedpkg --dist f24 local

2016-11-02 Thread jd1008
On 11/02/2016 10:08 AM, stan wrote: On Wed, 02 Nov 2016 10:00:13 + arnaud gaboury wrote: I am writing a .spec file to build my own .rpm. Here it is, non completed: [snip] RPM build errors: Empty %files file /home/makerpm/build_package/mattermost/platform-master/debugfiles.list Co

Re: fedpkg --dist f24 local

2016-11-02 Thread stan
On Wed, 02 Nov 2016 10:00:13 + arnaud gaboury wrote: > I am writing a .spec file to build my own .rpm. > Here it is, non completed: [snip] > RPM build errors: > Empty %files file > /home/makerpm/build_package/mattermost/platform-master/debugfiles.list > Could not execute local: Non zero

fedpkg --dist f24 local

2016-11-02 Thread arnaud gaboury
BUILD_NUMBER=%{version}-%{release} make %{?_smp_mflags} package %install %files %changelog - Before going further, I want to test, so run: $ fedpkg --dist f24 local Everything went fine and was left with the wanted binaries, BUT I have this error at th