The context of the story is the challenge that the "Akkadian Noah" Utanapishtim gives to Gilgamesh to show that he is worthy of eternal life; he must not fall asleep for a week. Utanapishtim and his unnamed wife had earlier received, as an exception, immortality from Enlil, because they had overheard the secrets of the Gods; cf. L190ff.
(L198) [Utanapishtim said:] "Now then, who will convene the gods on your behalf,Gilgamesh falls asleep immediately, and Utanapishtim complains to his wife that Gilgamesh failed, but she asks for mercy, that he may wake up and return home.
that you may find the life that you are seeking!
Wait! You must not lie down for six days and seven nights."
soon as he [Gilgamesh] sat down (with his head) between his legs
sleep, like a fog, blew upon him.
(L202) Utanapishtim said to his wife:Utanapishtim is concerned that Gilgamesh will deny falling asleep altogether, so he sets up a temporal trap, asking his wife to mark off the days on the wall and place fresh loaves of bread next to him.
"Look there! The man, the youth who wanted (eternal) life!
Sleep, like a fog, blew over him."
His wife said to Utanapishtim the Faraway:
"Touch him, let the man awaken.
Let him return safely by the way he came.
Let him return to his land by the gate through which he left."
(L208) Utanapishtim said to his wife:One suspects that the earlier version had just marks on the wall, and the later version then fixed the fact that the marks show no temporal progression per se, but could be made together. This is independently interesting, if my suspicions are correct.
"Mankind is deceptive, and will deceive you.
Come, bake loaves for him and keep setting them by his head
and draw on the wall each day that he lay down."
She baked his loaves and placed them by his head
and marked on the wall the day that he lay down.
The first loaf was dessicated,
the second stale, the third moist(?), the fourth turned white,
its ..., the fifth sprouted gray (mold), the sixth is still fresh. [...]"
(L218) The seventh--suddenly he touched him and the man awoke.As Utanapishtim predicted, Gilgamesh tries to deny it by claiming that he ad been sleeping for just a moment (i.e. was not really asleep yet). But the evidence makes that story unsupportable.
Gilgamesh said to Utanapishtim:
"The very moment sleep was pouring over me
you touched me and alerted me!"
(L222) Utanapishtim spoke to Gilgamesh, saying:As far as the translation is concerned, the problem is the rotting away of the bread. E.A. Speiser had "soggy" instead of moist.
"Look over here, Gilgamesh, count your loaves!
You should be aware of what is marked on the wall!
Your first loaf is dessicated,
the second stale, the third moist, your fourth turned white,
the fifth sprouted gray (mold), the sixth is still fresh.
The seventh--at that instant you awoke!"
Gilgamesh said to Utanapishtim the Faraway:
"O woe! What shall I do, Utanapishtim, where shall I go!
Colophon: Tablet XI translated by Maureen Gallery Kovacs, electronic version by Wolf Carnahan, line numbers according to ANECT, 3rd edition with Supplement, (pp.95-96).