Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 763321 - sys-process/audit-3.0[abi_x86_32]: No rule to make target '../common/libaucommon.a', needed by 'libaudit.la'. Stop
Summary: sys-process/audit-3.0[abi_x86_32]: No rule to make target '../common/libaucom...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-01-03 20:18 UTC by NHO
Modified: 2021-01-07 10:42 UTC (History)
8 users (show)

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


Attachments
Build log (sys-process:audit-3.0:20210103-201306.log,43.15 KB, text/plain)
2021-01-03 20:20 UTC, NHO
Details

Note You need to log in before you can comment on or make changes to this bug.
Description NHO 2021-01-03 20:18:26 UTC
Updating the world, process includes update of sys-process/audit from 2.8.5-r2 to 3.0. Multiarch.

sys-process/audit-3.0::gentoo [2.8.5-r2::gentoo] USE="(split-usr) -gssapi -ldap -python -static-libs" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python3_8 (-python3_6) -python3_7 -python3_9%"

Update fails with error

make[2]: *** No rule to make target '../common/libaucommon.a', needed by 'libaudit.la'.  Stop.
make[2]: *** Waiting for unfinished jobs....


Reproducible: Always

Steps to Reproduce:
1. emaint --sync
2. emerge -avu --deep --newuse --tree --changed-deps @world
3. build failed


Expected Results:  
Package builds completely and works

Portage 3.0.12 (python 3.8.7-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-10.2.0, glibc-2.32-r6, 5.10.4-gentoo x86_64)
=================================================================
System uname: Linux-5.10.4-gentoo-x86_64-Intel-R-_Core-TM-_i7-7500U_CPU_@_2.70GHz-with-glibc2.2.5
KiB Mem:    20396468 total,  10438820 free
KiB Swap:   20974588 total,  20974588 free
Timestamp of repository gentoo: Sun, 03 Jan 2021 16:00:01 +0000
Head commit of repository gentoo: 19b3c6b8bd419836899df094475ca5e941c97364
Timestamp of repository ag-ops: Sun, 03 Jan 2021 00:07:34 +0000
Head commit of repository ag-ops: 4f60a6d5f15e347a73a27aef1bdcad1a517eb16b

Timestamp of repository steam-overlay: Mon, 28 Dec 2020 10:27:44 +0000
Head commit of repository steam-overlay: 9adf6273bedb2dd25d80b943c70e640dbacb48dc

Timestamp of repository calculate: Sun, 03 Jan 2021 00:07:07 +0000
Head commit of repository calculate: 90381533655bdbdaa09a8ddc8060ef152365044f

Timestamp of repository jorgicio: Sun, 03 Jan 2021 16:05:08 +0000
Head commit of repository jorgicio: 3adc33b16c1f9b75191249562bd7f6b611949b90

sh bash 5.1_p4
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
app-shells/bash:          5.1_p4::gentoo
dev-lang/perl:            5.32.0-r1::gentoo
dev-lang/python:          3.8.7::gentoo, 3.9.1::gentoo
dev-util/cmake:           3.19.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.3-r1::gentoo
sys-devel/binutils:       2.35.1-r1::gentoo
sys-devel/gcc:            10.2.0-r5::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    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-extra-opts: -4
    sync-rsync-verify-max-age: 24

ag-ops
    location: /var/db/repos/ag-ops
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/ag-ops.git
    masters: gentoo

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo

calculate
    location: /var/db/repos/calculate
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/calculate.git
    masters: gentoo
    priority: 30

jorgicio
    location: /var/db/repos/jorgicio
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/jorgicio.git
    masters: gentoo
    priority: 50

local
    location: /usr/local/portage
    masters: gentoo
    priority: 100

Installed sets: @fonts
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe "
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--ask-enter-invalid --changed-deps-report --dynamic-deps=y"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH 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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs cgroup config-protect-if-modified distlocks ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://mirror.yandex.ru/gentoo-distfiles/ https://ftp.fau.de/gentoo"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en ru en_US ru_RU"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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 a52 aac acl acpi activities alsa amd64 audit avahi berkdb bluetooth branding btrfs bzip2 cairo caps cdr cli cracklib crypt cups dbus declarative dri dri3 dts dvd dvdr elogind emboss encode evdev exif flac fontconfig fortran gdbm gegl gif gpm graphite gtk gui iconv icu ipv6 jemalloc jpeg kde kipi kwallet lcms libass libglvnd libnotify libtirpc lto lz4 lzma lzo mad magic mime mng mp3 mp4 mpeg mtp multilib ncurses networkmanager nls nptl ogg opengl openmp openssl pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qml qt5 readline samba sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tcpd tiff truetype udev udisks uefi unicode upower usb vaapi vorbis vulkan webp webrtc-aec widgets wifi wxwidgets x264 x265 xattr xcb xinerama xml xv xvid xvmc zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev wacom synaptics" KERNEL="linux" L10N="ru en en-US ru_RU" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU X86 BPF" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8" QEMU_SOFTMMU_TARGETS="x86_64 i386" RUBY_TARGETS="ruby27" SANE_BACKENDS="genesys canon" USERLAND="GNU" VIDEO_CARDS="amdgpu intel i965 i915 radeonsi radeon r600" 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, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 NHO 2021-01-03 20:20:46 UTC
Created attachment 680938 [details]
Build log
Comment 2 Ionen Wolkens gentoo-dev 2021-01-03 20:36:20 UTC
Can reproduce with audit-3.0[abi_x86_32], 64-only or 2.8.5-r2 are fine.
Comment 3 David Michael 2021-01-05 15:32:40 UTC
This seems to fix it.

--- sys-process/audit/audit-3.0.ebuild
+++ sys-process/audit/audit-3.0.ebuild
@@ -84,6 +84,7 @@
 		}
 		use python && python_foreach_impl python_compile
 	else
+		emake -C common
 		emake -C lib
 		emake -C auparse
 	fi
Comment 4 NHO 2021-01-05 19:20:19 UTC
Fixed build for me
Comment 5 Larry the Git Cow gentoo-dev 2021-01-07 10:42:26 UTC
The bug has been closed via the following commit(s):

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

commit c76a9115a9bc4ed4dd9d9bd5e1594da77cb1bfab
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2021-01-07 10:41:47 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2021-01-07 10:42:22 +0000

    sys-process/audit: Fix non-native ABI builds
    
    Thanks to David Michael for the fix.
    
    Closes: https://bugs.gentoo.org/763321
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 sys-process/audit/audit-3.0.ebuild | 1 +
 1 file changed, 1 insertion(+)