Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on ARM
  • Search

libbloom - failed to compile

Gentoo on all things ARM. Both 32 bit and 64 bit.
Tell about your hardware and CHOST.
Problems with crossdev targeting ARM hardware go here too.
Post Reply
  • Print view
Advanced search
4 posts • Page 1 of 1
Author
Message
orion777
Apprentice
Apprentice
Posts: 207
Joined: Wed Mar 15, 2017 11:05 am
Location: Riga, Latvia

libbloom - failed to compile

  • Quote

Post by orion777 » Sat Sep 29, 2018 6:42 am

Raspberry PI, gentoo 64, Sakaki's image viewtopic-t-1058530-start-375.html . The libbloom has only single version, so I can't try to compile another versions.
The libbloom is required by shadowsocks.

Code: Select all

pi64 ~ # emerge --info '=net-libs/libbloom-1.5::gentoo'
Portage 2.3.49 (python 3.6.6-final-0, default/linux/arm64/17.0/desktop, gcc-8.2.0, glibc-2.27-r6, 4.14.71-v8-4f30a5365296-bis+ aarch64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.14.71-v8-4f30a5365296-bis+-aarch64-with-gentoo-2.6
KiB Mem:      991824 total,    365916 free
KiB Swap:     908284 total,    907260 free
Head commit of repository gentoo: 8dac6041d8685f7bba21e9f5815b3659d66c8547
Head commit of repository sakaki-tools: 4d6529b5a3bdee9cf1652a1834fee3b3680ba834

Head commit of repository rpi3: 8dd98c4c6177697e9b36ff9bf91eac83a362ff16

sh bash 4.4_p23
ld GNU ld (Gentoo 2.31.1 p2) 2.31.1
distcc 3.2rc1 aarch64-unknown-linux-gnu [disabled]
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.5.5-r1::gentoo, 3.6.6::gentoo
dev-util/cmake:           3.12.2::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.38.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1::gentoo
sys-devel/gcc:            8.2.0-r2::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.17::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://isshoni.org/gentoo-portage-pi64-gem
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts:

sakaki-tools
    location: /usr/local/portage/sakaki-tools
    sync-type: git
    sync-uri: https://github.com/sakaki-/sakaki-tools.git
    masters: gentoo
    priority: 50

rpi3
    location: /usr/local/portage/rpi3
    sync-type: git
    sync-uri: https://github.com/sakaki-/rpi3-overlay.git
    masters: gentoo
    priority: 100

ACCEPT_KEYWORDS="arm64 ~arm64"
ACCEPT_LICENSE="@FREE CC-Sampling-Plus-1.0"
CBUILD="aarch64-unknown-linux-gnu"
CFLAGS="-march=armv8-a+crc -mtune=cortex-a53 -O2 -pipe"
CHOST="aarch64-unknown-linux-gnu"
CONFIG_PROTECT="/boot/cmdline.txt /boot/config.txt /etc /usr/lib64/libreoffice/program/sofficerc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=armv8-a+crc -mtune=cortex-a53 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=2 --load-average=1"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://trumpetti.atm.tut.fi/gentoo/"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2 -l1"
PKGDIR="/usr/portage/packages"
PORTAGE_BINHOST="https://isshoni.org/pi64pie"
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"
USE="X a52 aac acl acpi alsa arm64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus dri dts dvdr egl emboss encode exif fam ffmpeg flac fortran gdbm gif glamor gles1 gles2 gpm gtk iconv ipv6 jpeg lcms ldap libnotify libtirpc lock mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt4 qt5 readline seccomp spell ssl startup-notification svg tcpd thunar tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zlib" 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 plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_ARM="edsp neon thumb thumb2 v4 v5 v6 v7 v8 vfp vfp-d32 vfpv3 vfpv4" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_5 python3_6" QEMU_SOFTMMU_TARGETS="aarch64 arm i386 x86_64" QEMU_USER_TARGETS="aarch64" RUBY_TARGETS="ruby21 ruby23" USERLAND="GNU" VIDEO_CARDS="fbdev vc4" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

pi64 ~ # emerge -pqv '=net-libs/libbloom-1.5::gentoo'

Local copy of remote index is up-to-date and will be used.
[ebuild  N    ] net-libs/libbloom-1.5

 * IMPORTANT: 1 news items need reading for repository 'rpi3'.
 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.

pi64 ~ # emerge -av =net-libs/libbloom-1.5

Local copy of remote index is up-to-date and will be used.

 * IMPORTANT: 1 news items need reading for repository 'rpi3'.
 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    *] net-libs/libbloom-1.5::gentoo  0 KiB

Total: 1 package (1 new), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) net-libs/libbloom-1.5::gentoo
>>> Failed to emerge net-libs/libbloom-1.5, Log file:
>>>  '/var/tmp/portage/net-libs/libbloom-1.5/temp/build.log'
>>> Jobs: 0 of 1 complete, 1 failed                 Load avg: 0.74, 0.32, 0.30
 * Package:    net-libs/libbloom-1.5
 * Repository: gentoo
 * Maintainer: dlan@gentoo.org
 * USE:        arm64 elibc_glibc kernel_linux userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking libbloom-1.5.tar.gz to /var/tmp/portage/net-libs/libbloom-1.5/work
>>> Source unpacked in /var/tmp/portage/net-libs/libbloom-1.5/work
>>> Preparing source in /var/tmp/portage/net-libs/libbloom-1.5/work/libbloom-1.5 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-libs/libbloom-1.5/work/libbloom-1.5 ...
>>> Source configured.
>>> Compiling source in /var/tmp/portage/net-libs/libbloom-1.5/work/libbloom-1.5 ...
make -j2 -l1
mkdir -p /var/tmp/portage/net-libs/libbloom-1.5/work/libbloom-1.5/build
mkdir -p /var/tmp/portage/net-libs/libbloom-1.5/work/libbloom-1.5/build
cc -march=armv8-a+crc -mtune=cortex-a53 -O2 -pipe  -Wall -O3 -m64 -std=c99 -fPIC -DBLOOM_VERSION=1.5 -I/var/tmp/portage/net-libs/libbloom-1.5/work/libbloom-1.5 -I/var/tmp/portage/net-libs/libbloom-1.5/work/libbloom-1.5/murmur2 -c murmur2/MurmurHash2.c -o /var/tmp/portage/net-libs/libbloom-1.5/work/libbloom-1.5/build/murmurhash2.o
cc -march=armv8-a+crc -mtune=cortex-a53 -O2 -pipe  -Wall -O3 -m64 -std=c99 -fPIC -DBLOOM_VERSION=1.5 -I/var/tmp/portage/net-libs/libbloom-1.5/work/libbloom-1.5 -I/var/tmp/portage/net-libs/libbloom-1.5/work/libbloom-1.5/murmur2 -c bloom.c -o /var/tmp/portage/net-libs/libbloom-1.5/work/libbloom-1.5/build/bloom.o
cc: error: unrecognized command line option ‘-m64’
cc: error: unrecognized command line option ‘-m64’
make: *** [Makefile:117: /var/tmp/portage/net-libs/libbloom-1.5/work/libbloom-1.5/build/murmurhash2.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:113: /var/tmp/portage/net-libs/libbloom-1.5/work/libbloom-1.5/build/bloom.o] Error 1
 * ERROR: net-libs/libbloom-1.5::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-libs/libbloom-1.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/libbloom-1.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/libbloom-1.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/libbloom-1.5/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/libbloom-1.5/work/libbloom-1.5'
 * S: '/var/tmp/portage/net-libs/libbloom-1.5/work/libbloom-1.5'

 * Messages for package net-libs/libbloom-1.5:

 * ERROR: net-libs/libbloom-1.5::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-libs/libbloom-1.5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-libs/libbloom-1.5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-libs/libbloom-1.5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-libs/libbloom-1.5/temp/environment'.
 * Working directory: '/var/tmp/portage/net-libs/libbloom-1.5/work/libbloom-1.5'
 * S: '/var/tmp/portage/net-libs/libbloom-1.5/work/libbloom-1.5'
pi64 ~ #
Top
fedeliallalinea
Administrator
Administrator
User avatar
Posts: 31985
Joined: Sat Mar 08, 2003 11:15 pm
Location: here
Contact:
Contact fedeliallalinea
Website

  • Quote

Post by fedeliallalinea » Sat Sep 29, 2018 6:43 am

See bug https://bugs.gentoo.org/658466
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Top
NeddySeagoon
Administrator
Administrator
User avatar
Posts: 56094
Joined: Sat Jul 05, 2003 9:37 am
Location: 56N 3W

  • Quote

Post by NeddySeagoon » Sat Sep 29, 2018 4:25 pm

orion777,

I can confirm that the ebuild in that bug builds.
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Top
orion777
Apprentice
Apprentice
Posts: 207
Joined: Wed Mar 15, 2017 11:05 am
Location: Riga, Latvia

  • Quote

Post by orion777 » Sun Sep 30, 2018 7:37 am

So, I was making changes in the /usr/portage/net-libs/libbloom/libbloom-1.5.ebuild according to the specified ebuild in the bug report and then repoman-manifest.
Now the libbloom 1.5 can be installed.
Thank you!
Top
Post Reply
  • Print view

4 posts • Page 1 of 1

Return to “Gentoo on ARM”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic