Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

pwlib emerging failure on amd64

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
13 posts • Page 1 of 1
Author
Message
Vega_
n00b
n00b
Posts: 5
Joined: Mon Dec 20, 2004 9:12 pm
Location: Italy

pwlib emerging failure on amd64

  • Quote

Post by Vega_ » Tue Dec 28, 2004 5:17 pm

Hello,
i've some problems trying to emerge pwlib on my amd64. I receive this output:

Code: Select all

cp -f  lib/libpt_linux_x86_64_r.so.1.6.3 //usr/lib/
ACCESS DENIED  open_wr:   /usr/lib/libpt_linux_x86_64_r.so.1.6.3
cp: cannot create regular file `//usr/lib/libpt_linux_x86_64_r.so.1.6.3': Permission denied
make: *** [install] Error 1

!!! ERROR: dev-libs/pwlib-1.6.3-r2 failed.
!!! Function src_install, Line 104, Exitcode 2
!!! install failed
!!! If you need support, post the topmost build error, NOT this status message.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-dev-libs_-_pwlib-1.6.3-r2-2725.log"

open_wr:   /usr/lib/libpt_linux_x86_64_r.so.1.6.3
Any suggestion?

Bye,
Andrea
Top
ebrostig
Bodhisattva
Bodhisattva
User avatar
Posts: 3152
Joined: Sat Jul 20, 2002 12:44 am
Location: Orlando, Fl

  • Quote

Post by ebrostig » Tue Dec 28, 2004 9:18 pm

In your /etc/make.conf file, do you have 'sandbox' as part of the FEATURES line?

if you do, remove sandbox from the line and re-emerge pwlib.

Erik
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Top
Vega_
n00b
n00b
Posts: 5
Joined: Mon Dec 20, 2004 9:12 pm
Location: Italy

  • Quote

Post by Vega_ » Wed Dec 29, 2004 12:10 am

This is my /etc/make.conf i didn't find nothing about sandbox:

Code: Select all

localhost andrea # cat /etc/make.conf
# These settings were set by the catalyst build script that automatically built this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j2"
USE="gtk2 qt kde dvd alsa cdr dvdr dvb cups foomaticdb ppds usb fbcon"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo"
ACCEPT_KEYWORD="~amd64"
Do you any any idea else?

Bye,
Andrea
Top
ebrostig
Bodhisattva
Bodhisattva
User avatar
Posts: 3152
Joined: Sat Jul 20, 2002 12:44 am
Location: Orlando, Fl

  • Quote

Post by ebrostig » Wed Dec 29, 2004 1:37 am

Try to add the following line to /etc/make.conf and re-emerge:

FEATURES="digest"

This will disable sandbox by default.
Also, are you emerging this as root?

Erik
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Top
ebrostig
Bodhisattva
Bodhisattva
User avatar
Posts: 3152
Joined: Sat Jul 20, 2002 12:44 am
Location: Orlando, Fl

  • Quote

Post by ebrostig » Wed Dec 29, 2004 1:50 am

Just tried to emerge pwlib myself...

You are trying to emerge an older version, probably becasue you only use amd64 and not ~amd64.

I am emerging pwlib-1.6.6-r1..
And it gave nme the same problem, there is even a bug on the problem:
72706, but there is also newer ebuilds, pwlib-1.8.3, but it gives the same errors.

So, until there is a solution to the bug, I think you are out of luck, sorry.

Erik
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Top
ebrostig
Bodhisattva
Bodhisattva
User avatar
Posts: 3152
Joined: Sat Jul 20, 2002 12:44 am
Location: Orlando, Fl

  • Quote

Post by ebrostig » Wed Dec 29, 2004 2:45 am

Ok, I have found a solution!

You have to use the 1.8.3 ebuild and here are the steps:

1. cd /usr/portage/dev-libs/pwlib
2. patch -p0 < pwlib.diff

pwlib.diff:

Code: Select all

--- pwlib-1.8.3.ebuild  2004-12-27 22:50:54.000000000 -0500
+++ /root/pwlib-1.8.3.ebuild    2004-12-28 21:28:30.858943520 -0500
@@ -79,6 +79,7 @@

        econf ${myconf} \
                --enable-plugins \
+               --libdir=/usr/lib64 \
                --with-plugins=${plugins} || die "configure failed"

        # Horrible hack to strip out -L/usr/lib to allow upgrades
@@ -104,7 +105,7 @@

 src_install() {
        # make these because the makefile isn't smart enough
-       dodir /usr/bin /usr/lib /usr/share /usr/include
+       dodir /usr/bin /usr/lib64 /usr/share /usr/include
        make PREFIX=${D}/usr install || die "install failed"

        # these are for compiling openh323
@@ -114,8 +115,8 @@
        cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include

        dodir /usr/share/pwlib/lib
-       for x in ${D}/usr/lib/*; do
-               dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}`
+       for x in ${D}/usr/lib64/*; do
+               dosym /usr/lib64/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}`
        done

        # remove CVS dirs
@@ -125,7 +126,7 @@
        # only amd64 needs special handling, afaiks
        rm ${D}/usr/lib/libpt.so
        if [ ${ARCH} = "amd64" ] ; then
-               dosym /usr/lib/libpt_linux_x86_64_r.so.${PV} /usr/lib/libpt.so
+               dosym /usr/lib64/libpt_linux_x86_64_r.so.${PV} /usr/lib/libpt.so
        else
                dosym /usr/lib/libpt_linux_${ARCH}_r.so.${PV} /usr/lib/libpt.so
        fi
3. execute:
ebuild /usr/portage/dev-libs/pwlib/pwlib-1.8.3.ebuild fetch unpack

4. cd /var/tmp/portage/pwlib-1.8.3/work/pwlib

5. Execute: patch -p0 < makefile.in.diff

makefile.in.diff:

Code: Select all

--- Makefile.in 2004-12-28 21:39:16.759751672 -0500
+++ /root/Makefile.in   2004-12-28 21:31:39.555257320 -0500
@@ -248,7 +248,7 @@
                      $(DESTDIR)$(PREFIX)/include/ptlib/unix/ptlib \
                      $(DESTDIR)$(PREFIX)/include/ptclib \
                      $(DESTDIR)$(PREFIX)/share/pwlib/make ; \
-               do mkdir -p $$dir ; chmod 755 $$dir ; \
+               do mkdir -p $$dir  ; \
        done )
        $(INSTALL) -m 444 lib/$(PTLIB_FILE).@MAJOR_VERSION@.@MINOR_VERSION@.@BUILD_NUMBER@ $(DESTDIR)$(LIBDIR)
        (cd $(DESTDIR)$(LIBDIR) ; \
6. Execute:
FEATURES="-sandbox" ebuild /usr/portage/dev-libs/pwlib/pwlib-1.8.3.ebuild compile install qmerge

and you should be all set! :)

Erik
'Yes, Firefox is indeed greater than women. Can women block pops up for you? No. Can Firefox show you naked women? Yes.'
Top
giant
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 107
Joined: Thu Aug 01, 2002 10:25 am
Contact:
Contact giant
Website

  • Quote

Post by giant » Tue Jan 04, 2005 7:47 pm

Hi ebrostig,

I did exactly all the steps but it's not working for me :-(

This is what I get:

Code: Select all

FEATURES="-sandbox" ebuild /usr/portage/dev-libs/pwlib/pwlib-1.8.3.ebuild compile
>>> md5 src_uri ;-) pwlib-v1_8_3-src-tar.gz
>>> Checking pwlib-v1_8_3-src-tar.gz's mtime...
>>> WORKDIR is up-to-date, keeping...
ssl
alsa
esd
 * econf: updating /var/tmp/portage/pwlib-1.8.3/work/pwlib/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating /var/tmp/portage/pwlib-1.8.3/work/pwlib/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --enable-ipv6 --enable-plugins --libdir=/usr/lib64
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type:
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
configure: PTLib version is 1.8.3
checking build system type... config.sub: missing argument
Try `config.sub --help' for more information.
configure: error: /bin/sh ./config.sub   failed

!!! ERROR: dev-libs/pwlib-1.8.3 failed.
!!! Function econf, Line 449, Exitcode 1
!!! econf failed
!!! If you need support, post the topmost build error, NOT this status message.
On
Linux funboy 2.6.10-gentoo-r2 #2 Tue Jan 4 20:05:29 CET 2005 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux

With

Code: Select all

gcc -v
Lese Spezifikationen von /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/specs
Konfiguriert mit: /var/tmp/portage/gcc-3.4.3/work/gcc-3.4.3/configure --enable-version-specific-runtime-libs --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.3 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.3/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include/g++-v3 --host=x86_64-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-shared --enable-threads=posix --enable-multilib --disable-libgcj --enable-languages=c,c++,f77
Thread-Modell: posix
gcc-Version 3.4.3  (Gentoo Linux 3.4.3, ssp-3.4.3-0, pie-8.7.6.6)
Thanks for your help :-)
Top
Inssomniak
n00b
n00b
Posts: 12
Joined: Tue Aug 03, 2004 6:18 pm

  • Quote

Post by Inssomniak » Thu Jan 06, 2005 12:31 am

This failed for me, 4 of 4 hunks failed while patching pwlib-1.8.3.ebuild
Top
Inssomniak
n00b
n00b
Posts: 12
Joined: Tue Aug 03, 2004 6:18 pm

See this

  • Quote

Post by Inssomniak » Fri Jan 07, 2005 8:11 pm

http://bugs.gentoo.org/show_bug.cgi?id=77056

working ebuild and makefile based on the info above, but works (gotta watch those whitespaces!)
Top
MadG
n00b
n00b
Posts: 2
Joined: Mon Jan 31, 2005 9:17 pm

still problems

  • Quote

Post by MadG » Mon Jan 31, 2005 9:42 pm

the ebuild works fine on amd64 but there are some tools missing (?)
emerge of openh323 gives me the following error:

Code: Select all

make[1]: Entering directory '/var/tmp/portage/openh323-1.13.2-r1/work/src'
make -C /usr/share/pwlib/tools/asnparser opt
....
No such file or Directory...
------------
Der maennliche hoden ist wie Tibet -
er sehnt sich nach Freiheit ;)

I'm a 21 year old german living in Munich and studiing computer-science

This message was displayed using 100% recycled electrons
Top
MadG
n00b
n00b
Posts: 2
Joined: Mon Jan 31, 2005 9:17 pm

still problems

  • Quote

Post by MadG » Mon Jan 31, 2005 9:42 pm

the ebuild works fine on amd64 but there are some tools missing (?)
emerge of openh323 gives me the following error:

Code: Select all

make[1]: Entering directory '/var/tmp/portage/openh323-1.13.2-r1/work/src'
make -C /usr/share/pwlib/tools/asnparser opt
....
No such file or Directory...
------------
Der maennliche hoden ist wie Tibet -
er sehnt sich nach Freiheit ;)

I'm a 21 year old german living in Munich and studiing computer-science

This message was displayed using 100% recycled electrons
Top
pagaman
n00b
n00b
User avatar
Posts: 25
Joined: Fri Jan 23, 2004 10:11 pm
Location: London

  • Quote

Post by pagaman » Tue Feb 01, 2005 4:00 pm

You will need to disable sandbox, so something like

FEATURES="-sandbox" emerge pwlib

should work...
(At least it did for me)
History only remembers great people by forgetting their mistakes.
Top
pagaman
n00b
n00b
User avatar
Posts: 25
Joined: Fri Jan 23, 2004 10:11 pm
Location: London

  • Quote

Post by pagaman » Tue Feb 01, 2005 4:19 pm

Actually if you're half way through doing what I'm doing (emerging gnomemeeting) you will need to do the same for openh323...
History only remembers great people by forgetting their mistakes.
Top
Post Reply

13 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy