Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 190217 - sys-apps/rsbac-admin-1.3.5-r1 not emerge
Summary: sys-apps/rsbac-admin-1.3.5-r1 not emerge
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High blocker with 2 votes (vote)
Assignee: Guillaume Destuynder (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-25 19:07 UTC by Alexey
Modified: 2008-02-24 08:34 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey 2007-08-25 19:07:31 UTC
Not emerge sys-apps/rsbac-admin-1.3.5-r1:
Error: "QA Notice: Missing gen_usr_ldscript for librsbac.so"

System: Latest hardened-sources, x86_64, gcc 4.1.2

Solve:
File: sys-apps/rsbac-admin/rsbac-admin-1.3.5-r1.ebuild
Replace
"mv ${D}/lib/librsbac.la ${D}/lib/librsbac.a ${D}/usr/lib"
with "mv ${D}/lib/librsbac.la ${D}/lib/librsbac.a ${D}/lib/librsbac.so ${D}/usr/lib"


Reproducible: Always

Steps to Reproduce:
emerge rsbac-admin
>>> Emerging (1 of 1) sys-apps/rsbac-admin-1.3.5-r1 to /
 * rsbac-admin-1.3.5.tar.bz2 RMD160 ;-) ...                                                                                                             [ ok ]
 * rsbac-admin-1.3.5.tar.bz2 SHA1 ;-) ...                                                                                                               [ ok ]
 * rsbac-admin-1.3.5.tar.bz2 SHA256 ;-) ...                                                                                                             [ ok ]
 * rsbac-admin-1.3.5.tar.bz2 size ;-) ...                                                                                                               [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                    [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                   [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                  [ ok ]
 * checking rsbac-admin-1.3.5.tar.bz2 ;-) ...                                                                                                           [ ok ]
>>> Unpacking source...
>>> Unpacking rsbac-admin-1.3.5.tar.bz2 to /tmp/portage/sys-apps/rsbac-admin-1.3.5-r1/work
>>> Source unpacked.
>>> Compiling source in /tmp/portage/sys-apps/rsbac-admin-1.3.5-r1/work/rsbac-admin-1.3.5 ...

...
...
   usr/bin/rsbac_list_ta
   usr/bin/rsbac_auth
   lib/librsbac.so.1.0.0
   bin/rsbac_login
   usr/lib/librsbac.a
removing executable bit: usr/lib/librsbac.la

 * QA Notice: Missing gen_usr_ldscript for librsbac.so

!!! ERROR: sys-apps/rsbac-admin-1.3.5-r1 failed.
Call stack:
  misc-functions.sh, line 561:   Called install_qa_check
  misc-functions.sh, line 258:   Called die
Comment 1 Alexey 2007-08-25 19:09:36 UTC
Portage 2.1.2.12 (hardened/amd64, gcc-4.1.2, glibc-2.5-r4, 2.6.20-hardened x86_64)
=================================================================
System uname: 2.6.20-hardened x86_64 Intel(R) Xeon(R) CPU 5130 @ 2.00GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 25 Aug 2007 18:20:01 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://195.14.50.21/pub/Linux/gentoo/ ftp://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ ftp://gentoo.inode.at/source/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 authdaemond cracklib crypt gdbm hardened imap justify libwww maildir midi mysql nls nptl nptlonly pam pic readline sasl ssl tcpd urandom xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-08-25 19:09:58 UTC
Not a portage bug
Comment 3 Bernhard Seibold 2007-09-03 23:30:19 UTC
With USE=pam there's even more trouble:

- the missing mv of librsbac.so also applies to libnss_rsbac.so (next line)
- line 37 should be
        rsbacmakeargs="${rsbacmakeargs} pam nss"
  instead of
        rsbacmakeargs="${makeargs} pam nss"
Comment 4 kevstar.31 2007-10-05 00:25:42 UTC
I am having the similar issue with rsbac-admin-1.3.4-r1:

* QA Notice: Missing gen_usr_ldscript for libnss_rsbac.so

 * QA Notice: Missing gen_usr_ldscript for librsbac.so
 *
 * ERROR: sys-apps/rsbac-admin-1.3.4-r1 failed.
 * Call stack:
 *   misc-functions.sh, line 566:   Called install_qa_check
 *   misc-functions.sh, line 259:   Called die
 *
 * add those ldscripts
 * If you need support, post the topmost build error, and the call stack
if relevant.
 * A complete build log is located at
'/var/tmp/portage/sys-apps/rsbac-admin-1.3.4-r1/temp/build.log'.
 *
!!! install_qa_check failed; exiting.

 * Messages for package sys-apps/rsbac-admin-1.3.4-r1:

 *
 * ERROR: sys-apps/rsbac-admin-1.3.4-r1 failed.
 * Call stack:
 *   misc-functions.sh, line 566:   Called install_qa_check
 *   misc-functions.sh, line 259:   Called die
 *
 * add those ldscripts
 * If you need support, post the topmost build error, and the call stack
if relevant.
 * A complete build log is located at
'/var/tmp/portage/sys-apps/rsbac-admin-1.3.4-r1/temp/build.log'.
Comment 5 Evil Compile Person 2008-01-07 08:26:47 UTC
same here

Please fix or punt, having stuff broken for 4 months+ is just bad.
Comment 6 Chris Gianelloni (RETIRED) gentoo-dev 2008-02-01 22:07:39 UTC
I'm upgrading this to blocker, not because it's been a while, but because we ship this on the LiveDVD and I'd like to have it resolved, if possible.

If nobody objects, I'll fix this up today prior to the snapshot.
Comment 7 Chris Gianelloni (RETIRED) gentoo-dev 2008-02-02 13:51:36 UTC
OK.  I've added multilib to inherit, changed all instances of /lib (and /usr/lib) to /$(get_libdir) and /usr/$(get_libdir) and now everything works.

I only changed the latest ~arch and the latest stable.  I'd suggest we just clean up the other ebuilds unless there's some reason to keep others.

If anyone feels that I've overstepped my bounds on this, please let me know.

Thanks
Comment 8 Guillaume Destuynder (RETIRED) gentoo-dev 2008-02-15 17:47:43 UTC
you did fine, thank you
Comment 9 Chris Gianelloni (RETIRED) gentoo-dev 2008-02-24 08:34:58 UTC
Updated in the release snapshot...