unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15404: make_timespec undefined
@ 2013-09-17 21:12 Richard Stallman
  2013-09-17 22:05 ` Glenn Morris
  2013-09-18 17:16 ` bug#15404: Mitigating "make bootstrap" trashing the tree William G. Gardella
  0 siblings, 2 replies; 20+ messages in thread
From: Richard Stallman @ 2013-09-17 21:12 UTC (permalink / raw)
  To: 15404

I tried to recompile with the latest sources, and got an error from
linking that make_timespec is not defined.  The error was in xterm.o
and xdisp.o and keyboard.o.  It may have occurred in other files as well
but ld stopped listing them.

I can't find any place that tries to define it.

I am using the latest gNewSense for MIPS.

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call.






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

* bug#15404: make_timespec undefined
  2013-09-17 21:12 bug#15404: make_timespec undefined Richard Stallman
@ 2013-09-17 22:05 ` Glenn Morris
  2013-09-18 13:38   ` Richard Stallman
  2013-09-18 17:16 ` bug#15404: Mitigating "make bootstrap" trashing the tree William G. Gardella
  1 sibling, 1 reply; 20+ messages in thread
From: Glenn Morris @ 2013-09-17 22:05 UTC (permalink / raw)
  To: rms; +Cc: 15404


Should be defined in lib/libgnu.a (source in lib/timespec.h).

I imagine your problems would go away if you bootstrap.





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

* bug#15404: make_timespec undefined
  2013-09-17 22:05 ` Glenn Morris
@ 2013-09-18 13:38   ` Richard Stallman
  2013-09-18 14:59     ` Eli Zaretskii
  2013-09-18 16:19     ` Glenn Morris
  0 siblings, 2 replies; 20+ messages in thread
From: Richard Stallman @ 2013-09-18 13:38 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 15404

        [ To any NSA and FBI agents reading my email: please consider
        [ whether defending the US Constitution against all enemies,
        [ foreign or domestic, requires you to follow Snowden's example.

    Should be defined in lib/libgnu.a (source in lib/timespec.h).

Thanks.  That fixed it.

    I imagine your problems would go away if you bootstrap.

Alas, bootstrapping tends to cause me a lot of trouble.  For instance,
it deletes the old version of Emacs, so if anything goes wrong,
I am basically shafted until I get it fixed.  A couple of months ago,
people suggested that I try to rebuild without a bootstrap.

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call.






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

* bug#15404: make_timespec undefined
  2013-09-18 13:38   ` Richard Stallman
@ 2013-09-18 14:59     ` Eli Zaretskii
  2013-09-18 21:51       ` Glenn Morris
  2013-09-19  7:09       ` Richard Stallman
  2013-09-18 16:19     ` Glenn Morris
  1 sibling, 2 replies; 20+ messages in thread
From: Eli Zaretskii @ 2013-09-18 14:59 UTC (permalink / raw)
  To: rms; +Cc: 15404

> Date: Wed, 18 Sep 2013 09:38:35 -0400
> From: Richard Stallman <rms@gnu.org>
> Cc: 15404@debbugs.gnu.org
> 
> Alas, bootstrapping tends to cause me a lot of trouble.  For instance,
> it deletes the old version of Emacs, so if anything goes wrong,
> I am basically shafted until I get it fixed.

One way of avoiding such a total loss is to have 2 separate bzr
branches, both bound to the main one on Savannah.  Assuming you
already have one such branch, here's a way of creating another one,
starting from the 1st branch's top-level directory:

  $ cd ..
  $ bzr branch --bind bzr+ssh://rms@bzr.savannah.gnu.org/emacs/trunk ./trunk2

When bzr is done (it should be pretty quick, assuming you have a
shared repo in the parent directory of your current emacs trunk),
bootstrap the new branch in trunk2, and then you can use that as a
spare branch.  E.g., you could always bootstrap trunk2, so that when
the "normal" build in the other branch fails, you could try in trunk2,
and if that works, you know you can bootstrap in the other branch
without fear.

Since both branches are bound to the mainline, you can commit from any
of them.





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

* bug#15404: make_timespec undefined
  2013-09-18 13:38   ` Richard Stallman
  2013-09-18 14:59     ` Eli Zaretskii
@ 2013-09-18 16:19     ` Glenn Morris
  2013-09-18 16:22       ` Glenn Morris
                         ` (2 more replies)
  1 sibling, 3 replies; 20+ messages in thread
From: Glenn Morris @ 2013-09-18 16:19 UTC (permalink / raw)
  To: rms; +Cc: 15404

Richard Stallman wrote:

> Alas, bootstrapping tends to cause me a lot of trouble.  For instance,
> it deletes the old version of Emacs, so if anything goes wrong,
> I am basically shafted until I get it fixed. 

Why don't you `make install'?





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

* bug#15404: make_timespec undefined
  2013-09-18 16:19     ` Glenn Morris
@ 2013-09-18 16:22       ` Glenn Morris
  2013-09-18 17:31       ` Stefan Monnier
  2013-09-19  7:08       ` Richard Stallman
  2 siblings, 0 replies; 20+ messages in thread
From: Glenn Morris @ 2013-09-18 16:22 UTC (permalink / raw)
  To: rms; +Cc: 15404

Glenn Morris wrote:

> Why don't you `make install'?

Or have Emacs 24.3 installed on your machine.






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

* bug#15404: Mitigating "make bootstrap" trashing the tree
  2013-09-17 21:12 bug#15404: make_timespec undefined Richard Stallman
  2013-09-17 22:05 ` Glenn Morris
@ 2013-09-18 17:16 ` William G. Gardella
  2013-09-18 19:25   ` Eli Zaretskii
  1 sibling, 1 reply; 20+ messages in thread
From: William G. Gardella @ 2013-09-18 17:16 UTC (permalink / raw)
  To: 15404, rms

Hello,

One suggestion to help avoid "make bootstrap" trashing the source tree
and your old emacs build would be to use "bzr stash" to make a
temporary, local copy of your previous build.  Another idea would be to
do something like make install DESTDIR=built-on-`date +%Y-%m-%d_%H-%M`,
so that even if you do not wish to install globally whenever you build
Emacs, you at least have past successful builds in a convenient place.

Ultimately, however, I think "make bootstrap" should avoid doing lots of
implicit things like deleting old builds.  It should be reversible
somehow without needing to know bzr hacks or redirect the output of
previous builds.  Automated functions that make a mess should clean up
after themselves.

-- 
Regards,
WGG





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

* bug#15404: make_timespec undefined
  2013-09-18 16:19     ` Glenn Morris
  2013-09-18 16:22       ` Glenn Morris
@ 2013-09-18 17:31       ` Stefan Monnier
  2013-09-18 21:54         ` Glenn Morris
  2013-09-19  7:08       ` Richard Stallman
  2 siblings, 1 reply; 20+ messages in thread
From: Stefan Monnier @ 2013-09-18 17:31 UTC (permalink / raw)
  To: Glenn Morris; +Cc: rms, 15404

>> Alas, bootstrapping tends to cause me a lot of trouble.  For instance,
>> it deletes the old version of Emacs, so if anything goes wrong,
>> I am basically shafted until I get it fixed. 
> Why don't you `make install'?

I personally find it very inconvenient, because C-h f then jumps to the
installed files, which are not under version control, so I can't
usefully edit them.


        Stefan





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

* bug#15404: Mitigating "make bootstrap" trashing the tree
  2013-09-18 17:16 ` bug#15404: Mitigating "make bootstrap" trashing the tree William G. Gardella
@ 2013-09-18 19:25   ` Eli Zaretskii
  2013-09-18 20:00     ` William G. Gardella
  0 siblings, 1 reply; 20+ messages in thread
From: Eli Zaretskii @ 2013-09-18 19:25 UTC (permalink / raw)
  To: William G. Gardella; +Cc: 15404, rms

> From: William G. Gardella <wgg2@member.fsf.org>
> Date: Wed, 18 Sep 2013 17:16:10 +0000
> 
> One suggestion to help avoid "make bootstrap" trashing the source tree
> and your old emacs build would be to use "bzr stash" to make a
> temporary, local copy of your previous build.

I guess you mean "bzr shelve".  But that would only stash away
versioned files that were locally modified, so I expect it to do
nothing in a bound branch that doesn't have any local changes.

Making a local branch is probably what you had in mind.





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

* bug#15404: Mitigating "make bootstrap" trashing the tree
  2013-09-18 19:25   ` Eli Zaretskii
@ 2013-09-18 20:00     ` William G. Gardella
  0 siblings, 0 replies; 20+ messages in thread
From: William G. Gardella @ 2013-09-18 20:00 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: William G. Gardella, 15404, rms

Eli Zaretskii <eliz@gnu.org> writes:

[...]

> I guess you mean "bzr shelve".  But that would only stash away
> versioned files that were locally modified, so I expect it to do
> nothing in a bound branch that doesn't have any local changes.
>
> Making a local branch is probably what you had in mind.

Yes, I meant "bzr shelve", apologies.  And it seems you're right; it
would only do any good if the files generated during the previous run of
"make" had already been added with "bzr add".  I guess a local branch is
probably the best way.

-- 
Regards,
WGG





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

* bug#15404: make_timespec undefined
  2013-09-18 14:59     ` Eli Zaretskii
@ 2013-09-18 21:51       ` Glenn Morris
  2013-09-19 21:18         ` Richard Stallman
  2013-09-19  7:09       ` Richard Stallman
  1 sibling, 1 reply; 20+ messages in thread
From: Glenn Morris @ 2013-09-18 21:51 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: rms, 15404

Eli Zaretskii wrote:

>> Alas, bootstrapping tends to cause me a lot of trouble.  For instance,
>> it deletes the old version of Emacs, so if anything goes wrong,
>> I am basically shafted until I get it fixed.
>
> One way of avoiding such a total loss is to have 2 separate bzr
> branches, both bound to the main one on Savannah.

Low-tech version:

  cp -pr trunk trunk.bak

before bootstrapping trunk.





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

* bug#15404: make_timespec undefined
  2013-09-18 17:31       ` Stefan Monnier
@ 2013-09-18 21:54         ` Glenn Morris
  0 siblings, 0 replies; 20+ messages in thread
From: Glenn Morris @ 2013-09-18 21:54 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 15404

Stefan Monnier wrote:

>> Why don't you `make install'?
>
> I personally find it very inconvenient, because C-h f then jumps to the
> installed files, which are not under version control, so I can't
> usefully edit them.

I'm sure you could modify C-h f to jump to the versions in
`source-directory' instead.





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

* bug#15404: make_timespec undefined
  2013-09-18 16:19     ` Glenn Morris
  2013-09-18 16:22       ` Glenn Morris
  2013-09-18 17:31       ` Stefan Monnier
@ 2013-09-19  7:08       ` Richard Stallman
  2013-09-19  7:34         ` Eli Zaretskii
  2013-09-19  7:40         ` Glenn Morris
  2 siblings, 2 replies; 20+ messages in thread
From: Richard Stallman @ 2013-09-19  7:08 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 15404

        [ To any NSA and FBI agents reading my email: please consider
        [ whether defending the US Constitution against all enemies,
        [ foreign or domestic, requires you to follow Snowden's example.

    Why don't you `make install'?

I run it out of the development directory so that my changes get
into use, and so that it is easy to update.  Except that when a bootstrap
is needed, it is a pain.

    Or have Emacs 24.3 installed on your machine.

I could build that from source, but why would that be better?

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call.






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

* bug#15404: make_timespec undefined
  2013-09-18 14:59     ` Eli Zaretskii
  2013-09-18 21:51       ` Glenn Morris
@ 2013-09-19  7:09       ` Richard Stallman
  2013-09-19  7:33         ` Eli Zaretskii
  1 sibling, 1 reply; 20+ messages in thread
From: Richard Stallman @ 2013-09-19  7:09 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 15404

        [ To any NSA and FBI agents reading my email: please consider
        [ whether defending the US Constitution against all enemies,
        [ foreign or domestic, requires you to follow Snowden's example.

      $ bzr branch --bind bzr+ssh://rms@bzr.savannah.gnu.org/emacs/trunk ./trunk2

    When bzr is done (it should be pretty quick, assuming you have a
    shared repo in the parent directory of your current emacs trunk),

This could be a good method.
How can I tell whether there is a shared repo there?

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call.






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

* bug#15404: make_timespec undefined
  2013-09-19  7:09       ` Richard Stallman
@ 2013-09-19  7:33         ` Eli Zaretskii
  2013-09-19  7:46           ` Andreas Schwab
  0 siblings, 1 reply; 20+ messages in thread
From: Eli Zaretskii @ 2013-09-19  7:33 UTC (permalink / raw)
  To: rms; +Cc: 15404

> Date: Thu, 19 Sep 2013 03:09:09 -0400
> From: Richard Stallman <rms@gnu.org>
> CC: rgm@gnu.org, 15404@debbugs.gnu.org
> 
>       $ bzr branch --bind bzr+ssh://rms@bzr.savannah.gnu.org/emacs/trunk ./trunk2
> 
>     When bzr is done (it should be pretty quick, assuming you have a
>     shared repo in the parent directory of your current emacs trunk),
> 
> This could be a good method.
> How can I tell whether there is a shared repo there?

Invoke "bzr info" in the parent directory of your branch.  If there is
a repo, it will say something like this:

  Shared repository with trees (format: 2a)
  Location:
    shared repository: .

If you have no repo, it will say something like this:

  bzr: ERROR: Not a branch: "/foo/bar"

If you get the latter, there's a way to create a shared repo after the
fact, and then reconfigure your current branch to use it (I can tell
you how).  You should do this _before_ creating the other branch, or
else creating that other branch will take much longer.





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

* bug#15404: make_timespec undefined
  2013-09-19  7:08       ` Richard Stallman
@ 2013-09-19  7:34         ` Eli Zaretskii
  2013-09-19 21:18           ` Richard Stallman
  2013-09-19  7:40         ` Glenn Morris
  1 sibling, 1 reply; 20+ messages in thread
From: Eli Zaretskii @ 2013-09-19  7:34 UTC (permalink / raw)
  To: rms; +Cc: 15404

> Date: Thu, 19 Sep 2013 03:08:25 -0400
> From: Richard Stallman <rms@gnu.org>
> Cc: 15404@debbugs.gnu.org
> 
>     Or have Emacs 24.3 installed on your machine.
> 
> I could build that from source, but why would that be better?

Because Emacs 24.3 is more stable, and doesn't change.





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

* bug#15404: make_timespec undefined
  2013-09-19  7:08       ` Richard Stallman
  2013-09-19  7:34         ` Eli Zaretskii
@ 2013-09-19  7:40         ` Glenn Morris
  1 sibling, 0 replies; 20+ messages in thread
From: Glenn Morris @ 2013-09-19  7:40 UTC (permalink / raw)
  To: rms; +Cc: 15404

Richard Stallman wrote:

>     Or have Emacs 24.3 installed on your machine.
>
> I could build that from source, but why would that be better?

It would be a backup in case Emacs trunk breaks, so you aren't "shafted"
until it gets fixed. I'm assuming you use Emacs for mail and stuff on a
daily basis.

Just do the obvious thing and have some kind of backup, whether it be a
different version, `make install', a tar file, rsync, cp -r, a second
bzr branch, whatever works for you. Having only a checkout of Emacs
trunk and nothing else is asking for trouble.





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

* bug#15404: make_timespec undefined
  2013-09-19  7:33         ` Eli Zaretskii
@ 2013-09-19  7:46           ` Andreas Schwab
  0 siblings, 0 replies; 20+ messages in thread
From: Andreas Schwab @ 2013-09-19  7:46 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: rms, 15404

Eli Zaretskii <eliz@gnu.org> writes:

> Invoke "bzr info" in the parent directory of your branch.

Or run it inside the branch.

Andreas.

-- 
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."





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

* bug#15404: make_timespec undefined
  2013-09-18 21:51       ` Glenn Morris
@ 2013-09-19 21:18         ` Richard Stallman
  0 siblings, 0 replies; 20+ messages in thread
From: Richard Stallman @ 2013-09-19 21:18 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 15404

        [ To any NSA and FBI agents reading my email: please consider
        [ whether defending the US Constitution against all enemies,
        [ foreign or domestic, requires you to follow Snowden's example.

      cp -pr trunk trunk.bak

Yes, that would work.  Copying almost 400meg seems extravagant to me,
though; is it really necessary?

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call.






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

* bug#15404: make_timespec undefined
  2013-09-19  7:34         ` Eli Zaretskii
@ 2013-09-19 21:18           ` Richard Stallman
  0 siblings, 0 replies; 20+ messages in thread
From: Richard Stallman @ 2013-09-19 21:18 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 15404

        [ To any NSA and FBI agents reading my email: please consider
        [ whether defending the US Constitution against all enemies,
        [ foreign or domestic, requires you to follow Snowden's example.

    Because Emacs 24.3 is more stable, and doesn't change.

I do want to use something more recent.

-- 
Dr Richard Stallman
President, Free Software Foundation
51 Franklin St
Boston MA 02110
USA
www.fsf.org  www.gnu.org
Skype: No way! That's nonfree (freedom-denying) software.
  Use Ekiga or an ordinary phone call.






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

end of thread, other threads:[~2013-09-19 21:18 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-09-17 21:12 bug#15404: make_timespec undefined Richard Stallman
2013-09-17 22:05 ` Glenn Morris
2013-09-18 13:38   ` Richard Stallman
2013-09-18 14:59     ` Eli Zaretskii
2013-09-18 21:51       ` Glenn Morris
2013-09-19 21:18         ` Richard Stallman
2013-09-19  7:09       ` Richard Stallman
2013-09-19  7:33         ` Eli Zaretskii
2013-09-19  7:46           ` Andreas Schwab
2013-09-18 16:19     ` Glenn Morris
2013-09-18 16:22       ` Glenn Morris
2013-09-18 17:31       ` Stefan Monnier
2013-09-18 21:54         ` Glenn Morris
2013-09-19  7:08       ` Richard Stallman
2013-09-19  7:34         ` Eli Zaretskii
2013-09-19 21:18           ` Richard Stallman
2013-09-19  7:40         ` Glenn Morris
2013-09-18 17:16 ` bug#15404: Mitigating "make bootstrap" trashing the tree William G. Gardella
2013-09-18 19:25   ` Eli Zaretskii
2013-09-18 20:00     ` William G. Gardella

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).