Discussion:
Building b-k fails
Luis Correia
2008-07-25 15:36:40 UTC
Permalink
Hi!

my recent tests showed that either something is wrong, or i'm screwing
something up :).

Brutus-Keyring :)


svn update
./autogen.sh
./configure --enable-brutus-devel=yes --enable-brutus-debug=yes
--enable-brutus-dist=yes --enable-brutus-target=centos
make distfiles

--
Error - Unknown action
make: *** [distfiles] Error 1
--

But if I restart and do this instead:

svn update
./autogen.sh
./configure --enable-brutus-devel=yes --enable-brutus-debug=yes
--enable-brutus-dist=yes --enable-brutus-target=centos
make dist-rpm

It works:

Wrote: /home/lfcorreia/rpmbuild/SRPMS/brutus-keyring-0.9.30-1.src.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-keyring-0.9.30-1.i386.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-keyring-devel-0.9.30-1.i386.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-keyring-debuginfo-0.9.30-1.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.23628
+ umask 022
+ cd /home/lfcorreia/rpmbuild/BUILD
+ cd brutus-keyring-0.9.30
+ rm -rf /var/tmp/brutus-keyring-0.9.30-1-root-lfcorreia
+ exit 0


HTH,
Luis Correia
Jules Colding
2008-07-25 21:11:14 UTC
Permalink
Hi Luis,
Post by Luis Correia
Hi!
my recent tests showed that either something is wrong, or i'm screwing
something up :).
No, my fault. Fixed in svn for e-b, b-k and lorica.

Thanks for letting me know.

Best regards,
jules
Post by Luis Correia
Brutus-Keyring :)
svn update
./autogen.sh
./configure --enable-brutus-devel=yes --enable-brutus-debug=yes
--enable-brutus-dist=yes --enable-brutus-target=centos
make distfiles
--
Error - Unknown action
make: *** [distfiles] Error 1
--
svn update
./autogen.sh
./configure --enable-brutus-devel=yes --enable-brutus-debug=yes
--enable-brutus-dist=yes --enable-brutus-target=centos
make dist-rpm
Wrote: /home/lfcorreia/rpmbuild/SRPMS/brutus-keyring-0.9.30-1.src.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-
keyring-0.9.30-1.i386.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-keyring-
devel-0.9.30-1.i386.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-keyring-
debuginfo-0.9.30-1.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.23628
+ umask 022
+ cd /home/lfcorreia/rpmbuild/BUILD
+ cd brutus-keyring-0.9.30
+ rm -rf /var/tmp/brutus-keyring-0.9.30-1-root-lfcorreia
+ exit 0
HTH,
Luis Correia
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
Luis Correia
2008-07-28 08:07:26 UTC
Permalink
Hi Jules,

oddly enough, it still doesn't work...

make[1]: Entering directory `/opt/b-k'
make[1]: *** No rule to make target `dist-rpm'. Stop.
make[1]: Leaving directory `/opt/b-k'

Luis Correia
Post by Jules Colding
Hi Luis,
Post by Luis Correia
Hi!
my recent tests showed that either something is wrong, or i'm screwing
something up :).
No, my fault. Fixed in svn for e-b, b-k and lorica.
Thanks for letting me know.
Best regards,
jules
Post by Luis Correia
Brutus-Keyring :)
svn update
./autogen.sh
./configure --enable-brutus-devel=yes --enable-brutus-debug=yes
--enable-brutus-dist=yes --enable-brutus-target=centos
make distfiles
--
Error - Unknown action
make: *** [distfiles] Error 1
--
svn update
./autogen.sh
./configure --enable-brutus-devel=yes --enable-brutus-debug=yes
--enable-brutus-dist=yes --enable-brutus-target=centos
make dist-rpm
Wrote: /home/lfcorreia/rpmbuild/SRPMS/brutus-keyring-0.9.30-1.src.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-
keyring-0.9.30-1.i386.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-keyring-
devel-0.9.30-1.i386.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-keyring-
debuginfo-0.9.30-1.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.23628
+ umask 022
+ cd /home/lfcorreia/rpmbuild/BUILD
+ cd brutus-keyring-0.9.30
+ rm -rf /var/tmp/brutus-keyring-0.9.30-1-root-lfcorreia
+ exit 0
HTH,
Luis Correia
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
Jules Colding
2008-07-28 08:57:32 UTC
Permalink
Hi Luis,
Post by Luis Correia
Hi Jules,
oddly enough, it still doesn't work...
make[1]: Entering directory `/opt/b-k'
make[1]: *** No rule to make target `dist-rpm'. Stop.
make[1]: Leaving directory `/opt/b-k'
But for a different reason. You said below that distfiles didn't work
but that dist-rpm did. Now that doesn't work either. Are you sure that
your test conditions hasn't changed?

BR,
jules
Post by Luis Correia
Luis Correia
Post by Jules Colding
Hi Luis,
Post by Luis Correia
Hi!
my recent tests showed that either something is wrong, or i'm screwing
something up :).
No, my fault. Fixed in svn for e-b, b-k and lorica.
Thanks for letting me know.
Best regards,
jules
Post by Luis Correia
Brutus-Keyring :)
svn update
./autogen.sh
./configure --enable-brutus-devel=yes --enable-brutus-debug=yes
--enable-brutus-dist=yes --enable-brutus-target=centos
make distfiles
--
Error - Unknown action
make: *** [distfiles] Error 1
--
svn update
./autogen.sh
./configure --enable-brutus-devel=yes --enable-brutus-debug=yes
--enable-brutus-dist=yes --enable-brutus-target=centos
make dist-rpm
Wrote: /home/lfcorreia/rpmbuild/SRPMS/brutus-
keyring-0.9.30-1.src.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-
keyring-0.9.30-1.i386.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-keyring-
devel-0.9.30-1.i386.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-keyring-
debuginfo-0.9.30-1.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.23628
+ umask 022
+ cd /home/lfcorreia/rpmbuild/BUILD
+ cd brutus-keyring-0.9.30
+ rm -rf /var/tmp/brutus-keyring-0.9.30-1-root-lfcorreia
+ exit 0
HTH,
Luis Correia
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
Luis Correia
2008-07-28 09:00:33 UTC
Permalink
Jules,

actually 'make dist-rpm' DOES work...

what doesn't work is 'make distfiles' that snippet is the result of
'make distfiles'

Luis Correia
Post by Jules Colding
Hi Luis,
Post by Luis Correia
Hi Jules,
oddly enough, it still doesn't work...
make[1]: Entering directory `/opt/b-k'
make[1]: *** No rule to make target `dist-rpm'. Stop.
make[1]: Leaving directory `/opt/b-k'
But for a different reason. You said below that distfiles didn't work
but that dist-rpm did. Now that doesn't work either. Are you sure that
your test conditions hasn't changed?
BR,
jules
Post by Luis Correia
Luis Correia
Post by Jules Colding
Hi Luis,
Post by Luis Correia
Hi!
my recent tests showed that either something is wrong, or i'm screwing
something up :).
No, my fault. Fixed in svn for e-b, b-k and lorica.
Thanks for letting me know.
Best regards,
jules
Post by Luis Correia
Brutus-Keyring :)
svn update
./autogen.sh
./configure --enable-brutus-devel=yes --enable-brutus-debug=yes
--enable-brutus-dist=yes --enable-brutus-target=centos
make distfiles
--
Error - Unknown action
make: *** [distfiles] Error 1
--
svn update
./autogen.sh
./configure --enable-brutus-devel=yes --enable-brutus-debug=yes
--enable-brutus-dist=yes --enable-brutus-target=centos
make dist-rpm
Wrote: /home/lfcorreia/rpmbuild/SRPMS/brutus-
keyring-0.9.30-1.src.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-
keyring-0.9.30-1.i386.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-keyring-
devel-0.9.30-1.i386.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-keyring-
debuginfo-0.9.30-1.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.23628
+ umask 022
+ cd /home/lfcorreia/rpmbuild/BUILD
+ cd brutus-keyring-0.9.30
+ rm -rf /var/tmp/brutus-keyring-0.9.30-1-root-lfcorreia
+ exit 0
HTH,
Luis Correia
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
Jules Colding
2008-07-28 09:01:58 UTC
Permalink
Post by Luis Correia
Jules,
actually 'make dist-rpm' DOES work...
what doesn't work is 'make distfiles' that snippet is the result of
'make distfiles'
Ah, OK. I'll take a closer look.

Thanks,
jules
Post by Luis Correia
Luis Correia
Post by Jules Colding
Hi Luis,
Post by Luis Correia
Hi Jules,
oddly enough, it still doesn't work...
make[1]: Entering directory `/opt/b-k'
make[1]: *** No rule to make target `dist-rpm'. Stop.
make[1]: Leaving directory `/opt/b-k'
But for a different reason. You said below that distfiles didn't work
but that dist-rpm did. Now that doesn't work either. Are you sure that
your test conditions hasn't changed?
BR,
jules
Post by Luis Correia
Luis Correia
Post by Jules Colding
Hi Luis,
Post by Luis Correia
Hi!
my recent tests showed that either something is wrong, or i'm screwing
something up :).
No, my fault. Fixed in svn for e-b, b-k and lorica.
Thanks for letting me know.
Best regards,
jules
Post by Luis Correia
Brutus-Keyring :)
svn update
./autogen.sh
./configure --enable-brutus-devel=yes --enable-brutus-debug=yes
--enable-brutus-dist=yes --enable-brutus-target=centos
make distfiles
--
Error - Unknown action
make: *** [distfiles] Error 1
--
svn update
./autogen.sh
./configure --enable-brutus-devel=yes --enable-brutus-debug=yes
--enable-brutus-dist=yes --enable-brutus-target=centos
make dist-rpm
Wrote: /home/lfcorreia/rpmbuild/SRPMS/brutus-
keyring-0.9.30-1.src.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-
keyring-0.9.30-1.i386.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-keyring-
devel-0.9.30-1.i386.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-keyring-
debuginfo-0.9.30-1.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.23628
+ umask 022
+ cd /home/lfcorreia/rpmbuild/BUILD
+ cd brutus-keyring-0.9.30
+ rm -rf /var/tmp/brutus-keyring-0.9.30-1-root-lfcorreia
+ exit 0
HTH,
Luis Correia
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
Jules Colding
2008-07-28 09:08:04 UTC
Permalink
Post by Luis Correia
Jules,
actually 'make dist-rpm' DOES work...
what doesn't work is 'make distfiles' that snippet is the result of
'make distfiles'
Strange. "lsb_release -sr" do say "5.2", right?

--
jules
Post by Luis Correia
Post by Jules Colding
Hi Luis,
Post by Luis Correia
Hi Jules,
oddly enough, it still doesn't work...
make[1]: Entering directory `/opt/b-k'
make[1]: *** No rule to make target `dist-rpm'. Stop.
make[1]: Leaving directory `/opt/b-k'
But for a different reason. You said below that distfiles didn't work
but that dist-rpm did. Now that doesn't work either. Are you sure that
your test conditions hasn't changed?
BR,
jules
Post by Luis Correia
Luis Correia
Post by Jules Colding
Hi Luis,
Post by Luis Correia
Hi!
my recent tests showed that either something is wrong, or i'm screwing
something up :).
No, my fault. Fixed in svn for e-b, b-k and lorica.
Thanks for letting me know.
Best regards,
jules
Post by Luis Correia
Brutus-Keyring :)
svn update
./autogen.sh
./configure --enable-brutus-devel=yes --enable-brutus-debug=yes
--enable-brutus-dist=yes --enable-brutus-target=centos
make distfiles
--
Error - Unknown action
make: *** [distfiles] Error 1
--
svn update
./autogen.sh
./configure --enable-brutus-devel=yes --enable-brutus-debug=yes
--enable-brutus-dist=yes --enable-brutus-target=centos
make dist-rpm
Wrote: /home/lfcorreia/rpmbuild/SRPMS/brutus-
keyring-0.9.30-1.src.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-
keyring-0.9.30-1.i386.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-keyring-
devel-0.9.30-1.i386.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-keyring-
debuginfo-0.9.30-1.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.23628
+ umask 022
+ cd /home/lfcorreia/rpmbuild/BUILD
+ cd brutus-keyring-0.9.30
+ rm -rf /var/tmp/brutus-keyring-0.9.30-1-root-lfcorreia
+ exit 0
HTH,
Luis Correia
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
Luis Correia
2008-07-28 09:10:39 UTC
Permalink
Jules,

yes, nothing changed at all.

Luis
Post by Jules Colding
Post by Luis Correia
Jules,
actually 'make dist-rpm' DOES work...
what doesn't work is 'make distfiles' that snippet is the result of
'make distfiles'
Strange. "lsb_release -sr" do say "5.2", right?
--
jules
Post by Luis Correia
Post by Jules Colding
Hi Luis,
Post by Luis Correia
Hi Jules,
oddly enough, it still doesn't work...
make[1]: Entering directory `/opt/b-k'
make[1]: *** No rule to make target `dist-rpm'. Stop.
make[1]: Leaving directory `/opt/b-k'
But for a different reason. You said below that distfiles didn't work
but that dist-rpm did. Now that doesn't work either. Are you sure that
your test conditions hasn't changed?
BR,
jules
Post by Luis Correia
Luis Correia
Post by Jules Colding
Hi Luis,
Post by Luis Correia
Hi!
my recent tests showed that either something is wrong, or i'm screwing
something up :).
No, my fault. Fixed in svn for e-b, b-k and lorica.
Thanks for letting me know.
Best regards,
jules
Post by Luis Correia
Brutus-Keyring :)
svn update
./autogen.sh
./configure --enable-brutus-devel=yes --enable-brutus-debug=yes
--enable-brutus-dist=yes --enable-brutus-target=centos
make distfiles
--
Error - Unknown action
make: *** [distfiles] Error 1
--
svn update
./autogen.sh
./configure --enable-brutus-devel=yes --enable-brutus-debug=yes
--enable-brutus-dist=yes --enable-brutus-target=centos
make dist-rpm
Wrote: /home/lfcorreia/rpmbuild/SRPMS/brutus-
keyring-0.9.30-1.src.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-
keyring-0.9.30-1.i386.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-keyring-
devel-0.9.30-1.i386.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-keyring-
debuginfo-0.9.30-1.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.23628
+ umask 022
+ cd /home/lfcorreia/rpmbuild/BUILD
+ cd brutus-keyring-0.9.30
+ rm -rf /var/tmp/brutus-keyring-0.9.30-1-root-lfcorreia
+ exit 0
HTH,
Luis Correia
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
Jules Colding
2008-07-28 09:20:44 UTC
Permalink
Post by Luis Correia
Jules,
yes, nothing changed at all.
I'm afraid I'll have to ask you to attempt to spot where the bug is.
This really should work. The distfiles target is not must different
from the dist-rpm target. All it does is that it auto-detects the
actual platform, "CentOS 5.2" in your case, and invokes the correct
dist target. This is done by calling "release.sh" from the top-level
Makefile with the distribution name, "CentOS 5.2" in your case, as
first argument.

So dist-rpm should be invoked no matter what make target you use.

The distfiles target works like this:

* AX_BRUTUS_CHECK_PLATFORM is called from "configure.in". This will
set BRUTUS_DIST_RELEASE ("CentOS 5.2").

* AX_BRUTUS_PLATFORM_ADAPT is called from "configure.in". This will
set RPM_SPEC_CONFIGURE

* The top-level Makefile will invoke release.sh as "$(CWD)/release.sh $
(BRUTUS_DIST_RELEASE) no_push"

* release.sh will do "make dist-rpm"


Thanks,
jules
Post by Luis Correia
Post by Jules Colding
Post by Luis Correia
Jules,
actually 'make dist-rpm' DOES work...
what doesn't work is 'make distfiles' that snippet is the result of
'make distfiles'
Strange. "lsb_release -sr" do say "5.2", right?
--
jules
Post by Luis Correia
Post by Jules Colding
Hi Luis,
Post by Luis Correia
Hi Jules,
oddly enough, it still doesn't work...
make[1]: Entering directory `/opt/b-k'
make[1]: *** No rule to make target `dist-rpm'. Stop.
make[1]: Leaving directory `/opt/b-k'
But for a different reason. You said below that distfiles didn't work
but that dist-rpm did. Now that doesn't work either. Are you sure that
your test conditions hasn't changed?
BR,
jules
Post by Luis Correia
Luis Correia
Post by Jules Colding
Hi Luis,
Post by Luis Correia
Hi!
my recent tests showed that either something is wrong, or i'm screwing
something up :).
No, my fault. Fixed in svn for e-b, b-k and lorica.
Thanks for letting me know.
Best regards,
jules
Post by Luis Correia
Brutus-Keyring :)
svn update
./autogen.sh
./configure --enable-brutus-devel=yes --enable-brutus-debug=yes
--enable-brutus-dist=yes --enable-brutus-target=centos
make distfiles
--
Error - Unknown action
make: *** [distfiles] Error 1
--
svn update
./autogen.sh
./configure --enable-brutus-devel=yes --enable-brutus-debug=yes
--enable-brutus-dist=yes --enable-brutus-target=centos
make dist-rpm
Wrote: /home/lfcorreia/rpmbuild/SRPMS/brutus-
keyring-0.9.30-1.src.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-
keyring-0.9.30-1.i386.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-keyring-
devel-0.9.30-1.i386.rpm
Wrote: /home/lfcorreia/rpmbuild/RPMS/i386/brutus-keyring-
debuginfo-0.9.30-1.i386.rpm
Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.23628
+ umask 022
+ cd /home/lfcorreia/rpmbuild/BUILD
+ cd brutus-keyring-0.9.30
+ rm -rf /var/tmp/brutus-keyring-0.9.30-1-root-lfcorreia
+ exit 0
HTH,
Luis Correia
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
_______________________________________________
brutus mailing list
http://www.42tools.com/mailman/listinfo/brutus
Loading...