Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645296 - media-libs/adplug-2.3 - .../work/adplug-2.3/src/realopl.cpp:45:23: fatal error: sys/io.h: No such file or directory
Summary: media-libs/adplug-2.3 - .../work/adplug-2.3/src/realopl.cpp:45:23: fatal erro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL: https://github.com/adplug/adplug/comm...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-21 20:41 UTC by Jeroen Roovers (RETIRED)
Modified: 2018-04-22 09:27 UTC (History)
3 users (show)

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


Attachments
media-libs:adplug-2.3:20180121-200315.log (media-libs:adplug-2.3:20180121-200315.log,99.55 KB, text/plain)
2018-01-21 20:41 UTC, Jeroen Roovers (RETIRED)
Details
arch-sys-io.patch (arch-sys-io.patch,967 bytes, patch)
2018-01-21 22:10 UTC, David Seifert
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2018-01-21 20:41:10 UTC
Sun 21 Jan 21:39:46 CET 2018
emerge --info =media-libs/adplug-2.3
Portage 2.3.14 (python 3.4.6-final-0, default/linux/hppa/13.0, gcc-6.4.0, glibc-2.26-r5, 4.10.0-gentoo-JeR parisc64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.10.0-gentoo-JeR-parisc64-PA8800_-Mako-with-gentoo-2.4.1
KiB Mem:     8229668 total,   1048476 free
KiB Swap:    2101676 total,   2101676 free
Timestamp of repository gentoo: Sun, 21 Jan 2018 15:45:01 +0000
Head commit of repository gentoo: 11b27b4b3fdd42a4b5a7ab7c0ed547683ffdc8c7
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p2) 2.29.1
distcc[8116] (dcc_mkdir) ERROR: mkdir '/dev/shm/distcc/root/state' failed: No such file or directory [disabled]
ccache version 3.3.4 [disabled]
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.6-r1::gentoo, 3.5.4::gentoo
dev-util/ccache:          3.3.4::gentoo
dev-util/cmake:           3.9.6::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.9::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.9.6-r3::gentoo, 1.11.6-r2::gentoo, 1.12.6::gentoo, 1.13.4-r1::gentoo, 1.14.1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo, 2.26.1::gentoo, 2.29::gentoo, 2.29.1-r1::gentoo
sys-devel/gcc:            4.6.4::gentoo, 4.7.2-r1::gentoo, 4.7.3-r1::gentoo, 4.8.1-r1::gentoo, 4.8.3::gentoo, 4.8.4::gentoo, 4.8.5::gentoo, 4.9.2::gentoo, 4.9.3::gentoo, 4.9.4::gentoo, 5.2.0::gentoo, 5.3.0::gentoo, 5.4.0-r3::gentoo, 6.4.0::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r5::gentoo
Repositories:

gentoo
    location: /aches/gentoo/portage
    sync-type: rsync
    sync-uri: rsync://rsync.nl.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

JeR
    location: /aches/gentoo/local
    masters: gentoo
    priority: -100

ACCEPT_KEYWORDS="hppa ~hppa"
ACCEPT_LICENSE="*"
CBUILD="hppa2.0-unknown-linux-gnu"
CFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -Wno-comment"
CHOST="hppa2.0-unknown-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib/distcc/bin /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /var/bind /var/www/localhost/htdocs/wordpress/wp-config.php"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe"
DISTDIR="/aches/gentoo/distfiles"
EMERGE_DEFAULT_OPTS="--quiet-build=n --autounmask=n --keep-going --ignore-built-slot-operator-deps=y"
FCFLAGS=""
FEATURES="assume-digests binpkg-logs buildpkg compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync metadata-transfer multilib-strict news notitles parallel-fetch preserve-libs protect-owned sfperms splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersync xattr"
FFLAGS="-mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe"
GENTOO_MIRRORS="http://de-mirror.org/gentoo/ http://mirror.netcologne.de/gentoo/ http://mirror.leaseweb.com/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -Wl,--no-keep-memory"
LINGUAS="en nl he"
MAKEOPTS="-j2"
PKGDIR="/aches/gentoo/packages/karsten"
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="256-color X acl alsa amr anacron apng argyllcms audit bash-completion beautifulsoup3 berkdb bfio big-endian bittorrent botan bzip2 cairo canberra cli consolekit coverage crossdev crypt cups custom-cflags cxx dane dbus declarative dirac directfb distinct-l dlz dot dri emacs exceptions exif expat fbcon ffmpeg filecaps firefox firmware foomaticdb fortran frontend-optional g-sorcery gbm gdbm geoip geoloc glep gles1 gles2 gost gpg gpm gsm gstreamer gtk gudev guile hddtemp hppa hwdb iconv idn imlib inotify ipv6 jadetex javascript jingle jit jpeg jpeg2k json kdrive kmod ladspa lasi launch-frontend lensfun libcaca libcanberra libevent libopts libsoxr libusb libwww lua lzma lzo mad mng mod modplug modules mp3 mtp multislot multitarget munge nagios nas natspec ncurses netlink nfs nls nptl objc objc++ objc-gc offensive ofono-headset openexr opengl openmp openrc openvg opus oqgraph osmesa oss pam pcre pcre16 php pic pkcs11 png pnm policykit python qt qt3support qt4 raw readline realtime regression-test rtmp rubytests samba sbc schroedinger sctp smi snappy socks5 speex spell spidermonkey sqlite ssl svg tcl tcpd tga theora threads tiff tk tokyocabinet truetype unicode unwind v4l vim-syntax vorbis vpx wayland wcwidth x264 x265 xa xattr xcb xft xhtml xkb xvfb xvid zlib" ALSA_CARDS="ad1889 usb-audio" 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="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="nss" 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 joystick keyboard mouse calcomp citron digitaledge dmc dynapro elo2300 elographics jamstudio magellan microtouch palmax penmount spaceorb summa tek4957 tslib ur98 virtualbox libinput void" KERNEL="linux" L10N="en nl he" 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" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby22 ruby23 ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="stifb dummy" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

[ebuild     U  ] media-libs/adplug-2.3::gentoo [2.2.1::gentoo] USE="-debug -static-libs" 0 KiB

Not every platform has </usr/include/sys/io.h>.
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-01-21 20:41:42 UTC
Created attachment 515776 [details]
media-libs:adplug-2.3:20180121-200315.log
Comment 2 David Seifert gentoo-dev 2018-01-21 21:51:31 UTC
https://lists.debian.org/debian-glibc/2008/02/msg00081.html Seems like this is a lost cause on hppa. Will probably need a further macro guard.
Comment 3 David Seifert gentoo-dev 2018-01-21 22:10:47 UTC
Created attachment 515788 [details, diff]
arch-sys-io.patch

Please try this patch with adplug-9999. If it works, I'll submit it upstream and get a patch release cut.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2018-01-22 07:57:00 UTC
(In reply to Jeroen Roovers from comment #0)
> Not every platform has </usr/include/sys/io.h>.

(In reply to David Seifert from comment #2)
> https://lists.debian.org/debian-glibc/2008/02/msg00081.html Seems like this
> is a lost cause on hppa. 

For the record, it's not just HPPA:

"In particular, sys/io.h is provided on amd64, arm, armel and i386; and it's
missing on hppa, m68k, mips, mipsel, powerpc, s390 and sparc."
Comment 5 David Seifert gentoo-dev 2018-01-22 10:22:57 UTC
(In reply to Jeroen Roovers from comment #4)
> (In reply to Jeroen Roovers from comment #0)
> > Not every platform has </usr/include/sys/io.h>.
> 
> (In reply to David Seifert from comment #2)
> > https://lists.debian.org/debian-glibc/2008/02/msg00081.html Seems like this
> > is a lost cause on hppa. 
> 
> For the record, it's not just HPPA:
> 
> "In particular, sys/io.h is provided on amd64, arm, armel and i386; and it's
> missing on hppa, m68k, mips, mipsel, powerpc, s390 and sparc."

Instead over bikeshedding over the exact wording, which helps 0, have you actually tested it?
Comment 6 Larry the Git Cow gentoo-dev 2018-04-22 09:27:03 UTC
The bug has been closed via the following commit(s):

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

commit 327e2b1f72feb4609bd92b7cad56b87497677313
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2018-04-22 09:26:18 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2018-04-22 09:26:49 +0000

    media-libs/adplug: Version bump to 2.3.1
    
    Closes: https://bugs.gentoo.org/645296
    Package-Manager: Portage-2.3.31, Repoman-2.3.9

 media-libs/adplug/Manifest            |  1 +
 media-libs/adplug/adplug-2.3.1.ebuild | 41 +++++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)
Comment 7 David Seifert gentoo-dev 2018-04-22 09:27:38 UTC
(In reply to Jeroen Roovers from comment #4)
> (In reply to Jeroen Roovers from comment #0)
> > Not every platform has </usr/include/sys/io.h>.
> 
> (In reply to David Seifert from comment #2)
> > https://lists.debian.org/debian-glibc/2008/02/msg00081.html Seems like this
> > is a lost cause on hppa. 
> 
> For the record, it's not just HPPA:
> 
> "In particular, sys/io.h is provided on amd64, arm, armel and i386; and it's
> missing on hppa, m68k, mips, mipsel, powerpc, s390 and sparc."

Thank you jer for helping me test my patch.