Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 676958 - app-portage/layman-9999 - doman: doc/layman.8 does not exist
Summary: app-portage/layman-9999 - doman: doc/layman.8 does not exist
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Layman Overlay Manager project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-30 23:00 UTC by Mark Wagner
Modified: 2022-10-18 03:34 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Wagner 2019-01-30 23:00:43 UTC
https://bugs.gentoo.org/674884 caused layman to fail to merge. In particular

@@ -78,11 +83,6 @@ python_test() {
 	unset suite
 }
 
-python_compile_all() {
-	# override MAKEOPTS to prevent build failure
-	emake -j1 -C doc
-}
-
 python_install_all() {
 	distutils-r1_python_install_all

caused the man page to no longer be generated which results in:

 *      doman: doc/layman.8 does not exist

Adding that back seemed to fix the problem.

emerge -pqv '=app-portage/layman-9999::gentoo'
[ebuild   R   ] app-portage/layman-9999 [9999] USE="bazaar cvs g-sorcery git mercurial sqlite -darcs -gpg -squashfs -subversion -sync-plugin-portage -test" PYTHON_TARGETS="python2_7 python3_6 python3_7 -pypy -python3_4 -python3_5"

emerge --info '=app-portage/layman-9999::gentoo'
Portage 2.3.59 (python 2.7.15-final-0, default/linux/amd64/17.0/desktop, gcc-8.2.0, glibc-2.28-r5, 4.20.3-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.20.3-gentoo-x86_64-Intel-R-_Core-TM-_i5-6600K_CPU_@_3.50GHz-with-gentoo-2.6
KiB Mem:    16202020 total,   2821440 free
KiB Swap:    2097148 total,   2097148 free
Timestamp of repository gentoo: Tue, 29 Jan 2019 17:15:01 +0000
Head commit of repository gentoo: bc6547db38763033be9ae2632b18693c71db7770
sh bash 5.0_p2
ld GNU ld (Gentoo 2.31.1 p5) 2.31.1
app-shells/bash:          5.0_p2::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.28.0::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.6::gentoo, 3.7.0::gentoo
dev-util/cmake:           3.13.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.40.3::gentoo
sys-apps/sandbox:         2.15::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r3::gentoo
sys-devel/gcc:            8.2.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.20::gentoo (virtual/os-headers)
sys-libs/glibc:           2.28-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync2.ca.gentoo.org/gentoo-portage/
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24

fkmclane
    location: /var/lib/layman/fkmclane
    masters: gentoo
    priority: 50

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA dlj-1.1 QUAKE4 AdobeFlash-10.1 Oracle-BCLA-JavaSE RAR Splunk-EULA ubiquiti"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind /var/lib/unifi"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
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"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox 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://gentoo.gossamerhost.com"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j5"
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="3dnowex X Xaw3d a52 aac aalib acl acpi aim alsa amd64 apache apache2 audiofile bash-completion berkdb bluetooth branding bzip2 bzlib cairo cdparanoia cdr cgi cli consolekit crypt cups curl cxx dbus device-mapper dga divx4linux dri dts dvd dvdr dvdread dynagraph edl emacs emboss encode esd ethereal exif ffmpeg fftw flac font-server fontconfig fpx gd gdbm geoip gif gimp glamor glibc-omitfp gmp gpgme graphviz gs gstreamer gtk gtkhtml hal iconv icq idea imagemagick imap innodb ipv6 java jbig jikes jpeg lcms libcaca libnotify libtirpc lm_sensors logrotate lua lzw-tiff mad maildrop mailwrapper matroska mbox milter mmap mmx mmxext mng mozdevelop mozilla moznocompose moznoirc moznomail mozsvg mp3 mp4 mpeg multilib musepack mysql ncurses nethack netpbm nls nptl nptlonly nsplugin offensive ogg opengl openmp pam pam_chroot pam_console pam_timestamp pango pcre pda pdf perl perlsuid pic plotutils png policykit postgres ppds qt5 readline real rtc samba sdl seccomp sensord silc slp smime sndfile snmp speex spell sqlite sse sse2 sse3 sse4_1 ssl ssse3 startup-notification svg syslog tcltk tcpd tga theora tiff truetype truetype-fonts trusted type1-fonts udev udisks unicode upower usb userlocales vhosts videos vorbis vorbis-psy w win32codecs wmf wxwidgets x264 xanim xattr xcb xml xpm xrandr xv xvid zip zlib" ABI_X86="64" ALSA_CARDS="hda_intel" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias slotmem_shm authn_core authz_core socache_shmcb access_compat dir_module" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 sse4_1 ssse3" 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" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="geoip"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Arfrever Frehtes Taifersar Arahesis 2019-01-31 05:56:05 UTC
Dependency on app-text/asciidoc also should be restored.
Comment 2 Arfrever Frehtes Taifersar Arahesis 2019-01-31 07:01:45 UTC
I suggest to add more usage of 'if [[ ${PV} == *9999 ]]' and synchronize code between layman-2.4.2-r2.ebuild and layman-9999.ebuild.


DEPEND="..."
RDEPEND="..."
if [[ ${PV} == *9999 ]]; then
	DEPEND+=" app-text/asciidoc"
fi

...

python_compile_all() {
	if [[ ${PV} == *9999 ]]; then
		# override MAKEOPTS to prevent build failure
		emake -j1 -C doc
	fi
}
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-18 03:31:23 UTC
(In reply to Arfrever Frehtes Taifersar Arahesis from comment #2)
> I suggest to add more usage of 'if [[ ${PV} == *9999 ]]' and synchronize
> code between layman-2.4.2-r2.ebuild and layman-9999.ebuild.
> 
> 
> DEPEND="..."
> RDEPEND="..."
> if [[ ${PV} == *9999 ]]; then
> 	DEPEND+=" app-text/asciidoc"
> fi
> 
> ...
> 
> python_compile_all() {
> 	if [[ ${PV} == *9999 ]]; then
> 		# override MAKEOPTS to prevent build failure
> 		emake -j1 -C doc
> 	fi
> }

commit 4c42c4e63368c3faf380252fef76384582c989fb
Author: Sam James <sam@gentoo.org>
Date:   Sat Oct 1 02:33:00 2022 +0100

    app-portage/layman: drop Python 3.7

    Signed-off-by: Sam James <sam@gentoo.org>

commit 0dbd3d973fc4cece0b1f09281a428b1ddf41e643
Author: Sam James <sam@gentoo.org>
Date:   Sat Oct 1 01:58:52 2022 +0100

    app-portage/layman: fix live ebuild

    Signed-off-by: Sam James <sam@gentoo.org>

Let me restore that asciidoc BDEPEND too, as it looks legit still.
Comment 4 Larry the Git Cow gentoo-dev 2022-10-18 03:34:44 UTC
The bug has been closed via the following commit(s):

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

commit 8f31c465f297c4032ad0cd1311bf1f2a183229aa
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-18 03:32:27 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-18 03:34:31 +0000

    app-portage/layman: add asciidoc BDEPEND for live
    
    Closes: https://bugs.gentoo.org/676958
    Signed-off-by: Sam James <sam@gentoo.org>

 app-portage/layman/layman-2.4.3.ebuild | 10 ++++++----
 app-portage/layman/layman-9999.ebuild  | 10 ++++++----
 2 files changed, 12 insertions(+), 8 deletions(-)