Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 780060

Summary: dev-libs/mxml-3.2 - error: --mode must be specified.
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Conrad Kostecki <conikost>
Status: RESOLVED FIXED    
Severity: normal CC: orbea
Priority: Normal Keywords: PATCH, UPSTREAM
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=765583
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 765709    
Attachments: emerge-info.txt
dev-libs:mxml-3.2:20210404-190253.log
emerge-history.txt
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2
https://github.com/michaelrsweet/mxml/pull/282

Description Toralf Förster gentoo-dev 2021-04-04 19:41:48 UTC
make: *** [Makefile:157: install-libmxml.so.1.6] Error 2
 * ERROR: dev-libs/mxml-3.2::gentoo failed (install phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/mxml-3.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/mxml-3.2::gentoo'`.

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-20210401-181817

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

gcc-config -l:
 [1] 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
/usr/lib/llvm/11
11.1.0
Python 3.8.9
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.51.0
  [2]   rust-1.51.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   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 Apr  4 18:50:51 UTC 2021

emerge -qpvO dev-libs/mxml
[ebuild  N    ] dev-libs/mxml-3.2  USE="-static-libs -threads"
Comment 1 Toralf Förster gentoo-dev 2021-04-04 19:41:49 UTC
Created attachment 697425 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-04 19:41:50 UTC
Created attachment 697428 [details]
dev-libs:mxml-3.2:20210404-190253.log
Comment 3 Toralf Förster gentoo-dev 2021-04-04 19:41:52 UTC
Created attachment 697431 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-04 19:41:53 UTC
Created attachment 697434 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-04 19:41:55 UTC
Created attachment 697437 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-04 19:41:56 UTC
Created attachment 697440 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-04-04 19:41:57 UTC
Created attachment 697443 [details]
temp.tar.bz2
Comment 8 orbea 2021-04-07 16:27:20 UTC
Created attachment 698256 [details, diff]
https://github.com/michaelrsweet/mxml/pull/282

The build system uses $(LIBTOOL) without specifying --mode which is wrong. Removing the usage of $(LIBTOOL) entirely is the best choice without making much bigger and less trivial changes to the build system.

cups also had this same issue.
Comment 9 Larry the Git Cow gentoo-dev 2021-04-07 17:45:34 UTC
The bug has been closed via the following commit(s):

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

commit 91272d43c62f6dfd076cbd0ae98896fdb366e3a5
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2021-04-07 17:45:14 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2021-04-07 17:45:14 +0000

    dev-libs/mxml: fix compilation with slibtool
    
    Closes: https://bugs.gentoo.org/780060
    Package-Manager: Portage-3.0.18, Repoman-3.0.3
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 dev-libs/mxml/files/mxml-3.2-slibtool.patch | 26 ++++++++++++++++++++++++++
 dev-libs/mxml/mxml-3.2.ebuild               |  4 +++-
 2 files changed, 29 insertions(+), 1 deletion(-)
Comment 10 Conrad Kostecki gentoo-dev 2021-04-07 17:45:52 UTC
(In reply to orbea from comment #8)
> Created attachment 698256 [details, diff] [details, diff]
> https://github.com/michaelrsweet/mxml/pull/282
> 
> The build system uses $(LIBTOOL) without specifying --mode which is wrong.
> Removing the usage of $(LIBTOOL) entirely is the best choice without making
> much bigger and less trivial changes to the build system.
> 
> cups also had this same issue.

Thank you!