<p dir="auto">This is from a fresh checkout of commit-id <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/tensorflow/tensorflow/commit/40d28e24df77130792dc20408e45dda3154b9bc2/hovercard" href="https://github.com/tensorflow/tensorflow/commit/40d28e24df77130792dc20408e45dda3154b9bc2"><tt>40d28e2</tt></a>, the current r0.11 branch.</p>
<p dir="auto">On Mac OS 10.11.6 and Xcode 8.0, building the iOS library with build_ios_all.sh completes without errors, but attempting to actually build the Xcode projects in contrib/ios_examples or use the resulting libtensorflow-core.a in my own project fails with a linker error.</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="duplicate symbol __Z14tf_git_versionv in:
    /Users/avalys/Desktop/tensorflow.build_ios/tensorflow/contrib/ios_examples/simple/../../makefile/gen/lib/libtensorflow-core.a(version_info.o)
duplicate symbol __Z19tf_compiler_versionv in:
    /Users/avalys/Desktop/tensorflow.build_ios/tensorflow/contrib/ios_examples/simple/../../makefile/gen/lib/libtensorflow-core.a(version_info.o)
ld: 2 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)"><pre class="notranslate"><code class="notranslate">duplicate symbol __Z14tf_git_versionv in:
    /Users/avalys/Desktop/tensorflow.build_ios/tensorflow/contrib/ios_examples/simple/../../makefile/gen/lib/libtensorflow-core.a(version_info.o)
duplicate symbol __Z19tf_compiler_versionv in:
    /Users/avalys/Desktop/tensorflow.build_ios/tensorflow/contrib/ios_examples/simple/../../makefile/gen/lib/libtensorflow-core.a(version_info.o)
ld: 2 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
</code></pre></div>
<p dir="auto">And indeed, nm -a libtensorflow-core.a | grep git_version gives:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="0000000000000000 T __Z14tf_git_versionv
0000000000000000 T __Z14tf_git_versionv"><pre class="notranslate"><code class="notranslate">0000000000000000 T __Z14tf_git_versionv
0000000000000000 T __Z14tf_git_versionv
</code></pre></div>
<p dir="auto">Hi all,</p>
<p dir="auto">just tried to start the script from here: <a href="https://www.tensorflow.org/get_started/tflearn" rel="nofollow">https://www.tensorflow.org/get_started/tflearn</a></p>
<p dir="auto">found one issue for python3 users:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import urllib
raw = urllib.urlopen(IRIS_TRAINING_URL).read()
"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">urllib</span>
<span class="pl-s1">raw</span> <span class="pl-c1">=</span> <span class="pl-s1">urllib</span>.<span class="pl-en">urlopen</span>(<span class="pl-v">IRIS_TRAINING_URL</span>).<span class="pl-en">read</span>()</pre></div>
<p dir="auto">this returns:</p>
<div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
&lt;ipython-input-32-2005abd64a8b&gt; in &lt;module&gt;()
----&gt; 1 raw = urllib.urlopen(IRIS_TRAINING_URL).read()

AttributeError: module 'urllib' has no attribute 'urlopen'
"><pre class="notranslate">---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<span class="pl-k">&lt;</span>ipython-input-32-2005abd64a8b<span class="pl-k">&gt;</span> <span class="pl-k">in</span> <span class="pl-en">&lt;module&gt;</span>()
----<span class="pl-k">&gt;</span> 1 raw = <span class="pl-en">urllib.urlopen(IRIS_TRAINING_URL).read</span>()

AttributeError: module <span class="pl-s"><span class="pl-pds">'</span>urllib<span class="pl-pds">'</span></span> has no attribute <span class="pl-s"><span class="pl-pds">'</span>urlopen<span class="pl-pds">'</span></span>
</pre></div>
<p dir="auto">the solution:</p>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import urllib.request as ur
raw = ur.urlopen(IRIS_TRAINING_URL).read()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">urllib</span>.<span class="pl-s1">request</span> <span class="pl-k">as</span> <span class="pl-s1">ur</span>
<span class="pl-s1">raw</span> <span class="pl-c1">=</span> <span class="pl-s1">ur</span>.<span class="pl-en">urlopen</span>(<span class="pl-v">IRIS_TRAINING_URL</span>).<span class="pl-en">read</span>()</pre></div>
<p dir="auto">But, the main reason for this issue-ticket is <strong>warning messages</strong> like:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="WARNING:tensorflow:From /Users/vadimborisov/anaconda/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/estimators/head.py:1362: scalar_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30.
Instructions for updating:
Please switch to tf.summary.scalar. Note that tf.summary.scalar uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on the scope they are created in. Also, passing a tensor or list of tags to a scalar summary op is no longer supported. "><pre class="notranslate"><code class="notranslate">WARNING:tensorflow:From /Users/vadimborisov/anaconda/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/estimators/head.py:1362: scalar_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30.
Instructions for updating:
Please switch to tf.summary.scalar. Note that tf.summary.scalar uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on the scope they are created in. Also, passing a tensor or list of tags to a scalar summary op is no longer supported. 
</code></pre></div>
<p dir="auto">or this</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="WARNING:tensorflow:From &lt;ipython-input-28-221e14b2595e&gt;:1: calling BaseEstimator.fit (from tensorflow.contrib.learn.python.learn.estimators.estimator) with x is deprecated and will be removed after 2016-12-01.
Instructions for updating:
Estimator is decoupled from Scikit Learn interface by moving into
separate class SKCompat. Arguments x, y and batch_size are only
available in the SKCompat class, Estimator will only accept input_fn.
Example conversion:
  est = Estimator(...) -&gt; est = SKCompat(Estimator(...))
WARNING:tensorflow:From &lt;ipython-input-28-221e14b2595e&gt;:1: calling BaseEstimator.fit (from tensorflow.contrib.learn.python.learn.estimators.estimator) with y is deprecated and will be removed after 2016-12-01.
Instructions for updating:
Estimator is decoupled from Scikit Learn interface by moving into
separate class SKCompat. Arguments x, y and batch_size are only
available in the SKCompat class, Estimator will only accept input_fn.
Example conversion:
  est = Estimator(...) -&gt; est = SKCompat(Estimator(...))"><pre class="notranslate"><code class="notranslate">WARNING:tensorflow:From &lt;ipython-input-28-221e14b2595e&gt;:1: calling BaseEstimator.fit (from tensorflow.contrib.learn.python.learn.estimators.estimator) with x is deprecated and will be removed after 2016-12-01.
Instructions for updating:
Estimator is decoupled from Scikit Learn interface by moving into
separate class SKCompat. Arguments x, y and batch_size are only
available in the SKCompat class, Estimator will only accept input_fn.
Example conversion:
  est = Estimator(...) -&gt; est = SKCompat(Estimator(...))
WARNING:tensorflow:From &lt;ipython-input-28-221e14b2595e&gt;:1: calling BaseEstimator.fit (from tensorflow.contrib.learn.python.learn.estimators.estimator) with y is deprecated and will be removed after 2016-12-01.
Instructions for updating:
Estimator is decoupled from Scikit Learn interface by moving into
separate class SKCompat. Arguments x, y and batch_size are only
available in the SKCompat class, Estimator will only accept input_fn.
Example conversion:
  est = Estimator(...) -&gt; est = SKCompat(Estimator(...))
</code></pre></div>
<p dir="auto">or like this:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="WARNING:tensorflow:From /Users/vadimborisov/anaconda/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/estimators/head.py:1362: scalar_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30.
Instructions for updating:
Please switch to tf.summary.scalar. Note that tf.summary.scalar uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on the scope they are created in. Also, passing a tensor or list of tags to a scalar summary op is no longer supported.
INFO:tensorflow:Starting evaluation at 2017-03-29-15:28:31
INFO:tensorflow:Evaluation [1/1]
INFO:tensorflow:Finished evaluation at 2017-03-29-15:28:32
INFO:tensorflow:Saving dict for global step 4000: accuracy = 0.966667, auc = 0.998333, global_step = 4000, loss = 0.0793921
WARNING:tensorflow:Skipping summary for global_step, must be a float or np.float32."><pre class="notranslate"><code class="notranslate">WARNING:tensorflow:From /Users/vadimborisov/anaconda/lib/python3.5/site-packages/tensorflow/contrib/learn/python/learn/estimators/head.py:1362: scalar_summary (from tensorflow.python.ops.logging_ops) is deprecated and will be removed after 2016-11-30.
Instructions for updating:
Please switch to tf.summary.scalar. Note that tf.summary.scalar uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on the scope they are created in. Also, passing a tensor or list of tags to a scalar summary op is no longer supported.
INFO:tensorflow:Starting evaluation at 2017-03-29-15:28:31
INFO:tensorflow:Evaluation [1/1]
INFO:tensorflow:Finished evaluation at 2017-03-29-15:28:32
INFO:tensorflow:Saving dict for global step 4000: accuracy = 0.966667, auc = 0.998333, global_step = 4000, loss = 0.0793921
WARNING:tensorflow:Skipping summary for global_step, must be a float or np.float32.
</code></pre></div>
<p dir="auto">So, I believe, the introduction tutorials should be free from warnings.</p>
<p dir="auto">I can try to fix the warnings, if someone is interesting.</p>
<p dir="auto">I'm using Python 3.5.2 |Anaconda 4.3.1 (x86_64)| (default, Jul  2 2016, 17:52:12) .</p>