Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 190217
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Guillaume Destuynder (RETIRED) <kang@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alexey <alexey.tany@mtu-net.ru>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 190217 depends on: Show dependency tree
Bug 190217 blocks:
Votes: 5    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-08-25 19:07 0000
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 From Alexey 2007-08-25 19:09:36 0000 -------
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 From Jakub Moc (RETIRED) 2007-08-25 19:09:58 0000 -------
Not a portage bug

------- Comment #3 From Bernhard Seibold 2007-09-03 23:30:19 0000 -------
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 From kevstar.31@gmail.com 2007-10-05 00:25:42 0000 -------
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 From Evil Compile Person 2008-01-07 08:26:47 0000 -------
same here

Please fix or punt, having stuff broken for 4 months+ is just bad.

------- Comment #6 From Chris Gianelloni (RETIRED) 2008-02-01 22:07:39 0000 -------
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 From Chris Gianelloni (RETIRED) 2008-02-02 13:51:36 0000 -------
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 From Guillaume Destuynder (RETIRED) 2008-02-15 17:47:43 0000 -------
you did fine, thank you

------- Comment #9 From Chris Gianelloni (RETIRED) 2008-02-24 08:34:58 0000 -------
Updated in the release snapshot...

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug