Bug 197098 - multimedia/xmms fails to install
Summary: multimedia/xmms fails to install
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Christian Weisgerber
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-26 15:52 UTC by freebsd
Modified: 2015-02-26 00:43 UTC (History)
1 user (show)

See Also:


Attachments
build log as requested (199.25 KB, text/plain)
2015-01-29 23:41 UTC, freebsd
no flags Details
may be contained in build log, displayed in my root terminal for 'make install' in the multimedia/xmms directory (11.71 KB, text/plain)
2015-01-29 23:42 UTC, freebsd
no flags Details
hopefully, a complete build log (39.65 KB, text/plain)
2015-01-31 00:51 UTC, freebsd
no flags Details
build log as requested (210.69 KB, text/plain)
2015-01-31 03:19 UTC, freebsd
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description freebsd 2015-01-26 15:52:28 UTC
As root, using make install with default config, the install process throws this error:

gmake[2]: Leaving directory '/usr/ports/multimedia/xmms/work/xmms-1.2.11/po'
gmake[2]: Entering directory '/usr/ports/multimedia/xmms/work/xmms-1.2.11'
gmake[3]: Entering directory '/usr/ports/multimedia/xmms/work/xmms-1.2.11'
test -z "/usr/local/bin" || /usr/ports/multimedia/xmms/work/xmms-1.2.11/install-sh -d "/usr/ports/multimedia/xmms/work/stage/usr/local/bin"
 install  -o root -g wheel -m 555 'xmms-config' '/usr/ports/multimedia/xmms/work/stage/usr/local/bin/xmms-config'
gmake[3]: Leaving directory '/usr/ports/multimedia/xmms/work/xmms-1.2.11'
gmake[2]: Leaving directory '/usr/ports/multimedia/xmms/work/xmms-1.2.11'
Makefile:469: recipe for target 'install-recursive' failed
gmake[1]: *** [install-recursive] Error 1
gmake[1]: Leaving directory '/usr/ports/multimedia/xmms/work/xmms-1.2.11'
Makefile:755: recipe for target 'install-strip' failed
gmake: *** [install-strip] Error 2
*** [do-install] Error code 2

Stop in /usr/ports/multimedia/xmms.
*** [install] Error code 1

Stop in /usr/ports/multimedia/xmms.
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2015-01-27 01:28:22 UTC
Assign to maintainer.
Comment 2 Christian Weisgerber freebsd_committer freebsd_triage 2015-01-29 20:38:58 UTC
Can you please provide a complete log?
Comment 3 freebsd 2015-01-29 23:41:31 UTC
Created attachment 152358 [details]
build log as requested

build log, as requested. it seems to exclude some other text, attached separately,which was displayed on my root terminal during the build.
Comment 4 freebsd 2015-01-29 23:42:54 UTC
Created attachment 152359 [details]
may be contained in build log, displayed in my root terminal for 'make install' in the multimedia/xmms directory
Comment 5 Christian Weisgerber freebsd_committer freebsd_triage 2015-01-30 20:31:53 UTC
You have separated the output that went to stdout from that to stderr.  That's akin to running a printed page through a shredder; the result is mostly useless.  Please provide a complete log.  If you are using (t)csh, use something like "make >& log".
Comment 6 freebsd 2015-01-31 00:51:09 UTC
Created attachment 152400 [details]
hopefully, a complete build log

used make >& log in csh
Comment 7 Christian Weisgerber freebsd_committer freebsd_triage 2015-01-31 01:54:06 UTC
This is only the final staging part.  Please run "make clean" first and provide a complete build log.
Comment 8 freebsd 2015-01-31 03:19:20 UTC
Created attachment 152402 [details]
build log as requested
Comment 9 Christian Weisgerber freebsd_committer freebsd_triage 2015-02-22 20:04:43 UTC
For the record, comparison of the log files shows that your port build uses the options

MIKMOD off
NLS off
SPEC on
VFILEINFO_DESC on

different from the defaults.  However, this does not explain the build failure.

Building with the options above, I cannot reproduce the problem.  The builds diverge during fake install in Input/vorbis.  In your build, libtool tries to relink libvorbis.la and eventually fails.  Here it does not try to relink and simply installs libvorbis.so.

I have no idea what could cause this behavior.
Comment 10 Tijl Coosemans freebsd_committer freebsd_triage 2015-02-23 08:48:28 UTC
It fails because it's trying to link the xmms libvorbis module to itself instead of to /usr/local/lib/libvorbis.so.  Does the following command list anything?

find /usr/local/lib -name '*.la' | xargs pkg which | grep 'not found'
Comment 11 freebsd 2015-02-24 00:30:42 UTC
(In reply to Tijl Coosemans from comment #10)

This is the output:

/usr/local/lib/libORBitCosNaming.la was not found in the database
/usr/local/lib/libORBitutil.la was not found in the database
/usr/local/lib/libIDL.la was not found in the database
/usr/local/lib/libORBit.la was not found in the database
/usr/local/lib/libIIOP.la was not found in the database
/usr/local/lib/libffi.la was not found in the database
/usr/local/lib/libcanberra-0.26/libcanberra-alsa.la was not found in the database
/usr/local/lib/libwpd-0.8.la was not found in the database
/usr/local/lib/libiconv.la was not found in the database
Comment 12 Tijl Coosemans freebsd_committer freebsd_triage 2015-02-24 08:29:49 UTC
(In reply to freebsd from comment #11)
Please remove those files.  Then install ports-mgmt/portmaster if you don't have it yet and run 'portmaster multimedia/xmms'.  If you run into build errors about missing *.la files follow the instructions in the 20140909 entry in /usr/ports/UPDATING and then run 'portmaster multimedia/xmms' again.
Comment 13 freebsd 2015-02-26 00:39:41 UTC
I apologize for not realizing; and I do remember deleting the files in keeping with the instructions. Anyway, thanks for  your help; xmms installs fine and I'll close the bug.