Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cannot set USE="doc" flag
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X)
View previous topic :: View next topic  
Author Message
suhlhorn
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2003
Posts: 76
Location: Miami, FL

PostPosted: Thu Feb 03, 2005 12:50 pm    Post subject: cannot set USE="doc" flag Reply with quote

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

Code:

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:

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
Back to top
View user's profile Send private message
cmoad
n00b
n00b


Joined: 03 Aug 2003
Posts: 40
Location: Indianapolis, IN

PostPosted: Thu Feb 03, 2005 3:02 pm    Post subject: Reply with quote

From /usr/portage/profiles/default-macos/ppc/use.mask

Quote:
# Skipping docs for now
doc


Why? I do not know, but you could be crazy and comment this line.
Back to top
View user's profile Send private message
suhlhorn
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2003
Posts: 76
Location: Miami, FL

PostPosted: Thu Feb 03, 2005 4:17 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
cmoad
n00b
n00b


Joined: 03 Aug 2003
Posts: 40
Location: Indianapolis, IN

PostPosted: Thu Feb 03, 2005 4:23 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
suhlhorn
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2003
Posts: 76
Location: Miami, FL

PostPosted: Thu Feb 03, 2005 4:32 pm    Post subject: Reply with quote

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?
Back to top
View user's profile Send private message
cmoad
n00b
n00b


Joined: 03 Aug 2003
Posts: 40
Location: Indianapolis, IN

PostPosted: Thu Feb 03, 2005 4:37 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
suhlhorn
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2003
Posts: 76
Location: Miami, FL

PostPosted: Thu Feb 03, 2005 4:48 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
suhlhorn
Tux's lil' helper
Tux's lil' helper


Joined: 22 Jun 2003
Posts: 76
Location: Miami, FL

PostPosted: Thu Feb 03, 2005 7:50 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Gentoo for Mac OS X (Portage for Mac OS X) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum