[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#943749: marked as done (dmrconfig FTCBFS: hard codes the build architecture pkg-config)



Your message dated Mon, 27 Jul 2020 15:18:37 +0000
with message-id <E1k04th-0004o6-Mm@fasolo.debian.org>
and subject line Bug#943749: fixed in dmrconfig 1.1+git20190919.e47491e-2
has caused the Debian Bug report #943749,
regarding dmrconfig FTCBFS: hard codes the build architecture pkg-config
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
943749: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=943749
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: dmrconfig
Version: 1.1+git20190919.e47491e-1
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs

dmrconfig fails to cross build from source, because the upstream
Makefile hard codes the build architecture pkg-config. Please consider
applying the attached patch to fix that.

Helmut
--- dmrconfig-1.1+git20190919.e47491e.orig/Makefile
+++ dmrconfig-1.1+git20190919.e47491e/Makefile
@@ -1,4 +1,5 @@
 CC             ?= gcc
+PKG_CONFIG     ?= pkg-config
 
 VERSION         = $(shell git describe --tags --abbrev=0)
 GITCOUNT        = $(shell git rev-list HEAD --count)
@@ -8,14 +9,14 @@
                   gd77.o hid.o serial.o d868uv.o dm1801.o
 CFLAGS         ?= -g -O -Wall -Werror 
 CFLAGS         += -DVERSION='"$(VERSION).$(GITCOUNT)"' \
-                  $(shell pkg-config --cflags libusb-1.0)
+                  $(shell $(PKG_CONFIG) --cflags libusb-1.0)
 LDFLAGS        ?= -g
-LIBS            = $(shell pkg-config --libs --static libusb-1.0)
+LIBS            = $(shell $(PKG_CONFIG) --libs --static libusb-1.0)
 
 #
 # Make sure pkg-config is installed.
 #
-ifeq ($(shell pkg-config --version),)
+ifeq ($(shell $(PKG_CONFIG) --version),)
     $(error Fatal error: pkg-config is not installed)
 endif
 

--- End Message ---
--- Begin Message ---
Source: dmrconfig
Source-Version: 1.1+git20190919.e47491e-2
Done: Christoph Berg <myon@debian.org>

We believe that the bug you reported is fixed in the latest version of
dmrconfig, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 943749@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Christoph Berg <myon@debian.org> (supplier of updated dmrconfig package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Mon, 27 Jul 2020 16:38:51 +0200
Source: dmrconfig
Architecture: source
Version: 1.1+git20190919.e47491e-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Hamradio Maintainers <debian-hams@lists.debian.org>
Changed-By: Christoph Berg <myon@debian.org>
Closes: 943749 957143
Changes:
 dmrconfig (1.1+git20190919.e47491e-2) unstable; urgency=medium
 .
   [ tony mancill ]
   * Team upload
   * Add patch for cross-compilation (Closes: #943749)
 .
   [ Christoph Berg ]
   * Fix build failure with gcc10. (Closes: #957143)
     https://github.com/sergev/dmrconfig/pull/54
   * Add debian/gitlab-ci.yml.
Checksums-Sha1:
 51ad5172d1e3053c7460afb08811780cb7de920e 2099 dmrconfig_1.1+git20190919.e47491e-2.dsc
 dce933732c4c7534feee457ccaacc17fc1d7b08b 3896 dmrconfig_1.1+git20190919.e47491e-2.debian.tar.xz
Checksums-Sha256:
 114a8daa1392c59d75aa1e14f897bdbc59b36e9f2688f5b7cadd0862f8aee51c 2099 dmrconfig_1.1+git20190919.e47491e-2.dsc
 1564556111222caff5f73dce36100b952ed94ef50d140fe895361898c3e62978 3896 dmrconfig_1.1+git20190919.e47491e-2.debian.tar.xz
Files:
 369bab3e13fe13cfd62c51da4c73e7c1 2099 hamradio optional dmrconfig_1.1+git20190919.e47491e-2.dsc
 e502c8fc377c6aa3e38f6e8aa9010870 3896 hamradio optional dmrconfig_1.1+git20190919.e47491e-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEXEj+YVf0kXlZcIfGTFprqxLSp64FAl8e7AcACgkQTFprqxLS
p65Beg//SOtC6tdlvwogYjn6z97g8VnpZHMUFdCJH/DiGsvxbkXgQHM7/ZDcFeIE
YAAoc2cb3vil8Mf9MsBDiqux7dD+VZcHsmrfL2Lni2oKkPluG3jn/pZRTj4LSee5
SFiVEo1uVq1jHjnleWvCBYS/F1Ht27SjdoAIE++tKHjwheAS+uJWiZu27jQ3SJoH
v2mLA/RUjE5lO9vpEqHgSPVy8ZvFkxvM48Elwlilz8/tWZN+0J/iasd0aramhIqM
SmRF+vZw2bnfLDu9G5QauH8vCEAYSbTUrKkrl76r7X2YZqlsepxrJ0y5vJarkxam
qoonn1lR2OyVqqc1wU64ElVKl2QahQI4ld/fCAQhoiGD/7nWZt4qQSYf2uOQevNO
DIGmNus5a140ix89FR5IGZ5SYpMGRIzY6Fzihm4qs0G9ofsqVudeyDTje03zdx6r
hhv16rsjHlO+DjZf/XlonFakS9emkGiHEIix2DpHvqD07FXDKFRvCqVa2oWFDtR4
fOlKBDxi9GowoA4aaQhGYkhImyfMeedZfxsYtJByKCDvcx8EVXtlhtOf0iAuq8os
sd0XVoqWbNWfEjUnnebccm/XDwGXf5OAUxuZSYQCChqCFTbg30ADqdWvu68zJvHr
dbxF9DvoettWnanoHM2GP1wzgD7e1cljs6DziHKCewwHnjFByDY=
=6h3R
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: