Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672954 - sys-devel/distcc-3.3.2-r4 - ./configure: line 6537: ACX_PTHREAD: command not found
Summary: sys-devel/distcc-3.3.2-r4 - ./configure: line 6537: ACX_PTHREAD: command not ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM Linux
: Normal normal (vote)
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-11 22:54 UTC by Matt Whitlock
Modified: 2018-12-16 10:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,120.95 KB, text/plain)
2018-12-11 22:54 UTC, Matt Whitlock
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Whitlock 2018-12-11 22:54:02 UTC
Created attachment 557604 [details]
build.log

The configure phase of sys-devel/distcc-3.3.2-r4 emits an error regarding an undefined Autoconf macro ACX_PTHREAD. Although this error does not cause the configure to fail, it does result in the PTHREAD_CC variable being undefined, which causes CC to be set to an empty string in Makefile, which causes multiple (ignored!) failures during the compile phase and then subsequent (further ignored!) failures in the install phase before finally hitting a Python installation failure that actually terminates the ebuild in an error.

The ACX_PTHREAD macro is defined in m4/acx_pthread.m4 in the distcc sources, but apparently this definition is not being pulled into configure.ac.

This is a regression from sys-devel/distcc-3.3, which configures and builds fine.


Portage 2.3.51 (python 3.6.5-final-0, default/linux/arm/17.0/armv6j, gcc-7.3.0, glibc-2.27-r6, 4.14.85+ armv6l)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.85+-armv6l-ARMv6-compatible_processor_rev_7_-v6l-with-gentoo-2.6
KiB Mem:      492580 total,    229344 free
KiB Swap:     524284 total,    524284 free
Timestamp of repository gentoo: Tue, 11 Dec 2018 16:45:01 +0000
Head commit of repository gentoo: cf1808147751ddb95788f2c3b30ab4d62dbe343b
sh dash 0.5.9.1-r3
ld GNU gold (Gentoo 2.30 p5 2.30.0) 1.15
distcc 3.3 armv6j-hardfloat-linux-gnueabi [disabled]
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.3::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.30-r4::gentoo
sys-devel/gcc:            7.3.0-r3::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

local
    location: /var/db/repos/local
    masters: gentoo
    priority: -2000

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: no
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

ACCEPT_KEYWORDS="arm"
ACCEPT_LICENSE="* -@EULA"
CBUILD="armv6j-unknown-linux-gnueabihf"
CFLAGS="-Ofast -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard"
CHOST="armv6j-unknown-linux-gnueabihf"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Ofast -pipe -march=armv6j -mfpu=vfp -mfloat-abi=hard"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --unordered-display"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe -march=armv6j"
FEATURES="assume-digests binpkg-logs config-protect-if-modified ebuild-locks fixlafiles multilib-strict news nodoc noinfo noman preserve-libs protect-owned sandbox sfperms skiprocheck strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe -march=armv6j"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/ http://mirrors.rit.edu/gentoo/ http://mirror.lug.udel.edu/pub/gentoo/ http://gentoo.mirrors.pair.com/ http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en"
MAKEOPTS="-j9 -l2"
PKGDIR="/var/cache/binpkgs"
PORTAGE_COMPRESS="xz"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X alsa arm berkdb bzip2 cli crypt custom-cflags cxx directfb dri fbcon fbdev fontconfig gdbm gif gles2 gmp iconv icu ipv6 jpeg lzma mp3 ncurses nptl ogg opengl openmp openssl pcre png readline seccomp ssl tcpd threads truetype udev unicode v4l vorbis xcb xkb zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp thumb v4 v5 v6" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6" RUBY_TARGETS="ruby23 ruby24" USERLAND="GNU" VIDEO_CARDS="fbdev vc4" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

sys-devel/distcc-3.3::gentoo was built with the following:
USE="ipv6 -gnome -gssapi -gtk (-hardened) (-selinux) -xinetd -zeroconf" PYTHON_SINGLE_TARGET="python3_6 -python3_5" PYTHON_TARGETS="python3_6 -python3_5"
CHOST="armv6j-hardfloat-linux-gnueabi"


[ebuild     U ] sys-devel/distcc-3.3.2-r4 [3.3] USE="ipv6 -gnome -gssapi -gtk (-hardened) (-selinux) -xinetd -zeroconf" PYTHON_SINGLE_TARGET="python3_6 -python3_5" PYTHON_TARGETS="python3_6 -python3_5"
Comment 1 Saul Peebsen 2018-12-16 00:19:30 UTC
I'm hitting the same bug on ~amd64.
Comment 2 Larry the Git Cow gentoo-dev 2018-12-16 10:00:20 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=470daf82f90609f3ea3c695cf93d092e85214068

commit 470daf82f90609f3ea3c695cf93d092e85214068
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-12-16 09:59:32 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-12-16 10:00:13 +0000

    sys-devel/distcc: Add missing dep on sys-devel/autoconf-archive
    
    Closes: https://bugs.gentoo.org/672954
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-devel/distcc/distcc-3.3.2-r4.ebuild | 1 +
 1 file changed, 1 insertion(+)