Jump to content
Read the Funtoo Newsletter: Summer 2023 ×
  • 0

oss 4.2 package failes after emerging


xkbc

Question

Hi followed the kernel configuration of http://wiki.gentoo.org/wiki/OSS and emerged the oss package. The message after the installation said that I shall run

 

    /etc/init.d/oss start

 

but that fails with:

root@localhost /h/zenlima# /etc/init.d/oss start
 * Starting OSS ...
Relinking OSS kernel modules for ""
This may take few moments - please stand by...
OSS build environment set up for REGPARM kernels
Building module osscore
Failed to compile OSS
make -C /lib/modules/3.14.4-gentoo/build M=/usr/lib64/oss/build modules
make[1]: Entering directory '/usr/src/linux-3.14.4-gentoo'
  CC [M]  /usr/lib64/oss/build/osscore.o
/usr/lib64/oss/build/osscore.c: In Funktion ?init_proc_fs?:
/usr/lib64/oss/build/osscore.c:287:8: Fehler: Implizite Deklaration der Funktion ?create_proc_entry? [-Werror=implicit-function-declaration]
        create_proc_entry ("opensound", 0700 | S_IFDIR, NULL)) == NULL)
        ^
/usr/lib64/oss/build/osscore.c:286:22: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung [standardm??ig aktiviert]
   if ((oss_proc_root =
                      ^
/usr/lib64/oss/build/osscore.c:293:26: Warnung: Zuweisung erzeugt Zeiger von Ganzzahl ohne Typkonvertierung [standardm??ig aktiviert]
   if ((oss_proc_devfiles =
                          ^
   if ((oss_proc_devfiles =                                                                                                                              [76/1932]
                          ^
/usr/lib64/oss/build/osscore.c:300:20: Fehler: Dereferenzierung eines Zeigers auf unvollst?ndigen Typen
   oss_proc_devfiles->proc_fops = &oss_proc_operations;
                    ^
/usr/lib64/oss/build/osscore.c: In Funktion ?oss_get_uid?:
/usr/lib64/oss/build/osscore.c:440:3: Fehler: unvertr?gliche Typen bei R?ckgabe von Typ ?kuid_t?, aber ?int? wurde erwartet
   return current->cred->uid;
   ^
/usr/lib64/oss/build/osscore.c: In Funktion ?alloc_fop?:
/usr/lib64/oss/build/osscore.c:956:6: Fehler: ?struct file_operations? hat kein Element namens ?readdir?
   fop->readdir = NULL;  /* tmp_readdir; */
      ^
/usr/lib64/oss/build/osscore.c:964:14: Warnung: Zuweisung von inkompatiblem Zeigertyp [standardm??ig aktiviert]
   fop->fsync = oss_no_fsync;
              ^
/usr/lib64/oss/build/osscore.c: In Funktion ?oss_pci_read_devpath?:
/usr/lib64/oss/build/osscore.c:1638:3: Warnung: return streicht Qualifizierer ?const? von Zeiger-Zieltyp [standardm??ig aktiviert]
   return dev_name(&dip->pcidev->dev);
   ^
In file included from include/linux/spinlock.h:49:0,
                 from include/linux/seqlock.h:35,
                 from include/linux/time.h:5,
                 from include/linux/stat.h:18,
                 from include/linux/module.h:10,
                 from /usr/lib64/oss/build/osscore.c:15:
/usr/lib64/oss/build/osscore.c: In Funktion ?oss_fp_check?:
include/linux/typecheck.h:11:18: Warnung: in Vergleich verschiedener Zeigertypen fehlt Typkonvertierung [standardm??ig aktiviert]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:73:3: Anmerkung: bei Substitution des Makros ?typecheck?
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:112:3: Anmerkung: bei Substitution des Makros ?raw_local_save_flags?
   raw_local_save_flags(flags);  \
   ^
/usr/lib64/oss/build/osscore.c:1862:3: Anmerkung: bei Substitution des Makros ?local_save_flags?
   local_save_flags (flags_reg);
   ^
include/linux/typecheck.h:11:18: Warnung: in Vergleich verschiedener Zeigertypen fehlt Typkonvertierung [standardm??ig aktiviert]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:78:3: Anmerkung: bei Substitution des Makros ?typecheck?
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:102:7: Anmerkung: bei Substitution des Makros ?raw_irqs_disabled_flags?
   if (raw_irqs_disabled_flags(flags)) { \
       ^
/usr/lib64/oss/build/osscore.c:1864:3: Anmerkung: bei Substitution des Makros ?local_irq_restore?
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: Warnung: in Vergleich verschiedener Zeigertypen fehlt Typkonvertierung [standardm??ig aktiviert]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:68:3: Anmerkung: bei Substitution des Makros ?typecheck?
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:103:4: Anmerkung: bei Substitution des Makros ?raw_local_irq_restore?
    raw_local_irq_restore(flags); \
    ^
/usr/lib64/oss/build/osscore.c:1864:3: Anmerkung: bei Substitution des Makros ?local_irq_restore?
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: Warnung: in Vergleich verschiedener Zeigertypen fehlt Typkonvertierung [standardm??ig aktiviert]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:68:3: Anmerkung: bei Substitution des Makros ?typecheck?
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:107:4: Anmerkung: bei Substitution des Makros ?raw_local_irq_restore?
    raw_local_irq_restore(flags); \
    ^
/usr/lib64/oss/build/osscore.c:1864:3: Anmerkung: bei Substitution des Makros ?local_irq_restore?
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: Warnung: in Vergleich verschiedener Zeigertypen fehlt Typkonvertierung [standardm??ig aktiviert]
  (void)(&__dummy == &__dummy2); \
                  ^
  (void)(&__dummy == &__dummy2); \                                                                                                                        [0/1932]
                  ^
include/linux/irqflags.h:73:3: Anmerkung: bei Substitution des Makros ?typecheck?
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:112:3: Anmerkung: bei Substitution des Makros ?raw_local_save_flags?
   raw_local_save_flags(flags);  \
   ^
/usr/lib64/oss/build/osscore.c:1866:3: Anmerkung: bei Substitution des Makros ?local_save_flags?
   local_save_flags (flags_reg);
   ^
include/linux/typecheck.h:11:18: Warnung: in Vergleich verschiedener Zeigertypen fehlt Typkonvertierung [standardm??ig aktiviert]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:78:3: Anmerkung: bei Substitution des Makros ?typecheck?
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:102:7: Anmerkung: bei Substitution des Makros ?raw_irqs_disabled_flags?
   if (raw_irqs_disabled_flags(flags)) { \
       ^
/usr/lib64/oss/build/osscore.c:1871:3: Anmerkung: bei Substitution des Makros ?local_irq_restore?
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: Warnung: in Vergleich verschiedener Zeigertypen fehlt Typkonvertierung [standardm??ig aktiviert]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:68:3: Anmerkung: bei Substitution des Makros ?typecheck?
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:103:4: Anmerkung: bei Substitution des Makros ?raw_local_irq_restore?
    raw_local_irq_restore(flags); \
    ^
/usr/lib64/oss/build/osscore.c:1871:3: Anmerkung: bei Substitution des Makros ?local_irq_restore?
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: Warnung: in Vergleich verschiedener Zeigertypen fehlt Typkonvertierung [standardm??ig aktiviert]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:68:3: Anmerkung: bei Substitution des Makros ?typecheck?
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:107:4: Anmerkung: bei Substitution des Makros ?raw_local_irq_restore?
    raw_local_irq_restore(flags); \
    ^
/usr/lib64/oss/build/osscore.c:1871:3: Anmerkung: bei Substitution des Makros ?local_irq_restore?
   local_irq_restore (flags_reg);
   ^
include/linux/typecheck.h:11:18: Warnung: in Vergleich verschiedener Zeigertypen fehlt Typkonvertierung [standardm??ig aktiviert]
  (void)(&__dummy == &__dummy2); \
                  ^
include/linux/irqflags.h:73:3: Anmerkung: bei Substitution des Makros ?typecheck?
   typecheck(unsigned long, flags); \
   ^
include/linux/irqflags.h:112:3: Anmerkung: bei Substitution des Makros ?raw_local_save_flags?
   raw_local_save_flags(flags);  \
   ^
/usr/lib64/oss/build/osscore.c:1873:3: Anmerkung: bei Substitution des Makros ?local_save_flags?
   local_save_flags (flags_reg);
   ^
/usr/lib64/oss/build/osscore.c: In Funktion ?oss_get_uid?:
/usr/lib64/oss/build/osscore.c:444:1: Warnung: Kontrollfluss erreicht Ende von Nicht-void-Funktion [-Wreturn-type]
 }
 ^
cc1: Einige Warnungen werden als Fehler behandelt
scripts/Makefile.build:314: recipe for target '/usr/lib64/oss/build/osscore.o' failed
make[2]: *** [/usr/lib64/oss/build/osscore.o] Error 1
Makefile:1274: recipe for target '_module_/usr/lib64/oss/build' failed
make[1]: *** [_module_/usr/lib64/oss/build] Error 2
make[1]: Leaving directory '/usr/src/linux-3.14.4-gentoo'
Makefile:16: recipe for target 'default' failed
make: *** [default] Error 2
Relinking the OSS kernel modules failed
/dev/mixer: No such file or directory
 * Failed to start OSS                                                                                                                                          [ 
!! ]
 * ERROR: oss failed to start

Can anyone help or give any hints? Comming from FreeBSD I would really like to stay with oss as the quality of alsa is very disappointing.

Link to comment
Share on other sites

11 answers to this question

Recommended Posts

  • 0

Hi xkbc, I've oss4.2 builded and running with this patch (/etc/portage/patches/media-sound/oss-4.2-2008/osscore.diff)

osscore.diff:

--- setup/Linux/oss/build/pci_wrapper.inc	2009-08-27 05:19:07.000000000 +0300
+++ setup/Linux/oss/build/pci_wrapper.inc	2013-02-08 13:56:10.519794975 +0200
@@ -17,7 +17,11 @@
 static dev_map_t dev_map[MAX_INSTANCE];
 static int n_devmap = 0;
 
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
 static int __devinit
+#else
+static int
+#endif
 osspci_probe (struct pci_dev *pcidev, const struct pci_device_id *pciid)
 {
   oss_device_t *osdev;
@@ -65,7 +69,11 @@
   return 0;
 }
 
-static void __devexit
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,8,0)
+static int __devexit
+#else
+static int
+#endif
 osspci_remove (struct pci_dev *pcidev)
 {
   int i;
@@ -80,10 +88,11 @@
 	pci_disable_device (dev_map[i].pcidev);
 	osdev_delete (osdev);
 
-	return;
+	return 0;
       }
 
   printk (KERN_ALERT DRIVER_NICK ": Can't find the PCI device to detach\n");
+  return -EIO;
 }
 
 void

--- osscore.c.bak	2013-10-25 22:55:26.117237463 +0300
+++ /tmp/osscore.c	2013-10-27 20:08:27.773527712 +0200
@@ -280,6 +280,25 @@
   .read = oss_read_devfiles,
 };
 
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
+static void
+init_proc_fs (void)
+{
+  if ((oss_proc_root =
+       proc_mkdir_mode ("opensound", 0700 | S_IFDIR, NULL)) == NULL)
+    {
+      oss_cmn_err (CE_CONT, "Cannot create /proc/opensound\n");
+      return;
+    }
+
+  if ((oss_proc_devfiles =
+       proc_create ("devfiles", 0600, oss_proc_root, &oss_proc_operations)) == NULL)
+    {
+      oss_cmn_err (CE_CONT, "Cannot create /proc/opensound/devfiles\n");
+      return;
+    }
+}
+#else
 static void
 init_proc_fs (void)
 {
@@ -299,6 +318,7 @@
 
   oss_proc_devfiles->proc_fops = &oss_proc_operations;
 }
+#endif
 
 static void
 uninit_proc_fs (void)
@@ -436,7 +456,9 @@
 int
 oss_get_uid (void)
 {
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,10,0)
+  return from_kuid_munged(current_user_ns(), current->cred->uid);
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,29)
   return current->cred->uid;
 #else
   return current->uid;
@@ -953,7 +975,9 @@
   fop->llseek = oss_no_llseek;
   fop->read = tmp_read;
   fop->write = tmp_write;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3,11,0)
   fop->readdir = NULL;		/* tmp_readdir; */
+#endif
   fop->poll = tmp_poll;
 #if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,35)
   fop->ioctl = tmp_ioctl;

hope this helps, cu Peje

Link to comment
Share on other sites

  • 0

Thanks, Peje, for that patch. I placed it like you wrote under /etc/portage/patches/media-sound/oss-4.2-2008/osscore.diff and reemerged oss... but no change :( .. oss is still not running... 

 

Here is my emerge --info output.... can anyone review it before I file a bug?

Portage 2.3.6-r8 (funtoo/1.0/linux-gnu/arch/x86-64bit, gcc-4.8.2, glibc-2.18-r1, 3.14.4-gentoo x86_64)
=================================================================
System uname: Linux-3.14.4-gentoo-x86_64-Intel-R-_Core-TM-2_CPU_T5600_@_1.83GHz-with-gentoo-2.2.0
KiB Mem:     3088684 total,    149608 free
KiB Swap:    7340028 total,   7170276 free
Timestamp of tree: Sat, 21 Jun 2014 06:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45-r1
dev-lang/python:          2.7.7-r1000, 3.3.5-r1000, 3.4.1-r1000
dev-util/cmake:           2.8.12.2-r1
sys-apps/baselayout:      2.2.0-r6
sys-apps/openrc:          0.12.3-r3
sys-apps/sandbox:         2.6-r2
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.2-r2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.13 (virtual/os-headers)
sys-libs/glibc:           2.18-r1
Repositories: gentoo lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-march=native -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="eo de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/home/portage"
SYNC="git://github.com/funtoo/ports-2012.git"
SYNC_USER="root"
USE="X acl amd64 berkdb bidi bzip2 cjk cracklib crypt cxx dbus djvu drm fontconfig gdbm gif iconv icu idn ipv6 jpeg libnotify mmx modules mudflap multilib ncurses nls nptl opengl openmp pam pcre png pnm python readline resolvconf samba sftp spell sse sse2 sse3 sse4_1 ssl ssse3 tcpd threads tiff truetype unicode xft xml zlib" ABI_X86="64" APACHE2_MODULES="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 authn_core authz_core socache_shmcb unixd" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="eo de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_ABIS="2.7 3.4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="radeon" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK

Link to comment
Share on other sites

  • 0

Patches are not automatically applied that way unless you make a custom  bashrc file in /etc/portage that implements installing patches.  Here's mine (edited to show only that function):

post_src_prepare() {
    if type epatch_user &> /dev/null ; then
        cd ${S}
        epatch_user
    fi
}
There are other ways as well, this way is perhaps the easiest.
This only works if hmm, is it eutils?  is in the ebuild, most seem to have that.
Link to comment
Share on other sites

  • 0

I tried it like described in http://www.funtoo.org/Localpatch (The old link does not exists anymore):

  1. emerged foobashrc
  2. made a symbolic link from etc/portage/bashrc to /etc/portage/foobashrc.bashrc
  3. created /etc/portage/localpatches, /etc/portage/localpatches/media-sound and /etc/portage/media-sound/oss-4.2-2008
  4. placed the file from newbie to /etc/portage/localpatches/media-sound/oss-4.2-2008/osscore.diff
  5. remerged oss
  6. executed /etc/init.d/oss start

with the same error message like before :( Did I made a mistake somehow through the steps?

Link to comment
Share on other sites

  • 0

It seems to me you have the right idea.  I really have no experience with foobashrc.  Perhaps just try my bashrc example and see if it works for you?  And the following applies if you try this:

 

Item 2: There's no need to make that symbolic link, emerge will see /etc/portage/bashrc on EVERY emerge.  Done.

Items 3&4: Use /etc/portage/patches, instead of localpatches.

 

Finally, there is no need for anything to be added to make.conf with this method.

Good luck.

I tried it like described in http://www.funtoo.org/Localpatch (The old link does not exists anymore):

  1. emerged foobashrc
  2. made a symbolic link from etc/portage/bashrc to /etc/portage/foobashrc.bashrc
  3. created /etc/portage/localpatches, /etc/portage/localpatches/media-sound and /etc/portage/media-sound/oss-4.2-2008
  4. placed the file from newbie to /etc/portage/localpatches/media-sound/oss-4.2-2008/osscore.diff
  5. remerged oss
  6. executed /etc/init.d/oss start

with the same error message like before :( Did I made a mistake somehow through the steps?

Link to comment
Share on other sites

  • 0

Oh, and I should have added, you will see immediately as the emerge progresses, whether the patch method is working or not.  Watch the output, soon after the emerge begins you will see any patches applied, if there are any "official" patches they will go first, and then you will see your patch get applied, all before the compiling begins.  If you don't see your patch listed you can control-c out early and try and diagnose what's up without wasting time waiting for a compile that's just going to give the same results.

Link to comment
Share on other sites

  • 0

I tried our suggestion from post #7 but still got same result when I try to start /etc/init.d/oss start ... also I can't find the word patch in the feedback of emerge oss:

Calculating dependencies  
 * IMPORTANT: 10 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) media-sound/oss-4.2.2008
 * oss-v4.2-build2008-src-gpl.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking oss-v4.2-build2008-src-gpl.tar.bz2 to /var/tmp/portage/media-sound/oss-4.2.2008/work
>>> Source unpacked in /var/tmp/portage/media-sound/oss-4.2.2008/work
>>> Preparing source in /var/tmp/portage/media-sound/oss-4.2.2008/work/oss-4.2.2008 ...
 * Running elibtoolize in: oss-4.2.2008/
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-sound/oss-4.2.2008/work/oss-4.2.2008 ...
Compiling libsalsa library
grep: /etc/issue: Datei oder Verzeichnis nicht gefunden
Using the Linux specific script
Setting up full REGPARM compiling environment
srcdir=/var/tmp/portage/media-sound/oss-4.2.2008/work/oss-4.2.2008
Source directory is /var/tmp/portage/media-sound/oss-4.2.2008/work/oss-4.2.2008
Build directory is /var/tmp/portage/media-sound/oss-4.2.2008/work/build
Build tree created OK
System: Linux
Release: 3.15.1-gentoo
Machine: x86_64
Directory depends on the SADA package which is not available
Source configuration OK
Build ID will become 201407112148
for n in lib cmd kernel os_cmd kernel/OS/Linux noregparm;do (cd $n && make dep) || eval 'exit 1'; done
make[1]: Entering directory '/var/tmp/portage/media-sound/oss-4.2.2008/work/build/lib'
for n in libOSSlib libossmix libsalsa;do (cd $n && make dep) || eval 'exit 1'; done
make[2]: Entering directory '/var/tmp/portage/media-sound/oss-4.2.2008/work/build/lib/libOSSlib'
make[2]: Nothing to be done for 'dep'.
make[2]: Leaving directory '/var/tmp/portage/media-sound/oss-4.2.2008/work/build/lib/libOSSlib'
make[2]: Entering directory '/var/tmp/portage/media-sound/oss-4.2.2008/work/build/lib/libossmix'
cc -g ../../utils/ossmkdep.c -o ../../ossmkdep
...
...
...
make[1]: Leaving directory '/var/tmp/portage/media-sound/oss-4.2.2008/work/build/noregparm'
sh build.sh
Check devices for oss_hdaudio
Check devices for oss_ich
Check devices for oss_imux
Check devices for oss_midiloop
Check devices for oss_midimix
done ossinfo
done ossmix
done osspartysh
done ossphone
done ossplay
done ossrecord
done osstest
done ossxmix
done ossdevlinks
done savemixer
done vmixctl
done ossdetect
>>> Source compiled.
>>> Test phase [not enabled]: media-sound/oss-4.2.2008
>>> Install oss-4.2.2008 into /var/tmp/portage/media-sound/oss-4.2.2008/image/ category media-sound
>>> Completed installing oss-4.2.2008 into /var/tmp/portage/media-sound/oss-4.2.2008/image/
 * QA Notice: Pre-stripped files found:
 * /usr/bin/ossrecord
 * /usr/bin/ossinfo
 * /usr/bin/ossplay
 * /usr/bin/osstest
 * /usr/bin/ossxmix
 * /usr/bin/ossphone
 * /usr/bin/osspartysh
 * /usr/bin/ossmix
 * /usr/sbin/vmixctl
 * /usr/sbin/ossvermagic
 * /usr/sbin/savemixer
 * /usr/sbin/ossdetect
 * /usr/sbin/ossdevlinks
 * /usr/sbin/ossmixd
strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version
   usr/lib/oss/lib/libOSSlib.so
   usr/lib/oss/lib/libsalsa.so.2.0.0
   usr/lib/oss/lib/libossmix.so
   usr/lib/oss/modules.noregparm/oss_ich.o
   usr/lib/oss/modules.noregparm/oss_midiloop.o
   usr/lib/oss/modules.noregparm/oss_hdaudio.o
   usr/lib/oss/modules.noregparm/oss_imux.o
   usr/lib/oss/modules.noregparm/oss_midimix.o
   usr/lib/oss/objects.noregparm/osscore.o
   usr/lib/oss/modules.regparm/oss_ich.o
   usr/lib/oss/modules.regparm/oss_midiloop.o
   usr/lib/oss/modules.regparm/oss_imux.o
   usr/lib/oss/modules.regparm/oss_hdaudio.o
   usr/lib/oss/modules.regparm/oss_midimix.o
   usr/lib/oss/objects.regparm/osscore.o
ecompressdir: bzip2 -9 /usr/share/man
 * QA Notice: Found an absolute symlink in a library directory:
 *            usr/lib64/libsalsa.so.2.0.0 -> /usr/lib64/oss/lib/libsalsa.so.2.0.0
 *            It should be a relative symlink if in the same directory
 *            or a linker script if it crosses the /usr boundary.
 * QA Notice: Found an absolute symlink in a library directory:
 *            usr/lib64/libOSSlib.so -> /usr/lib64/oss/lib/libOSSlib.so
 *            It should be a relative symlink if in the same directory
 *            or a linker script if it crosses the /usr boundary.
 * QA Notice: Found an absolute symlink in a library directory:
 *            usr/lib64/libossmix.so -> /usr/lib64/oss/lib/libossmix.so
 *            It should be a relative symlink if in the same directory
 *            or a linker script if it crosses the /usr boundary.
>>> Installing (1 of 1) media-sound/oss-4.2.2008
 * 
 * To use oss-4.2.2008 for the first time you must run: `/etc/init.d/oss start'
 * If you are upgrading, run: `/etc/init.d/oss restart'
 * 
 * Messages for package media-sound/oss-4.2.2008:
 * 
 * To use oss-4.2.2008 for the first time you must run: `/etc/init.d/oss start'
 * If you are upgrading, run: `/etc/init.d/oss restart'
 * 
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
 * GNU info directory index is up-to-date.
 * IMPORTANT: 10 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

 I tried to load a oss module manually via modprobe osscore; but got a message back, that the module osscore is unknow.

Link to comment
Share on other sites

  • 0

Sorry, I've been busy here, just catching up.

I don't know why that's not working for you, unless epatch doesn't like patches with .diff suffix, I've never tried that, I always name mine .patch.  I doubt it though.  It's clear from your output that no patches are being applied.  Eutils is referenced in that ebuild.

Anyhow, if you are still trying, you can just modify the ebuild directly after copying it to your local portage directory.  Just add a line with epatch_user above where it says elibtoolize.  And have the patch available in /etc/portage/patches/media-sound/oss-4.2.2008.  Be sure not to try and modify the ebuild in the normal /usr/portage directory or you will mess up the entire tree and have to delete it and download it again.

If you've never done a local overlay here's an overview: http://wiki.gentoo.org/wiki/Overlay/Local_overlay

You probably should also copy /usr/portage/media-sound/oss/files to your NEW /usr/local/portage/media-sound/oss directory or you can just make a link.

Good luck

Link to comment
Share on other sites

  • 0

Hi Peje,

I saw the update and also emerged it, but with no success.. same old error message and no sound.  Here is my rough config of this moment

  • gentoo-kernel 3.16.5 (no deprecated OSS, no ALSA in kernel)
  • media-sound/oss-4.2.2010  USE="alsa midi ogg -gtk -pax_kernel -vmix_fixedpoint" OSS_CARDS="ich -ali5455 -allegro -als3xx -als4k -atiaudio -audigyls -audiocs -audioloop -audiopci -cmi878x -cmpci -cs4281 -cs461x -digi32 -digi96 -emu10k1x -envy24 -envy24ht -fmedia -geode -hdaudio -imux -madi -maestro -midiloop -midimix -neomagic -s3vibes -sblive -sbpci -sbxfi -solo -trident -usb -userdev -via823x -via97 -vortex -ymf7xx"

This is my sound card:

  • 00:1b.0 Audio device: Intel Corporation NM10/ICH7 Family High Definition Audio Controller (rev 02)

I have no idea anymore what to try out...

xkbc

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...