Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717410 - net-im/spectrum2-2.0.12-r2 : /.../UserManager.cpp: error: malloc_trim was not declared in this scope
Summary: net-im/spectrum2-2.0.12-r2 : /.../UserManager.cpp: error: malloc_trim was not...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-04-14 10:35 UTC by Toralf Förster
Modified: 2020-08-27 17:28 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.30 KB, text/plain)
2020-04-14 10:35 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,474.75 KB, text/plain)
2020-04-14 10:36 UTC, Toralf Förster
Details
environment (environment,133.70 KB, text/plain)
2020-04-14 10:36 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,35.12 KB, application/x-bzip)
2020-04-14 10:36 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.36 KB, application/x-bzip)
2020-04-14 10:36 UTC, Toralf Förster
Details
net-im:spectrum2-2.0.12-r2:20200414-012517.log (net-im:spectrum2-2.0.12-r2:20200414-012517.log,31.82 KB, text/plain)
2020-04-14 10:36 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,33.73 KB, application/x-bzip)
2020-04-14 10:36 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-04-14 10:35:55 UTC
/var/tmp/portage/net-im/spectrum2-2.0.12-r2/work/spectrum2-2.0.12/libtransport/UserManager.cpp: In member function void Transport::UserManager::removeUser(Transport::User*, bool):
/var/tmp/portage/net-im/spectrum2-2.0.12-r2/work/spectrum2-2.0.12/libtransport/UserManager.cpp:128:2: error: malloc_trim was not declared in this scope
  128 |  malloc_trim(0);
      |  ^~~~~~~~~~~
ninja: build stopped: subcommand failed.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-20200328-201618

  -------------------------------------------------------------------

  Please see the tracker bug for details.

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.42.0
  [2]   rust-1.42.0 *
The following VMs are available for generation-2:
Available Java Virtual Machines:
  (none found)


timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Apr 13 23:38:07 UTC 2020
/var/db/repos/musl	Sun Apr 12 18:47:42 UTC 2020

emerge -qpvO net-im/spectrum2
[ebuild  N    ] net-im/spectrum2-2.0.12-r2  USE="sqlite -doc -frotz -irc -mysql -postgres -purple -sms (-test) -twitter -whatsapp -xmpp"
Comment 1 Toralf Förster gentoo-dev 2020-04-14 10:35:58 UTC
Created attachment 632796 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-14 10:36:02 UTC
Created attachment 632798 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-04-14 10:36:05 UTC
Created attachment 632800 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-04-14 10:36:09 UTC
Created attachment 632802 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-04-14 10:36:13 UTC
Created attachment 632804 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-14 10:36:16 UTC
Created attachment 632806 [details]
net-im:spectrum2-2.0.12-r2:20200414-012517.log
Comment 7 Toralf Förster gentoo-dev 2020-04-14 10:36:19 UTC
Created attachment 632808 [details]
temp.tbz2
Comment 8 Larry the Git Cow gentoo-dev 2020-08-27 17:28:11 UTC
The bug has been closed via the following commit(s):

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

commit 73b5c4466f2c421fb3bdbe13b3f7b27be76fc968
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2020-08-27 17:27:46 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2020-08-27 17:28:00 +0000

    net-im/spectrum2: fix compilation with musl
    
    Closes: https://bugs.gentoo.org/717410
    Package-Manager: Portage-3.0.4, Repoman-3.0.1
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 .../spectrum2-2.0.13-musl-compatibility.patch      | 95 ++++++++++++++++++++++
 net-im/spectrum2/spectrum2-2.0.12-r4.ebuild        |  1 +
 net-im/spectrum2/spectrum2-2.0.13-r2.ebuild        |  5 +-
 3 files changed, 100 insertions(+), 1 deletion(-)