Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 402771 - media-libs/libmikmod-3.2.0_beta2-r4 fails to install its libmikmod.so
Summary: media-libs/libmikmod-3.2.0_beta2-r4 fails to install its libmikmod.so
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-08 20:42 UTC by Torsten Kaiser
Modified: 2012-02-09 18:30 UTC (History)
2 users (show)

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


Attachments
Working build of 3.2.0_beta2-r3 (libmikmod-3.2.0_beta2-r3-build.log,50.46 KB, text/plain)
2012-02-08 20:43 UTC, Torsten Kaiser
Details
Broken build of 3.2.0_beta2-r4 (libmikmod-3.2.0_beta2-r4-build.log,26.67 KB, text/plain)
2012-02-08 20:44 UTC, Torsten Kaiser
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Kaiser 2012-02-08 20:42:07 UTC
After upgrading from 3.2.0_beta2-r3 to -r4 revdev-rebuild showed 3 packages that needed fixing. But rebuilding games-strategy-uqm failed with a link error.

While searching why this happened, I noticed that the -r4 version did not install the libmikmod library and so obvious any link would fail.

Reproducible: Always

Steps to Reproduce:
1. emerge -1 =libmikmod-3.2.0_beta2-r4
2. emerge -1 uqm

Actual Results:  
  LINK     uqm
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lmikmod
collect2: ld returned 1 exit status
make: *** [uqm] Error 1

thoregon media-libs # ls -l libmikmod-3.2.0_beta2-r*
-rw-r--r-- 1 root root 379332 Jun 19  2011 libmikmod-3.2.0_beta2-r2.tbz2
-rw-r--r-- 1 root root 379422 Feb  8 21:27 libmikmod-3.2.0_beta2-r3.tbz2
-rw-r--r-- 1 root root 106830 Feb  8 21:23 libmikmod-3.2.0_beta2-r4.tbz2

-r4 is much smaller, because its missing /usr/lib64/libmikmod.*

Expected Results:  
obj /usr/lib64/libmikmod.a fa47e8a44b56ad185104f6083571ec4c 1328732850
obj /usr/lib64/libmikmod.so.3.0.0 037f5de454fcc5caa90859055fd3491f 1328732850
obj /usr/lib64/libmikmod.la 6462eb250084cc2d048604aa1d3f7dfe 1328732849
sym /usr/lib64/libmikmod.so -> libmikmod.so.3.0.0 1328732854
sym /usr/lib64/libmikmod.so.3 -> libmikmod.so.3.0.0 1328732854


Downgrading by rebuilding 3.2.0_beta2-r3 worked. That version did correctly install all the needed library's.

What might be an additional bug: revdep-rebuild also note both sdl-mixer and sdl-sound as broken by the missing libmikmod.so, but rebuilding these packages worked. Shouldn't these also have failed?

I will attach build.log both from the working -r3 and the failing -r4
Comment 1 Torsten Kaiser 2012-02-08 20:43:58 UTC
Created attachment 301303 [details]
Working build of 3.2.0_beta2-r3
Comment 2 Torsten Kaiser 2012-02-08 20:44:46 UTC
Created attachment 301305 [details]
Broken build of 3.2.0_beta2-r4
Comment 3 Mike MacDonald 2012-02-09 11:41:48 UTC
I experience the same thing on ~amd64.
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-02-09 13:59:51 UTC
CCing slyfox since it's propably the 'touch libmikmod/Makefile.am' breaking the build
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2012-02-09 17:44:20 UTC
(In reply to comment #4)
> CCing slyfox since it's propably the 'touch libmikmod/Makefile.am' breaking the
> build

Yeah, my bad. Apologies for the mess. Fixing.
Comment 6 Sergei Trofimovich (RETIRED) gentoo-dev 2012-02-09 18:30:05 UTC
Pushed as:

>*libmikmod-3.2.0_beta2-r5 (09 Feb 2012)
>
>  09 Feb 2012; Sergei Trofimovich <slyfox@gentoo.org>
>  +files/libmikmod-3.2.0_beta2-shell.patch, +libmikmod-3.2.0_beta2-r5.ebuild,
>  -libmikmod-3.2.0_beta2-r4.ebuild:
>  Fix libmikmod.so installation caused by Makefile.am change. Fixes bug #402771
>  by Torsten Kaiser.

Thanks guys!