Bug#968385: FTBFS on kfreebsd-*

2020-10-31 Thread Jessica Clarke
On Fri, Aug 14, 2020 at 10:39:22AM +0200, Laurent Bigonville wrote:
> Source: libgc
> Version: 1:8.0.4-2
> Severity: important
> Tags: ftbfs
> Justification: fails to build from source (but built successfully in the past)
> User: debian-...@lists.debian.org
> Usertags: kfreebsd
> 
> Hello,
> 
> libgc FTBFS on kfreebsd-*
> 
> This is happening because some symbols are marked in the symbols file as
> non-existant on these architectures while they are actually existing.
> 
> Shouldn't the symbols file be adjusted? Or are these symbols really not
> supposed to be present?

For the record, it seems that having the symbols appear is correct. The
last successful build was 1:7.6.4-0.4, with the next build in unstable,
1:8.0.4-1, failing (experimental failed but only due to aptitude itself
being uninstallable) with the symbol error. Looking at the changelog,
7.6.6 has the following entry:

* Define GC_FREEBSD_THREADS and GC_ADD_CALLER macros for kFreeBSD

Given that the symbols that started to appear are guarded by
PARALLEL_MARK, I assume this means that PARALLEL_MARK started to be
enabled as a result of having threading enabled.

Jess



Bug#968385: FTBFS on kfreebsd-*

2020-10-27 Thread Christoph Berg
NMU diff attached.

Christoph

No differences were encountered between the control files

diff -Nru libgc-8.0.4/debian/changelog libgc-8.0.4/debian/changelog
--- libgc-8.0.4/debian/changelog	2020-08-03 18:53:35.0 +0200
+++ libgc-8.0.4/debian/changelog	2020-10-27 14:32:21.0 +0100
@@ -1,3 +1,10 @@
+libgc (1:8.0.4-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix symbols files for kfreebsd-*. (Closes: #968385)
+
+ -- Christoph Berg   Tue, 27 Oct 2020 14:32:21 +0100
+
 libgc (1:8.0.4-2) unstable; urgency=medium
 
   * Fix missing libgc-dev -> libatomic-ops-dev dependency (Helmut Grohne).
diff -Nru libgc-8.0.4/debian/libgc1.symbols libgc-8.0.4/debian/libgc1.symbols
--- libgc-8.0.4/debian/libgc1.symbols	2020-04-17 09:25:17.0 +0200
+++ libgc-8.0.4/debian/libgc1.symbols	2020-10-27 14:07:51.0 +0100
@@ -4,8 +4,8 @@
  (arch=kfreebsd-amd64 kfreebsd-i386)GC_FreeBSDGetDataStart@Base 1:7.2d
  (arch=sparc sparc64)GC_SysVGetDataStart@Base 1:7.2d
  GC_abort_on_oom@Base 1:8.0
- (arch=!kfreebsd-amd64 !kfreebsd-i386 !nios2 !sh4)GC_acquire_mark_lock@Base 1:8.0
- (arch=!kfreebsd-amd64 !kfreebsd-i386 !nios2 !sh4)GC_active_count@Base 1:8.0
+ (arch=!nios2 !sh4)GC_acquire_mark_lock@Base 1:8.0
+ (arch=!nios2 !sh4)GC_active_count@Base 1:8.0
  GC_add_ext_descriptor@Base 1:7.2d
  GC_add_map_entry@Base 1:7.2d
  GC_add_roots@Base 1:7.2d
@@ -47,13 +47,13 @@
  GC_block_nearly_full@Base 1:7.2d
  GC_block_was_dirty@Base 1:7.2d
  GC_bm_table@Base 1:7.2d
- GC_brief_async_signal_safe_sleep@Base 1:7.6.4
+ (arch=!kfreebsd-amd64 !kfreebsd-i386)GC_brief_async_signal_safe_sleep@Base 1:7.6.4
  GC_build_fl2@Base 1:7.2d
  GC_build_fl4@Base 1:7.2d
  GC_build_fl@Base 1:7.2d
  GC_build_fl_clear2@Base 1:7.2d
  GC_build_fl_clear4@Base 1:7.2d
- (arch=!kfreebsd-amd64 !kfreebsd-i386 !nios2 !sh4)GC_bytes_allocd_tmp@Base 1:8.0
+ (arch=!nios2 !sh4)GC_bytes_allocd_tmp@Base 1:8.0
  GC_bytes_found@Base 1:7.2d
  GC_call_with_alloc_lock@Base 1:7.2d
  GC_call_with_gc_active@Base 1:7.2d
@@ -146,8 +146,8 @@
  GC_do_blocking@Base 1:7.2d
  GC_do_blocking_inner@Base 1:7.2d
  GC_do_enumerate_reachable_objects@Base 1:7.6.4
- (arch=!kfreebsd-amd64 !kfreebsd-i386 !nios2 !sh4)GC_do_local_mark@Base 1:8.0
- (arch=!kfreebsd-amd64 !kfreebsd-i386 !nios2 !sh4)GC_do_parallel_mark@Base 1:8.0
+ (arch=!nios2 !sh4)GC_do_local_mark@Base 1:8.0
+ (arch=!nios2 !sh4)GC_do_parallel_mark@Base 1:8.0
  GC_dont_expand@Base 1:7.2d
  GC_dont_gc@Base 1:7.2d
  GC_dont_precollect@Base 1:7.2d
@@ -194,8 +194,8 @@
  (arch=!arm64 !nios2 !mips !mips64el !mipsel !riscv64 !s390 !s390x)GC_find_limit_with_bound@Base 1:7.2d
  GC_findleak_delay_free@Base 1:7.2d
  GC_finish_collection@Base 1:7.2d
- (arch=!kfreebsd-amd64 !kfreebsd-i386 !nios2 !sh4)GC_first_nonempty@Base 1:8.0
- (arch=!kfreebsd-amd64 !kfreebsd-i386 !nios2 !sh4)GC_fl_builder_count@Base 1:8.0
+ (arch=!nios2 !sh4)GC_first_nonempty@Base 1:8.0
+ (arch=!nios2 !sh4)GC_fl_builder_count@Base 1:8.0
  GC_fnlz_roots@Base 1:7.6.4
  GC_fo_entries@Base 1:7.2d
  GC_force_unmap_on_gcollect@Base 1:7.2d
@@ -295,9 +295,9 @@
  GC_hblkfreelist@Base 1:7.2d
  GC_header_cache_miss@Base 1:7.2d
  GC_heapsize_at_forced_unmap@Base 1:7.6.4
- (arch=!kfreebsd-amd64 !kfreebsd-i386 !nios2 !sh4)GC_help_marker@Base 1:8.0
- (arch=!kfreebsd-amd64 !kfreebsd-i386 !nios2 !sh4)GC_help_wanted@Base 1:8.0
- (arch=!kfreebsd-amd64 !kfreebsd-i386 !nios2 !sh4)GC_helper_count@Base 1:8.0
+ (arch=!nios2 !sh4)GC_help_marker@Base 1:8.0
+ (arch=!nios2 !sh4)GC_help_wanted@Base 1:8.0
+ (arch=!nios2 !sh4)GC_helper_count@Base 1:8.0
  GC_ignore_self_finalize_mark_proc@Base 1:7.2d
  GC_ignore_warn_proc@Base 1:7.2d
  GC_in_thread_creation@Base 1:7.2d
@@ -332,7 +332,7 @@
  GC_is_init_called@Base 1:7.6.4
  GC_is_initialized@Base 1:7.2d
  GC_is_marked@Base 1:7.2d
- GC_is_thread_suspended@Base 1:7.6.4
+ (arch=!kfreebsd-amd64 !kfreebsd-i386)GC_is_thread_suspended@Base 1:7.6.4
  GC_is_tmp_root@Base 1:7.6.4
  GC_is_valid_displacement@Base 1:7.2d
  GC_is_valid_displacement_print_proc@Base 1:7.2d
@@ -372,16 +372,16 @@
  GC_mark_and_push_stack@Base 1:7.2d
  GC_mark_from@Base 1:7.2d
  GC_mark_init@Base 1:7.2d
- (arch=!kfreebsd-amd64 !kfreebsd-i386 !nios2 !sh4)GC_mark_local@Base 1:8.0
- (arch=!kfreebsd-amd64 !kfreebsd-i386 !nios2 !sh4)GC_mark_no@Base 1:8.0
+ (arch=!nios2 !sh4)GC_mark_local@Base 1:8.0
+ (arch=!nios2 !sh4)GC_mark_no@Base 1:8.0
  GC_mark_some@Base 1:7.2d
  GC_mark_stack_size@Base 1:7.2d
  GC_mark_stack_too_small@Base 1:7.2d
  GC_mark_state@Base 1:7.2d
- (arch=!kfreebsd-amd64 !kfreebsd-i386 !nios2 !sh4)GC_mark_thread@Base 1:8.0
+ (arch=!nios2 !sh4)GC_mark_thread@Base 1:8.0
  GC_mark_thread_local_fls_for@Base 1:8.0
  GC_mark_thread_local_free_lists@Base 1:8.0
- (arch=!kfreebsd-amd64 !kfreebsd-i386 !nios2 !sh4)GC_mark_threads@Base 1:8.0
+ (arch=!nios2 !sh4)GC_mark_threads@Base 1:8.0
  GC_mark_togglerefs@Base 1:7.6.4
  GC_max_heapsize@Base 1:7.4.2
  GC_max_retries@Base 1:7.2d
@@ -420,8 +420,8 @@
  GC_noop6@Base 1:7.4.2
  GC_noop_sink@Base 1:7.2d
  GC_normal_finaliz

Bug#968385: FTBFS on kfreebsd-*

2020-08-14 Thread Laurent Bigonville
Source: libgc
Version: 1:8.0.4-2
Severity: important
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
User: debian-...@lists.debian.org
Usertags: kfreebsd

Hello,

libgc FTBFS on kfreebsd-*

This is happening because some symbols are marked in the symbols file as
non-existant on these architectures while they are actually existing.

Shouldn't the symbols file be adjusted? Or are these symbols really not
supposed to be present?

Kind regards,
Laurent Bigonville

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.7.0-2-amd64 (SMP w/8 CPU threads)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), 
LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy