Control: tag -1 + patch

On Sun, 23 Jul 2017 01:25:54 +0300, Adrian Bunk wrote:

> Source: clanlib
> Version: 1.0~svn3827-6
> Severity: serious
> Tags: buster sid
> 
> https://tests.reproducible-builds.org/debian/rb-pkg/unstable/arm64/clanlib.html
> 
> ...
> ./pce2 --plgdir . ../../Sources/API/gl.h ../../Sources/API/GL/opengl_window.h 
> ../../Sources/API/GL/setupgl.h ../../Sources/API/GL/program_uniform.h 
> ../../Sources/API/GL/texture.h ../../Sources/API/GL/shader_object.h 
> ../../Sources/API/GL/opengl_window_description.h 
> ../../Sources/API/GL/opengl_state_data.h 
> ../../Sources/API/GL/program_object.h ../../Sources/API/GL/opengl_state.h 
> ../../Sources/API/GL/program_attribute.h ../../Sources/API/GL/light_source.h 
> ../../Sources/API/GL/opengl_surface.h ../../Sources/API/GL/texture_unit.h 
> ../../Sources/API/GL/viewpoint.h ../../Sources/API/GL/opengl_wrap.h 
> ../../Sources/API/GL/material.h ../../Sources/API/GL/opengl.h 
> ../../Sources/API/sound.h ../../Sources/API/Sound/soundoutput.h 
> ../../Sources/API/Sound/soundformat.h ../../Sources/API/Sound/sound.h 
> ../../Sources/API/Sound/soundprovider.h 
> ../../Sources/API/Sound/SoundProviders/soundprovider_type.h 
> ../../Sources/API/Sound/SoundProviders/soundprovider_wave.h 
> ../../Sources/API/Sound/SoundProviders/soun
>  dprovider_factory.h 
> ../../Sources/API/Sound/SoundProviders/soundprovider_recorder.h 
> ../../Sources/API/Sound/SoundProviders/soundprovider_raw.h 
> ../../Sources/API/Sound/SoundProviders/soundprovider_type_register.h 
> ../../Sources/API/Sound/SoundFilters/fadefilter.h 
> ../../Sources/API/Sound/SoundFilters/inverse_echofilter.h 
> ../../Sources/API/Sound/SoundFilters/echofilter.h 
> ../../Sources/API/Sound/soundbuffer_session.h 
> ../../Sources/API/Sound/soundfilter.h 
> ../../Sources/API/Sound/soundprovider_session.h 
> ../../Sources/API/Sound/soundbuffer.h ../../Sources/API/Sound/cd_drive.h 
> ../../Sources/API/Sound/setupsound.h 
> ../../Sources/API/Sound/soundoutput_description.h ../../Sources/API/vorbis.h 
> ../../Sources/API/guistylesilver.h ../../Sources/API/sdl.h 
> ../../Sources/API/GUI/frame.h ../../Sources/API/GUI/treeview.h 
> ../../Sources/API/GUI/layout.h 
> ../../Sources/API/GUI/component_resize_handler.h 
> ../../Sources/API/GUI/component_style.h ../../Sources/API/GUI/listbox.h 
> ../../Sources/API/GUI/treenode.h .
>  ./../Sources/API/GUI/deck.h ../../Sources/API/GUI/treeitem.h 
> ../../Sources/API/GUI/filedialog.h ../../Sources/API/GUI/scrollbar.h 
> ../../Sources/API/GUI/inputbox.h ../../Sources/API/GUI/menu.h 
> ../../Sources/API/GUI/button.h ../../Sources/API/GUI/component_manager.h 
> ../../Sources/API/GUI/inputbox_stylebase.h ../../Sources/API/GUI/menu_item.h 
> ../../Sources/API/GUI/radiogroup.h ../../Sources/API/GUI/menu_node.h 
> ../../Sources/API/GUI/richedit_paragraph.h 
> ../../Sources/API/GUI/inputdialog.h 
> ../../Sources/API/GUI/component_move_handler.h 
> ../../Sources/API/GUI/checkbox.h ../../Sources/API/GUI/gui_manager.h 
> ../../Sources/API/GUI/listitem.h ../../Sources/API/GUI/messagebox.h 
> ../../Sources/API/GUI/image.h ../../Sources/API/GUI/component.h 
> ../../Sources/API/GUI/label.h ../../Sources/API/GUI/progressbar.h 
> ../../Sources/API/GUI/window.h ../../Sources/API/GUI/setupgui.h 
> ../../Sources/API/GUI/richedit.h ../../Sources/API/GUI/component_type.h 
> ../../Sources/API/GUI/stylemanager.h ../../Sources/API/GU
>  I/radiobutton.h ../../Sources/API/GUIStyleSilver/richedit_silver.h 
> ../../Sources/API/GUIStyleSilver/radiobutton_silver.h 
> ../../Sources/API/GUIStyleSilver/label_silver.h 
> ../../Sources/API/GUIStyleSilver/treeitem_silver.h 
> ../../Sources/API/GUIStyleSilver/listbox_silver.h 
> ../../Sources/API/GUIStyleSilver/menu_item_silver.h 
> ../../Sources/API/GUIStyleSilver/menu_silver.h 
> ../../Sources/API/GUIStyleSilver/inputbox_silver.h 
> ../../Sources/API/GUIStyleSilver/button_silver.h 
> ../../Sources/API/GUIStyleSilver/image_silver.h 
> ../../Sources/API/GUIStyleSilver/checkbox_silver.h 
> ../../Sources/API/GUIStyleSilver/treeview_silver.h 
> ../../Sources/API/GUIStyleSilver/frame_silver.h 
> ../../Sources/API/GUIStyleSilver/menu_node_silver.h 
> ../../Sources/API/GUIStyleSilver/scrollbar_silver.h 
> ../../Sources/API/GUIStyleSilver/progressbar_silver.h 
> ../../Sources/API/GUIStyleSilver/window_silver.h 
> ../../Sources/API/GUIStyleSilver/stylemanager_silver.h 
> ../../Sources/API/signals.h ../../Sources/API/network.h ../../Source
>  s/API/mikmod.h ../../Sources/API/gui.h 
> ../../Sources/API/Application/clanapp.h 
> ../../Sources/API/Core/core_iostream.h ../../Sources/API/Core/Math/rect.h 
> ../../Sources/API/Core/Math/number_pool.h 
> ../../Sources/API/Core/Math/circle.h ../../Sources/API/Core/Math/line_math.h 
> ../../Sources/API/Core/Math/origin.h ../../Sources/API/Core/Math/point.h 
> ../../Sources/API/Core/Math/matrix4x4.h ../../Sources/API/Core/Math/quad.h 
> ../../Sources/API/Core/Math/math.h 
> ../../Sources/API/Core/Math/delauney_triangulator.h 
> ../../Sources/API/Core/Math/triangle_math.h 
> ../../Sources/API/Core/Math/cl_vector.h 
> ../../Sources/API/Core/Math/pointset_math.h 
> ../../Sources/API/Core/Math/outline_triangulator.h 
> ../../Sources/API/Core/Math/size.h ../../Sources/API/Core/Math/vector2.h 
> ../../Sources/API/Core/IOData/directory.h 
> ../../Sources/API/Core/IOData/outputsource_provider.h 
> ../../Sources/API/Core/IOData/outputsource_memory.h 
> ../../Sources/API/Core/IOData/zip_file_entry.h 
> ../../Sources/API/Core/IOData/inputsource_f
>  ile.h ../../Sources/API/Core/IOData/cl_endian.h 
> ../../Sources/API/Core/IOData/datatypes.h 
> ../../Sources/API/Core/IOData/inputsource_provider_file.h 
> ../../Sources/API/Core/IOData/inputsource_memory.h 
> ../../Sources/API/Core/IOData/zip_archive.h 
> ../../Sources/API/Core/IOData/inputsource.h 
> ../../Sources/API/Core/IOData/outputsource_zipped.h 
> ../../Sources/API/Core/IOData/outputsource_file.h 
> ../../Sources/API/Core/IOData/directory_scanner.h 
> ../../Sources/API/Core/IOData/outputsource.h 
> ../../Sources/API/Core/IOData/inputsource_zipped.h 
> ../../Sources/API/Core/IOData/inputsource_provider.h 
> ../../Sources/API/Core/System/cl_library.h 
> ../../Sources/API/Core/System/mutexweakptr.h 
> ../../Sources/API/Core/System/weakptr.h 
> ../../Sources/API/Core/System/clanstring.h 
> ../../Sources/API/Core/System/threadfunc_v0.h 
> ../../Sources/API/Core/System/threadfunc_v1.h 
> ../../Sources/API/Core/System/log.h ../../Sources/API/Core/System/mutex.h 
> ../../Sources/API/Core/System/crash_reporter.h ../../Sources/API/Core/Sy
>  stem/command_line.h ../../Sources/API/Core/System/event_trigger.h 
> ../../Sources/API/Core/System/event_listener.h 
> ../../Sources/API/Core/System/mutexsharedptr.h 
> ../../Sources/API/Core/System/keep_alive.h 
> ../../Sources/API/Core/System/clonable.h 
> ../../Sources/API/Core/System/system.h 
> ../../Sources/API/Core/System/call_stack.h 
> ../../Sources/API/Core/System/thread.h 
> ../../Sources/API/Core/System/lazycopyptr.h 
> ../../Sources/API/Core/System/threadfunc_v2.h 
> ../../Sources/API/Core/System/owningptr.h 
> ../../Sources/API/Core/System/error.h 
> ../../Sources/API/Core/System/clipboard.h 
> ../../Sources/API/Core/System/timer.h 
> ../../Sources/API/Core/System/console_window.h 
> ../../Sources/API/Core/System/setupcore.h 
> ../../Sources/API/Core/System/cl_assert.h 
> ../../Sources/API/Core/System/sharedptr.h 
> ../../Sources/API/Core/Resources/resourcetype_float.h 
> ../../Sources/API/Core/Resources/resourcetype_integer.h 
> ../../Sources/API/Core/Resources/resourcedata.h 
> ../../Sources/API/Core/Resources/resourcetype_strin
>  g.h ../../Sources/API/Core/Resources/resource_manager.h 
> ../../Sources/API/Core/Resources/resource.h 
> ../../Sources/API/Core/Resources/resourcetype_raw.h 
> ../../Sources/API/Core/Resources/resourcetype_boolean.h 
> ../../Sources/API/Core/XML/dom_named_node_map.h 
> ../../Sources/API/Core/XML/dom_implementation.h 
> ../../Sources/API/Core/XML/xml_writer.h 
> ../../Sources/API/Core/XML/dom_document_type.h 
> ../../Sources/API/Core/XML/xml_token_load.h 
> ../../Sources/API/Core/XML/dom_exception.h 
> ../../Sources/API/Core/XML/xml_tokenizer.h 
> ../../Sources/API/Core/XML/dom_notation.h 
> ../../Sources/API/Core/XML/dom_element.h 
> ../../Sources/API/Core/XML/xml_token_save.h 
> ../../Sources/API/Core/XML/dom_cdata_section.h 
> ../../Sources/API/Core/XML/dom_attr.h 
> ../../Sources/API/Core/XML/dom_processing_instruction.h 
> ../../Sources/API/Core/XML/dom_document.h 
> ../../Sources/API/Core/XML/xml_token_string.h 
> ../../Sources/API/Core/XML/dom_text.h 
> ../../Sources/API/Core/XML/dom_document_fragment.h 
> ../../Sources/API/Core/XML/dom_
>  comment.h ../../Sources/API/Core/XML/dom_entity.h 
> ../../Sources/API/Core/XML/dom_entity_reference.h 
> ../../Sources/API/Core/XML/dom_node_list.h 
> ../../Sources/API/Core/XML/dom_character_data.h 
> ../../Sources/API/Core/XML/xml_token.h ../../Sources/API/Core/XML/dom_node.h 
> ../../Sources/API/MikMod/soundprovider_mikmod.h 
> ../../Sources/API/MikMod/setupmikmod.h 
> ../../Sources/API/Vorbis/soundprovider_vorbis.h 
> ../../Sources/API/Vorbis/setupvorbis.h ../../Sources/API/Display/keys.h 
> ../../Sources/API/Display/input_device.h 
> ../../Sources/API/Display/graphic_context.h 
> ../../Sources/API/Display/canvas.h 
> ../../Sources/API/Display/Collision/outline_provider_bitmap.h 
> ../../Sources/API/Display/Collision/outline_accuracy.h 
> ../../Sources/API/Display/Collision/outline_provider.h 
> ../../Sources/API/Display/Collision/contour.h 
> ../../Sources/API/Display/Collision/outline_circle.h 
> ../../Sources/API/Display/Collision/collision_outline.h 
> ../../Sources/API/Display/Collision/outline_provider_file.h ../../Sources/A
>  PI/Display/Collision/outline_math.h ../../Sources/API/Display/palette.h 
> ../../Sources/API/Display/color.h 
> ../../Sources/API/Display/display_iostream.h 
> ../../Sources/API/Display/input_button.h ../../Sources/API/Display/font.h 
> ../../Sources/API/Display/pixel_format_type.h 
> ../../Sources/API/Display/input_buffer.h 
> ../../Sources/API/Display/key_binding.h ../../Sources/API/Display/mouse.h 
> ../../Sources/API/Display/surface.h 
> ../../Sources/API/Display/Providers/dc_buffer.h 
> ../../Sources/API/Display/Providers/targa_provider.h 
> ../../Sources/API/Display/Providers/provider_type.h 
> ../../Sources/API/Display/Providers/provider_factory.h 
> ../../Sources/API/Display/Providers/provider_type_register.h 
> ../../Sources/API/Display/Providers/pcx_provider.h 
> ../../Sources/API/Display/Providers/jpeg_provider.h 
> ../../Sources/API/Display/Providers/png_provider.h 
> ../../Sources/API/Display/Providers/bmp_provider.h 
> ../../Sources/API/Display/setupdisplay.h ../../Sources/API/Display/joystick.h 
> ../../Sources/API/Displ
>  ay/pixel_format.h ../../Sources/API/Display/display_mode.h 
> ../../Sources/API/Display/display_window_description.h 
> ../../Sources/API/Display/glyph_buffer.h ../../Sources/API/Display/sprite.h 
> ../../Sources/API/Display/frameratecounter.h 
> ../../Sources/API/Display/rle_surface.h ../../Sources/API/Display/gradient.h 
> ../../Sources/API/Display/input_event.h 
> ../../Sources/API/Display/text_styler.h 
> ../../Sources/API/Display/input_context.h 
> ../../Sources/API/Display/stencil_func.h ../../Sources/API/Display/keyboard.h 
> ../../Sources/API/Display/display.h ../../Sources/API/Display/blend_func.h 
> ../../Sources/API/Display/sprite_packer.h 
> ../../Sources/API/Display/display_window.h 
> ../../Sources/API/Display/sprite_description.h 
> ../../Sources/API/Display/pixel_buffer.h ../../Sources/API/core.h 
> ../../Sources/API/Signals/slot_v3.h ../../Sources/API/Signals/signal_v2.h 
> ../../Sources/API/Signals/slot_v2.h ../../Sources/API/Signals/slot_generic.h 
> ../../Sources/API/Signals/slot_container.h ../../Sources/API/
>  Signals/signal_v4.h ../../Sources/API/Signals/slot_v0.h 
> ../../Sources/API/Signals/slot.h ../../Sources/API/Signals/signal.h 
> ../../Sources/API/Signals/slot_v1.h ../../Sources/API/Signals/signal_v3.h 
> ../../Sources/API/Signals/signal_v0.h 
> ../../Sources/API/Signals/slotbuffer_v0.h ../../Sources/API/Signals/slot_v4.h 
> ../../Sources/API/Signals/slot_v5.h ../../Sources/API/Signals/signal_v5.h 
> ../../Sources/API/Signals/slotbuffer_v1.h 
> ../../Sources/API/Signals/signal_v1.h 
> ../../Sources/API/Network/IRC/irc_numerics.h 
> ../../Sources/API/Network/IRC/irc_connection.h 
> ../../Sources/API/Network/IRC/dcc_download.h 
> ../../Sources/API/Network/NetObjects/netobject_server.h 
> ../../Sources/API/Network/NetObjects/netobject_controller.h 
> ../../Sources/API/Network/NetObjects/netobject_client.h 
> ../../Sources/API/Network/Socket/socket.h 
> ../../Sources/API/Network/Socket/ip_address.h 
> ../../Sources/API/Network/Socket/inputsource_socket.h 
> ../../Sources/API/Network/Socket/outputsource_socket.h ../../Sources/API/Netwo
>  rk/setupnetwork.h ../../Sources/API/Network/NetVariables/netvariables.h 
> ../../Sources/API/Network/NetSession/inputsource_netstream.h 
> ../../Sources/API/Network/NetSession/inputsource_netpacket.h 
> ../../Sources/API/Network/NetSession/netstream.h 
> ../../Sources/API/Network/NetSession/netcomputer.h 
> ../../Sources/API/Network/NetSession/netsession.h 
> ../../Sources/API/Network/NetSession/netpacket.h 
> ../../Sources/API/Network/NetSession/netgroup.h 
> ../../Sources/API/Network/NetSession/outputsource_netpacket.h 
> ../../Sources/API/Network/NetSession/outputsource_netstream.h 
> ../../Sources/API/efence.h ../../Sources/API/display.h 
> ../../Sources/API/application.h ../../Sources/API/SDL/setupsdl.h
> Unescaped left brace in regex is deprecated here (and will be fatal in Perl 
> 5.30), passed through in regex; marked by <-- HERE in 
> m/^\s*(class|union|struct)\s+(\S+)\s*:(.*){ <-- HERE / at ./pce2 line 670.
> Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in 
> m/\${ <-- HERE / at ./pce2 line 1108.
> Makefile:530: recipe for target 'html/' failed
> make[3]: *** [html/] Error 255

Debdiff attached with a patch which escapes the left braces.

Cheers,
gregor

-- 
 .''`.  https://info.comodo.priv.at/ - Debian Developer https://www.debian.org
 : :' : OpenPGP fingerprint D1E1 316E 93A7 60A8 104D  85FA BB3A 6801 8649 AA06
 `. `'  Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe
   `-   NP: Flying Pickets: Purple Rain
diff -Nru clanlib-1.0~svn3827/debian/changelog clanlib-1.0~svn3827/debian/changelog
--- clanlib-1.0~svn3827/debian/changelog	2016-08-06 09:54:17.000000000 +0200
+++ clanlib-1.0~svn3827/debian/changelog	2017-07-23 17:19:48.000000000 +0200
@@ -1,3 +1,12 @@
+clanlib (1.0~svn3827-6.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix "clanlib FTBFS with perl 5.26": add 450_unescaped_left_brace.patch to
+    escape literal curly braces.
+    (Closes: #869383)
+
+ -- gregor herrmann <gre...@debian.org>  Sun, 23 Jul 2017 17:19:48 +0200
+
 clanlib (1.0~svn3827-6) unstable; urgency=medium
 
   * Team upload.
diff -Nru clanlib-1.0~svn3827/debian/patches/450_unescaped_left_brace.patch clanlib-1.0~svn3827/debian/patches/450_unescaped_left_brace.patch
--- clanlib-1.0~svn3827/debian/patches/450_unescaped_left_brace.patch	1970-01-01 01:00:00.000000000 +0100
+++ clanlib-1.0~svn3827/debian/patches/450_unescaped_left_brace.patch	2017-07-23 17:19:48.000000000 +0200
@@ -0,0 +1,24 @@
+--- a/Documentation/Reference/pce2.in
++++ b/Documentation/Reference/pce2.in
+@@ -667,10 +667,10 @@
+ sub procClass {
+   my($env,$block,$com)=@_;
+ 
+-  if (&mask_API($block)=~/^\s*(class|union|struct)\s+(\S+)\s*:(.*){/) { 
++  if (&mask_API($block)=~/^\s*(class|union|struct)\s+(\S+)\s*:(.*)\{/) {
+     $env=Class::new($env,$2,$com,$1,$3);
+   }
+-  elsif (&mask_API($block)=~/^\s*(class|union|struct)\s+(\S+)\s*{/) { 
++  elsif (&mask_API($block)=~/^\s*(class|union|struct)\s+(\S+)\s*\{/) {
+     $env=Class::new($env,$2,$com,$1);
+   }
+   elsif ($block=~/^\s*(union|struct)\s*{/) { 
+@@ -1105,7 +1105,7 @@
+ sub alter {
+   my $self=shift;
+   my $str=shift;
+-  $str=~s/\${/\$\$self{/g;
++  $str=~s/\$\{/\$\$self\{/g;
+   $str=~s/\\n/\n/g;
+   $str=~s/"/\\"/g;
+   eval("\$str=\"$str\";");
diff -Nru clanlib-1.0~svn3827/debian/patches/series clanlib-1.0~svn3827/debian/patches/series
--- clanlib-1.0~svn3827/debian/patches/series	2016-08-06 09:52:18.000000000 +0200
+++ clanlib-1.0~svn3827/debian/patches/series	2017-07-23 17:19:48.000000000 +0200
@@ -7,3 +7,4 @@
 420_reproducible.patch
 430_privacy.patch
 440_makepair.patch
+450_unescaped_left_brace.patch

Attachment: signature.asc
Description: Digital Signature

Reply via email to