Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 435314 - app-portage/ufed-0.40.1 - /etc/make.profile is not a symlink
Summary: app-portage/ufed-0.40.1 - /etc/make.profile is not a symlink
Status: RESOLVED DUPLICATE of bug 434672
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-17 08:29 UTC by Wolfgang Schipper
Modified: 2012-09-18 05:32 UTC (History)
0 users

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 Wolfgang Schipper 2012-09-17 08:29:27 UTC
After emerging app-portage/ufed-0.40.1 and starting ufed I will get errormessages.



Reproducible: Always

Steps to Reproduce:
1.emerge app-portage/ufed
2.ufed
3.
Actual Results:  
After starting ufed I got the following errormessages:
/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 Results:  
working, no errors

I think the problem is that /make.profile was moved to /etc/portage.

The following command will help as a workarround:
ln -s ../usr/portage/profiles/default/linux/x86/10.0 /etc/make.profile
Comment 1 Wolfgang Schipper 2012-09-17 08:32:02 UTC
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) app-portage/ufed-0.40.1
 * ufed-0.40.1.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                                                                                                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking ufed-0.40.1.tar.bz2 to /var/tmp/portage/app-portage/ufed-0.40.1/work
>>> Source unpacked in /var/tmp/portage/app-portage/ufed-0.40.1/work
>>> Preparing source in /var/tmp/portage/app-portage/ufed-0.40.1/work/ufed-0.40.1 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/app-portage/ufed-0.40.1/work/ufed-0.40.1 ...
./configure --prefix=/usr --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libexecdir=/usr/lib/ufed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking for i686-pc-linux-gnu-gcc option to accept ISO C99... -std=gnu99
checking for library containing initscr... -lncursesw
checking for perl... /usr/bin/perl
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
>>> Source configured.
>>> Compiling source in /var/tmp/portage/app-portage/ufed-0.40.1/work/ufed-0.40.1 ...
make
make  all-am
make[1]: Entering directory `/var/tmp/portage/app-portage/ufed-0.40.1/work/ufed-0.40.1'
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I.   -D_XOPEN_SOURCE=600  -O2 -march=i686 -pipe -MT ufed-curses.o -MD -MP -MF .deps/ufed-curses.Tpo -c -o ufed-curses.o ufed-curses.c
mv -f .deps/ufed-curses.Tpo .deps/ufed-curses.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I.   -D_XOPEN_SOURCE=600  -O2 -march=i686 -pipe -MT ufed-curses-checklist.o -MD -MP -MF .deps/ufed-curses-checklist.Tpo -c -o ufed-curses-checklist.o ufed-curses-checklist.c
mv -f .deps/ufed-curses-checklist.Tpo .deps/ufed-curses-checklist.Po
i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I.   -D_XOPEN_SOURCE=600  -O2 -march=i686 -pipe -MT ufed-curses-help.o -MD -MP -MF .deps/ufed-curses-help.Tpo -c -o ufed-curses-help.o ufed-curses-help.c
mv -f .deps/ufed-curses-help.Tpo .deps/ufed-curses-help.Po
i686-pc-linux-gnu-gcc -std=gnu99  -O2 -march=i686 -pipe  -Wl,-O1 -Wl,--as-needed -o ufed-curses ufed-curses.o ufed-curses-checklist.o ufed-curses-help.o  -lncursesw
rm -f ufed.tmp
sed \
        -e 's|@PACKAGE_VERSION[@]|0.40.1|g' \
        -e 's|@PERL[@]|/usr/bin/perl|g' \
        -e 's|@libexecdir[@]|/usr/lib/ufed|g' \
        -e 's|@perldir[@]|/usr/share/ufed|g' \
        ufed.pl.in >ufed.tmp
chmod +x ufed.tmp
mv ufed.tmp ufed
make[1]: Leaving directory `/var/tmp/portage/app-portage/ufed-0.40.1/work/ufed-0.40.1'
>>> Source compiled.
>>> Test phase [not enabled]: app-portage/ufed-0.40.1

>>> Install ufed-0.40.1 into /var/tmp/portage/app-portage/ufed-0.40.1/image/ category app-portage
make DESTDIR=/var/tmp/portage/app-portage/ufed-0.40.1/image/ install
make[1]: Entering directory `/var/tmp/portage/app-portage/ufed-0.40.1/work/ufed-0.40.1'
test -z "/usr/lib/ufed" || /bin/mkdir -p "/var/tmp/portage/app-portage/ufed-0.40.1/image//usr/lib/ufed"
  /usr/bin/install -c ufed-curses '/var/tmp/portage/app-portage/ufed-0.40.1/image//usr/lib/ufed'
test -z "/usr/sbin" || /bin/mkdir -p "/var/tmp/portage/app-portage/ufed-0.40.1/image//usr/sbin"
 /usr/bin/install -c ufed '/var/tmp/portage/app-portage/ufed-0.40.1/image//usr/sbin'
test -z "/usr/share/ufed" || /bin/mkdir -p "/var/tmp/portage/app-portage/ufed-0.40.1/image//usr/share/ufed"
 /usr/bin/install -c -m 644 Portage.pm '/var/tmp/portage/app-portage/ufed-0.40.1/image//usr/share/ufed'
test -z "/usr/share/man/man8" || /bin/mkdir -p "/var/tmp/portage/app-portage/ufed-0.40.1/image//usr/share/man/man8"
 /usr/bin/install -c -m 644 ufed.8 '/var/tmp/portage/app-portage/ufed-0.40.1/image//usr/share/man/man8'
make[1]: Leaving directory `/var/tmp/portage/app-portage/ufed-0.40.1/work/ufed-0.40.1'
>>> Completed installing ufed-0.40.1 into /var/tmp/portage/app-portage/ufed-0.40.1/image/

strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line
   usr/lib/ufed/ufed-curses
ecompressdir: bzip2 -9 /usr/share/man

>>> Installing (1 of 1) app-portage/ufed-0.40.1
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

# ufed
/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.
Comment 2 Jan Vesely 2012-09-17 12:47:33 UTC
I hit this bug too. It appeared after:
2012-09-09-make.conf-and-make.profile-move
and moving make.profile to the new location. (or a new install)
ufed should be updated to use new locaiton instead of the old one.
Comment 3 Paul Varner (RETIRED) gentoo-dev 2012-09-18 05:32:59 UTC

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