Devuan logs - #369, boring messages


Message sent to [email protected], [email protected]:


X-Loop: [email protected]
Subject: bug#369: nvidia-cuda-dev: Missing folder in LIBRARIES environment variable in /etc/nvcc.profile
Reply-To: Eyal Rozenberg <[email protected]>, [email protected]
Resent-From: Eyal Rozenberg <[email protected]>
Resent-To: [email protected]
Resent-CC: [email protected]
X-Loop: [email protected]
Resent-Date: Tue, 14 Jan 2020 13:11:58 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Devuan-PR-Message: report 369
X-Devuan-PR-Package: nvidia-cuda-dev
X-Devuan-PR-Keywords: 
Received: via spool by [email protected] id=B.157900745812959
          (code B); Tue, 14 Jan 2020 13:11:58 +0000
Received: (at submit) by bugs.devuan.org; 14 Jan 2020 13:10:58 +0000
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 14 Jan 2020 13:10:58 +0000 (UTC)
Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 478EFF608FF
	for <[email protected]>; Fri, 27 Dec 2019 10:54:15 +0100 (CET)
Received: from capuchin.riseup.net (capuchin-pn.riseup.net [10.0.1.176])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified))
	by mx1.riseup.net (Postfix) with ESMTPS id 47khxK2lZDzDsN4
	for <[email protected]>; Fri, 27 Dec 2019 01:54:13 -0800 (PST)
X-Riseup-User-ID: 726D9A119B9B803A9D1781B427828D9EAAD2E55716552A89CF3ED918CD164E5C
Received: from [127.0.0.1] (localhost [127.0.0.1])
	 by capuchin.riseup.net (Postfix) with ESMTPSA id 47khxJ5qyFz8tXp
	for <[email protected]>; Fri, 27 Dec 2019 01:54:12 -0800 (PST)
To: Devuan Bug Tracking System <[email protected]>
From: Eyal Rozenberg <[email protected]>
Message-ID: <[email protected]>
Date: Fri, 27 Dec 2019 11:54:18 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=0.2 required=5.0 tests=RCVD_IN_DNSWL_LOW,
	RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_FAIL,SPF_HELO_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: nvidia-cuda-dev
Version: 10.1.105-3+b1
Severity: important

Dear Maintainer,

The NVCC compiler (or rather the nvlink linker) looks for libraries in 
the folder listed in the LIBRARIES environment variable. This 
environment variable is added to from within the nvcc.profile file. In 
Debian/Devuan, that file is located in /etc and contains:

LIBRARIES       =+ $(_SPACE_) -L/usr/lib/x86_64-linux-gnu/stubs

However - that's not the only necessary folder (perhaps not even the 
more important one): nvlink needs to be search /usr/lib/x86_64-linux-gnu 
as well (without the /stubs).

And indeed, if we look at /usr/local/cuda-10.1/bin/nvcc.profile (which 
is also installed for some reason), we find:

LIBRARIES        =+ $(_SPACE_)
"-L$(TOP)/$(_TARGET_DIR_)/lib$(_TARGET_SIZE_)/stubs"
"-L$(TOP)/$(_TARGET_DIR_)/lib$(_TARGET_SIZE_)"

... with both folders.

This is a bug, and it makes nvlink fail to link even simple programs in 
some cases. See, for example:

https://stackoverflow.com/q/59481689/1593077



-- System Information:
Debian Release: 10.0
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_IL, LC_CTYPE=en_IL (charmap=UTF-8), LANGUAGE=en_IL:en
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages nvidia-cuda-dev depends on:
ii  libaccinj64-10.1  10.1.105-3+b1
ii  libcublas10       10.1.105-3+b1
ii  libcublaslt10     10.1.105-3+b1
ii  libcudart10.1     10.1.105-3+b1
ii  libcufft10        10.1.105-3+b1
ii  libcufftw10       10.1.105-3+b1
ii  libcuinj64-10.1   10.1.105-3+b1
ii  libcurand10       10.1.105-3+b1
ii  libcusolver10     10.1.105-3+b1
ii  libcusparse10     10.1.105-3+b1
ii  libnppc10         10.1.105-3+b1
ii  libnppial10       10.1.105-3+b1
ii  libnppicc10       10.1.105-3+b1
ii  libnppicom10      10.1.105-3+b1
ii  libnppidei10      10.1.105-3+b1
ii  libnppif10        10.1.105-3+b1
ii  libnppig10        10.1.105-3+b1
ii  libnppim10        10.1.105-3+b1
ii  libnppist10       10.1.105-3+b1
ii  libnppisu10       10.1.105-3+b1
ii  libnppitc10       10.1.105-3+b1
ii  libnpps10         10.1.105-3+b1
ii  libnvblas10       10.1.105-3+b1
ii  libnvgraph10      10.1.105-3+b1
ii  libnvidia-ml1     430.50-1
ii  libnvjpeg10       10.1.105-3+b1
ii  libnvrtc10.1      10.1.105-3+b1
ii  libnvtoolsext1    10.1.105-3+b1
ii  libnvvm3          10.1.105-3+b1
ii  libthrust-dev     1.9.5-1

Versions of packages nvidia-cuda-dev recommends:
ii  libcuda1 [libcuda-10.1-1]    430.50-1
ii  libgl1-mesa-dev [libgl-dev]  19.1.6-1
ii  libnvcuvid1                  430.50-1
ii  libvdpau-dev                 1.2-1

nvidia-cuda-dev suggests no packages.

Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
Content-Type: text/plain; charset=utf-8
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: Eyal Rozenberg <[email protected]>
Subject: bug#369: Acknowledgement (nvidia-cuda-dev: Missing folder in
 LIBRARIES environment variable in /etc/nvcc.profile)
Message-ID: <[email protected]>
References: <[email protected]>
X-Devuan-PR-Message: ack 369
X-Devuan-PR-Package: nvidia-cuda-dev
Reply-To: [email protected]
Date: Tue, 14 Jan 2020 13:12:01 +0000

Thank you for filing a new bug report with Devuan.

You can follow progress on this bug here: 369: debbugs.devuan.dev//cgi/bugr=
eport.cgi?bug=3D369.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 [email protected]

If you wish to submit further information on this problem, please
send it to [email protected].

Please do not send mail to [email protected] unless you wish
to report a problem with the Bug-tracking system.

--=20
369: debbugs.devuan.dev//cgi/bugreport.cgi?bug=3D369
Devuan Bug Tracking System
Contact [email protected] with problems

Message sent to [email protected], [email protected]:


X-Loop: [email protected]
Subject: bug#369: nvidia-cuda-dev: Missing folder in LIBRARIES environment variable in /etc/nvcc.profile
Reply-To: Mark Hindley <[email protected]>, [email protected]
Resent-From: Mark Hindley <[email protected]>
Resent-To: [email protected]
Resent-CC: [email protected]
X-Loop: [email protected]
Resent-Date: Mon, 03 Feb 2020 14:33:01 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Devuan-PR-Message: followup 369
X-Devuan-PR-Package: nvidia-cuda-dev
X-Devuan-PR-Keywords: 
References: <[email protected]>
Received: via spool by [email protected] id=B369.158073992310181
          (code B ref 369); Mon, 03 Feb 2020 14:33:01 +0000
Received: (at 369) by bugs.devuan.org; 3 Feb 2020 14:25:23 +0000
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Mon, 03 Feb 2020 14:25:23 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 80EFCF60B70
	for <[email protected]>; Mon,  3 Feb 2020 15:15:29 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=apollo)
	by mx.hindley.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1iycVb-0007vb-MR
	for [email protected]; Mon, 03 Feb 2020 14:15:27 +0000
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1iycVa-0002cN-JL
	for [email protected]; Mon, 03 Feb 2020 14:15:26 +0000
Date: Mon, 3 Feb 2020 14:15:26 +0000
From: Mark Hindley <[email protected]>
To: [email protected]
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=0.0 required=5.0 tests=FAKE_REPLY_C,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Control: tags -1 debian

Eyal,

Thanks for this. However nvidia-cuda-dev is not a forked package and 
Devuan uses the file directly from Debian.

You would be better reporting this directly to Debian BTS.

Thanks

Mark

Message received at [email protected]:


Received: (at 369) by bugs.devuan.org; 3 Feb 2020 14:25:23 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Mon, 03 Feb 2020 14:25:23 +0000 (UTC)
Received: from mx.hindley.org.uk (mohindley.plus.com [81.174.245.179])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 80EFCF60B70
	for <[email protected]>; Mon,  3 Feb 2020 15:15:29 +0100 (CET)
Received: from apollo.hindleynet ([192.168.1.3] helo=apollo)
	by mx.hindley.org.uk with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
	(Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1iycVb-0007vb-MR
	for [email protected]; Mon, 03 Feb 2020 14:15:27 +0000
Received: from mark by apollo with local (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1iycVa-0002cN-JL
	for [email protected]; Mon, 03 Feb 2020 14:15:26 +0000
Date: Mon, 3 Feb 2020 14:15:26 +0000
From: Mark Hindley <[email protected]>
To: [email protected]
Subject: Re: nvidia-cuda-dev: Missing folder in LIBRARIES environment
 variable in /etc/nvcc.profile
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
X-Debbugs-No-Ack: No Thanks
User-Agent: Mutt/1.5.23 (2014-03-12)
X-Spam-Status: No, score=0.0 required=5.0 tests=FAKE_REPLY_C,SPF_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Control: tags -1 debian

Eyal,

Thanks for this. However nvidia-cuda-dev is not a forked package and 
Devuan uses the file directly from Debian.

You would be better reporting this directly to Debian BTS.

Thanks

Mark

Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: Mark Hindley <[email protected]>
Subject: bug#369: marked as done (nvidia-cuda-dev: Missing folder in
 LIBRARIES environment variable in /etc/nvcc.profile)
Message-ID: <[email protected]>
References: <Y76xNLqtr/[email protected]>
 <[email protected]>
X-Devuan-PR-Message: closed 369
X-Devuan-PR-Package: nvidia-cuda-dev
X-Devuan-PR-Keywords: debian
Reply-To: [email protected]
Date: Wed, 11 Jan 2023 12:56:01 +0000
Content-Type: multipart/mixed; boundary="----------=_1673441761-5457-0"

This is a multi-part message in MIME format...

------------=_1673441761-5457-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Wed, 11 Jan 2023 12:53:08 +0000
with message-id <Y76xNLqtr/[email protected]>
and subject line Re: bug#369: nvidia-cuda-dev: Missing folder in LIBRARIES =
environment variable in /etc/nvcc.profile
has caused the Devuan bug report #369,
regarding nvidia-cuda-dev: Missing folder in LIBRARIES environment variable=
 in /etc/nvcc.profile
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


--=20
369: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D369
Devuan Bug Tracking System
Contact [email protected] with problems

------------=_1673441761-5457-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.devuan.org; 14 Jan 2020 13:10:58 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 14 Jan 2020 13:10:58 +0000 (UTC)
Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 478EFF608FF
	for <[email protected]>; Fri, 27 Dec 2019 10:54:15 +0100 (CET)
Received: from capuchin.riseup.net (capuchin-pn.riseup.net [10.0.1.176])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified))
	by mx1.riseup.net (Postfix) with ESMTPS id 47khxK2lZDzDsN4
	for <[email protected]>; Fri, 27 Dec 2019 01:54:13 -0800 (PST)
X-Riseup-User-ID: 726D9A119B9B803A9D1781B427828D9EAAD2E55716552A89CF3ED918CD164E5C
Received: from [127.0.0.1] (localhost [127.0.0.1])
	 by capuchin.riseup.net (Postfix) with ESMTPSA id 47khxJ5qyFz8tXp
	for <[email protected]>; Fri, 27 Dec 2019 01:54:12 -0800 (PST)
To: Devuan Bug Tracking System <[email protected]>
From: Eyal Rozenberg <[email protected]>
Subject: nvidia-cuda-dev: Missing folder in LIBRARIES environment variable in
 /etc/nvcc.profile
Message-ID: <[email protected]>
Date: Fri, 27 Dec 2019 11:54:18 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=0.2 required=5.0 tests=RCVD_IN_DNSWL_LOW,
	RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_FAIL,SPF_HELO_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: nvidia-cuda-dev
Version: 10.1.105-3+b1
Severity: important

Dear Maintainer,

The NVCC compiler (or rather the nvlink linker) looks for libraries in 
the folder listed in the LIBRARIES environment variable. This 
environment variable is added to from within the nvcc.profile file. In 
Debian/Devuan, that file is located in /etc and contains:

LIBRARIES       =+ $(_SPACE_) -L/usr/lib/x86_64-linux-gnu/stubs

However - that's not the only necessary folder (perhaps not even the 
more important one): nvlink needs to be search /usr/lib/x86_64-linux-gnu 
as well (without the /stubs).

And indeed, if we look at /usr/local/cuda-10.1/bin/nvcc.profile (which 
is also installed for some reason), we find:

LIBRARIES        =+ $(_SPACE_)
"-L$(TOP)/$(_TARGET_DIR_)/lib$(_TARGET_SIZE_)/stubs"
"-L$(TOP)/$(_TARGET_DIR_)/lib$(_TARGET_SIZE_)"

... with both folders.

This is a bug, and it makes nvlink fail to link even simple programs in 
some cases. See, for example:

https://stackoverflow.com/q/59481689/1593077



-- System Information:
Debian Release: 10.0
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_IL, LC_CTYPE=en_IL (charmap=UTF-8), LANGUAGE=en_IL:en
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages nvidia-cuda-dev depends on:
ii  libaccinj64-10.1  10.1.105-3+b1
ii  libcublas10       10.1.105-3+b1
ii  libcublaslt10     10.1.105-3+b1
ii  libcudart10.1     10.1.105-3+b1
ii  libcufft10        10.1.105-3+b1
ii  libcufftw10       10.1.105-3+b1
ii  libcuinj64-10.1   10.1.105-3+b1
ii  libcurand10       10.1.105-3+b1
ii  libcusolver10     10.1.105-3+b1
ii  libcusparse10     10.1.105-3+b1
ii  libnppc10         10.1.105-3+b1
ii  libnppial10       10.1.105-3+b1
ii  libnppicc10       10.1.105-3+b1
ii  libnppicom10      10.1.105-3+b1
ii  libnppidei10      10.1.105-3+b1
ii  libnppif10        10.1.105-3+b1
ii  libnppig10        10.1.105-3+b1
ii  libnppim10        10.1.105-3+b1
ii  libnppist10       10.1.105-3+b1
ii  libnppisu10       10.1.105-3+b1
ii  libnppitc10       10.1.105-3+b1
ii  libnpps10         10.1.105-3+b1
ii  libnvblas10       10.1.105-3+b1
ii  libnvgraph10      10.1.105-3+b1
ii  libnvidia-ml1     430.50-1
ii  libnvjpeg10       10.1.105-3+b1
ii  libnvrtc10.1      10.1.105-3+b1
ii  libnvtoolsext1    10.1.105-3+b1
ii  libnvvm3          10.1.105-3+b1
ii  libthrust-dev     1.9.5-1

Versions of packages nvidia-cuda-dev recommends:
ii  libcuda1 [libcuda-10.1-1]    430.50-1
ii  libgl1-mesa-dev [libgl-dev]  19.1.6-1
ii  libnvcuvid1                  430.50-1
ii  libvdpau-dev                 1.2-1

nvidia-cuda-dev suggests no packages.

------------=_1673441761-5457-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 369-done) by bugs.devuan.org; 11 Jan 2023 12:54:07 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Wed, 11 Jan 2023 12:54:07 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id 3eySEDaxvmNfeAAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Wed, 11 Jan 2023 12:53:10 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 29245DB6; Wed, 11 Jan 2023 12:53:10 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id AC3A3B11
	for <[email protected]>; Wed, 11 Jan 2023 12:53:09 +0000 (UTC)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1pFabM-00021K-C3; Wed, 11 Jan 2023 12:53:08 +0000
Received: (nullmailer pid 23238 invoked by uid 1000);
	Wed, 11 Jan 2023 12:53:08 -0000
Date: Wed, 11 Jan 2023 12:53:08 +0000
From: Mark Hindley <[email protected]>
To: Eyal Rozenberg <[email protected]>, [email protected]
Subject: Re: bug#369: nvidia-cuda-dev: Missing folder in LIBRARIES
 environment variable in /etc/nvcc.profile
Message-ID: <Y76xNLqtr/[email protected]>
References: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
X-Debbugs-No-Ack: No Thanks

Version: 10.1.168-6

Closing as fixed in Debian.

Mark
------------=_1673441761-5457-0--

Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: Eyal Rozenberg <[email protected]>
Subject: bug#369 closed by Mark Hindley <[email protected]> (Re:
 bug#369: nvidia-cuda-dev: Missing folder in LIBRARIES environment variable
 in /etc/nvcc.profile)
Message-ID: <[email protected]>
References: <Y76xNLqtr/[email protected]>
 <[email protected]>
X-Devuan-PR-Message: they-closed 369
X-Devuan-PR-Package: nvidia-cuda-dev
X-Devuan-PR-Keywords: debian
Reply-To: [email protected]
Date: Wed, 11 Jan 2023 12:56:03 +0000
Content-Type: multipart/mixed; boundary="----------=_1673441763-5457-1"

This is a multi-part message in MIME format...

------------=_1673441763-5457-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

This is an automatic notification regarding your bug report
which was filed against the nvidia-cuda-dev package:

#369: nvidia-cuda-dev: Missing folder in LIBRARIES environment variable in =
/etc/nvcc.profile

It has been closed by Mark Hindley <[email protected]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mark Hindley <mark@hin=
dley.org.uk> by
replying to this email.


--=20
369: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D369
Devuan Bug Tracking System
Contact [email protected] with problems

------------=_1673441763-5457-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 369-done) by bugs.devuan.org; 11 Jan 2023 12:54:07 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Wed, 11 Jan 2023 12:54:07 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id 3eySEDaxvmNfeAAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Wed, 11 Jan 2023 12:53:10 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 29245DB6; Wed, 11 Jan 2023 12:53:10 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id AC3A3B11
	for <[email protected]>; Wed, 11 Jan 2023 12:53:09 +0000 (UTC)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1pFabM-00021K-C3; Wed, 11 Jan 2023 12:53:08 +0000
Received: (nullmailer pid 23238 invoked by uid 1000);
	Wed, 11 Jan 2023 12:53:08 -0000
Date: Wed, 11 Jan 2023 12:53:08 +0000
From: Mark Hindley <[email protected]>
To: Eyal Rozenberg <[email protected]>, [email protected]
Subject: Re: bug#369: nvidia-cuda-dev: Missing folder in LIBRARIES
 environment variable in /etc/nvcc.profile
Message-ID: <Y76xNLqtr/[email protected]>
References: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
X-Debbugs-No-Ack: No Thanks

Version: 10.1.168-6

Closing as fixed in Debian.

Mark
------------=_1673441763-5457-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.devuan.org; 14 Jan 2020 13:10:58 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 14 Jan 2020 13:10:58 +0000 (UTC)
Received: from mx1.riseup.net (mx1.riseup.net [198.252.153.129])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 478EFF608FF
	for <[email protected]>; Fri, 27 Dec 2019 10:54:15 +0100 (CET)
Received: from capuchin.riseup.net (capuchin-pn.riseup.net [10.0.1.176])
	(using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified))
	by mx1.riseup.net (Postfix) with ESMTPS id 47khxK2lZDzDsN4
	for <[email protected]>; Fri, 27 Dec 2019 01:54:13 -0800 (PST)
X-Riseup-User-ID: 726D9A119B9B803A9D1781B427828D9EAAD2E55716552A89CF3ED918CD164E5C
Received: from [127.0.0.1] (localhost [127.0.0.1])
	 by capuchin.riseup.net (Postfix) with ESMTPSA id 47khxJ5qyFz8tXp
	for <[email protected]>; Fri, 27 Dec 2019 01:54:12 -0800 (PST)
To: Devuan Bug Tracking System <[email protected]>
From: Eyal Rozenberg <[email protected]>
Subject: nvidia-cuda-dev: Missing folder in LIBRARIES environment variable in
 /etc/nvcc.profile
Message-ID: <[email protected]>
Date: Fri, 27 Dec 2019 11:54:18 +0200
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=0.2 required=5.0 tests=RCVD_IN_DNSWL_LOW,
	RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_FAIL,SPF_HELO_PASS
	autolearn=disabled version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: nvidia-cuda-dev
Version: 10.1.105-3+b1
Severity: important

Dear Maintainer,

The NVCC compiler (or rather the nvlink linker) looks for libraries in 
the folder listed in the LIBRARIES environment variable. This 
environment variable is added to from within the nvcc.profile file. In 
Debian/Devuan, that file is located in /etc and contains:

LIBRARIES       =+ $(_SPACE_) -L/usr/lib/x86_64-linux-gnu/stubs

However - that's not the only necessary folder (perhaps not even the 
more important one): nvlink needs to be search /usr/lib/x86_64-linux-gnu 
as well (without the /stubs).

And indeed, if we look at /usr/local/cuda-10.1/bin/nvcc.profile (which 
is also installed for some reason), we find:

LIBRARIES        =+ $(_SPACE_)
"-L$(TOP)/$(_TARGET_DIR_)/lib$(_TARGET_SIZE_)/stubs"
"-L$(TOP)/$(_TARGET_DIR_)/lib$(_TARGET_SIZE_)"

... with both folders.

This is a bug, and it makes nvlink fail to link even simple programs in 
some cases. See, for example:

https://stackoverflow.com/q/59481689/1593077



-- System Information:
Debian Release: 10.0
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.2.0-3-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=en_IL, LC_CTYPE=en_IL (charmap=UTF-8), LANGUAGE=en_IL:en
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages nvidia-cuda-dev depends on:
ii  libaccinj64-10.1  10.1.105-3+b1
ii  libcublas10       10.1.105-3+b1
ii  libcublaslt10     10.1.105-3+b1
ii  libcudart10.1     10.1.105-3+b1
ii  libcufft10        10.1.105-3+b1
ii  libcufftw10       10.1.105-3+b1
ii  libcuinj64-10.1   10.1.105-3+b1
ii  libcurand10       10.1.105-3+b1
ii  libcusolver10     10.1.105-3+b1
ii  libcusparse10     10.1.105-3+b1
ii  libnppc10         10.1.105-3+b1
ii  libnppial10       10.1.105-3+b1
ii  libnppicc10       10.1.105-3+b1
ii  libnppicom10      10.1.105-3+b1
ii  libnppidei10      10.1.105-3+b1
ii  libnppif10        10.1.105-3+b1
ii  libnppig10        10.1.105-3+b1
ii  libnppim10        10.1.105-3+b1
ii  libnppist10       10.1.105-3+b1
ii  libnppisu10       10.1.105-3+b1
ii  libnppitc10       10.1.105-3+b1
ii  libnpps10         10.1.105-3+b1
ii  libnvblas10       10.1.105-3+b1
ii  libnvgraph10      10.1.105-3+b1
ii  libnvidia-ml1     430.50-1
ii  libnvjpeg10       10.1.105-3+b1
ii  libnvrtc10.1      10.1.105-3+b1
ii  libnvtoolsext1    10.1.105-3+b1
ii  libnvvm3          10.1.105-3+b1
ii  libthrust-dev     1.9.5-1

Versions of packages nvidia-cuda-dev recommends:
ii  libcuda1 [libcuda-10.1-1]    430.50-1
ii  libgl1-mesa-dev [libgl-dev]  19.1.6-1
ii  libnvcuvid1                  430.50-1
ii  libvdpau-dev                 1.2-1

nvidia-cuda-dev suggests no packages.

------------=_1673441763-5457-1--

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <[email protected]>.
Last modified: Sun, 1 Dec 2024 00:39:02 UTC