Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo for Mac OS X (Portage for Mac OS X)
  • Search

cannot set USE="doc" flag

Running Portage on Mac OS X and need help with a problem? Post here.
Locked
Advanced search
8 posts • Page 1 of 1
Author
Message
suhlhorn
Tux's lil' helper
Tux's lil' helper
Posts: 76
Joined: Sun Jun 22, 2003 5:59 pm
Location: Miami, FL

cannot set USE="doc" flag

  • Quote

Post by suhlhorn » Thu Feb 03, 2005 12:50 pm

I've tried many ways, but I can't enable the 'doc' use flag on ppc-macos (no problems on my x86 systems).

Code: Select all

MRHANKY:~ root# USE="doc" emerge -pv tetex

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] app-text/tetex-2.0.2-r4  +X -debug (-doc) 0 kB 

Total size of downloads: 0 kB
Q1- What are the ( ) around the doc flag for?

Q2- Why isn't the doc flag being set?
I've added it to my make.conf and also to packages.use, but I still get:

Code: Select all

MRHANKY:~ root# emerge info
!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.51-r15 (default-darwin/macos/10.3, gcc-3.3, libsystem-7.1-r0, 7.7.0 Power Macintosh)
=================================================================
System uname: 7.7.0 Power Macintosh powerpc
macos-20041118
Python:               [2.3 (#1, Sep 13 2003, 00:49:11)]
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
dev-lang/python:     [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   [Not Present]
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X libwww ncurses nls pdflib plotutils png ppc-macos python readline tetex"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
No doc in the USE variable. Is this a bug?
-stephen
Top
cmoad
n00b
n00b
Posts: 40
Joined: Sun Aug 03, 2003 4:17 am
Location: Indianapolis, IN
Contact:
Contact cmoad
Website

  • Quote

Post by cmoad » Thu Feb 03, 2005 3:02 pm

From /usr/portage/profiles/default-macos/ppc/use.mask
# Skipping docs for now
doc
Why? I do not know, but you could be crazy and comment this line.
Top
suhlhorn
Tux's lil' helper
Tux's lil' helper
Posts: 76
Joined: Sun Jun 22, 2003 5:59 pm
Location: Miami, FL

  • Quote

Post by suhlhorn » Thu Feb 03, 2005 4:17 pm

cmoad wrote:From /usr/portage/profiles/default-macos/ppc/use.mask
Why? I do not know, but you could be crazy and comment this line.
Already tried that.

Anyway, shouldn't this be overridden by /etc/portage/package.use and/or setting USE="doc" during the emerge?
Top
cmoad
n00b
n00b
Posts: 40
Joined: Sun Aug 03, 2003 4:17 am
Location: Indianapolis, IN
Contact:
Contact cmoad
Website

  • Quote

Post by cmoad » Thu Feb 03, 2005 4:23 pm

My impression was that these files represent hard masks. For example, on my x86 gentoo box, "ACCEPT_KEYWORDS=~x86 emerge -pv python" trys for python-2.3.4 since the python-2.4 ebuild is masked in /usr/portage/profiles/package.mask.
Top
suhlhorn
Tux's lil' helper
Tux's lil' helper
Posts: 76
Joined: Sun Jun 22, 2003 5:59 pm
Location: Miami, FL

  • Quote

Post by suhlhorn » Thu Feb 03, 2005 4:32 pm

I made /etc/portage/use.unmask and added doc...no dice. But shouldn't commenting that line out in the profile provide the same effect?

Looks like a bug, no?
Top
cmoad
n00b
n00b
Posts: 40
Joined: Sun Aug 03, 2003 4:17 am
Location: Indianapolis, IN
Contact:
Contact cmoad
Website

  • Quote

Post by cmoad » Thu Feb 03, 2005 4:37 pm

default-darwin/use.mask:doc
default-linux/sh/use.mask:doc
default-macos/ppc/use.mask:# Skipping docs for now
default-macos/ppc/use.mask:doc
default-macos-10.3/use.mask:# Skipping docs for now
default-macos-10.3/use.mask:doc
default-macos-10.4/use.mask:# Skipping docs for now
default-macos-10.4/use.mask:doc

Did you try the right profile. I found these by grepping. Wouldn't hurt to try them all.
Top
suhlhorn
Tux's lil' helper
Tux's lil' helper
Posts: 76
Joined: Sun Jun 22, 2003 5:59 pm
Location: Miami, FL

  • Quote

Post by suhlhorn » Thu Feb 03, 2005 4:48 pm

cmoad wrote: Did you try the right profile. I found these by grepping. Wouldn't hurt to try them all.
Very nice. I commented them all out and now I can set the doc flag.

I initially used /usr/portage/profile/default-macos-10.3 since I'm running panther, but I guess it's not that simple. I will start the emerge and see if there is a reason the doc flag is hard masked.
Top
suhlhorn
Tux's lil' helper
Tux's lil' helper
Posts: 76
Joined: Sun Jun 22, 2003 5:59 pm
Location: Miami, FL

  • Quote

Post by suhlhorn » Thu Feb 03, 2005 7:50 pm

UPDATE:
The offending use flag is in profiles/default-darwin/use.mask. The other macos profiles have the doc flag masked, but they don't seem to effect the emerge. I submitted a bug:

http://bugs.gentoo.org/show_bug.cgi?id=80615
Top
Locked

8 posts • Page 1 of 1

Return to “Gentoo for Mac OS X (Portage for Mac OS X)”

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