Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 570586 - sys-auth/polkit-0.113-r1: emake failed
Summary: sys-auth/polkit-0.113-r1: emake failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 552170
  Show dependency tree
 
Reported: 2016-01-02 11:18 UTC by Perfect Gentleman
Modified: 2016-01-02 23:59 UTC (History)
9 users (show)

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


Attachments
polkit-0.113-r2.ebuild (polkit-0.113-r2.ebuild,2.85 KB, text/plain)
2016-01-02 16:46 UTC, Dam M. Laneelle
Details
polkit-0.113-r1.ebuild.patch (polkit-0.113-r1.ebuild.patch,988 bytes, patch)
2016-01-02 17:55 UTC, nvinson234
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Perfect Gentleman 2016-01-02 11:18:37 UTC
make[3]: Entering directory '/tmp/portage/sys-auth/polkit-0.113-r1/work/polkit-0.113/docs/man'
/usr/bin/xsltproc -nonet --stringparam man.base.url.for.relative.links /usr/share/gtk-doc/html/polkit-1/ --xinclude http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl polkit.xml
/usr/bin/xsltproc -nonet --stringparam man.base.url.for.relative.links /usr/share/gtk-doc/html/polkit-1/ --xinclude http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl polkitd.xml
/usr/bin/xsltproc -nonet --stringparam man.base.url.for.relative.links /usr/share/gtk-doc/html/polkit-1/ --xinclude http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl pkexec.xml
/usr/bin/xsltproc -nonet --stringparam man.base.url.for.relative.links /usr/share/gtk-doc/html/polkit-1/ --xinclude http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl pkcheck.xml
/usr/bin/xsltproc -nonet --stringparam man.base.url.for.relative.links /usr/share/gtk-doc/html/polkit-1/ --xinclude http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl pkaction.xml
/usr/bin/xsltproc -nonet --stringparam man.base.url.for.relative.links /usr/share/gtk-doc/html/polkit-1/ --xinclude http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl pkttyagent.xml
Error: no ID for constraint linkend: "polkit.8".
Error: no ID for constraint linkend: "eggdbus-signal-org.freedesktop.PolicyKit1.Authority::Changed".
Error: no ID for constraint linkend: "polkit.8".
Error: no ID for constraint linkend: "polkit.8".Error: no ID for constraint linkend: "polkitd.8".

Error: no ID for constraint linkend: "pkaction.1".
Error: no ID for constraint linkend: "pkcheck.1".
Error: no ID for constraint linkend: "pkcheck.1".
Error: no ID for constraint linkend: "pkexec.1".
Error: no ID for constraint linkend: "pkexec.1".
Error: no ID for constraint linkend: "pkttyagent.1".
Error: no ID for constraint linkend: "pkttyagent.1".
Error: no ID for constraint linkend: "polkit.8".
Error: no ID for constraint linkend: "polkitd.8".
Error: no ID for constraint linkend: "pkaction.1".
Error: no ID for constraint linkend: "pkcheck.1".
Error: no ID for constraint linkend: "pkexec.1".
Note: Writing polkitd.8
Note: Writing pkaction.1
Note: Writing pkttyagent.1
Error: no ID for constraint linkend: "polkit.8".
Error: no ID for constraint linkend: "polkitd.8".
Error: no ID for constraint linkend: "pkaction.1".
Error: no ID for constraint linkend: "pkexec.1".
Error: no ID for constraint linkend: "pkttyagent.1".
Note: Writing pkcheck.1
Error: no ID for constraint linkend: "polkitd.8".
Error: no ID for constraint linkend: "pkcheck.1".
Error: no ID for constraint linkend: "polkit.8".
Error: no ID for constraint linkend: "polkitd.8".
Error: no ID for constraint linkend: "pkaction.1".
Error: no ID for constraint linkend: "pkcheck.1".
Error: no ID for constraint linkend: "pkttyagent.1".
Note: Writing pkexec.1
Error: no ID for constraint linkend: "PolkitAgentTextListener-struct".
Error: no ID for constraint linkend: "pkttyagent.1".
Error: no ID for constraint linkend: "pkaction.1".
Error: no ID for constraint linkend: "pkexec.1".
Error: no ID for constraint linkend: "PolkitIdentity-struct".
Error: no ID for constraint linkend: "pkexec.1".
Error: no ID for constraint linkend: "pkexec.1".
Error: no ID for constraint linkend: "polkitd.8".
Error: no ID for constraint linkend: "pkaction.1".
Error: no ID for constraint linkend: "pkcheck.1".
Error: no ID for constraint linkend: "pkexec.1".
Error: no ID for constraint linkend: "pkttyagent.1".
Note: Writing polkit.8
make[3]: Leaving directory '/tmp/portage/sys-auth/polkit-0.113-r1/work/polkit-0.113/docs/man'
Making all in polkit
make[3]: Entering directory '/tmp/portage/sys-auth/polkit-0.113-r1/work/polkit-0.113/docs/polkit'
if test "/tmp/portage/sys-auth/polkit-0.113-r1/work/polkit-0.113/docs/polkit" != "/tmp/portage/sys-auth/polkit-0.113-r1/work/polkit-0.113/docs/polkit" ; then \
    files=`echo overview.xml ../extensiondir.xml ../version.xml docbook-interface-org.freedesktop.PolicyKit1.Authority.xml docbook-interface-org.freedesktop.PolicyKit1.AuthenticationAgent.xml ../man/polkit.xml ../man/polkitd.xml ../man/pkcheck.xml ../man/pkaction.xml ../man/pkexec.xml ../man/pkttyagent.xml ../../COPYING   polkit-1-docs.xml polkit-1-sections.txt polkit-1-overrides.txt polkit-1.types`; \
    if test "x$files" != "x" ; then \
        for file in $files ; do \
            destdir=`dirname /tmp/portage/sys-auth/polkit-0.113-r1/work/polkit-0.113/docs/polkit/$file`; \
            test -d "$destdir" || mkdir -p "$destdir"; \
            test -f /tmp/portage/sys-auth/polkit-0.113-r1/work/polkit-0.113/docs/polkit/$file && \
                cp -pf /tmp/portage/sys-auth/polkit-0.113-r1/work/polkit-0.113/docs/polkit/$file /tmp/portage/sys-auth/polkit-0.113-r1/work/polkit-0.113/docs/polkit/$file || true; \
        done; \
    fi; \
fi
touch setup-build.stamp
_source_dir='' ; \
for i in ../../src/polkit ../../src/polkitagent ; do \
    _source_dir="${_source_dir} --source-dir=$i" ; \
done ; \
gtkdoc-scan --module=polkit-1 --ignore-headers="polkitprivate.h polkitagenthelperprivate.h " ${_source_dir}  
/bin/sh: line 4: gtkdoc-scan: command not found
Makefile:730: recipe for target 'scan-build.stamp' failed
make[3]: *** [scan-build.stamp] Error 127
make[3]: Leaving directory '/tmp/portage/sys-auth/polkit-0.113-r1/work/polkit-0.113/docs/polkit'
Makefile:424: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/tmp/portage/sys-auth/polkit-0.113-r1/work/polkit-0.113/docs'
Makefile:479: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/portage/sys-auth/polkit-0.113-r1/work/polkit-0.113'
Makefile:411: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: sys-auth/polkit-0.113-r1::gentoo failed (compile phase):
 *   emake failed

Reproducible: Always




~ $ emerge --info '=sys-auth/polkit-0.113-r1::gentoo'
Portage 2.2.26 (python 3.5.1-final-0, default/linux/amd64/13.0/desktop/plasma, gcc-5.3.0, glibc-2.22-r1, 4.3.3-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.3.3-gentoo-x86_64-Intel-R-_Core-TM-_i7-4770K_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    16088872 total,   6947892 free
KiB Swap:          0 total,         0 free
sh bash 4.3_p42
ld GNU gold (Gentoo 2.25.1 p1.1 2.25.1) 1.11
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r1::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/cmake:           3.4.1::gentoo
dev-util/pkgconfig:       0.29::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: git://anongit.gentoo.org/repo/gentoo.git
    priority: -1000

pg_overlay
    location: /home/perfect_gentleman_007/local_overlay/
    masters: gentoo

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

x11
    location: /var/lib/layman/x11
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/x11
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=native -O2 -pipe -fomit-frame-pointer -fno-stack-protector"
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 -mtune=native -O2 -pipe -fomit-frame-pointer -fno-stack-protector"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
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"
PORTAGE_TMPDIR="/tmp"
USE="X acl acpi alsa amd64 bash-completion branding bzip2 cairo cli consolekit cracklib custom-cflags cxx dbus declarative dri dts dvdr emboss encode exif fam ffmpeg firefox flac fontconfig gif glamor gmp gzip iconv icu introspection ios ipod jabber jingle jit jpeg kipi lcms libass libnotify lm_sensors lua lzma lzo matroska mmx mmxext mng modules multilib ncurses nls nptl nsplugin ntpl opengl openmp orc pango pcre pdf plasma png policykit ppds pulseaudio qml qt5 readline seccomp session smp sox spell sse sse2 ssl svg symlink tcmalloc tcpd threads tiff truetype udev udisks udisks2 unicode upower usb v4l vaapi wavpack widgets wxwidgets x264 xattr xcb xcomposite xml xmpp xv xvid zlib" ABI_X86="64" ALSA_CARDS="emu10k1" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev roccat_kovaplus roccat_ryosmk" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python3_4 python3_5" PYTHON_TARGETS="python2_7 python3_4 python3_5" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="intel i965" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Albert W. Hopkins 2016-01-02 12:48:15 UTC
It seems it's not pulling in dev-util/gtk-doc which is required to build the documentation.
Comment 2 Perfect Gentleman 2016-01-02 13:55:54 UTC
(In reply to Albert W. Hopkins from comment #1)
> It seems it's not pulling in dev-util/gtk-doc which is required to build the
> documentation.

yes, it does. merging gtk-doc solved it.
I think there is new flag 'doc' us needed.
Comment 3 Dam M. Laneelle 2016-01-02 16:46:02 UTC
Created attachment 421652 [details]
polkit-0.113-r2.ebuild
Comment 4 Magnus Granberg gentoo-dev 2016-01-02 17:44:41 UTC
It fail for me on the tinderbox to.
I can't test build any packages that have dep on polkit-0.113-r1
Comment 5 nvinson234 2016-01-02 17:55:16 UTC
Created attachment 421662 [details, diff]
polkit-0.113-r1.ebuild.patch

I haven't figured out why this works, but if I apply this patch polkit builds correctly without gtk-doc.  Of course, I think Dam M. Laneelle's ebuild is on the right track by introducing the 'doc' USE flag, but it needs a few more modifications to work.

This patch, unfortunately, generates a large number of QA issues, so it definitely shouldn't be used as a final solution.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2016-01-02 18:56:13 UTC
Fixed the workaround, my test system had gtk-doc installed so I didn't notice it being used, sorry for that.

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