RE: Query on upgrading the Fedora package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Josey,
Thanks for pointing out the issue.
I fixed the issue and it build successfully.
Thanks for your quick help.

Regards,
Muneendra.

-----Original Message-----
From: Muneendra Kumar M [mailto:muneendra.kumar@xxxxxxxxxxxx]
Sent: Thursday, August 27, 2020 3:50 PM
To: 'Josef Ridky' <jridky@xxxxxxxxxx>; 'Development discussions related to
Fedora' <devel@xxxxxxxxxxxxxxxxxxxxxxx>
Cc: 'Jonathan Wakely' <jwakely@xxxxxxxxxxxxxxxxx>
Subject: RE: Query on upgrading the Fedora package

Hi Josey,
But the src.rpm has a fctxpd-ccbaf3a.tar.gz  and  fctxpd.spec.
And when  we extract fctxpd-ccbaf3a.tar.gz  it has
bsn-fc-txpd-ccbaf3a0cbadaaef727bcb53c1aeeeec543fa049.
Can you please let me know whether iam missing something.

And how did u see the below error.

/var/tmp/rpm-tmp.0K14Wz: line 39: cd:
bsn-fc-txptd-ccbaf3a0cbadaaef727bcb53c1aeeeec543fa049: No such file or
director

Regards,
Muneendra.


-----Original Message-----
From: Josef Ridky [mailto:jridky@xxxxxxxxxx]
Sent: Thursday, August 27, 2020 3:37 PM
To: Development discussions related to Fedora
<devel@xxxxxxxxxxxxxxxxxxxxxxx>
Cc: Jonathan Wakely <jwakely@xxxxxxxxxxxxxxxxx>; Muneendra Kumar M
<muneendra.kumar@xxxxxxxxxxxx>
Subject: Re: Query on upgrading the Fedora package

Take a look at build.log that is available at provided koji URL.

/var/tmp/rpm-tmp.0K14Wz: line 39: cd:
bsn-fc-txptd-ccbaf3a0cbadaaef727bcb53c1aeeeec543fa049: No such file or
directory

That's the reason of your build failure.

Josef Ridky
Software Engineer
Core Services Team
Red Hat Czech, s.r.o.

----- Original Message -----
| From: "Muneendra Kumar M via devel" <devel@xxxxxxxxxxxxxxxxxxxxxxx>
| To: "Jonathan Wakely" <jwakely@xxxxxxxxxxxxxxxxx>, "Development
discussions related to Fedora"
| <devel@xxxxxxxxxxxxxxxxxxxxxxx>
| Cc: "Muneendra Kumar M" <muneendra.kumar@xxxxxxxxxxxx>
| Sent: Thursday, August 27, 2020 11:58:22 AM
| Subject: RE: Query on upgrading the Fedora package
|
| Hi Jonathan,
| As per the below guidelines I tried the below steps but iam getting
| the below error  when I run fedpkg scratch-build --srpm.
|
| And how can I see the error logs?
| Could you please let me know what went wrong.
|
| fedpkg clone fctxpd
| cd fctxpd
| edited the spec file
| fedpkg srpm
|
| fedpkg scratch-build --srpm $(fedpkg verrel).src.rpm And I got the
| error as below
|
|
| fedpkg scratch-build --srpm $(fedpkg verrel).src.rpm
| /usr/lib/python3.7/site-packages/koji/util.py:53: DeprecationWarning:
| Please use gssapi_login instead, krb_login will be removed in koji 1.22
|   warnings.warn(message, DeprecationWarning)
| [====================================] 100% 00:00:02 336.90 KiB 141.66
| KiB/sec Building fctxpd-0.2-1.20200827gitccbaf3a.fc34.src.rpm for
| rawhide Created task: 50235166 Task info:
| https://koji.fedoraproject.org/koji/taskinfo?taskID=50235166
| Watching tasks (this may be safely interrupted)...
| 50235166 build (rawhide, fctxpd-0.2-1.20200827gitccbaf3a.fc34.src.rpm):
| free
| 50235166 build (rawhide, fctxpd-0.2-1.20200827gitccbaf3a.fc34.src.rpm):
| free -> open (buildvm-x86-06.iad2.fedoraproject.org)
|   50235170 rebuildSRPM (noarch): closed
|   50235372 buildArch (fctxpd-0.2-1.20200827gitccbaf3a.fc34.src.rpm, i686):
| free
|   50235373 buildArch (fctxpd-0.2-1.20200827gitccbaf3a.fc34.src.rpm,
| x86_64): free
|   50235375 buildArch (fctxpd-0.2-1.20200827gitccbaf3a.fc34.src.rpm,
| ppc64le): free
|   50235376 buildArch (fctxpd-0.2-1.20200827gitccbaf3a.fc34.src.rpm,
| s390x): open (buildvm-s390x-23.s390.fedoraproject.org)
|   50235374 buildArch (fctxpd-0.2-1.20200827gitccbaf3a.fc34.src.rpm,
| aarch64): open (buildvm-a64-04.iad2.fedoraproject.org)
|   50235371 buildArch (fctxpd-0.2-1.20200827gitccbaf3a.fc34.src.rpm,
| armv7hl): open (buildvm-a32-05.iad2.fedoraproject.org)
|   50235372 buildArch (fctxpd-0.2-1.20200827gitccbaf3a.fc34.src.rpm, i686):
| free -> FAILED: BuildError: error building package (arch i686), mock
| exited with status 1; see build.log or root.log for more information
|   2 free  4 open  1 done  1 failed
|   50235373 buildArch (fctxpd-0.2-1.20200827gitccbaf3a.fc34.src.rpm,
| x86_64): free -> FAILED: BuildError: error building package (arch
| x86_64), mock exited with status 1; see build.log or root.log for more
information
|   1 free  4 open  1 done  2 failed
|   50235375 buildArch (fctxpd-0.2-1.20200827gitccbaf3a.fc34.src.rpm,
| ppc64le): free -> open (buildvm-ppc64le-25.iad2.fedoraproject.org)
|   50235376 buildArch (fctxpd-0.2-1.20200827gitccbaf3a.fc34.src.rpm,
| s390x): open (buildvm-s390x-23.s390.fedoraproject.org) -> FAILED:
| BuildError: error building package (arch s390x), mock exited with
| status 1; see build.log or root.log for more information
|   0 free  4 open  1 done  3 failed
|   50235374 buildArch (fctxpd-0.2-1.20200827gitccbaf3a.fc34.src.rpm,
| aarch64): open (buildvm-a64-04.iad2.fedoraproject.org) -> FAILED:
| BuildError: error building package (arch aarch64), mock exited with
| status 1; see build.log or root.log for more information
|   0 free  3 open  1 done  4 failed
|   50235371 buildArch (fctxpd-0.2-1.20200827gitccbaf3a.fc34.src.rpm,
| armv7hl): open (buildvm-a32-05.iad2.fedoraproject.org) -> FAILED:
| BuildError: error building package (arch armv7hl), mock exited with
| status 1; see build.log or root.log for more information
|   0 free  2 open  1 done  5 failed
| 50235166 build (rawhide, fctxpd-0.2-1.20200827gitccbaf3a.fc34.src.rpm):
| open (buildvm-x86-06.iad2.fedoraproject.org) -> FAILED: BuildError:
| error building package (arch armv7hl), mock exited with status 1; see
| build.log or root.log for more information
|   0 free  1 open  1 done  6 failed
|   50235375 buildArch (fctxpd-0.2-1.20200827gitccbaf3a.fc34.src.rpm,
| ppc64le): open (buildvm-ppc64le-25.iad2.fedoraproject.org) -> FAILED:
| BuildError: error building package (arch ppc64le), mock exited with
| status 1; see build.log or root.log for more information
|   0 free  0 open  1 done  7 failed
|
| 50235166 build (rawhide, fctxpd-0.2-1.20200827gitccbaf3a.fc34.src.rpm)
| failed
| a
|
| Regards,
| Muneendra.
|
|
| -----Original Message-----
| From: Jonathan Wakely [mailto:jwakely@xxxxxxxxxxxxxxxxx]
| Sent: Wednesday, July 29, 2020 5:16 PM
| To: Development discussions related to Fedora
| <devel@xxxxxxxxxxxxxxxxxxxxxxx>
| Cc: Muneendra Kumar M <muneendra.kumar@xxxxxxxxxxxx>
| Subject: Re: Query on upgrading the Fedora package
|
| >I don't know what part of the procedure you're unclear about, so
| >here's a summary of the entire process from start to finish.
| >
| >Get the package sources:
| >
| >fedpkg clone fctxpd
| >cd fctxpd
| >
| >Now download the new upstream code.
| >Optionally verify the package was downloaded correctly by checking a
| >SHA or other hash.
| >
| >Open the fctxpd.spec file in your preferred editor. Update the
| >various versions (commit, snapshotdate etc.) and add a new entry to
| >the %changelog section. Save the file.
| >
| >Create a SRPM from the changed (but not committed spec file):
|
| Oops, this was meant to say:
|
| Create a SRPM from the changed (but not committed) spec file:
|
| >fedpkg srpm
| >
| >Run a scratch build in the koji build system:
| >
| >fedpkg scratch-build --srpm $(fedpkg verrel).src.rpm
| >
| >Wait for the results, check them, fix any problems.
| >
| >Once you have a working package, commit your changes to the spec file:
| >
| >fedpkg new-sources NEW-UPSTREAM-TARBALL.tar.gz fedpkg commit -c
|
| And your mail software seems to have lost a newline between these two
| commands:
|
| fedpkg new-sources NEW-UPSTREAM-TARBALL.tar.gz
|
| fedpkg commit -c
|
|
|
| >
| >And publish them:
| >
| >fedpkg push
| >
| >And do the real build:
| >
| >fedpkg build
|
|
| I should also say that these steps are not the _only_ way to do it
| (they're not even the way I would do it most of the time). But they
| should be a simple-to-follow sequence that is relatively hard to screw up.
|
| Use 'man fedpkg' to find out more about each step, and see these links
| for additonal background information:
|
| https://docs.fedoraproject.org/en-US/quick-docs/creating-rpm-packages/
| https://fedoraproject.org/wiki/Package_maintenance_guide
| https://fedoraproject.org/wiki/Package_update_HOWTO
| _______________________________________________
| devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe
| send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
| Fedora Code of Conduct:
| https://docs.fedoraproject.org/en-US/project/code-of-conduct/
| List Guidelines:
| https://fedoraproject.org/wiki/Mailing_list_guidelines
| List Archives:
| https://lists.fedoraproject.org/archives/list/devel@lists.fedoraprojec
| t.org
|
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux