GNU bug report logs - #75474
Tensorflow 1.9 build failure

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Andy Tai <atai@HIDDEN>; dated Fri, 10 Jan 2025 07:43:02 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Jan 2025 07:43:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Jan 10 02:42:59 2025
Received: from localhost ([127.0.0.1]:56265 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tW9fX-00029Q-Ca
	for submit <at> debbugs.gnu.org; Fri, 10 Jan 2025 02:42:59 -0500
Received: from lists.gnu.org ([2001:470:142::17]:51234)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <lichengtai@HIDDEN>)
 id 1tW9fU-000299-1K
 for submit <at> debbugs.gnu.org; Fri, 10 Jan 2025 02:42:57 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <lichengtai@HIDDEN>)
 id 1tW9fK-0001EI-AO
 for bug-guix@HIDDEN; Fri, 10 Jan 2025 02:42:48 -0500
Received: from mail-vs1-xe31.google.com ([2607:f8b0:4864:20::e31])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <lichengtai@HIDDEN>)
 id 1tW9fH-0003Y1-KO
 for bug-guix@HIDDEN; Fri, 10 Jan 2025 02:42:46 -0500
Received: by mail-vs1-xe31.google.com with SMTP id
 ada2fe7eead31-4aff31b77e8so749839137.1
 for <bug-guix@HIDDEN>; Thu, 09 Jan 2025 23:42:42 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail-com.20230601.gappssmtp.com; s=20230601; t=1736494961; x=1737099761;
 darn=gnu.org; 
 h=to:subject:message-id:date:from:mime-version:from:to:cc:subject
 :date:message-id:reply-to;
 bh=XITCnxvrrH98O2QlDqpl7wkB9MN8+Qci6pqrYZSvpTQ=;
 b=Sde8qUOy9veDK+Cjmf6fgh+9Ssvnp+j2fHp3BQ/SgBcayZUbnFDtN81ycAXR4wY9cC
 ocNIGy/KGvWswzmUckyF9252JAFq8kvhK7C8xXr7tSQsRJ/889+yG4P3OKUq9DB9lTWZ
 TG9Toi/v9cqIV/M4UR1c14NC40o/vrf1unylSDadVPylI9duzbgD14s0YX8pW3Y7tKq8
 gJLqHLHVxfikA4jDJbyNCeDnyJyO0SrOrNXm1pFPmvYXlIxDuIT0LCrcfKrlmYQxfi+Q
 IZOMYFnmUy4FSsvmv5UDw2IT2jqHY0V3gVcBwc4tDr0IFWGwA9WMpOYn2Fx5p1gDtK+u
 eWxA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1736494961; x=1737099761;
 h=to:subject:message-id:date:from:mime-version:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=XITCnxvrrH98O2QlDqpl7wkB9MN8+Qci6pqrYZSvpTQ=;
 b=BrqzWY6WtIAlTfDiG5G+zk6aewWu9/YNWz3gOr5UdzbENiXH7JQDY5l1vjm2Sd4RwA
 GfD82/3GdY0f1CbtXNlkdMuqd8KFk4OqheQjKKJs0qa0w6YyB7rA0G1/K7f4FHNOrYdd
 q77VRfmBl0W+tO9z5OiNxdRRoZVApQWYC33VCZm803gC1PHv2cos6jET1ST5oVw4K+X+
 SLiGxsPjb0xVum5YbTQtJeH0yaFijUgCcDIGZqYpZ8mHvNzGye9qf+kI1zDFaAgk2Av1
 /Fo3gccHlvoV1OAzEjVmnwP17YIINY1kYVigjRoCbz5luLkq/0RItFkrV8dxasbieuTH
 Rtfw==
X-Gm-Message-State: AOJu0YxB4XIeVaSEHsYxKmkq063//gotWhHNBhXDCADZ40Vg2tHXRY/f
 WolBmnZDvqPU6szWWDQHKMs6wY84APT6Fja+NBA15q6Jw/VwFYGexOw/j3GQkqT/Mm+PvVHOrX6
 +05Q1bY95BISQlacjkm9McCD0CoTXcObq
X-Gm-Gg: ASbGncu1eFD+xiEJXdp5OQri0/o1pQMEMJz+wngqJslaBsu6/9sVSNWosla4vqp3vvP
 xvF7pwO8CPtDgTNX9TygLbG0r3hNk/JJmgDKR
X-Google-Smtp-Source: AGHT+IHo9rF/o4Iin1qsngZr9QdKVFHDqc4VLP/13U7HUVz3DD9Qs3ATrlxafcK3TEz6xFz5FDbgJCAnewC0CCHoahQ=
X-Received: by 2002:a05:6102:4b11:b0:4af:f740:c1b8 with SMTP id
 ada2fe7eead31-4b3d0ff7493mr10205319137.24.1736494961465; Thu, 09 Jan 2025
 23:42:41 -0800 (PST)
MIME-Version: 1.0
From: Andy Tai <atai@HIDDEN>
Date: Thu, 9 Jan 2025 23:42:05 -0800
X-Gm-Features: AbW1kvbDogQGs1p01mbu5UmGEAgRlORV28FsdQENpwAhLKhETMEtWjIVwz6NDcA
Message-ID: <CAJsg1E-UkOzJY3jKRTW3Gck73m4kk+3DGfVEaVRT30tWFg56Xg@HIDDEN>
Subject: Tensorflow 1.9 build failure
To: guix-bug <bug-guix@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: pass client-ip=2607:f8b0:4864:20::e31;
 envelope-from=lichengtai@HIDDEN; helo=mail-vs1-xe31.google.com
X-Spam_score_int: -15
X-Spam_score: -1.6
X-Spam_bar: -
X-Spam_report: (-1.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.001, FREEMAIL_FROM=0.001,
 HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_NONE=-0.0001,
 SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.2 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  With the current GNU Guix,
 Tensorflow 1.9 build failure: --beginning of log fragment--
 /tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/ops.py:65:
 SyntaxWarning: "is not" with a literal. Did you me [...] 
 Content analysis details:   (1.2 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 1.0 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (lichengtai[at]gmail.com)
 0.2 HEADER_FROM_DIFFERENT_DOMAINS From and EnvelopeFrom 2nd level
 mail domains are different
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
 0.0 FREEMAIL_FORGED_FROMDOMAIN 2nd level domains in From and
 EnvelopeFrom freemail headers are different
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 0.2 (/)

With the current GNU Guix, Tensorflow 1.9 build failure:

--beginning of log fragment--
/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/ops.py:65:
SyntaxWarning: "is not" with a literal. Did you mean "!="?
  _USE_C_SHAPES = os.getenv("TF_C_API_GRAPH_CONSTRUCTION_SHAPES", "0")
is not "0"
/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/dtypes.py:523:
FutureWarning: Passing (type, 1) or '1type' as a synonym of type is
deprecated; in a future version of numpy, it will be understood as
(type, (1,)) / '(1,)type'.
  _np_qint8 = np.dtype([("qint8", np.int8, 1)])
/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/dtypes.py:524:
FutureWarning: Passing (type, 1) or '1type' as a synonym of type is
deprecated; in a future version of numpy, it will be understood as
(type, (1,)) / '(1,)type'.
  _np_quint8 = np.dtype([("quint8", np.uint8, 1)])
/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/dtypes.py:525:
FutureWarning: Passing (type, 1) or '1type' as a synonym of type is
deprecated; in a future version of numpy, it will be understood as
(type, (1,)) / '(1,)type'.
  _np_qint16 = np.dtype([("qint16", np.int16, 1)])
/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/dtypes.py:526:
FutureWarning: Passing (type, 1) or '1type' as a synonym of type is
deprecated; in a future version of numpy, it will be understood as
(type, (1,)) / '(1,)type'.
  _np_quint16 = np.dtype([("quint16", np.uint16, 1)])
/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/dtypes.py:527:
FutureWarning: Passing (type, 1) or '1type' as a synonym of type is
deprecated; in a future version of numpy, it will be understood as
(type, (1,)) / '(1,)type'.
  _np_qint32 = np.dtype([("qint32", np.int32, 1)])
/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/dtypes.py:532:
FutureWarning: Passing (type, 1) or '1type' as a synonym of type is
deprecated; in a future version of numpy, it will be understood as
(type, (1,)) / '(1,)type'.
  np_resource = np.dtype([("resource", np.ubyte, 1)])
/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/dtypes.py:549:
FutureWarning: In the future `np.object` will be defined as the
corresponding NumPy scalar.
  (np.object, string),
Traceback (most recent call last):
  File "/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/tools/api/generator/create_python_api.py",
line 27, in <module>
    from tensorflow.python.util import tf_decorator
  File "/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/__init__.py",
line 63, in <module>
    from tensorflow.python.framework.framework_lib import *  # pylint:
disable=redefined-builtin
  File "/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/framework_lib.py",
line 25, in <module>
    from tensorflow.python.framework.ops import Graph
  File "/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/ops.py",
line 47, in <module>
    from tensorflow.python.framework import dtypes
  File "/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build/tf_python/tensorflow/python/framework/dtypes.py",
line 549, in <module>
    (np.object, string),
  File "/gnu/store/bjzcmv1w0bb1b8a0dd9gl4dj71634d8h-python-numpy-1.24.4/lib/python3.10/site-packages/numpy/__init__.py",
line 305, in __getattr__
    raise AttributeError(__former_attrs__[attr])
AttributeError: module 'numpy' has no attribute 'object'.
`np.object` was a deprecated alias for the builtin `object`. To avoid
this error in existing code, use `object` by itself. Doing this will
not modify any behavior and is safe.
The aliases was originally deprecated in NumPy 1.20; for more details
and guidance see the original release note at:
    https://numpy.org/devdocs/release/1.20.0-notes.html#deprecations.
Did you mean: 'object_'?
make[3]: *** [CMakeFiles/tf_python_api.dir/build.make:75:
tf_python/tensorflow/__init__.py] Error 1
make[3]: Leaving directory
'/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build'
make[2]: *** [CMakeFiles/Makefile2:7591:
CMakeFiles/tf_python_api.dir/all] Error 2
make[2]: Leaving directory
'/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build'
make[1]: *** [CMakeFiles/Makefile2:7629:
CMakeFiles/tf_python_build_pip_package.dir/rule] Error 2
make[1]: Leaving directory
'/tmp/guix-build-tensorflow-1.9.0.drv-0/source/tensorflow/contrib/build'
make: *** [Makefile:3331: tf_python_build_pip_package] Error 2
error: in phase 'build-pip-package': uncaught exception:
%exception #<&invoke-error program: "make" arguments: ("-j" "16"
"tf_python_build_pip_package") exit-status: 2 term-signal: #f
stop-signal: #f>
phase `build-pip-package' failed after 242.9 seconds
command "make" "-j" "16" "tf_python_build_pip_package" failed with status 2
build process 18 exited with status 256
---end of log fragment--

because the failure seems python related, hope someone familiar with
Python can take a look.  Thanks




Acknowledgement sent to Andy Tai <atai@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#75474; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.