All of lore.kernel.org
 help / color / mirror / Atom feed
* can't compile with reiser4
@ 2004-04-30 23:10 David Masover
  2004-04-30 23:15 ` David Masover
  2004-05-01 18:45 ` mjt
  0 siblings, 2 replies; 6+ messages in thread
From: David Masover @ 2004-04-30 23:10 UTC (permalink / raw)
  To: reiserfs-list

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

glibc) on my system now either fail to install, continue trying to
install forever (make caught in an infinite loop), or install but don't
work later.  My / is reiser4, with separate mountpoints for /boot, /sys,
/proc, /dev, /dev/pts, and /dev/shm.  So this doesn't make sense...

I think I've figured out one reason it's failing, though:  I've found a
certain place where if I do something like 'make foo.o', it builds foo.o
just fine (out of foo.c), but foo.c gets its mtime updated right along
with foo.o -- making foo.o out of date.  This is not just defeating the
purpose of 'make' (being able to rebuild a selective portion of a
program and not the whole thing, based on mtimes) but causes at least
one program (sudo) to not install properly.

The way that works is that 'make' is called once for the build, with all
the paths (including --sysconfdir) set to their ultimate destinations in
/, and then 'make install' is called again, with these paths set to the
same thing, but inside the install tree -- so instead of /etc, we get
/var/tmp/portage/sudo-1.6.7/install//etc
(I may not have those versions or paths right.)

This is fine, because 'make install' is usually just copying files
around, so we want the files copied to that temporary install directory
(so we can do an atomic merge).  But because so many .c files are just
as new as the .o files, so much (if not everything) must be rebuilt
during 'make install' -- which means sudo becomes hardcoded to look for
its config file somewhere in /var/tmp.

More details if you want them...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQIVAwUBQJLcz3gHNmZLgCUhAQLrPQ//YfhmVydF0P38dKUpNC8BUQQK022FeuP1
aWwaPl7re7R+WDGcWI8cwwbIzDtjDih213GFAYklzXENMbtgyQXsGUSHWFBa9CdL
XFCUW+p2CjMtkgw+1lJVjslujx3n4PRAdmPSfVpi9BYAtmxZralZtzL/1X8LcEbu
SRw6OxeLlXwG/eqqHYoD3yMfYjabVXGZU5OpZ+zMYOuya04LDCTdy3rLA4YXMRo1
DwwV+Fzl/lIgAyTYMURJ1Ht1NepmjYeU9aqjeBJ0hO9dhkPvf5FSBd7VXODdBbLw
n41IANiXkllO+BLt2bTPfPa7bbLMLgefS+YFFO+HBP6zAzP4kEwuecQbOma/Tfg1
/o9Ey/2FUfHYIwAwwYz7Qc0pP7HmEywx7YLXpvgBdCXadAwcpJdtLJkjjA0/1Ued
HbPw8T6nDr4IB85YWAKX+Y8iejE4YJ5L6PMABxsFCF6RbeZJ9qXU5L1CGlDiMR1F
QT25gxjfiwdR9p7y6BCfSxsqvoYNVnBpAzp58aNJUMlfWOrZU6TtnPCMFgqPhu2s
/IPpgiUpEzs/WKbf9PhEqQW0yuRKQpARvSpEd+VFnheyuQL9Py2QPH34hefAiBmY
UdDAYr1EQsKLh6g9q32GMX0O19w9mMTxiMoErKUaD+oktCRCa5LJa0bzEia3M5ek
MSAaZiHM+Uc=
=E5St
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: can't compile with reiser4
  2004-04-30 23:10 can't compile with reiser4 David Masover
@ 2004-04-30 23:15 ` David Masover
  2004-05-01 18:45 ` mjt
  1 sibling, 0 replies; 6+ messages in thread
From: David Masover @ 2004-04-30 23:15 UTC (permalink / raw)
  To: reiserfs-list

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

gah!  looks like something got chopped out!  maybe I tapped the trackpad
or something...

what I know I typed before was:

most Gentoo packages (including glibc) on my system now either fail to
install...

| glibc) on my system now either fail to install, continue trying to
| install forever (make caught in an infinite loop), or install but don't
| work later.  My / is reiser4, with separate mountpoints for /boot, /sys,
| /proc, /dev, /dev/pts, and /dev/shm.  So this doesn't make sense...
|
| I think I've figured out one reason it's failing, though:  I've found a
| certain place where if I do something like 'make foo.o', it builds foo.o
| just fine (out of foo.c), but foo.c gets its mtime updated right along
| with foo.o -- making foo.o out of date.  This is not just defeating the
| purpose of 'make' (being able to rebuild a selective portion of a
| program and not the whole thing, based on mtimes) but causes at least
| one program (sudo) to not install properly.
|
| The way that works is that 'make' is called once for the build, with all
| the paths (including --sysconfdir) set to their ultimate destinations in
| /, and then 'make install' is called again, with these paths set to the
| same thing, but inside the install tree -- so instead of /etc, we get
| /var/tmp/portage/sudo-1.6.7/install//etc
| (I may not have those versions or paths right.)
|
| This is fine, because 'make install' is usually just copying files
| around, so we want the files copied to that temporary install directory
| (so we can do an atomic merge).  But because so many .c files are just
| as new as the .o files, so much (if not everything) must be rebuilt
| during 'make install' -- which means sudo becomes hardcoded to look for
| its config file somewhere in /var/tmp.
|
| More details if you want them...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQIVAwUBQJLeFHgHNmZLgCUhAQKE+A/9GqPGq4kkrI7sBJE7ORLlqMATnmsPnQm8
qKsSFOll5tkU0EIFdd9wF6SdRp29TtwuFolEYKKS+K+rkjNOF+JQTbJCc8Um/Gzx
zBxViv0m4au95tl7vRRCfwiqEfWbvaqK91PV3inB3KH3WFYI7ZpyyUARYOLErr+T
/ZIrt5Y6rjVp4d0b7i42wWsgPwyf67Tym0tte9vnjJ7HyepxxkozfGWjFWCICHNm
TsRbEQsk90rX/43c1uEr+UVDjx/8MeowvrC1OXjDgeDt+xm+/quZF9ciw+fgjS0v
ET4ntHRcURKSqu6PBDW5dyIMErDlbEMFXwRJF6Q6Ix4aVgdzw2xJPqx4Uufyi1ky
zSUa7W/DyrdYfHA3rhFT+39ICl5qvQONNfxXuKZpfvQzOyZ+MsOoWVnepWxo25K8
/m7TbsIrtgaYcwvqDVc8HWJu7vxO6VtOygn2xkDYvbLpC6M/nsufS+RZEzY0t7AY
wOXWD3835VRdVITXpdxgJnpKhtl780fmkyCARUF8d50VjeY8qh5w4XrCZpg3vXXf
itETN9xjzxb/76DmIE1PBgNVwCSP3vetcYeGBUKO8ZyIM3rz5gb183A6YJkTNJgj
T3WXZ7XNTxrvaePq2kx2gC4tj5EbEnZVgFM91EnKMfqlg6nXuyKiY8vYStawmERP
HurbLTkRzls=
=HJ4j
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: can't compile with reiser4
  2004-04-30 23:10 can't compile with reiser4 David Masover
  2004-04-30 23:15 ` David Masover
@ 2004-05-01 18:45 ` mjt
  2004-05-01 18:59   ` David Masover
  1 sibling, 1 reply; 6+ messages in thread
From: mjt @ 2004-05-01 18:45 UTC (permalink / raw)
  To: David Masover; +Cc: reiserfs-list

On Fri, Apr 30, 2004 at 06:10:09PM -0500, David Masover wrote:
>glibc) on my system now either fail to install, continue trying to
>install forever (make caught in an infinite loop), or install but don't

This has been fixed.

I have a copy of the patch here:
http://mjt.nysv.org/reiser/tail.c.diff

-- 
mjt


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: can't compile with reiser4
  2004-05-01 18:45 ` mjt
@ 2004-05-01 18:59   ` David Masover
  2004-05-01 19:09     ` mjt
  0 siblings, 1 reply; 6+ messages in thread
From: David Masover @ 2004-05-01 18:59 UTC (permalink / raw)
  To: Markus Törnqvist; +Cc: reiserfs-list

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


But the fix isn't in any snapshot.  When is the next snapshot, or where
can I find the latest code?

Markus Törnqvist wrote:
| On Fri, Apr 30, 2004 at 06:10:09PM -0500, David Masover wrote:
|
|>glibc) on my system now either fail to install, continue trying to
|>install forever (make caught in an infinite loop), or install but don't
|
|
| This has been fixed.
|
| I have a copy of the patch here:
| http://mjt.nysv.org/reiser/tail.c.diff
|

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQIVAwUBQJPzfngHNmZLgCUhAQKRlw//QNlUXloT9v4pjCr/+DNQhbZb0t3K4eod
h7fM1bs3RSlBgOZb8nNj8ajZCizsTrsQeNyxu93WrSIW/41q7MLRt/Ze5qVdDTtA
v46WzL0Xd4j6PoQqJIgUm9Gf32HWqFrppxeql4UNAehk2w9+SB/VeAoC6OpU4Q7F
DMe36+ANjmqD70lkaU13EMD0b0B+tA4S5KclICupP7jMZBEuzlPDCCXE/Dy17BUH
CEQOS3Apqt2PVqYhdRvZSeVcTcHi12z1JM0vVofc5FG9JRrHKGNuVirkebMCK7af
FLuHgTjbXXEkLwFIiaBJqT1whF7csGKyjce5VUA1PITGjafFLlElLoV1YPgvDm/D
AEmxiindJnubOobMHhdncRsCnjS28KWc5dpQ6qyX/u/zZVuvT2NQxdA3kuFLNtHW
fLrqZuWkFGT+RgCoq1HY1pRfj1zypykd/iOpsJuSvdMgVFSju67aoKtlqG2Nup+S
iF2U72BaEL+gIx2kMXJd2zPGXwMaWSbtvrwh0k607A8QZ/KEtyLaFP13lc7BRUS4
ThxNT6UYO2Xq6qRsky/25P+bHccUAz6r9TZNcKcINH5GwqFoXHqpv6GTaATqRTTQ
jPoW3d2t6/7Pd5CUtyPkppww2A3/eterdjyKY7Z9fpYt9WLQocL9HVRURaP2KICt
DVfJUzNqvgQ=
=VPsT
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: can't compile with reiser4
  2004-05-01 18:59   ` David Masover
@ 2004-05-01 19:09     ` mjt
  2004-05-02 19:17       ` Hans Reiser
  0 siblings, 1 reply; 6+ messages in thread
From: mjt @ 2004-05-01 19:09 UTC (permalink / raw)
  To: David Masover; +Cc: reiserfs-list

On Sat, May 01, 2004 at 01:59:12PM -0500, David Masover wrote:
>
>But the fix isn't in any snapshot.  When is the next snapshot, or where
>can I find the latest code?

Of course I'm not the correct person to speak for Namesys, but it seems
they have made progress, so the next snapshot may come some time soon.

Obviously these smaller issues do not warrant an entirely new snapshot.

The stuff I use is here:
http://mjt.nysv.org/reiser/

The bonnie patch is not needed for anything and the other lesser patches
(of which I can't remember if they are in the latest shot) are integrated
in http://mjt.nysv.org/reiser/2004.03.26.all.fixed.diff

Note that it changes metas/ into ..metas/ as well.

-- 
mjt


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: can't compile with reiser4
  2004-05-01 19:09     ` mjt
@ 2004-05-02 19:17       ` Hans Reiser
  0 siblings, 0 replies; 6+ messages in thread
From: Hans Reiser @ 2004-05-02 19:17 UTC (permalink / raw)
  To: Markus Törnqvist; +Cc: David Masover, reiserfs-list

Markus Törnqvist wrote:

>On Sat, May 01, 2004 at 01:59:12PM -0500, David Masover wrote:
>  
>
>>But the fix isn't in any snapshot.  When is the next snapshot, or where
>>can I find the latest code?
>>    
>>
>
>Of course I'm not the correct person to speak for Namesys, but it seems
>they have made progress, so the next snapshot may come some time soon.
>
>Obviously these smaller issues do not warrant an entirely new snapshot.
>
>The stuff I use is here:
>http://mjt.nysv.org/reiser/
>
>The bonnie patch is not needed for anything and the other lesser patches
>(of which I can't remember if they are in the latest shot) are integrated
>in http://mjt.nysv.org/reiser/2004.03.26.all.fixed.diff
>
>Note that it changes metas/ into ..metas/ as well.
>
>  
>
the codebase is currently a bit mangled by work we are doing on ent 
threads, probably a week or two before we can snapshot again....

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-05-02 19:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-30 23:10 can't compile with reiser4 David Masover
2004-04-30 23:15 ` David Masover
2004-05-01 18:45 ` mjt
2004-05-01 18:59   ` David Masover
2004-05-01 19:09     ` mjt
2004-05-02 19:17       ` Hans Reiser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.