Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 717642 - dev-lang/python-3.6.10: configure: error: cannot compute sizeof (off_t) on ppc64 w/ musl
Summary: dev-lang/python-3.6.10: configure: error: cannot compute sizeof (off_t) on pp...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC64 Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-16 00:31 UTC by Michael 'veremitz' Everitt
Modified: 2020-04-16 01:23 UTC (History)
2 users (show)

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


Attachments
build.log (file_717642.txt,16.44 KB, text/plain)
2020-04-16 00:31 UTC, Michael 'veremitz' Everitt
Details
config.log (file_717642.txt,237.14 KB, text/plain)
2020-04-16 00:32 UTC, Michael 'veremitz' Everitt
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael 'veremitz' Everitt 2020-04-16 00:31:07 UTC
Created attachment 633122 [details]
build.log

(stage1) ppc64releng ~ # emerge --info                                                                                            Portage 2.3.79 (python 3.6.9-final-0, default/linux/ppc64/17.0/musl, gcc-9.2.0, musl-1.1.24, 4.14.174-ck ppc64)                   
================================================================= 
System uname: Linux-4.14.174-ck-ppc64-POWER9_-architected-,_altivec_supported-with-gentoo-2.6                                     KiB Mem:    16527924 total,   3442212 free                                                                                        
KiB Swap:          0 total,         0 free                                                                                        Timestamp of repository gentoo: Tue, 17 Mar 2020 00:45:01 +0000                                                                   Head commit of repository gentoo: f21555e3b63c325968e746d30d103fab8bcdc1e0                                                        sh bash 4.4_p23-r1                                                                                                                ld GNU ld (Gentoo 2.32 p2) 2.32.0                                                                                                 app-shells/bash:          4.4_p23-r1::gentoo                                                                                      dev-lang/perl:            5.30.1::gentoo                                                                                          
dev-lang/python:          2.7.17::gentoo, 3.6.9::gentoo                                                                           sys-apps/baselayout:      2.6-r1::gentoo                                                                                          
sys-apps/openrc:          0.41.2::gentoo                                                                                          
sys-apps/sandbox:         2.18::gentoo                                                                                            
sys-devel/autoconf:       2.69-r4::gentoo                                                                                         sys-devel/automake:       1.16.1-r1::gentoo                      
sys-devel/binutils:       2.32-r1::gentoo
sys-devel/gcc:            9.2.0-r3::ppc64musl                                                                                     sys-devel/gcc-config:     2.1::gentoo                  
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo                                                                                        sys-kernel/linux-headers: 4.19::ppc64musl (virtual/os-headers)                                                                    
sys-libs/musl:            1.1.24::gentoo                                                                                          
Repositories:     
                                                                 
gentoo                      
    location: /var/db/gentoo/repos/gentoo
    sync-type: rsync                                             
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000   
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes                                                                                           
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:                                                                                                                                                                                                                                          

musl                                                       
    location: /var/gentoo/repos/local                                                                                           
    masters: gentoo                                                                                                             
    priority: 0                                                                                                                                                                                                                                                     

ACCEPT_KEYWORDS="ppc64"                                                                                                           ACCEPT_LICENSE="@FREE"                                                                                                            
CBUILD="powerpc64-unknown-linux-musl"                                                                                             CFLAGS="-O2 -pipe"                                                                                                                
CHOST="powerpc64-unknown-linux-musl"                                                                                              
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" 
DISTDIR="/var/cache/gentoo/distfiles"
ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN 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 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync network-sandbox parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK="charset.alias"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/var/cache/gentoo/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"
USE="acl big-endian bindist bzip2 cli crypt cxx dri fortran ibm iconv ipv6 ncurses nls nptl openmp pam pcre ppc64 readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_PPC="64" ADA_TARGET="gnat_2018" 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" ELIBC="musl" 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 keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="fbdev mga nv r128 radeon dummy v4l" 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, EMERGE_DEFAULT_OPTS, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Michael 'veremitz' Everitt 2020-04-16 00:32:28 UTC
Created attachment 633124 [details]
config.log
Comment 2 Michael 'veremitz' Everitt 2020-04-16 00:34:01 UTC
'off_t' is defined in musl-libc at https://git.musl-libc.org/cgit/musl/tree/include/alltypes.h.in#n29 . For some reason this isn't being picked up in configure, as the log shows.
Comment 3 Michael 'veremitz' Everitt 2020-04-16 01:23:57 UTC
It appears some key includes were missing from /usr/include/sys. Bad seed stage.

Thanks to @xaero from liguros for rubber-duck.