[apt-build-devel] Bug#787427: apt-build is unable to compile mpv package
apt-build development list
apt-build-devel at lists.alioth.debian.org
Mon Jun 1 16:24:11 UTC 2015
Package: apt-build
Version: 0.12.45
Severity: normal
Dear Maintainer,
apt-build mask the correct link to find the gcc compiler to the mpv configuration program.
* What exactly did you do (or not do) that was effective (or
ineffective)?
# apt-build installa mpv
* What was the outcome of this action?
Checking for 'gcc' (C compiler) : not found
17:56:00 compiler_c ConfigurationError()
Checking for 'clang' (C compiler) : not found
17:56:00 compiler_c ConfigurationError()
Checking for 'icc' (C compiler) : not found
17:56:00 compiler_c ConfigurationError()
File "./waf", line 164, in <module>
Scripting.waf_entry_point(cwd, VERSION, wafdir)
File "/var/cache/apt-build/build/mpv-0.9.1/waflib/Scripting.py", line 98, in waf_entry_point
run_commands()
File "/var/cache/apt-build/build/mpv-0.9.1/waflib/Scripting.py", line 159, in run_commands
ctx=run_command(cmd_name)
File "/var/cache/apt-build/build/mpv-0.9.1/waflib/Scripting.py", line 150, in run_command
ctx.execute()
File "/var/cache/apt-build/build/mpv-0.9.1/waflib/Configure.py", line 92, in execute
super(ConfigurationContext,self).execute()
File "/var/cache/apt-build/build/mpv-0.9.1/waflib/Context.py", line 92, in execute
self.recurse([os.path.dirname(g_module.root_path)])
File "/var/cache/apt-build/build/mpv-0.9.1/waflib/Context.py", line 133, in recurse
user_function(self)
File "/var/cache/apt-build/build/mpv-0.9.1/wscript", line 868, in configure
ctx.load('compiler_c')
File "/var/cache/apt-build/build/mpv-0.9.1/waflib/Configure.py", line 152, in load
if type(func)is type(Utils.readf):func(self)
File "/var/cache/apt-build/build/mpv-0.9.1/waflib/Tools/compiler_c.py", line 33, in configure
conf.fatal('could not configure a C compiler!')
File "/var/cache/apt-build/build/mpv-0.9.1/waflib/Context.py", line 228, in fatal
raise self.errors.ConfigurationError(msg,ex=ex)
could not configure a C compiler!
(complete log in /var/cache/apt-build/build/mpv-0.9.1/build/config.log)
File "./waf", line 164, in <module>
Scripting.waf_entry_point(cwd, VERSION, wafdir)
File "/var/cache/apt-build/build/mpv-0.9.1/waflib/Scripting.py", line 102, in waf_entry_point
Logs.error(e.msg)
debian/rules:9: set di istruzioni per l'obiettivo "override_dh_auto_configure" non riuscito
make[1]: *** [override_dh_auto_configure] Errore 1
make[1]: uscita dalla directory "/var/cache/apt-build/build/mpv-0.9.1"
debian/rules:6: set di istruzioni per l'obiettivo "build" non riuscito
make: *** [build] Errore 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
$ echo /var/cache/apt-build/build/mpv-0.9.1/build/config.log
[...]
----------------------------------------
Checking for 'gcc' (C compiler)
find program=['gcc', 'cc'] paths=['/usr/lib/apt-build', '/root/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='CC' -> ['/usr/lib/apt-build/cc']
from /var/cache/apt-build/build/mpv-0.9.1: Could not determine the compiler type
not found
----------------------------------------
Checking for 'clang' (C compiler)
find program=['clang'] paths=['/usr/lib/apt-build', '/root/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='CC' -> ['/usr/lib/apt-build/cc']
from /var/cache/apt-build/build/mpv-0.9.1: Not clang/clang++
not found
----------------------------------------
Checking for 'icc' (C compiler)
find program=['icc', 'ICL'] paths=['/usr/lib/apt-build', '/root/bin', '/usr/local/sbin', '/usr/local/bin', '/usr/sbin', '/usr/bin', '/sbin', '/bin'] var='CC' -> ['/usr/lib/apt-build/cc']
from /var/cache/apt-build/build/mpv-0.9.1: Not icc/icpc
not found
from /var/cache/apt-build/build/mpv-0.9.1: could not configure a C compiler!
* What outcome did you expect instead?
it found the /usr/bin/cc link
Ciao
Davide
-- System Information:
Debian Release: stretch/sid
APT prefers testing
APT policy: (100, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages apt-build depends on:
ii apt 1.0.9.10
ii apt-utils 1.0.9.10
ii debconf [debconf-2.0] 1.5.56
ii devscripts 2.15.4
ii dpkg 1.17.25
ii dpkg-dev 1.17.25
ii g++ 4:4.9.2-4
ii gcc 4:4.9.2-4
ii libappconfig-perl 1.66-1
ii libapt-pkg-perl 0.1.29+b2
ii libc6 2.19-18+aptbuild1
ii perl 5.20.2-6
Versions of packages apt-build recommends:
ii build-essential 11.7
ii fakeroot 1.20.2-1
apt-build suggests no packages.
-- debconf information:
apt-build/arch_arm: native
* apt-build/olevel: Strong
apt-build/build_dir: /var/cache/apt-build/build
apt-build/repository_dir: /var/cache/apt-build/repository
apt-build/options:
apt-build/arch_sparc: native
* apt-build/add_to_sourceslist: false
apt-build/arch_intel: native
* apt-build/make_options: -j4
apt-build/arch_alpha: native
apt-build/archtype: core2
* apt-build/arch_amd64: core2
apt-build/arch_amd: native
More information about the Apt-build-devel
mailing list