Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917504 - sys-fs/dd-rescue arm64 keyword
Summary: sys-fs/dd-rescue arm64 keyword
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Keywording (show other bugs)
Hardware: ARM64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: CC-ARCHES
Depends on:
Blocks:
 
Reported: 2023-11-17 14:25 UTC by Forza
Modified: 2023-11-30 02:19 UTC (History)
1 user (show)

See Also:
Package list:
sys-fs/dd-rescue ~arm64
Runtime testing required: ---
nattka: sanity-check+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Forza 2023-11-17 14:25:45 UTC
sys-fs/dd-rescue-1.13-r1 is missing arm64 keyword. I've tested it on an aarch64 VM. Interestingly, it seems faster than GNU ddrescue on this test machine. The website mentions arm specific optimizations, which is probably the reason.


I did have a warning for missing git, but maybe this is unrelated to the keyword.

...snip
/bin/bash: line 1: git: command not found
aarch64-unknown-linux-gnu-gcc -O2 -pipe -march=armv8-a   -DHAVE_CONFIG_H -I . -DHAVE_AES_ARM64 -fPIE -pie -DVERSION=\"1.99.13\"  -D__COMPILER__="\"aarch64-unknown-linux-gnu-gcc (Gentoo 13.2.1_p20230826 p7) 13.2.1 20230826\"" -DID=\"DD_RESCUE_1_99_13\"  dd_rescue.c -o dd_rescue random.o frandom.o fmt_no.o find_nonzero.o  fstrim.o find_nonzero_arm64.o -Wl,-O1 -Wl,--as-needed -Wl,-rpath,/usr/lib64/dd-rescue -ldl  -rdynamic
In file included from dd_rescue.c:117:
fmt_no.h:2: warning: "_GNU_SOURCE" redefined
    2 | #define _GNU_SOURCE
      |
dd_rescue.c:69: note: this is the location of the previous definition
   69 | # define _GNU_SOURCE 1
      |
In file included from find_nonzero.h:13,
                 from dd_rescue.c:118:
ffs.h:19: warning: "_GNU_SOURCE" redefined
   19 | #define _GNU_SOURCE 1
      |
fmt_no.h:2: note: this is the location of the previous definition
    2 | #define _GNU_SOURCE
      |
In file included from dd_rescue.c:120:
fstrim.h:1: warning: "_GNU_SOURCE" redefined
    1 | #define _GNU_SOURCE
      |
ffs.h:19: note: this is the location of the previous definition
   19 | #define _GNU_SOURCE 1
      |
>>> Source compiled.
>>> Test phase [not enabled]: sys-fs/dd-rescue-1.99.13-r1
>>> Install sys-fs/dd-rescue-1.99.13-r1 into /var/tmp/portage/sys-fs/dd-rescue-1.99.13-r1/image
>>> Completed installing sys-fs/dd-rescue-1.99.13-r1 into /var/tmp/portage/sys-fs/dd-rescue-1.99.13-r1/image
 * Final size of build directory: 2568 KiB (2.5 MiB)
 * Final size of installed tree:   404 KiB
 * QA Notice: command not found:
 *
 *      /bin/bash: line 1: git: command not found
 *      /bin/bash: line 1: git: command not found
 *      /bin/bash: line 1: git: command not found
 *      /bin/bash: line 1: git: command not found
 *      /bin/bash: line 1: git: command not found
 *      /bin/bash: line 1: git: command not found
 *      /bin/bash: line 1: git: command not found
 *      /bin/bash: line 1: git: command not found
 *      /bin/bash: line 1: git: command not found
 *      /bin/bash: line 1: git: command not found
 *      /bin/bash: line 1: git: command not found
strip: aarch64-unknown-linux-gnu-strip --strip-unneeded -N __gentoo_check_ldflags__ -R
.comment -R .GCC.command.line -R .note.gnu.gold-version
   /usr/lib64/dd-rescue/libddr_crypt.so
   /usr/lib64/dd-rescue/libddr_hash.so
   /usr/bin/dd_rescue
   /usr/lib64/dd-rescue/libddr_null.so
>>> Installing (1 of 1) sys-fs/dd-rescue-1.99.13-r1::gentoo


# emerge --info dd-rescue
Portage 3.0.51 (python 3.11.6-final-0, default/linux/arm64/17.0, gcc-13, glibc-2.37-r7, 6.1.60-gentoo-dist aarch64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-6.1.60-gentoo-dist-aarch64-with-glibc2.37
KiB Mem:     4008788 total,   2153976 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Wed, 15 Nov 2023 20:45:02 +0000
Head commit of repository gentoo: 792001c355d0c8f666c1488c72ca7ca709ac60a2
sh bash 5.1_p16-r6
ld GNU ld (Gentoo 2.40 p5) 2.40.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.1_p16-r6::gentoo
dev-lang/perl:             5.38.0-r1::gentoo
dev-lang/python:           3.11.6::gentoo, 3.12.0::gentoo
dev-util/meson:            1.2.1-r1::gentoo
sys-apps/baselayout:       2.14::gentoo
sys-apps/openrc:           0.48::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/autoconf:        2.71-r6::gentoo
sys-devel/automake:        1.16.5-r1::gentoo
sys-devel/binutils:        2.40-r5::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/gcc:             13.2.1_p20230826::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/libtool:         2.4.7-r1::gentoo
sys-devel/make:            4.4.1-r1::gentoo
sys-kernel/linux-headers:  6.1::gentoo (virtual/os-headers)
sys-libs/glibc:            2.37-r7::gentoo
Repositories:
gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://mirrors.tnonline.net/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 5
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: yes
Binary Repositories:
gentoobinhost
    priority: 1
    sync-uri: https://mirrors.tnonline.net/gentoo/gentoo-distfiles/releases/arm64/binpackages/17.0/arm64
ACCEPT_KEYWORDS="arm64"
ACCEPT_LICENSE="* @FREE @BINARY-REDISTRIBUTABLE"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-O2 -pipe -march=armv8-a"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=armv8-a"
DISTDIR="/var/cache/distfiles"
EMERGE_DEFAULT_OPTS=" --getbinpkg"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe -march=armv8-a"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe -march=armv8-a"
GENTOO_MIRRORS="https://mirrors.tnonline.net/gentoo/gentoo-distfiles/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
MAKEOPTS="-j4 -l6"
PKGDIR="/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="acl arm64 bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl test-rust unicode xattr zlib" ADA_TARGET="gnat_2021" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp v8 vfp vfp-d32 vfpv3 vfpv4" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres15" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11" RUBY_TARGETS="ruby31" VIDEO_CARDS="fbdev dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
=================================================================
                        Package Settings
=================================================================
sys-fs/dd-rescue-1.99.13-r1::gentoo was built with the following:
USE="xattr -lzo -static"
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-17 14:28:46 UTC
Yeah, those warnings look a bit weird. Would you mind filing another bug for that?
Comment 2 Forza 2023-11-17 16:32:10 UTC
(In reply to Sam James from comment #1)
> Yeah, those warnings look a bit weird. Would you mind filing another bug for
> that?

https://bugs.gentoo.org/917511
Comment 3 matoro archtester 2023-11-30 02:19:37 UTC
arm64 done

all arches done