Re: help needed to resolve build problem

2022-04-30 Thread kefu chai
hi Mattia,

On Sat, Apr 30, 2022 at 6:09 PM Mattia Verga via devel
 wrote:
>
> Hello folks,
>
> while updating package wcstools to the latest release, I've been trying
> to clean up the specfile. I could use some help from someone with better
> gcc knowledge to resolve a build problem when trying to use
> '%make_build' instead of plain 'make'. Can someone take a look at the
> build logs [1] and give me some advice? Is the failure due to parallel
> build usage or can be fixed by patching out the code somewhere?

the failure was due to the missing wcstools library when the linker
was trying to link simpos.

=== quote begin ===
gcc -O2 -flto=auto -ffat-lto-objects -fexceptions -g
-grecord-gcc-switches -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1
 -m64  -mtune=generic -fasynchronous-unwind-tables
-fstack-clash-protection -fcf-protection  -Wl,-z,relro -Wl,--as-needed
 -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -Wl,--build-id=sha1
-Wl,-dT,/builddir/build/BUILD/wcstools-3.9.7/.package_note-wcstools-3.9.7-1.fc37.x86_64.ld
-o bin/simpos simpos.c -L libwcs -lwcstools -lm
simpos.c: In function 'main':
simpos.c:86:20: warning: suggest parentheses around assignment used as
truth value [-Wparentheses]
   86 | while (c = *++str) {
  |^
simpos.c:186:13: warning: ignoring return value of 'fgets' declared
with attribute 'warn_unused_result' [-Wunused-result]
  186 | fgets (newobj, 32, flist);
  | ^
/usr/bin/ld: cannot find -lwcstools: No such file or directory
=== quote end ===

but at the end of the log, it seems GNU make was actually building
libwcstools.a and libwcstools.so.1
=== quote begin ===
ranlib libwcstools.a
make[1]: Leaving directory '/builddir/build/BUILD/wcstools-3.9.7/libwcs'
ar: creating libwcstools.a
...
ln -s libwcstools.so.1.0.0 libwcstools.so.1
ln -s
libwcstools.so.1.0.0 libwcstools.so
=== quote end ===

so my guess is that the upstream makefile just fails to explain the
build dependency correctly. and we should disable the parallel build
to workaround this. probably a better way is to fix the Makefile
though.

HTH.


cheers.

>
> Thanks
> Mattia
>
> [1] https://copr.fedorainfracloud.org/coprs/mattia/Astronomy/build/4351017/
>
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> 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.fedoraproject.org
> Do not reply to spam on the list, report it: 
> https://pagure.io/fedora-infrastructure



-- 
Regards
Kefu Chai
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


[EPEL-devel] Fwd: fmt soname bump in EPEL7

2021-05-10 Thread kefu chai
Hi folks,

i pushed the updated libfmt v6 to EPEL7 as a fix of [1]. it upgraded
libfmt v3.01 to libfmt 6.2.1, and introduced a soname bump for
libfmt.so. so packages depending on libfmt should be rebuilt to pick
up the new library.

sorry for violating the related policy[2] and the regression[3].
should have sent the mail before pushing the incompatible update to
EPEL7. =(

---
[1] https://bugzilla.redhat.com/show_bug.cgi?id=1931239
[2] https://fedoraproject.org/wiki/EPEL/GuidelinesAndPolicies#Policy
[3] https://bugzilla.redhat.com/show_bug.cgi?id=1931239

--
Regards
Kefu Chai


-- 
Regards
Kefu Chai
___
epel-devel mailing list -- epel-devel@lists.fedoraproject.org
To unsubscribe send an email to epel-devel-le...@lists.fedoraproject.org
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/epel-devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure


Re: Non-responsive maintainer tchaikov

2019-12-18 Thread kefu chai
On Wed, Dec 18, 2019 at 3:38 PM Vitaly Zaitsev via devel
 wrote:
>
> On 18.12.2019 01:43, Brad Hubbard wrote:
> > I spoke to the maintainer. He said he'll take a look this weekend. His
> > workload is truly enormous and mind boggling so please be patient.
>
> Please ask him to add me as co-maintainer to fmt package. I can help him
> with packaging.

Vitaly, sorry for the latency. thanks for your help. already added you
as an admin of fmt project.

>
> My FAS username: xvitaly
>
> --
> Sincerely,
>   Vitaly Zaitsev (vit...@easycoding.org)
> ___
> devel mailing list -- devel@lists.fedoraproject.org
> To unsubscribe send an email to devel-le...@lists.fedoraproject.org
> 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.fedoraproject.org



-- 
Regards
Kefu Chai
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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.fedoraproject.org


Re: bumping fmt to 5.2.1

2018-10-27 Thread Kefu Chai
> On Friday, 26 October 2018 at 07:24, Kefu Chai wrote:
> 
> Please refrain from pushing this without coordinating with maintainers
> of affected dependent packages first. Send a patch if necessary, but
> don't cause existing packages to start failing to build.

Dominik, thanks for the reminder. as put in the previous mail, i don't think it 
will break the existing packages at runtime or build time. what changes is the 
runtime dependency of future releases of kodi.

> 
> Regards,
> Dominik
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


bumping fmt to 5.2.1

2018-10-25 Thread Kefu Chai
hey guys,

i am pushing fmt 5.2.1 to rawhive (f30)[1]. and plan to push this updated 
change to fc29 and then fc28. as fmt-static is no longer packaged in fmt-5.2.1, 
kodi package will need to dynamically linked against libfmt at runtime in 
future. currently it's statically linked against libfmt.a.

---

[1] https://apps.fedoraproject.org/packages/fmt
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Re: Self Introduction: Kefu Chai

2018-10-23 Thread Kefu Chai
thanks Ben!
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org


Self Introduction: Kefu Chai

2018-10-19 Thread Kefu Chai
Hey, my name is Kefu Chai, and my nick name on IRC is kefu.

I am a software developer using C++ and Python. I found that fmt[0] is a very 
good C++ library for C++ developers like me who whats to have python's 
str.format() in C++. But its package[1] was recently orphaned. I've been using 
fedora for couple years in my work. I think it's an opportunity for me to 
contribute to this project by being a maintainer of this package.

The review request for fmt can be found at 
https://bugzilla.redhat.com/show_bug.cgi?id=1638768 .

Cheers

--
[0] https://github.com/fmtlib/fmt
[1] https://apps.fedoraproject.org/packages/fmt
___
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org