[packages/mysql] - added link patch (fixes build with systemtap probes) - added systemtap bcond

Jakub Bogusz qboosh at pld-linux.org
Thu Jul 25 06:43:59 CEST 2013


On Thu, Jul 25, 2013 at 12:00:51AM +0200, Jan Rękorajski wrote:
> On Sat, 13 Jul 2013, qboosh wrote:
> 
> > commit f42f4b0d486f6153736bebd03c12fb16f302e4e1
> > Author: Jakub Bogusz <qboosh at pld-linux.org>
> > Date:   Sat Jul 13 07:52:06 2013 +0200
> > 
> >     - added link patch (fixes build with systemtap probes)
> >     - added systemtap bcond
> > 
> >  mysql-link.patch | 45 +++++++++++++++++++++++++++++++++++++++++++++
> >  mysql.spec       | 39 +++++++++++++++++++++------------------
> 
> Looks like this change broke mysql, qt4 or jabberd does not build now.
> 
> [21:22] <+wiget> (wiget:@tower:pts/8) (4766:0) (21:21) (E:0)
> [21:22] <+wiget> (%:~) touch a.c
> [21:22] <+wiget> (wiget:@tower:pts/8) (4767:0) (21:21) (E:0)
> [21:22] <+wiget> (%:~) gcc a.c $(mysql_config --libs)
> [21:22] <+wiget> /usr/bin/ld: cannot find -lprobes_mysql
> [21:22] <+wiget> collect2: error: ld returned 1 exit status
> [21:36] <+arekm> 20:33 < baggins> arekm: co się ostatnio zmieniło w naszym mysql? cosik się jabberd czy qt4 nie budują
> [21:37] <+wiget> arekm, baggins: see f42f4b0d486f6153736bebd03c12fb16f302e4e1

Looks like mysql_config is incorrectly generated when building with
systemtap support. probes_mysql[.o] is an object file, internally linked
in some mysql libraries/executables, not a library and shouldn't appear
in mysql_config --libs output.


-- 
Jakub Bogusz    http://qboosh.pl/


More information about the pld-devel-en mailing list