First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 259434
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: dotnet <dotnet@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christopher Smith <cdsmith80@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
net-irc:smuxi-0.6.3:20090218-031242.log smuxi build log text/plain Christopher Smith 2009-02-18 04:48 0000 36.92 KB Details
emergeinfo emerge --info text/plain Christopher Smith 2009-02-18 04:49 0000 4.63 KB Details
smuxi-fix.patch eutoreconf comes to the rescue patch Peter Alfredsen 2009-03-08 19:09 0000 2.19 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 259434 depends on: Show dependency tree
Bug 259434 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: 2009-02-18 00:31 0000
Smuxi never finishes compiling.  It just goes into and infinite loop.

Reproducible: Always

Steps to Reproduce:
emerge smuxi

Actual Results:  
The following instructions repeat endlessly:

make[1]: Entering directory
`/tmp/portage/net-irc/smuxi-0.6.3/work/smuxi-0.6.3/po-Engine'
cd .. \
          && CONFIG_FILES=po-Engine/Makefile.in CONFIG_HEADERS= CONFIG_LINKS= \
               /bin/sh ./config.status
config.status: creating po-Engine/Makefile.in
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po-Engine/POTFILES
config.status: creating po-Engine/Makefile
config.status: executing po/stamp-it commands
# INTLTOOL_MAKEFILE
make[1]: Leaving directory
`/tmp/portage/net-irc/smuxi-0.6.3/work/smuxi-0.6.3/po-Engine'


Expected Results:  
successful emerge of smuxi

------- Comment #1 From Peter Alfredsen 2009-02-18 00:36:57 0000 -------
Could you attach the build.log with a couple of iterations of this loop (
CTRL+C to stop it ) and emerge --info.

------- Comment #2 From Peter Alfredsen 2009-02-18 01:07:27 0000 -------
https://bugs.launchpad.net/ubuntu/+bug/259833 has a reproducer who's not using
gentoo.

------- Comment #3 From Christopher Smith 2009-02-18 04:48:58 0000 -------
Created an attachment (id=182389) [details]
smuxi build log

------- Comment #4 From Christopher Smith 2009-02-18 04:49:18 0000 -------
Created an attachment (id=182391) [details]
emerge --info

------- Comment #5 From Diego E. 'Flameeyes' Pettenò 2009-03-07 23:46:12 0000 -------
This is _quite_ an issue indeed. Masking?

------- Comment #6 From Peter Alfredsen 2009-03-08 18:52:54 0000 -------
Per IRC log pasted below, can all reproducers of this problem tell me if their
/tmp is tmpfs?

<meebey> loki_val: ping
<loki_val> meebey: pong
<meebey> loki_val: http://www.lucas-nussbaum.net/blog/?p=335
<meebey> loki_val: does that apply to you? /tmp being tmpfsß
<loki_val> I know it applies to one reporter. I haven't been able to reproduce
<meebey> do you use tmpfs?
<loki_val> No.
<meebey> k
<meebey> please ask the repoert
<meebey> reporter
<meebey> if his /tmp is tmpfs
<meebey> to check if this is triggering the issue
<meebey> I could temporarly make my /tmp tmpfs
<meebey> and build smuxi and check what happens
<meebey> to get a second sample
<loki_val> Can do.

------- Comment #7 From Diego E. 'Flameeyes' Pettenò 2009-03-08 18:55:38 0000 -------
[No need to CC me, I'm on qa@, otherwise I would have CCed me in the first
place ;)]

I just read Lucas's blog post myself. While I do know the problem of
granularity I did not think it would move stuff around between different
filesystems. Yes my system is configured with /tmp in tmpfs and $PORT_TMPDIR in
ext4.

I guess setting TMPDIR="${T}" could be a workaround, if it does respect that;
or try to rebuild with a newer autoconf?

------- Comment #8 From Peter Alfredsen 2009-03-08 19:09:37 0000 -------
Created an attachment (id=184348) [details]
eutoreconf comes to the rescue

Does this patch fix the problem?

------- Comment #9 From Christopher Smith 2009-03-08 19:20:01 0000 -------
The patch does not fix the issue for me.

------- Comment #10 From Christopher Smith 2009-03-08 19:21:34 0000 -------
/tmp is not tmpfs on my machine.

------- Comment #11 From Diego E. 'Flameeyes' Pettenò 2009-03-08 19:22:59 0000 -------
Have to test with the next tinderbox run.

Forgot to say earlier that the sub-second timestamp is also available on XFS,
and maybe other filesystems, not just tmpfs.

------- Comment #12 From Christopher Smith 2009-03-08 19:28:40 0000 -------
(In reply to comment #11)
> Have to test with the next tinderbox run.
> 
> Forgot to say earlier that the sub-second timestamp is also available on XFS,
> and maybe other filesystems, not just tmpfs.
> 

I am using XFS so that could be the issue.

------- Comment #13 From Peter Alfredsen 2009-03-30 21:06:26 0000 -------
Could someone try this:
<meebey> loki_val: apropros masked, can you reproduce the smuxi build issue?
<meebey> loki_val: I made some changes in the master branch and wonder if those
are fixing it
<loki_val> meebey: I can't reproduce but if you have a patch, I can poke
someone at our bug.
<meebey> loki_val: let them build git://git.qnetp.net/smuxi.git branch:
bug/autofool
You can get a snapshot here:
http://git.qnetp.net/?p=smuxi.git;a=shortlog;h=refs/heads/bug/autofool
It should be as simple as installing the dependencies for smuxi and doing
./autogen.sh
./configure
make

------- Comment #14 From Peter Alfredsen 2009-04-05 21:20:45 0000 -------
+  05 Apr 2009; Peter Alfredsen <loki_val@gentoo.org>
+  +files/smuxi-0.6.3-infinite-loop.patch, smuxi-0.6.3.ebuild:
+  Fix bug 259434, smuxi enters an infinite loop when compiling on
+  milli-second-precision FSes, suchs as tmpfs or XFS.
+

Upstream was able to reproduce. This should fix it.

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