Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 883439

Summary: dev-lisp/asdf-3.3.5 fails to compile (CLANG-STRICTER-SYSTEM): FileNotFoundError: [Errno 2] No such file or directory: asdf
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Common Lisp Bugs <common-lisp>
Status: RESOLVED FIXED    
Severity: normal CC: leonchik1976
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=911280
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
fix install w/ USE=doc
USE=doc fix install revised to work with <sys-apps/texinfo-7

Description Agostino Sarubbo gentoo-dev 2022-11-28 16:00:03 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lisp/asdf-3.3.5 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-11-28 16:00:05 UTC
Created attachment 838003 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-12-19 15:35:56 UTC
*** Bug 885415 has been marked as a duplicate of this bug. ***
Comment 3 alfr0451 2023-07-27 04:13:04 UTC
Created attachment 866343 [details, diff]
fix install w/ USE=doc

sys-apps/texinfo-7 might have changed output names.
Comment 4 Leonid Kopylov 2023-07-27 05:47:45 UTC
(In reply to alfr0451 from comment #3)
> Created attachment 866343 [details, diff] [details, diff]
> fix install w/ USE=doc
> 
> sys-apps/texinfo-7 might have changed output names.

can confirm patch works for me
Comment 5 alfr0451 2023-07-27 06:00:17 UTC
Created attachment 866346 [details, diff]
USE=doc fix install revised to work with <sys-apps/texinfo-7
Comment 6 Larry the Git Cow gentoo-dev 2023-07-27 06:01:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0792f716e96caf2e6668fd7d95a01fe9e5213196

commit 0792f716e96caf2e6668fd7d95a01fe9e5213196
Author:     alfr <alfr0451@protonmail.com>
AuthorDate: 2023-07-27 05:47:47 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-27 06:00:54 +0000

    dev-lisp/asdf: fix install for USE=doc
    
    Further, the documentation is always built from the texinfo.
    
    Closes: https://bugs.gentoo.org/883439
    Signed-off-by: alfr <alfr0451@protonmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-lisp/asdf/asdf-3.3.5.ebuild | 19 +++++++++----------
 1 file changed, 9 insertions(+), 10 deletions(-)
Comment 7 Ulrich Müller gentoo-dev 2023-07-27 07:36:50 UTC
I believe that the previous dependency on virtual/texi2dvi was correct; it is needed for texi2pdf.
Comment 8 Larry the Git Cow gentoo-dev 2023-07-27 07:37:06 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7c7e30c410940a06bfdcbed35bf65c9c0239b72

commit e7c7e30c410940a06bfdcbed35bf65c9c0239b72
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2023-07-27 07:11:40 +0000
Commit:     Ulrich Müller <ulm@gentoo.org>
CommitDate: 2023-07-27 07:36:44 +0000

    dev-lisp/asdf: Revert texinfo dependency and other small fixes
    
    - virtual/texi2dvi was correct; it is needed for texi2pdf.
    - Use constant install location for the HTML documentation.
    - Drop old blockers, these packages have been removed in 2012.
    - Move test dependency to BDEPEND.
    - Update HOMEPAGE and SRC_URI.
    
    Bug: https://bugs.gentoo.org/883439
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>

 .../asdf/{asdf-3.3.5.ebuild => asdf-3.3.5-r1.ebuild}     | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)