Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 780060 - dev-libs/mxml-3.2 - error: --mode must be specified.
Summary: dev-libs/mxml-3.2 - error: --mode must be specified.
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: PATCH, UPSTREAM
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-04-04 19:41 UTC by Toralf Förster
Modified: 2021-04-07 22:28 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.26 KB, text/plain)
2021-04-04 19:41 UTC, Toralf Förster
Details
dev-libs:mxml-3.2:20210404-190253.log (dev-libs:mxml-3.2:20210404-190253.log,6.41 KB, text/plain)
2021-04-04 19:41 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,140.96 KB, text/plain)
2021-04-04 19:41 UTC, Toralf Förster
Details
environment (environment,64.72 KB, text/plain)
2021-04-04 19:41 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,13.14 KB, application/x-bzip)
2021-04-04 19:41 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.18 KB, application/x-bzip)
2021-04-04 19:41 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,17.64 KB, application/x-bzip)
2021-04-04 19:41 UTC, Toralf Förster
Details
https://github.com/michaelrsweet/mxml/pull/282 (mxml-libtool.patch,723 bytes, patch)
2021-04-07 16:27 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-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!