Re: Did the XML API change?

2018-12-11 Thread Steve Dickson


On 12/11/18 11:59 AM, Igor Gnatenko wrote:
> No, it didn't. BUT I believe that the problem is here:
> 
> /bin/sh ../../libtool  --tag=CC   --mode=link gcc -pipe  -Wall
> -Wextra  -Werror=strict-prototypes  -Werror=missing-prototypes
> -Werror=missing-declarations  -Werror=format=2  -Werror=undef
> -Werror=missing-include-dirs  -Werror=strict-aliasing=2
> -Werror=init-self  -Werror=implicit-function-declaration
> -Werror=return-type  -Werror=switch  -Werror=overflow
> -Werror=parentheses  -Werror=aggregate-return  -Werror=unused-result
> -fno-strict-aliasing  -Werror=format-overflow=2 -Werror=int-conversion
> -Werror=incompatible-pointer-types -Werror=misleading-indentation -O2
> -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
> -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong
> -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
> -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
> -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
> -D_FILE_OFFSET_BITS=64  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now
> -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libjunction.la
> display.lo export-cache.lo junction.lo locations.lo nfs.lo path.lo
> xml.lo  -lresolv
> …
> /usr/bin/ld: ../../support/junction/.libs/libjunction.a(nfs.o): in
> function `nfs_parse_xml':
> /builddir/build/BUILD/nfs-utils-2.3.3/support/junction/nfs.c:1386:
> undefined reference to `xmlXPathNewContext'
> 
> libjunction.la is not linked against libxml2 and later when you
> construct nfsref, it is failing with undefined symbols.
Got it... thanks!!!

steved.

> On Tue, Dec 11, 2018 at 5:55 PM Steve Dickson  wrote:
>>
>> Hello,
>>
>> I'm getting a bunch of xml routines undefined
>>
>> https://koji.fedoraproject.org/koji/getfile?taskID=31408933=DEFAULT=build.log=-4000
>>
>> on my rawhide build... everything builds just fine on f29...
>> and I have BuildRequires: libxml2-devel
>>
>> Is there something more I have BuildRequires on rawhide?
>>
>> tia,
>>
>> steved.
>> ___
>> 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
> ___
> 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
> 
___
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: Did the XML API change?

2018-12-11 Thread Steve Dickson


On 12/11/18 11:59 AM, Tom Hughes wrote:
> On 11/12/2018 16:46, Steve Dickson wrote:
> 
>> I'm getting a bunch of xml routines undefined
>>
>> https://koji.fedoraproject.org/koji/getfile?taskID=31408933=DEFAULT=build.log=-4000
>>
>> on my rawhide build... everything builds just fine on f29...
>> and I have BuildRequires: libxml2-devel
>>
>> Is there something more I have BuildRequires on rawhide?
> 
> You probably want to have libjunction.a before -lxml2 when linking.
That worked... thanks!!

steved.
> 
> Tom
> 
___
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: Did the XML API change?

2018-12-11 Thread Igor Gnatenko
No, it didn't. BUT I believe that the problem is here:

/bin/sh ../../libtool  --tag=CC   --mode=link gcc -pipe  -Wall
-Wextra  -Werror=strict-prototypes  -Werror=missing-prototypes
-Werror=missing-declarations  -Werror=format=2  -Werror=undef
-Werror=missing-include-dirs  -Werror=strict-aliasing=2
-Werror=init-self  -Werror=implicit-function-declaration
-Werror=return-type  -Werror=switch  -Werror=overflow
-Werror=parentheses  -Werror=aggregate-return  -Werror=unused-result
-fno-strict-aliasing  -Werror=format-overflow=2 -Werror=int-conversion
-Werror=incompatible-pointer-types -Werror=misleading-indentation -O2
-g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2
-Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1
-specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic
-fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection
-D_FILE_OFFSET_BITS=64  -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now
-specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o libjunction.la
display.lo export-cache.lo junction.lo locations.lo nfs.lo path.lo
xml.lo  -lresolv
…
/usr/bin/ld: ../../support/junction/.libs/libjunction.a(nfs.o): in
function `nfs_parse_xml':
/builddir/build/BUILD/nfs-utils-2.3.3/support/junction/nfs.c:1386:
undefined reference to `xmlXPathNewContext'

libjunction.la is not linked against libxml2 and later when you
construct nfsref, it is failing with undefined symbols.
On Tue, Dec 11, 2018 at 5:55 PM Steve Dickson  wrote:
>
> Hello,
>
> I'm getting a bunch of xml routines undefined
>
> https://koji.fedoraproject.org/koji/getfile?taskID=31408933=DEFAULT=build.log=-4000
>
> on my rawhide build... everything builds just fine on f29...
> and I have BuildRequires: libxml2-devel
>
> Is there something more I have BuildRequires on rawhide?
>
> tia,
>
> steved.
> ___
> 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
___
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: Did the XML API change?

2018-12-11 Thread Tom Hughes

On 11/12/2018 16:46, Steve Dickson wrote:


I'm getting a bunch of xml routines undefined

https://koji.fedoraproject.org/koji/getfile?taskID=31408933=DEFAULT=build.log=-4000

on my rawhide build... everything builds just fine on f29...
and I have BuildRequires: libxml2-devel

Is there something more I have BuildRequires on rawhide?


You probably want to have libjunction.a before -lxml2 when linking.

Tom

--
Tom Hughes (t...@compton.nu)
http://compton.nu/
___
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