First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 141729
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Stefan Schweizer <genstef@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Mehmet Kemal EROL <bug.hunter@gmx.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
media-sound:lastfmplayer-1.0.0.1_p2113:20060725-151458.log portage log file for the latest build text/plain Mehmet Kemal EROL 2006-07-25 12:01 0000 33.27 KB Details
emerge --info my `emerge --info' output text/plain Mehmet Kemal EROL 2006-07-25 12:02 0000 3.11 KB Details
media-sound:lastfmplayer-1.0.0.1_p2113:20060726-233831.log new crash-log for the current version text/plain Mehmet Kemal EROL 2006-07-26 16:50 0000 86.95 KB Details
lastfmplayer-ebuild.patch Patch to ebuild to add -fPIC on amd64 patch David Li 2006-07-26 19:37 0000 763 bytes Details | Diff
lastfmplayer-1.0.0.1_p2113.ebuild modified ebuild with amd64-fpic.patch text/plain Mehmet Kemal EROL 2006-07-27 18:14 0000 2.80 KB Details
media-sound:lastfmplayer-1.0.0.1_p2113:20060728-004436.log log for moded ebuild compile crash text/plain Mehmet Kemal EROL 2006-07-27 18:16 0000 92.43 KB Details
lastfmplayer-1.0.0.1_p2113.ebuild Proposed ebuild text/plain David Li 2006-07-27 22:14 0000 2.84 KB Details
makefile-fpic.patch Patch for Makefile patch David Li 2006-07-27 22:19 0000 432 bytes Details | Diff
media-sound:lastfmplayer-1.0.0.1_p2113:20060728-170301.log `let-it-be' log text/plain Mehmet Kemal EROL 2006-07-28 10:34 0000 85.83 KB Details
lastfmplayer-1.0.0.1_p2113.ebuild Proposed ebuild text/plain David Li 2006-07-28 12:44 0000 2.75 KB Details
lastfmplayer-amd64.patch Patch for amd64 problems patch David Li 2006-07-28 12:46 0000 1.16 KB Details | Diff
media-sound:lastfmplayer-1.0.0.1_p2113:20060728-195827.log `thats-it' log text/plain Mehmet Kemal EROL 2006-07-28 13:36 0000 193.26 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 141729 depends on: Show dependency tree
Bug 141729 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-07-25 11:59 0000
The latest update fails to build, unfortunately...
I will attach the log file and my env-info, in a moment...

------- Comment #1 From Mehmet Kemal EROL 2006-07-25 12:01:10 0000 -------
Created an attachment (id=92736) [edit]
portage log file for the latest build

------- Comment #2 From Mehmet Kemal EROL 2006-07-25 12:02:09 0000 -------
Created an attachment (id=92738) [edit]
my `emerge --info' output

------- Comment #3 From David Li 2006-07-26 08:40:42 0000 -------
Looks to me like you have the wrong sources.
player.h and player.cpp don't even exist anymore.

Could you please try deleting /usr/portage/distfiles/svn-src/lastfmplayer
and trying again?

------- Comment #4 From David Li 2006-07-26 08:44:11 0000 -------
This appears to be the result of upstream switching SVN repositories, which
caused SVN to become confused.

It's weird though, because I didn't experiance this problem while writing the
ebuild. Unless anyone else has this problem as well, this bug should be marked
as invalid.

------- Comment #5 From Stefan Schweizer 2006-07-26 09:20:15 0000 -------
have seen it neither, so INVALID. Please remove your
/usr/portage/svn-src/lastfm.. directory

------- Comment #6 From Mehmet Kemal EROL 2006-07-26 16:48:45 0000 -------
I have no interest in being insistence ... but inspect my next attachment
carefully, please!

------- Comment #7 From Mehmet Kemal EROL 2006-07-26 16:50:37 0000 -------
Created an attachment (id=92816) [edit]
new crash-log for the current version

------- Comment #8 From David Li 2006-07-26 19:37:51 0000 -------
Created an attachment (id=92818) [edit]
Patch to ebuild to add -fPIC on amd64

Okay, this is a fPIC error. See
http://www.gentoo.org/proj/en/base/amd64/howtos/index.xml?part=1&chap=3

Here's a proposed patch to the ebuild which will add the fPIC to C(XX)FLAGS on
AMD64. This will slightly increase the executable size on AMD64 but will
hopefully allow you to compile (I don't have a AMD64, that's what arch testing
is for). This is to be considered a temporary workaround until the Last.FM guys
get around to fixing this.

------- Comment #9 From David Li 2006-07-26 19:43:03 0000 -------
Actually, I followed your advice and looked at the log closer. It appears you
are using a static version of qt.

If that's the case, please ignore the previous attachment as it will not help.
Then procced to get a non-static version of qt.

Oh and next time, please comment out MAKEOPTS before making a log because that
really helps with reading the log ;D

------- Comment #10 From Mehmet Kemal EROL 2006-07-27 08:34:28 0000 -------
(In reply to comment #9)
> Actually, I followed your advice and looked at the log closer. It appears you
> are using a static version of qt.

I don't think so...

> If that's the case, please ignore the previous attachment as it will not help.
> Then procced to get a non-static version of qt.

If you know a way of gathering the desired information about qt's health,
please instruct me how to ... I am ready to co-operate ;)

> Oh and next time, please comment out MAKEOPTS before making a log because that
> really helps with reading the log ;D

This [!] is a `portage' feature [not a bug] ... please contact the dev's with
your concern ;)

------- Comment #11 From David Li 2006-07-27 14:46:56 0000 -------
>> This [!] is a `portage' feature [not a bug] ... please contact the dev's with
your concern ;)
What I mean was, it's a great feature when the package works correctly.
However, it makes logs really difficult to read. So when making a log, it would
be kind to temporarily turn off that flag.

Anways, could you please try applying the patch to the ebuild? If you don't
know how, adding -fPIC to CFLAGS only for this emerge will effectively do the
same thing.

------- Comment #12 From Mehmet Kemal EROL 2006-07-27 18:12:21 0000 -------
(In reply to comment #11)

Please ... forgive me, but I couldn't resist ... my bug about this lousy
logging behaviour is still open:

> What I mean was, it's a great feature when the package works correctly.
> However, it makes logs really difficult to read. So when making a log, it would
> be kind to temporarily turn off that flag.

What `flag', dear David?

> Anways, could you please try applying the patch to the ebuild? If you don't
> know how, adding -fPIC to CFLAGS only for this emerge will effectively do the
> same thing.

Done! ... To prove the state of my trial, I will attach the modified, i.e.
patched ebuild ... and the latest log file. Please bear in mind that I have had
previously cleaned out the local svn repository ... all, with no luck!

------- Comment #13 From Mehmet Kemal EROL 2006-07-27 18:14:36 0000 -------
Created an attachment (id=92884) [edit]
modified ebuild with amd64-fpic.patch

------- Comment #14 From Mehmet Kemal EROL 2006-07-27 18:16:40 0000 -------
Created an attachment (id=92885) [edit]
log for moded ebuild compile crash

------- Comment #15 From David Li 2006-07-27 21:43:45 0000 -------
Arg... that's what happens when people try to release a package without a
configure script. People's CFLAGS get completely ignored. Looks like the
Makefile has to be patched manually.

Anyways, thanks for bearing out with me and still being willing to find a
solution that works.

------- Comment #16 From David Li 2006-07-27 22:14:35 0000 -------
Created an attachment (id=92890) [edit]
Proposed ebuild

Okay, this is a proposed ebuild which will apply a patch to the Makefile.

------- Comment #17 From David Li 2006-07-27 22:19:12 0000 -------
Created an attachment (id=92891) [edit]
Patch for Makefile

This patch will add -fPIC when compiling Loqqer.c which is where you appear to
get stuck at the moment. Note that it's likely that the compile will get stuck
at whatever the next file that requires fPIC.

It goes in the files folder.

------- Comment #18 From Mehmet Kemal EROL 2006-07-28 10:33:28 0000 -------
Here we go, again...

1. Cleaned out svn locals
2. Copied patch for makefile to //files dir
3. Copied proposed ebuild over original
4. Run `emerge' ... NOPE!
5. See below attached log: `let-it-be'

You are a polite young man ... relax, please ... the previous version of our
application works smooth, so there is no reason for any anxiety ... talk,
whenever you want to `upstream' ... in the meantime I would propose that you
might want to listen to some strong sound, like `Little Feat's `Trouble' ;)
Thank YOU, David!

------- Comment #19 From Mehmet Kemal EROL 2006-07-28 10:34:30 0000 -------
Created an attachment (id=92942) [edit]
`let-it-be' log

------- Comment #20 From David Li 2006-07-28 12:44:24 0000 -------
Created an attachment (id=92947) [edit]
Proposed ebuild

Okay, good news is you are clearly past the previous problem.

The bad news is that the problem you have. Apperantly someone at last.fm made a
bad design decision to store a pointer address in a int. This works in x86, but
it needs to be a long long in amd64.

Anyways, please delete the previous patch and ebuild and try this new one that
should fix the latest problem.

------- Comment #21 From David Li 2006-07-28 12:46:22 0000 -------
Created an attachment (id=92948) [edit]
Patch for amd64 problems

lastfmplayer-amd64.patch

This should fix the latest problem.
Goes in the files folder.

------- Comment #22 From Mehmet Kemal EROL 2006-07-28 13:35:39 0000 -------
Again ...

1. Cleaned out svn locals
2. Copied patch for makefile to //files dir
3. Copied proposed ebuild over original
4. Run `emerge' ... YEESSS!
5. See below attached log: `thats-it'

Hey Stefan, verliere diesen Jungen ja nicht aus den Augen ;)

Thank you, David ... it worked out in the end! I will attach the latest log for
your inspection ... and do not forget to merge these changes into the cvs-tree
... the honour of closing this bug belongs to you, my young friend ;)

------- Comment #23 From Mehmet Kemal EROL 2006-07-28 13:36:30 0000 -------
Created an attachment (id=92953) [edit]
`thats-it' log

------- Comment #24 From David Li 2006-07-28 14:01:48 0000 -------
I'm glad to hear that the player built for you.

I'm not an offical gentoo developer and I thus I don't have cvs access nor can
I close the bug. Those actions are up to Stefan Schweizer.

Btw, Stefan, the relevant attachements are 92947 (the ebuild) and 92947 (the
patch).

------- Comment #25 From Stefan Schweizer 2006-07-28 15:40:51 0000 -------
thanks I have applied the patch. Can you please take care of sending them
upstream to the lastfm devs? It would actually also be nice to have the fPIC
patch applied before the Makefile is being generated.

------- Comment #26 From David Li 2006-07-28 17:03:45 0000 -------
Yeah, that would be a good idea. I'll go a head an inform upstream.

------- Comment #27 From Guido 2006-08-05 00:32:37 0000 -------
In my experience the lastfmplayer will not build when multiple make jobs are
allowed through MAKEOPTS=-jN in /etc/make.conf. This can be fixed by limiting
the the jobs to one in the ebuild by adding the line MAKEOPTS="${MAKEOPTS}
-j1".

First Last Prev Next    No search results available      Search page      Enter new bug