Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420483 - app-portage/ufed-0.40.1 manpage references files, which are not present
Summary: app-portage/ufed-0.40.1 manpage references files, which are not present
Status: RESOLVED DUPLICATE of bug 281304
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Sven Eden
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-10 13:18 UTC by Juergen Rose
Modified: 2013-01-08 11:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2012-06-10 13:18:54 UTC
The man pages to ufed say:

  The 1st char is the setting from the /etc/make.profile/make.defaults file.
  These are the defaults for Gentoo as a whole. These should not be changed.

  The 2nd char is the setting from the /etc/make.profile/use.defaults file.
  These will change as packages are added and removes from the system.

But I can't find a /etc/make.profile/make.defaults file:

root@orca:/root(28)# ll /etc/make.profile/make.defaults
/bin/ls: cannot access /etc/make.profile/make.defaults: No such file or directory

root@orca:/root(29)# ll /etc/make.profile/
total 4
-rw-r--r-- 1 portage portage    2 Oct 22  2009 eapi
drwxr-xr-x 2 root    root    1024 Jan 31 14:42 gnome/
drwxr-xr-x 2 root    root    1024 Jan 31 14:42 kde/
-rw-r--r-- 1 portage portage   34 Aug  6  2009 parent
root@orca:/root(30)# eselect profile list
Available profile symlink targets:
  [1]   default/linux/amd64/10.0
  [2]   default/linux/amd64/10.0/selinux
  [3]   default/linux/amd64/10.0/desktop *
  [4]   default/linux/amd64/10.0/desktop/gnome
  [5]   default/linux/amd64/10.0/desktop/kde
  [6]   default/linux/amd64/10.0/developer
  [7]   default/linux/amd64/10.0/no-multilib
  [8]   default/linux/amd64/10.0/server
  [9]   hardened/linux/amd64
  [10]  hardened/linux/amd64/selinux
  [11]  hardened/linux/amd64/no-multilib
  [12]  hardened/linux/amd64/no-multilib/selinux

root@orca:/root(33)# ll  /etc/make.profile
lrwxrwxrwx 1 root root 61 Jan 26  2010 /etc/make.profile -> ../usr/portage_orca/profiles/default/linux/amd64/10.0/desktop/
root@orca:/root(34)# find  /etc/make.profile/ -name make.defaults
root@orca:/root(35)# 

I suppose the man pages should reference something like /usr/portage/profiles/targets/desktop/make.defaults or /usr/portage/profiles/default/linux/make.defaults.

Reproducible: Always
Comment 1 Kai Damm 2012-06-16 08:13:53 UTC
Also, ufed does not work without the /etc/make.profile symlink. The symlink is now /etc/portage/make.profile. 

Steps to reproduce:

1. rm /etc/make.profile
2. eselect profile list/eselect profile set ...
3. ufed

Actual results:

/etc/make.profile is not a symlink
Compilation failed in require at /usr/sbin/ufed line 9.
BEGIN failed--compilation aborted at /usr/sbin/ufed line 9.

expected result: ufed starting.

To use ufed again:

1. cd /etc
2. ln -s ../usr/portage/profiles/default/linux/amd64/10.0/<...> make.profile

ufed code and documentation should be changed to the new profile symlink location.
Comment 2 Sven Eden 2013-01-08 11:03:10 UTC
I'll check the documentation again to make sure it lists the correct file. This is work in progress, that can be reviewed using the live ebuild.

===== 

For /etc/make.profile, the current ufed does not need it any more:

-----
 # ls -l /etc/make.profile
ls: cannot access /etc/make.profile: No such file or directory
 # ufed
Cancelled, not saving changes.
 # ufed
Warning: source command found in /etc/portage/make.conf. Flags may
be saved incorrectly if the sourced file modifies them.
 #
-----

*** This bug has been marked as a duplicate of bug 281304 ***