Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166210 - =net-misc/freenet6-1.0.0 ebuild broken
Summary: =net-misc/freenet6-1.0.0 ebuild broken
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-10 15:28 UTC by Christian Hoffmann (RETIRED)
Modified: 2007-04-16 18:54 UTC (History)
1 user (show)

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


Attachments
Should fix the compile problem (use $(tc-getCC) rather than ${CC}) (freenet6-1.0.0.patch,743 bytes, patch)
2007-02-19 20:38 UTC, Christian Hoffmann (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Hoffmann (RETIRED) gentoo-dev 2007-02-10 15:28:23 UTC
freenet6-1.0.0.ebuild compile completely fails (the sed in src_unpack() seems to cause that) and portage still goes on after the failures as it doesn't seem to detect them.
There are two problems, imo:
  * The sed line breaks the Makefile as ${CC} seems to be empty (maybe this worked earlier and was caused by a portage behaviour change?)
  * emake doesn't seem to return an error code and so the "|| die" has no effect. Maybe it's the Makefile which causes that.

Reproducible: Always

Steps to Reproduce:
emerge =net-misc/freenet6-1.0.0
Actual Results:  
>>> Compiling source in /var/tmp/portage/freenet6-1.0.0/work/freenet6-client-1.0 ...
mkdir -p bin
make[1]: Entering directory `/var/tmp/portage/freenet6-1.0.0/work/freenet6-client-1.0/src'
I. -march=athlon-xp -O2 -pipe -fomit-frame-pointer -c tspc.c -o ./tspc.o -Dlinux
make[1]: I.: Command not found
make[1]: [tspc.o] Error 127 (ignored)
I. -march=athlon-xp -O2 -pipe -fomit-frame-pointer -c xmltsp.c -o ./xmltsp.o -Dlinux
make[1]: I.: Command not found
make[1]: [xmltsp.o] Error 127 (ignored)
I. -march=athlon-xp -O2 -pipe -fomit-frame-pointer -c network.c -o ./network.o -Dlinux
make[1]: I.: Command not found
make[1]: [network.o] Error 127 (ignored)
I. -march=athlon-xp -O2 -pipe -fomit-frame-pointer -c config.c -o ./config.o -Dlinux
make[1]: I.: Command not found
make[1]: [config.o] Error 127 (ignored)
I. -march=athlon-xp -O2 -pipe -fomit-frame-pointer -c log.c -o ./log.o -Dlinux
make[1]: I.: Command not found
make[1]: [log.o] Error 127 (ignored)
I. -march=athlon-xp -O2 -pipe -fomit-frame-pointer -c protocol.c -o ./protocol.o -Dlinux
make[1]: I.: Command not found
make[1]: [protocol.o] Error 127 (ignored)
I. -march=athlon-xp -O2 -pipe -fomit-frame-pointer -c xmlparse.c -o ./xmlparse.o -Dlinux
make[1]: I.: Command not found
make[1]: [xmlparse.o] Error 127 (ignored)
I. -march=athlon-xp -O2 -pipe -fomit-frame-pointer -c auth.c -o ./auth.o -Dlinux
make[1]: I.: Command not found
make[1]: [auth.o] Error 127 (ignored)
I. -march=athlon-xp -O2 -pipe -fomit-frame-pointer -c md5c.c -o ./md5c.o -Dlinux
make[1]: I.: Command not found
make[1]: [md5c.o] Error 127 (ignored)
I. -march=athlon-xp -O2 -pipe -fomit-frame-pointer -c base64.c -o ./base64.o -Dlinux
make[1]: I.: Command not found
make[1]: [base64.o] Error 127 (ignored)
Generating basic configuration file
rm -f ../bin/tspc.conf.sample
chmod 700 ../bin/tspc.conf.sample
I. -march=athlon-xp -O2 -pipe -fomit-frame-pointer ./tspc.o ./xmltsp.o ./network.o ./config.o ./log.o ./protocol.o ./xmlparse.o ./auth.o ./md5c.o ./base64.o -o ../bin/tspc 
make[1]: I.: Command not found
make[1]: [../bin/tspc] Error 127 (ignored)

make[1]: Leaving directory `/var/tmp/portage/freenet6-1.0.0/work/freenet6-client-1.0/src'
make[1]: Entering directory `/var/tmp/portage/freenet6-1.0.0/work/freenet6-client-1.0/template'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/freenet6-1.0.0/work/freenet6-client-1.0/template'
make[1]: Entering directory `/var/tmp/portage/freenet6-1.0.0/work/freenet6-client-1.0/man'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/var/tmp/portage/freenet6-1.0.0/work/freenet6-client-1.0/man'
>>> Source compiled.
>>> Test phase [not enabled]: net-misc/freenet6-1.0.0

>>> Install freenet6-1.0.0 into /var/tmp/portage/freenet6-1.0.0/image/ category net-misc
!!! dosbin: bin/tspc does not exist
>>> Completed installing freenet6-1.0.0 into /var/tmp/portage/freenet6-1.0.0/image/

man:
gzipping man page: tspc.conf.5
gzipping man page: tspc.8
>>> Merging net-misc/freenet6-1.0.0 to /
--- /usr/
--- /usr/sbin/
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/freenet6-1.0.0/
>>> /usr/share/doc/freenet6-1.0.0/CONTRIB.txt.gz
>>> /usr/share/doc/freenet6-1.0.0/LEGAL.gz
>>> /usr/share/doc/freenet6-1.0.0/README.gz
--- /usr/share/man/
--- /usr/share/man/man5/
>>> /usr/share/man/man5/tspc.conf.5.gz
--- /usr/share/man/man8/
>>> /usr/share/man/man8/tspc.8.gz
--- /etc/
--- /etc/freenet6/
>>> /etc/freenet6/._cfg0000_tspc.conf
--- /etc/freenet6/template/
>>> /etc/freenet6/template/linux.sh
>>> /etc/freenet6/template/checktunnel.sh
>>> /etc/freenet6/template/gentoo.sh
--- /etc/init.d/
>>> /etc/init.d/._cfg0000_tspc


Expected Results:  
The ebuild should install freenet6 correctly, including the required binaries (which are missing because they were not even generated).
Comment 1 Christian Hoffmann (RETIRED) gentoo-dev 2007-02-19 20:38:56 UTC
Created attachment 110693 [details, diff]
Should fix the compile problem (use $(tc-getCC) rather than ${CC})

I attached a small patch which should fix the issue. I'm not really up-to-date about the freenet6 project though. There now seems to be another client, gw6c, which is not yet in the tree, which does pretty much the same but seems to be actively maintained. So maybe there is no more need for freenet6 once gw6c is in the tree. But I don't really know for sure.
Comment 2 Bernard Cafarelli gentoo-dev 2007-04-16 18:54:18 UTC
Fixed in CVS, new version available