Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 860294 - dev-embedded/u-boot-tools-2022.07 depends on dev-lang/swig
Summary: dev-embedded/u-boot-tools-2022.07 depends on dev-lang/swig
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jakov Smolić
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-23 18:05 UTC by Xavier Miller
Modified: 2022-08-29 07:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,14.81 KB, text/x-log)
2022-07-23 18:06 UTC, Xavier Miller
Details
emerge --info (emerge-info.txt,6.37 KB, text/plain)
2022-07-23 18:06 UTC, Xavier Miller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Miller 2022-07-23 18:05:46 UTC
during emerge of dev-embedded/u-boot-tools-2022.07:
                                                                                                                                                                                                                                           
make -f ./scripts/Makefile.build obj=scripts/dtc/pylibfdt                                                                                                                                                                                     
  cat scripts/dtc/pylibfdt/libfdt.i_shipped > scripts/dtc/pylibfdt/libfdt.i                                                                                                                                                                   
  unset CROSS_COMPILE; unset CFLAGS; CC="aarch64-unknown-linux-gnu-gcc" LDSHARED="aarch64-unknown-linux-gnu-gcc -shared " LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--hash-style=gnu -Wl,--as-needed" VERSION="u-boot-2022.07" CPPFLAGS="-O2 -pip
e -march=native -mtune=native   -I/var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.07/scripts/dtc/libfdt" OBJDIR=scripts/dtc/pylibfdt SOURCES="/var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.07/scrip
ts/dtc/libfdt/fdt.c /var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.07/scripts/dtc/libfdt/fdt_ro.c /var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.07/scripts/dtc/libfdt/fdt_wip.c /var/tmp/portage/de
v-embedded/u-boot-tools-2022.07/work/u-boot-2022.07/scripts/dtc/libfdt/fdt_sw.c /var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.07/scripts/dtc/libfdt/fdt_rw.c /var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-b
oot-2022.07/scripts/dtc/libfdt/fdt_strerror.c /var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.07/scripts/dtc/libfdt/fdt_empty_tree.c /var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.07/scripts/dtc/li
bfdt/fdt_addresses.c /var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.07/scripts/dtc/libfdt/fdt_overlay.c scripts/dtc/pylibfdt/libfdt.i" SWIG_OPTS="-I/var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.0
7/scripts/dtc/libfdt -I/var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.07/scripts/dtc/libfdt/.." python3 scripts/dtc/pylibfdt/setup.py --quiet build_ext --inplace                                                        
/usr/lib/python3.10/site-packages/setuptools/dist.py:544: UserWarning: The version specified ('u-boot-2022.07') is an invalid version, this may not work as expected with newer versions of setuptools, pip, and PyPI. Please see PEP 440 for 
more details.                                                                                                                                                                                                                                 
  warnings.warn(                                                                                                                                                                                                                              
error: command 'swig' failed: No such file or directory                                                                                                                                                                                       
make[2]: *** [scripts/dtc/pylibfdt/Makefile:30: rebuild] Error 1                                                                                                                                                                              
make[1]: *** [scripts/Makefile.build:398: scripts/dtc/pylibfdt] Error 2                                                                                                                                                                       
make: *** [Makefile:2066: scripts_dtc] Error 2                                                                                                                                                                                                
 .[31;01m*.[0m ERROR: dev-embedded/u-boot-tools-2022.07::gentoo failed (compile phase):                                                                                                                                                       
 .[31;01m*.[0m   emake failed                                                                                                                                                                                                                 
 .[31;01m*.[0m                                                                                                                                                                                                                                
 .[31;01m*.[0m If you need support, post the output of `emerge --info '=dev-embedded/u-boot-tools-2022.07::gentoo'`,                                                                                                                          
 .[31;01m*.[0m the complete build log and the output of `emerge -pqv '=dev-embedded/u-boot-tools-2022.07::gentoo'`.                                                                                                                           
 .[31;01m*.[0m The complete build log is located at '/var/tmp/portage/dev-embedded/u-boot-tools-2022.07/temp/build.log'.                                                                                                                      
 .[31;01m*.[0m The ebuild environment file is located at '/var/tmp/portage/dev-embedded/u-boot-tools-2022.07/temp/environment'.                                                                                                               
 .[31;01m*.[0m Working directory: '/var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.07'                                                                                                                                    
 .[31;01m*.[0m S: '/var/tmp/portage/dev-embedded/u-boot-tools-2022.07/work/u-boot-2022.07'                                                                                                                                                    


Reproducible: Always
Comment 1 Xavier Miller 2022-07-23 18:06:26 UTC
Created attachment 793526 [details]
build log
Comment 2 Xavier Miller 2022-07-23 18:06:42 UTC
Created attachment 793529 [details]
emerge --info
Comment 3 Xavier Miller 2022-07-23 18:07:11 UTC
compiles file if swig is installed
Comment 4 Agostino Sarubbo gentoo-dev 2022-07-23 18:20:43 UTC
I get the same here
Comment 5 Morton Pellung 2022-08-28 13:53:00 UTC
Upgrade was seemingly now stabilized...

[ebuild     U  ] dev-embedded/u-boot-tools-2022.07::gentoo [2022.04::gentoo] USE="-envtools" 0 KiB

...but yes, fails with this error (on aarch64) :-/
Comment 6 Larry the Git Cow gentoo-dev 2022-08-29 07:41:13 UTC
The bug has been closed via the following commit(s):

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

commit 04be449b9866811c61af44ca66e23ae8bdfb559d
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2022-08-29 07:38:23 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2022-08-29 07:38:23 +0000

    dev-embedded/u-boot-tools: Add dev-lang/swig to BDEPEND
    
    Closes: https://bugs.gentoo.org/860294
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 dev-embedded/u-boot-tools/u-boot-tools-2022.07.ebuild | 1 +
 1 file changed, 1 insertion(+)