Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 708312 - app-text/discount-2.2.6: bin/ld: cannot find -lmarkdown
Summary: app-text/discount-2.2.6: bin/ld: cannot find -lmarkdown
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ben Kohler
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-05 06:36 UTC by Georgy Yakovlev
Modified: 2020-02-07 15:43 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,11.68 KB, text/plain)
2020-02-05 06:37 UTC, Georgy Yakovlev
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Georgy Yakovlev archtester gentoo-dev 2020-02-05 06:36:22 UTC
fails to compile
build log attached.

Portage 2.3.87 (python 3.6.9-final-0, default/linux/ppc64le/17.0, gcc-9.2.0, glibc-2.30-r3, 5.4.17-gentoo ppc64le)
=================================================================
System uname: Linux-5.4.17-gentoo-ppc64le-POWER9,_altivec_supported-with-gentoo-2.6
KiB Mem:   535133888 total, 479438400 free
KiB Swap:  134217472 total, 134217472 free
Timestamp of repository gentoo: Wed, 05 Feb 2020 02:32:00 +0000
Head commit of repository gentoo: 16d4deb9f118600b81f8c2f7d554361345dd5d06

Head commit of repository gyakovlev: 7e64f1d0e9af4b11e786af11021440cbe9b87110

Head commit of repository musl: b35f6faa2b8dec16851b8775998a8180d46178b7

sh bash 5.0_p11
ld GNU ld (Gentoo 2.34 p1) 2.34.0
app-shells/bash:          5.0_p11::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r1::gentoo, 3.6.10::gentoo
dev-util/cmake:           3.16.3::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.1-r2::gentoo
sys-devel/binutils:       2.34::gentoo
sys-devel/gcc:            8.3.0-r3::gentoo, 9.2.0-r3::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 5.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r3::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/sync/gentoo.git
    priority: -1000
    sync-git-clone-extra-opts: -b master
    sync-git-verify-commit-signature: true

dev-rust
    location: /home/ya/src/gentoo/dev-rust
    masters: gentoo

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

musl
    location: /var/db/repos/musl
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/musl.git
    masters: gentoo

crossdev
    location: /var/db/repos/crossdev
    masters: gentoo
    priority: 10

Installed sets: @mycompress
ACCEPT_KEYWORDS="ppc64"
ACCEPT_LICENSE="@FREE"
CBUILD="powerpc64le-unknown-linux-gnu"
CFLAGS="-mcpu=native -O2 -pipe -frecord-gcc-switches -fdiagnostics-show-option"
CHOST="powerpc64le-unknown-linux-gnu"
CONFIG_PROTECT="/etc /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="-mcpu=native -O2 -pipe -frecord-gcc-switches -fdiagnostics-show-option"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--nospinner --ask-enter-invalid --jobs=128 --load-average 128 --quiet-build"
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="-mcpu=native -O2 -pipe -frecord-gcc-switches -fdiagnostics-show-option"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs cgroup collision-protect compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox mount-sandbox multilib-strict network-sandbox news parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned sandbox sfperms splitdebug strict strict-keepdir unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-mcpu=native -O2 -pipe -frecord-gcc-switches -fdiagnostics-show-option"
GENTOO_MIRRORS="https://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0"
LINGUAS="en"
MAKEOPTS="--jobs=88 --load-average=128"
PKGDIR="/var/cache/binpkgs/powerpc64le-unknown-linux-gnu"
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 acl activities alsa altivec berkdb branding bzip2 cairo caps cli crypt cups cxx dbus dri elogind exif filecaps flac fontconfig fortran gdbm gif gpm gtk iconv icu introspection ipv6 jpeg kipi lcms libnotify mp3 mp4 mpeg ncurses nptl numa ogg opengl openmp pam pango pcre plasma png policykit ppc64 pulseaudio qml readline seccomp semantic-desktop split-usr ssl startup-notification svg tcpd truetype udev udisks unicode upower usb vaapi vim-syntax wayland xattr xcb xcomposite xml xscreensaver zlib" ABI_PPC="64" ADA_TARGET="gnat_2018" 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="karbon sheets words" CAMERAS="ptp2 fuji" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_PPC="altivec vsx vsx3" 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="libinput" 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-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6" RUBY_TARGETS="ruby24 ruby27" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" 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


Reproducible: Always
Comment 1 Georgy Yakovlev archtester gentoo-dev 2020-02-05 06:37:00 UTC
Created attachment 611754 [details]
build.log
Comment 2 Georgy Yakovlev archtester gentoo-dev 2020-02-05 06:37:50 UTC
while I have musl repo listed, it's not a musl system.
Comment 3 Georgy Yakovlev archtester gentoo-dev 2020-02-05 06:44:59 UTC
funny, if I install 2.2.6 while having 2.2.4 installed it compiles fine =D

so to reproduce - remove existing installed version.
Comment 4 Ben Kohler gentoo-dev 2020-02-07 15:41:30 UTC
Didn't notice this in my bump-- the new default make rules are not building libmarkdown at all, so it can't be found for linking unless a system copy already exists.  Will fix in a sec.
Comment 5 Larry the Git Cow gentoo-dev 2020-02-07 15:43:18 UTC
The bug has been closed via the following commit(s):

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

commit a2bc21a5157b6be3e6aec7bb628cfcf7f8f9ef6b
Author:     Ben Kohler <bkohler@gentoo.org>
AuthorDate: 2020-02-07 15:42:50 +0000
Commit:     Ben Kohler <bkohler@gentoo.org>
CommitDate: 2020-02-07 15:42:50 +0000

    app-text/discount: fix build of libmarkdown
    
    Also remove custom doins for pkgconfig file, now handled by build system
    
    Closes: https://bugs.gentoo.org/708312
    Package-Manager: Portage-2.3.87, Repoman-2.3.20
    Signed-off-by: Ben Kohler <bkohler@gentoo.org>

 app-text/discount/discount-2.2.6.ebuild | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)