Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 631244

Summary: dev-ruby/ruby-xslt-0.9.9-r3 : xslt_lib.c:564:71: error: XSLT_NORM_SAXON_NAMESPACE undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://github.com/glejeune/ruby-xslt/issues/7
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 642000    
Bug Blocks:    
Attachments: emerge-info.txt
dev-ruby:ruby-xslt-0.9.9-r3:20170915-192630.log
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2

Description Toralf Förster gentoo-dev 2017-09-17 19:34:37 UTC
                 from xslt_lib.c:19:
xslt_lib.c: In function ‘Init_xslt_lib’:
xslt_lib.c:564:71: error: ‘XSLT_NORM_SAXON_NAMESPACE’ undeclared (first use in this function)
 rb_define_const( cXSLT, "NAMESPACE_NORM_SAXON", rb_str_new2((char *)XSLT_NORM_S
                                                                     ^
/usr/include/ruby-2.2.0/ruby/intern.h:802:27: note: in definition of macro ‘rb_str_new_cstr’

=== This is an issue at stable ===


  -------------------------------------------------------------------

  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop-gnome-systemd_stable_20170905-222907

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
llvm-config:
3.7.1
Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby22 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
1)	IcedTea JDK 7.2.6.11 [icedtea-bin-7]
*)	IcedTea JDK 3.5.1 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-7 
  [2]   icedtea-bin-8  system-vm

emerge -qpv dev-ruby/ruby-xslt
[ebuild  N    ] dev-ruby/ruby-xslt-0.9.9-r3  USE="{-test}" RUBY_TARGETS="ruby22 (-ruby23) (-ruby24)"
Comment 1 Toralf Förster gentoo-dev 2017-09-17 19:34:41 UTC
Created attachment 494930 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-17 19:34:44 UTC
Created attachment 494932 [details]
dev-ruby:ruby-xslt-0.9.9-r3:20170915-192630.log
Comment 3 Toralf Förster gentoo-dev 2017-09-17 19:34:47 UTC
Created attachment 494934 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-09-17 19:34:50 UTC
Created attachment 494936 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-09-17 19:34:53 UTC
Created attachment 494938 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-09-17 19:34:57 UTC
Created attachment 494940 [details]
logs.tbz2
Comment 7 Hans de Graaff gentoo-dev Security 2017-09-18 06:12:11 UTC
This method has been removed in libxslt 1.30: https://mail.gnome.org/archives/commits-list/2017-February/msg00373.html

I've filed an upstream bug and added a patched ruby-xslt-0.9.9-r4 to account for this.
Comment 8 Hanno Böck gentoo-dev 2017-12-21 14:50:37 UTC
0.9.10 fixes this and is already in the tree, probably it's best to just go ahead with stabilizing that version?