Forums

Skip to content

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

access violation when compiling media-libs/libgphoto2

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
4 posts • Page 1 of 1
Author
Message
NicoT
n00b
n00b
Posts: 9
Joined: Sat Oct 21, 2006 4:48 pm
Location: Netherlands

access violation when compiling media-libs/libgphoto2

  • Quote

Post by NicoT » Tue Apr 22, 2014 7:46 pm

When compiling media-libs/libgphoto2-2.5.3.1 i get the following message:

Code: Select all

...
checking for struct statfs.f_bfree... yes
checking for struct statfs.f_bavail... yes
checking for struct statfs.f_favail... no
checking for struct statvfs.f_blocks... no
 * ACCESS DENIED:  mkdir:        /usr/i486-pc-linux-gnu/gcc-bin
mkdir: cannot create directory '/usr/i486-pc-linux-gnu/gcc-bin': Permission denied
 * ACCESS DENIED:  mkdir:        /usr/i486-pc-linux-gnu/gcc-bin
mkdir: cannot create directory '/usr/i486-pc-linux-gnu/gcc-bin': Permission denied
mkdir: cannot create directory '/usr/i486-pc-linux-gnu/gcc-bin/4.1.2': No such file or directory
checking for uint8_t in stdint.h... yes
checking whether byte ordering is bigendian... no
checking for le32toh in machine/endian.h... no
...

...
>>> Source configured.
 * --------------------------- ACCESS VIOLATION SUMMARY ---------------------------
 * LOG FILE: "/var/log/sandbox/sandbox-29465.log"
 * 
VERSION 1.0
FORMAT: F - Function called
FORMAT: S - Access Status
FORMAT: P - Path as passed to function
FORMAT: A - Absolute Path (not canonical)
FORMAT: R - Canonical Path
FORMAT: C - Command Line

F: mkdir
S: deny
P: gcc-bin
A: /usr/i486-pc-linux-gnu/gcc-bin
R: /usr/i486-pc-linux-gnu/gcc-bin
C: mkdir -p /usr/i486-pc-linux-gnu/gcc-bin 4.1.2 

F: mkdir
S: deny
P: /usr/i486-pc-linux-gnu/gcc-bin
A: /usr/i486-pc-linux-gnu/gcc-bin
R: /usr/i486-pc-linux-gnu/gcc-bin
C: mkdir /usr/i486-pc-linux-gnu/gcc-bin /usr/i486-pc-linux-gnu/gcc-bin/4.1.2 
 * --------------------------------------------------------------------------------

>>> Failed to emerge media-libs/libgphoto2-2.5.3.1, Log file:

>>>  '/tmp/portage/media-libs/libgphoto2-2.5.3.1/temp/build.log'
...


I'm not sure if this is a bug or if there's someting wrong with my configuration. What has this old gcc version to do with it? I'm usig 4.7.3:

Code: Select all

gcc-config -l
 [1] avr-4.7.3 *
 [2] avr-4.8.2

 [3] i686-pc-linux-gnu-4.6.3
 [4] i686-pc-linux-gnu-4.7.3 *
Should i report a bug? If any futher information is needed please let me know.
Top
Dominique_71
Veteran
Veteran
User avatar
Posts: 1957
Joined: Wed Aug 17, 2005 1:01 pm
Location: Switzerland (Romandie)

  • Quote

Post by Dominique_71 » Thu Apr 24, 2014 12:24 pm

Maybe some software you have depend on the old gcc. You can see that with "equery depends =sys-devel/gcc-4.6.3

For the sandbox access violation when merging libgphoto2, I think this is a bug and should be reported.
"Confirm You are a robot." - the singularity
Top
NicoT
n00b
n00b
Posts: 9
Joined: Sat Oct 21, 2006 4:48 pm
Location: Netherlands

  • Quote

Post by NicoT » Thu Apr 24, 2014 8:24 pm

Thanks for the reply, i filed a bug report https://bugs.gentoo.org/show_bug.cgi?id=508628

With the old gcc version i ment version 4.1.2, wich is not installed at all. Why should directory /usr/i486-pc-linux-gnu/gcc-bin/4.1.2 be created?
Top
Dominique_71
Veteran
Veteran
User avatar
Posts: 1957
Joined: Wed Aug 17, 2005 1:01 pm
Location: Switzerland (Romandie)

  • Quote

Post by Dominique_71 » Thu Apr 24, 2014 10:46 pm

I don't know, that's the bug. Portage should not try to write outside its sandbox during the configuration phase.
"Confirm You are a robot." - the singularity
Top
Post Reply

4 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

 

 

magic