Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 778998 - dev-lang/ferite-1.1.17-r1 - util_stream.c:(.text+<snip>): undefined reference to ferite_buffer_to_var
Summary: dev-lang/ferite-1.1.17-r1 - util_stream.c:(.text+<snip>): undefined reference...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at if you want to take care of it
Keywords: PATCH
Depends on:
Blocks: slibtool
  Show dependency tree
Reported: 2021-03-28 19:34 UTC by Toralf Förster
Modified: 2021-05-11 16:13 UTC (History)
1 user (show)

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

emerge-info.txt (emerge-info.txt,19.41 KB, text/plain)
2021-03-28 19:34 UTC, Toralf Förster
dev-lang:ferite-1.1.17-r1:20210328-182920.log (dev-lang:ferite-1.1.17-r1:20210328-182920.log,160.75 KB, text/plain)
2021-03-28 19:34 UTC, Toralf Förster
emerge-history.txt (emerge-history.txt,437.10 KB, text/plain)
2021-03-28 19:34 UTC, Toralf Förster
environment (environment,69.27 KB, text/plain)
2021-03-28 19:34 UTC, Toralf Förster
etc.portage.tar.bz2 (etc.portage.tar.bz2,29.71 KB, application/x-bzip)
2021-03-28 19:34 UTC, Toralf Förster
logs.tar.bz2 (logs.tar.bz2,8.14 KB, application/x-bzip)
2021-03-28 19:34 UTC, Toralf Förster
temp.tar.bz2 (temp.tar.bz2,29.37 KB, application/x-bzip)
2021-03-28 19:34 UTC, Toralf Förster
Patch to fix the build with -no-undefined. (ferite-no-undefined.patch,20.07 KB, patch)
2021-04-08 19:01 UTC, orbea
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-03-28 19:34:45 UTC
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/util_stream.o: in function `stream_flush':
util_stream.c:(.text+0x17): undefined reference to `ferite_buffer_to_var'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: util_stream.c:(.text+0x35): undefined reference to `ferite_create_parameter_list'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: util_stream.c:(.text+0x62): undefined reference to `ferite_call_function'
/usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: util_stream.c:(.text+0x74): undefined reference to `ferite_delete_parameter_list'


  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20210315-143628


gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
Python 3.8.8
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.50.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.17.1 [icedtea-8]
2)	IcedTea JDK 3.16.0 [icedtea-bin-8]
3)	JamVM JDK 2.0.0 [jamvm]
4)	OpenJDK 8.282_p08 [openjdk-8]
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8 
  [3]   jamvm 
  [4]   openjdk-8 
  [5]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Mar 28 18:06:57 UTC 2021

emerge -qpvO dev-lang/ferite
[ebuild  N    ] dev-lang/ferite-1.1.17-r1
Comment 1 Toralf Förster gentoo-dev 2021-03-28 19:34:47 UTC
Created attachment 695679 [details]
Comment 2 Toralf Förster gentoo-dev 2021-03-28 19:34:48 UTC
Created attachment 695682 [details]
Comment 3 Toralf Förster gentoo-dev 2021-03-28 19:34:50 UTC
Created attachment 695685 [details]
Comment 4 Toralf Förster gentoo-dev 2021-03-28 19:34:51 UTC
Created attachment 695688 [details]
Comment 5 Toralf Förster gentoo-dev 2021-03-28 19:34:53 UTC
Created attachment 695691 [details]
Comment 6 Toralf Förster gentoo-dev 2021-03-28 19:34:54 UTC
Created attachment 695694 [details]
Comment 7 Toralf Förster gentoo-dev 2021-03-28 19:34:55 UTC
Created attachment 695697 [details]
Comment 8 orbea 2021-04-08 19:01:56 UTC
Created attachment 698676 [details, diff]
Patch to fix the build with -no-undefined.

Upstream seems inactive and this is a serious case of GNU libtool silently ignoring -no-undefined and hiding the fact that the linker commands are very wrong...

The attached patch should fix these issues allowing the build to complete with both slibtool and GNU libtool,  make sure its applied after all of the sed work in src_prepare().
Comment 9 Larry the Git Cow gentoo-dev 2021-05-11 16:13:29 UTC
The bug has been closed via the following commit(s):

commit 8616d4c737bd723cd44928d83850d071e6052dd4
Author:     Lars Wendler <>
AuthorDate: 2021-05-10 16:17:57 +0000
Commit:     Lars Wendler <>
CommitDate: 2021-05-11 16:11:09 +0000

    dev-lang/ferite: Build fixes
    Thanks-to: orbea <>
    Signed-off-by: Lars Wendler <>

 dev-lang/ferite/ferite-1.1.17-r1.ebuild            |  27 +-
 dev-lang/ferite/files/ferite-1.1.17-bool.patch     |  62 +++
 dev-lang/ferite/files/ferite-1.1.17-slibtool.patch | 569 +++++++++++++++++++++
 3 files changed, 638 insertions(+), 20 deletions(-)