Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 829847 - app-editors/nano-6.0: fails to build on macOS Prefix
Summary: app-editors/nano-6.0: fails to build on macOS Prefix
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Lars Wendler (Polynomial-C) (RETIRED)
URL: https://savannah.gnu.org/bugs/index.p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-23 06:58 UTC by Sam James
Modified: 2022-01-16 12:20 UTC (History)
1 user (show)

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


Attachments
build.log (file_829847.txt,91.02 KB, text/plain)
2021-12-23 06:58 UTC, Sam James
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-23 06:58:12 UTC
Created attachment 760135 [details]
build.log

x86_64-apple-darwin20-gcc -DHAVE_CONFIG_H -I. -I..   -D_DARWIN_C_SOURCE -I/Users/sam/Gentoo/usr/include/ncursesw  -I/Users/sam/Gentoo/usr/include  -march=native -O2 -pipe -Wall -c -o localcharset.o localcharset.c
In file included from gettime.c:22:
timespec.h:52:1: warning: -Wattributes[m[K][]]
   52 | _GL_TIMESPEC_INLINE struct timespec
      | ^~~~~~~~~~~~~~~~~~~
timespec.h:52:21: error: expected identifier or ‘(’ before ‘struct’
   52 | _GL_TIMESPEC_INLINE struct timespec
      |                     ^~~~~~
timespec.h:63:1: warning: -Wattributes[m[K][]]
   63 | _GL_TIMESPEC_INLINE int _GL_ATTRIBUTE_PURE
      | ^~~~~~~~~~~~~~~~~~~
timespec.h:63:21: error: expected identifier or ‘(’ before ‘int’
   63 | _GL_TIMESPEC_INLINE int _GL_ATTRIBUTE_PURE
      |                     ^~~
timespec.h:71:1: warning: -Wattributes[m[K][]]
   71 | _GL_TIMESPEC_INLINE int _GL_ATTRIBUTE_PURE
      | ^~~~~~~~~~~~~~~~~~~
timespec.h:71:21: error: expected identifier or ‘(’ before ‘int’
   71 | _GL_TIMESPEC_INLINE int _GL_ATTRIBUTE_PURE
      |                     ^~~
timespec.h:85:1: warning: -Wattributes[m[K][]]
   85 | _GL_TIMESPEC_INLINE double
      | ^~~~~~~~~~~~~~~~~~~
timespec.h:85:21: error: expected identifier or ‘(’ before ‘double’
   85 | _GL_TIMESPEC_INLINE double
      |                     ^~~~~~
make[4]: *** [Makefile:2217: gettime.o] Error 1
make[4]: *** Waiting for unfinished jobs....

----
Portage 3.0.21-prefix (python 3.9.6-final-0, prefix/darwin/macos/11.0/x64/gcc, gcc-11.2.0, unavailable, 21.2.0 x86_64)
=================================================================
System uname: macOS-12.1-x86_64-i386-64bit
Timestamp of repository gentoo_prefix: Thu, 23 Dec 2021 05:58:37 +0000
Head commit of repository gentoo_prefix: fc38e3f625d2aee08a90e2eb19a80ccadf945094
sh dash 0.5.11.5
ld xtools-2.2.4 ld (Gentoo binutils-apple-8.2.1-r101)
app-misc/pax-utils:        1.3.3::gentoo_prefix
app-shells/bash:           5.1_p12::gentoo_prefix
dev-lang/perl:             5.34.0-r6::gentoo_prefix
dev-lang/python:           3.8.8_p1::x-prefix, 3.9.6_p1::x-prefix
dev-util/cmake:            3.21.4::gentoo_prefix
dev-util/meson:            0.60.2-r1::gentoo_prefix
sys-devel/autoconf:        2.71-r1::gentoo_prefix
sys-devel/automake:        1.16.5::gentoo_prefix
sys-devel/binutils-config: 5.1-r4::x-prefix
sys-devel/gcc:             10.3.0-r2::x-prefix, 11.2.0::gentoo_prefix-dev
sys-devel/gcc-config:      1.9.1::x-prefix
sys-devel/libtool:         2.4.6-r6::gentoo_prefix
sys-devel/llvm:            13.0.0::gentoo_prefix
sys-devel/make:            4.3::gentoo_prefix
Repositories:

gentoo_prefix-dev
    location: /Users/sam/Documents/git/prefix
    masters: gentoo_prefix
    priority: -9998
    eclass-overrides: gentoo_prefix

gentoo_prefix
    location: /Users/sam/Gentoo/var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.prefix.bitzolder.nl/gentoo-portage-prefix
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: no
    sync-rsync-extra-opts:
    sync-rsync-verify-jobs: 1

ACCEPT_KEYWORDS="~x64-macos"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-apple-darwin20"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-apple-darwin20"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo"
CONFIG_SHELL="/Users/sam/Gentoo/bin/bash"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/Users/sam/Gentoo/var/cache/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --with-bdeps=y --complete-graph --deep"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY 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"
FCFLAGS=""
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance case-insensitive-fs config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix ipc-sandbox merge-sync multilib-strict network-sandbox news nostrip parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sfperms strict unknown-features-warn unmerge-logs unmerge-orphans unprivileged"
FFLAGS=""
GENTOO_MIRRORS="https://mirror.bytemark.co.uk/gentoo/ https://mirrors.gethosted.online/gentoo https://www.mirrorservice.org/sites/distfiles.gentoo.org/"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-dead_strip_dylibs"
MAKEOPTS="-j8"
PKGDIR="/Users/sam/Gentoo/var/cache/binpkgs"
PORTAGE_CONFIGROOT="/Users/sam/Gentoo/"
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="/Users/sam/Gentoo/var/tmp"
SHELL="/Users/sam/Gentoo/bin/zsh"
USE="aqua coreaudio freetype ipv6 libglvnd ncurses nls objc objc++ prefix prefix-guest readline ssl unicode x64-macos zlib" ABI_X86="64" ADA_TARGET="gnat_2020" 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_X86="mmx mmxext sse sse2" ELIBC="Darwin" 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" INPUT_DEVICES="libinput" KERNEL="Darwin" 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="php7-3 php7-4" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9 python3_8" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" 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, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LEX, 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
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-12-23 06:58:39 UTC
gnulib breakage. Obviously don't expect maintainer to worry about darwin breakage like this, but filing for posterity/mask reference.
Comment 2 Larry the Git Cow gentoo-dev 2021-12-23 07:03:18 UTC
The bug has been referenced in the following commit(s):

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

commit 50b86fd40d32ddff11c8ff7c911692a7370ec308
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-23 07:00:04 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-23 07:00:04 +0000

    profiles/prefix/darwin/macos: mask nano-6.0 which fails to build
    
    Bug: https://bugs.gentoo.org/829847
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/prefix/darwin/macos/package.mask | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2021-12-23 07:11:59 UTC
The bug has been referenced in the following commit(s):

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

commit 939fe2c69d0794a2411359c116db284917baa3dd
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-12-23 07:11:39 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-12-23 07:11:49 +0000

    profiles/prefix/darwin/macos: revise nano mask
    
    5.9 fails too
    
    Bug: https://bugs.gentoo.org/829847
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/prefix/darwin/macos/package.mask | 1 +
 1 file changed, 1 insertion(+)
Comment 4 Larry the Git Cow gentoo-dev 2022-01-09 22:12:50 UTC
The bug has been referenced in the following commit(s):

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

commit db4aadc0d49bf35bc6a793e7c25fb8653b34aa9e
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-01-09 22:12:09 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-09 22:12:43 +0000

    profiles/prefix/darwin/macos: mask =app-arch/gzip-1.11
    
    Same issue as with nano. 1.10 is fine. Hopefully fixed in next
    release w/ latest gnulib sync.
    
    Bug: https://bugs.gentoo.org/829847
    Signed-off-by: Sam James <sam@gentoo.org>

 profiles/prefix/darwin/macos/package.mask | 1 +
 1 file changed, 1 insertion(+)
Comment 5 Larry the Git Cow gentoo-dev 2022-01-16 12:20:31 UTC
The bug has been referenced in the following commit(s):

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

commit 69f5c7eeaf5f0c12eaddbda183102f1c7eaf2f6c
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2022-01-16 12:15:18 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2022-01-16 12:20:26 +0000

    profiles/prefix/darwin/macos: use global fix for gnulib breakage
    
    Bug: https://bugs.gentoo.org/831026
    Bug: https://bugs.gentoo.org/829847
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 profiles/prefix/darwin/macos/package.mask   |  9 ---------
 profiles/prefix/darwin/macos/profile.bashrc | 23 +++++++++++++++++++++++
 2 files changed, 23 insertions(+), 9 deletions(-)