Mailinglist Archive: opensuse-packaging (104 mails)

< Previous Next >
Re: [opensuse-packaging] Pthread error while building weechat package for SLE12-SP2
  • From: Mathias Homann <Mathias.Homann@xxxxxxxxxxxx>
  • Date: Sat, 18 Aug 2018 12:34:36 +0200
  • Message-id: <2232790.MKFJ31ABh4@kumiko>
Am Samstag, 18. August 2018, 11:47:27 CEST schrieb MOHIT B.:
Hello Everyone,

I am new to RPM packaging and I am trying to package weechat for
SLE12-SP3 and am facing `prhread_getspecific` error,

`/home/abuild/rpmbuild/BUILD/weechat-2.2/src/plugins/perl/weechat-perl.c:3
52: undefined reference to `pthread_getspecific'`
I searched over the internet to find the solution but I am unable to
understand on how to implement this in packaging, like where to
add/remove that certain flag (pthread).



I added one line to the spec file:


BuildRequires: glibc-devel


and it builds now.

here to see:
https://build.opensuse.org/package/show/
home:lemmy04:branches:openSUSE:Backports:SLE-15/weechat

Cheers
MH






--
Mathias Homann
Senior Systems Engineer, IT Consultant. IT Trainer
Mathias.Homann@xxxxxxxxxxxx
http://www.tuxonline.tech
gpg key fingerprint: 8029 2240 F4DD 7776 E7D2 C042 6B8E 029E 13F2 C102
< Previous Next >
Follow Ups
References