Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 642736 - dev-scheme/greg: emake failed: ld: cannot find -lguile
Summary: dev-scheme/greg: emake failed: ld: cannot find -lguile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords: PMASKED
: 722130 (view as bug list)
Depends on:
Blocks: guile-2.2
  Show dependency tree
 
Reported: 2017-12-30 14:51 UTC by Thomas Deutschmann (RETIRED)
Modified: 2021-03-30 09:25 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,17.02 KB, text/plain)
2017-12-30 14:51 UTC, Thomas Deutschmann (RETIRED)
Details
greg-2.0.0-guile2.patch updated (greg-2.0.0-guile2.patch,1.33 KB, patch)
2019-06-16 19:33 UTC, Cyprien Nicolas (fulax)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Deutschmann (RETIRED) gentoo-dev 2017-12-30 14:51:14 UTC
Created attachment 512062 [details]
build.log

[...]
/bin/bash ../libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc  -pthread -I/usr/include/guile/2.2 -export-dynamic
-version-info 2:0:0 -Wl,-O1 -Wl,--as-needed -o libgreg.la -rpath /usr/lib64 greg.lo -ldl -lz -lguile
libtool: link: x86_64-pc-linux-gnu-gcc -shared  -fPIC -DPIC  .libs/greg.o   -Wl,--as-needed -ldl -lz -lguile  -pthread -
Wl,-O1   -pthread -Wl,-soname -Wl,libgreg.so.2 -o .libs/libgreg.so.2.0.0
/usr/lib/gcc/x86_64-pc-linux-gnu/7.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lguile
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:498: libgreg.la] Error 1



Portage 2.3.19 (python 3.6.3-final-0, default/linux/amd64/17.0, gcc-7.2.0, glibc-2.26-r3, 4.14.8-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.8-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-3770K_CPU_@_3.50GHz-with-gentoo-2.4.1
KiB Mem:     8134952 total,   6369532 free
KiB Swap:    1048572 total,   1048572 free
Timestamp of repository gentoo: Sat, 30 Dec 2017 13:14:03 +0000
Head commit of repository gentoo: f3a6d569cc2b15cb9f38d2ef16c654c0c5e9609e

sh dash 0.5.9.1-r3
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.6-r1::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.10.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.13.4-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo, 7.2.0::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

ABI="amd64"
ABI_X86="64"
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
ACCEPT_PROPERTIES="*"
ACCEPT_RESTRICT="*"
ANT_HOME="/usr/share/ant"
APACHE2_MPMS="worker"
ARCH="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt -Werror=format-security -frecord-gcc-switches"
CFLAGS_amd64="-m64"
CFLAGS_x32="-mx32"
CFLAGS_x86="-m32"
CHOST="x86_64-pc-linux-gnu"
CHOST_amd64="x86_64-pc-linux-gnu"
CHOST_x32="x86_64-pc-linux-gnux32"
CHOST_x86="i686-pc-linux-gnu"
COLLISION_IGNORE="/lib/modules/* *.py[co] *$py.class */dropin.cache"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3"
CURL_SSL="gnutls"
CXXFLAGS="-O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt -Werror=format-security -frecord-gcc-switches"
DEFAULT_ABI="amd64"
EDITOR="/bin/nano"
ELIBC="glibc"
EPREFIX=""
EROOT="/"
FCFLAGS="-O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt -Werror=format-security -frecord-gcc-switches"
FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=ivybridge -mtune=ivybridge -mno-xsaveopt -Werror=format-security -frecord-gcc-switches"
GCC_SPECS=""
GRUB_PLATFORMS=""
HOME="/root"
INFOPATH="/usr/share/gcc-data/x86_64-pc-linux-gnu/7.2.0/info:/usr/share/binutils-data/x86_64-pc-linux-gnu/2.29.1/info:/usr/share/info"
INPUT_DEVICES="libinput keyboard mouse"
IUSE_IMPLICIT="abi_x86_64 prefix prefix-chain prefix-guest"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
L10N="en en-US de de-DE"
LANG="en_US.UTF-8"
LC_MESSAGES="C"
LC_NUMERIC="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LDFLAGS_amd64="-m elf_x86_64"
LDFLAGS_x32="-m elf32_x86_64"
LDFLAGS_x86="-m elf_i386"
LIBDIR_amd64="lib64"
LIBDIR_x32="libx32"
LIBDIR_x86="lib32"
LINGUAS="en de"
LOGNAME="root"
MAIL="/var/mail/root"
MAKEOPTS="--jobs 6"
MANPAGER="manpager"
MULTILIB_ABIS="amd64 x86"
NOCOLOR="true"
OFFICE_IMPLEMENTATION="libreoffice"
OLDPWD="/root"
OPENCL_PROFILE="mesa"
OPENGL_PROFILE="xorg-x11"
ORACLE_HOME="/usr/lib64/oracle/12.2/client"
PAGER="/usr/bin/less"
PATH="/usr/x86_64-pc-linux-gnu/gcc-bin/7.2.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
PHP_TARGETS="php5-6 php7-2"
POSTGRES_TARGETS="postgres9_5"
PWD="/usr/portage/dev-scheme/greg"
PYTHONDONTWRITEBYTECODE="1"
PYTHON_SINGLE_TARGET="python3_5"
PYTHON_TARGETS="python2_7 python3_4 python3_5 python3_6"
QT_GRAPHICSSYSTEM="raster"
ROOT="/"
ROOTPATH="/usr/x86_64-pc-linux-gnu/gcc-bin/7.2.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin"
RUBY_TARGETS="ruby22"
SHELL="/bin/bash"
SHLVL="2"
SSH_TTY="/dev/pts/0"
SYMLINK_LIB="yes"
TERM="screen"
TMUX="/tmp/tmux-0/default,5563,0"
TMUX_PANE="%0"
TNS_ADMIN="/etc/oracle/"
TWISTED_DISABLE_WRITING_OF_PLUGIN_CACHE="1"
USER="root"
USERLAND="GNU"
VIDEO_CARDS="vmware"

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

dev-scheme/guile-2.2.3::gentoo was built with the following:
USE="deprecated networking nls regex threads -debug -debug-malloc" ABI_X86="(64)"
Comment 1 Cyprien Nicolas (fulax) 2019-06-16 19:33:08 UTC
Created attachment 579942 [details, diff]
greg-2.0.0-guile2.patch updated

The dev-scheme/greg package has a very basic autotools usage, hard-coding paths and libs. The current configure.ac does not fail if I cannot find libguile.h!

I have updated the current patch to retrieve guile CFLAGS and LDFLAGS from pkg-config, testing all (current) guile versions. I even seems to work with the guile-3.0 pre releases.

(My knowledge of autotools is basic)
Comment 2 Agostino Sarubbo gentoo-dev 2021-01-13 07:40:18 UTC
Dear treecleaner@:

I'm still able to reproduce this issue right now.

Since it has not been fixed for a long time, I'd suggest to evaluate if it is the case to remove this package from the tree. Thanks
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-02-27 00:21:45 UTC
*** Bug 722130 has been marked as a duplicate of this bug. ***
Comment 4 Larry the Git Cow gentoo-dev 2021-02-27 02:25:07 UTC
The bug has been referenced in the following commit(s):

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

commit 4e851ac1922736dcf3bf999f60ef294039fa9aac
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-02-27 01:10:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-02-27 02:24:55 +0000

    profiles/package.mask: last-rite dev-scheme/greg
    
    Bug: https://bugs.gentoo.org/633624
    Bug: https://bugs.gentoo.org/642736
    Bug: https://bugs.gentoo.org/773196
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 5 Larry the Git Cow gentoo-dev 2021-03-30 09:25:00 UTC
The bug has been closed via the following commit(s):

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

commit 5aeac1257833707024b08c9b2a479b2a7d0b84a9
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-03-30 09:24:07 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2021-03-30 09:24:07 +0000

    dev-scheme/greg: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/633624
    Closes: https://bugs.gentoo.org/642736
    Closes: https://bugs.gentoo.org/700952
    Closes: https://bugs.gentoo.org/773196
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: David Seifert <soap@gentoo.org>

 dev-scheme/greg/Manifest                      |  1 -
 dev-scheme/greg/files/greg-2.0.0-guile2.patch | 14 ------------
 dev-scheme/greg/files/greg-2.0.0-test.patch   | 12 ----------
 dev-scheme/greg/greg-2.0.0-r1.ebuild          | 33 ---------------------------
 dev-scheme/greg/metadata.xml                  |  7 ------
 profiles/package.mask                         |  6 -----
 6 files changed, 73 deletions(-)