Dear list,
I'm trying to build tcl8.6.0 which some developers want/need. Took the spec file from srpm, and updated to 8.6 as such:
http://paste.debian.net/12932/
What I did: - updated version to 8.6.0 - disabled sdt - disabled patches for 5.8.x - changed configure options (s/disable-threads/enable-threads/)
and gave it a try.
it builds fine, works as far as %install, does the "for i in *.h" (line 104) and gives me a
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Fxgmu1 (%install)
now, what puzzles me:
1) the exit status does not give me a line or something what failed 2) the rpm-tmp.Fxgmu1 looks good from inspection 3) sh -x /var/tmp/rpm-tmp.Fxgmu1 runs happily and performs as expected. 4) rpmbuild -vv does not give any more clues as without.
ideas anyone how to debug further?
best regards Jens
www.biotronik.com
BIOTRONIK - Celebrating 50 years of excellence
Founded in 1963 with the development of the first German pacemaker, BIOTRONIK has brought innovations and the highest quality standards to the cardiac rhythm management and vascular intervention fields in more than 100 countries around the world. We’ve developed advanced technologies such as BIOTRONIK Home Monitoring®, Closed Loop Stimulation (CLS) and Orsiro, the industry's first hybrid drug eluting stent. BIOTRONIK also offers the broadest portfolio of cardiac devices with ProMRI®, an advanced technology that gives patients access to magnetic resonance (MR) scanning. BIOTRONIK SE & Co. KG Woermannkehre 1, 12359 Berlin, Germany Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRA 6501
Vertreten durch ihre Komplementärin: BIOTRONIK MT SE Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRB 118866 B Geschäftsführende Direktoren: Christoph Böhmer, Dr. Lothar Krings This e-mail and the information it contains including attachments are confidential and meant only for use by the intended recipient(s); disclosure or copying is strictly prohibited. If you are not addressed, but in the possession of this e-mail, please notify the sender immediately and delete the document.
Dear list,
I'm trying to build tcl8.6.0 which some developers want/need. Took the spec file from srpm, and updated to 8.6 as such:
http://paste.debian.net/12932/
What I did:
- updated version to 8.6.0
- disabled sdt
- disabled patches for 5.8.x
- changed configure options (s/disable-threads/enable-threads/)
and gave it a try.
it builds fine, works as far as %install, does the "for i in *.h" (line 104) and gives me a
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.Fxgmu1 (%install)
I'm not sure but what if you make line 107 like this: ) ;
Regards, Simon
From:
"Simon Matter" simon.matter@invoca.ch
I'm not sure but what if you make line 107 like this: ) ;
different, gives me:
+ find generic unix -name '*.h' -exec cp -p '{}' '/usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-1jn.el6.x86_64//usr/include/tcl-private/{}' ';' /var/tmp/rpm-tmp.qo3Efb: line 56: syntax error near unexpected token `;' error: Bad exit status from /var/tmp/rpm-tmp.qo3Efb (%install)
RPM build errors: Bad exit status from /var/tmp/rpm-tmp.qo3Efb (%install)
regards, Jens
www.biotronik.com
BIOTRONIK - Celebrating 50 years of excellence
Founded in 1963 with the development of the first German pacemaker, BIOTRONIK has brought innovations and the highest quality standards to the cardiac rhythm management and vascular intervention fields in more than 100 countries around the world. We’ve developed advanced technologies such as BIOTRONIK Home Monitoring®, Closed Loop Stimulation (CLS) and Orsiro, the industry's first hybrid drug eluting stent. BIOTRONIK also offers the broadest portfolio of cardiac devices with ProMRI®, an advanced technology that gives patients access to magnetic resonance (MR) scanning. BIOTRONIK SE & Co. KG Woermannkehre 1, 12359 Berlin, Germany Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRA 6501
Vertreten durch ihre Komplementärin: BIOTRONIK MT SE Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRB 118866 B Geschäftsführende Direktoren: Christoph Böhmer, Dr. Lothar Krings This e-mail and the information it contains including attachments are confidential and meant only for use by the intended recipient(s); disclosure or copying is strictly prohibited. If you are not addressed, but in the possession of this e-mail, please notify the sender immediately and delete the document.
Hi Trevor,
On 27/06/13 12:24, Jens Neu wrote:
/var/tmp/rpm-tmp.qo3Efb: line 56: syntax error near unexpected token
`;'
error: Bad exit status from /var/tmp/rpm-tmp.qo3Efb (%install)
That looks like the error you get when there is no BuildRoot: in an el5 spec file.
T
BuildRoot ist just fine, this error comes from the ; in line 107. The original problem originates from lines 101-107 in the spec file ( http://paste.debian.net/12932/). When I comment these out (putting aside the consequences for package sanity at the moment), build and install works just fine. Somehow the for loop in %install screws up the return code, reasons are beyond me :-(
-Jens
www.biotronik.com
BIOTRONIK - Celebrating 50 years of excellence
Founded in 1963 with the development of the first German pacemaker, BIOTRONIK has brought innovations and the highest quality standards to the cardiac rhythm management and vascular intervention fields in more than 100 countries around the world. We’ve developed advanced technologies such as BIOTRONIK Home Monitoring®, Closed Loop Stimulation (CLS) and Orsiro, the industry's first hybrid drug eluting stent. BIOTRONIK also offers the broadest portfolio of cardiac devices with ProMRI®, an advanced technology that gives patients access to magnetic resonance (MR) scanning. BIOTRONIK SE & Co. KG Woermannkehre 1, 12359 Berlin, Germany Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRA 6501
Vertreten durch ihre Komplementärin: BIOTRONIK MT SE Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRB 118866 B Geschäftsführende Direktoren: Christoph Böhmer, Dr. Lothar Krings This e-mail and the information it contains including attachments are confidential and meant only for use by the intended recipient(s); disclosure or copying is strictly prohibited. If you are not addressed, but in the possession of this e-mail, please notify the sender immediately and delete the document.
BuildRoot ist just fine, this error comes from the ; in line 107. The original problem originates from lines 101-107 in the spec file ( http://paste.debian.net/12932/). When I comment these out (putting aside
the consequences for package sanity at the moment), build and install works just fine. Somehow the for loop in %install screws up the return code, reasons are beyond me :-(
more specific: the error comes from lines 103-107, which I commented out now, build & %install works fine. As I understand this just links some header files to tcl-private/generic/ instead of having them use up space twice. I will test the package with this limitation for now, maybe some shell- expert can tell me where this exit-not-null comes from...
regards Jens
www.biotronik.com
BIOTRONIK - Celebrating 50 years of excellence
Founded in 1963 with the development of the first German pacemaker, BIOTRONIK has brought innovations and the highest quality standards to the cardiac rhythm management and vascular intervention fields in more than 100 countries around the world. We’ve developed advanced technologies such as BIOTRONIK Home Monitoring®, Closed Loop Stimulation (CLS) and Orsiro, the industry's first hybrid drug eluting stent. BIOTRONIK also offers the broadest portfolio of cardiac devices with ProMRI®, an advanced technology that gives patients access to magnetic resonance (MR) scanning. BIOTRONIK SE & Co. KG Woermannkehre 1, 12359 Berlin, Germany Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRA 6501
Vertreten durch ihre Komplementärin: BIOTRONIK MT SE Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRB 118866 B Geschäftsführende Direktoren: Christoph Böhmer, Dr. Lothar Krings This e-mail and the information it contains including attachments are confidential and meant only for use by the intended recipient(s); disclosure or copying is strictly prohibited. If you are not addressed, but in the possession of this e-mail, please notify the sender immediately and delete the document.
On Fri, 2013-06-28 at 10:39 +0200, Jens Neu wrote:
more specific: the error comes from lines 103-107, which I commented out now, build & %install works fine. As I understand this just links some header files to tcl-private/generic/ instead of having them use up space twice. I will test the package with this limitation for now, maybe some shell- expert can tell me where this exit-not-null comes from...
So how about replacing
[ -f $RPM_BUILD_ROOT/%{_includedir}/%{name}-private/generic/$i ] && ln -sf ../../$i $RPM_BUILD_ROOT/%{_includedir}/%{name}-private/generic ;
with [ -f $RPM_BUILD_ROOT/%{_includedir}/%{name}-private/generic/$i ] && ln -sf ../../$i $RPM_BUILD_ROOT/%{_includedir}/%{name}-private/generic || true ;
and if this takes care of it, then insert some debugging statements to find out why exactly does it fail.
[ -f $RPM_BUILD_ROOT/%{_includedir}/%{name}-private/generic/$i
] && ln -sf ../../$i $RPM_BUILD_ROOT/%{_includedir}/%{name}-private/ generic || true ;
works. -Jens
www.biotronik.com
BIOTRONIK - Celebrating 50 years of excellence
Founded in 1963 with the development of the first German pacemaker, BIOTRONIK has brought innovations and the highest quality standards to the cardiac rhythm management and vascular intervention fields in more than 100 countries around the world. We’ve developed advanced technologies such as BIOTRONIK Home Monitoring®, Closed Loop Stimulation (CLS) and Orsiro, the industry's first hybrid drug eluting stent. BIOTRONIK also offers the broadest portfolio of cardiac devices with ProMRI®, an advanced technology that gives patients access to magnetic resonance (MR) scanning. BIOTRONIK SE & Co. KG Woermannkehre 1, 12359 Berlin, Germany Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRA 6501
Vertreten durch ihre Komplementärin: BIOTRONIK MT SE Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRB 118866 B Geschäftsführende Direktoren: Christoph Böhmer, Dr. Lothar Krings This e-mail and the information it contains including attachments are confidential and meant only for use by the intended recipient(s); disclosure or copying is strictly prohibited. If you are not addressed, but in the possession of this e-mail, please notify the sender immediately and delete the document.
On Fri, 2013-06-28 at 11:02 +0200, Jens Neu wrote:
works.
In that case, apparently, the problem is that some links can't be created, so in order to sort it out, you can add debugging statements to the SPEC such as
echo "XFROM: ../../$i" echo "XTO: $RPM_BUILD_ROOT/%{_includedir}/%{name}-private/"
and then have a look at the build log and inspect the build root to find out why this could possibly fail...
On Fri, 2013-06-28 at 11:02 +0200, Jens Neu wrote:
works.
In that case, apparently, the problem is that some links can't be created, so in order to sort it out, you can add debugging statements to the SPEC such as
echo "XFROM: ../../$i" echo "XTO: $RPM_BUILD_ROOT/%{_includedir}/%{name}-private/"
and then have a look at the build log and inspect the build root to find out why this could possibly fail...
If those commands are not executed in a subshell, shouldn't the failure then be seen in the rpm build log (which is why I proposed to not run the subshell)?
Simon
On Fri, 2013-06-28 at 11:10 +0200, Simon Matter wrote:
If those commands are not executed in a subshell, shouldn't the failure then be seen in the rpm build log (which is why I proposed to not run the subshell)?
Honestly, I don't know; let the OP to find this out. It doesn't really matter though, one can just as well cat "" >> into a temporary file from inside the subshell...
Hi,
Looking at it again I think it may be a good idea to build without calling a subshell. I guess that will make it easier to see where to problem comes from. I suggest to try attached patch and see how it goes.
Regards, Simon
BuildRoot ist just fine, this error comes from the ; in line 107. The original problem originates from lines 101-107 in the spec file ( http://paste.debian.net/12932/). When I comment these out (putting aside
the consequences for package sanity at the moment), build and install works just fine. Somehow the for loop in %install screws up the return code, reasons are beyond me :-(
more specific: the error comes from lines 103-107, which I commented out now, build & %install works fine. As I understand this just links some header files to tcl-private/generic/ instead of having them use up space twice. I will test the package with this limitation for now, maybe some shell- expert can tell me where this exit-not-null comes from...
regards Jens
www.biotronik.com
BIOTRONIK - Celebrating 50 years of excellence
Founded in 1963 with the development of the first German pacemaker, BIOTRONIK has brought innovations and the highest quality standards to the cardiac rhythm management and vascular intervention fields in more than 100 countries around the world. Weâve developed advanced technologies such as BIOTRONIK Home Monitoring®, Closed Loop Stimulation (CLS) and Orsiro, the industry's first hybrid drug eluting stent. BIOTRONIK also offers the broadest portfolio of cardiac devices with ProMRI®, an advanced technology that gives patients access to magnetic resonance (MR) scanning. BIOTRONIK SE & Co. KG Woermannkehre 1, 12359 Berlin, Germany Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRA 6501
Vertreten durch ihre Komplementärin: BIOTRONIK MT SE Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRB 118866 B Geschäftsführende Direktoren: Christoph Böhmer, Dr. Lothar Krings This e-mail and the information it contains including attachments are confidential and meant only for use by the intended recipient(s); disclosure or copying is strictly prohibited. If you are not addressed, but in the possession of this e-mail, please notify the sender immediately and delete the document. _______________________________________________ CentOS-devel mailing list CentOS-devel@centos.org http://lists.centos.org/mailman/listinfo/centos-devel
I suggest to try attached patch and see how it goes.
Regards, Simon
switching to pushd / popd makes the problem go away completely:
+ mkdir -p /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/lib64/tcl8.6 + ln -s /usr/lib64/tclConfig.sh /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/lib64/tcl8.6/tclConfig.sh + mkdir -p /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/unix + find generic unix -name '*.h' -exec cp -p '{}' '/usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/{}' ';' + pushd /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include ~/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64/usr/include ~/rpm/BUILD/tcl8.6.0 + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/fakemysql.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/fakepq.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/fakesql.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/itcl.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/itcl2TclOO.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/itclDecls.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/itclInt.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/itclIntDecls.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/itclMigrate2TclCore.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/itclTclIntStubsFcn.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/mysqlStubs.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/odbcStubs.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/pqStubs.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/tcl.h ']' + ln -sf ../../tcl.h /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/tclDecls.h ']' + ln -sf ../../tclDecls.h /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/tclOO.h ']' + ln -sf ../../tclOO.h /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/tclOODecls.h ']' + ln -sf ../../tclOODecls.h /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/tclPlatDecls.h ']' + ln -sf ../../tclPlatDecls.h /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/tclThread.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/tclTomMath.h ']' + ln -sf ../../tclTomMath.h /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/tclTomMathDecls.h ']' + ln -sf ../../tclTomMathDecls.h /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/tdbc.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/tdbcDecls.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/tdbcInt.h ']' + popd ~/rpm/BUILD/tcl8.6.0 + sed -i -e 's|/usr/local/home/build/rpm/BUILD/tcl8.6.0/unix|/usr/lib64|; s|/usr/local/home/build/rpm/BUILD/tcl8.6.0|/usr/include/tcl-private|' /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/lib64/tclConfig.sh + rm -rf /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/share/tcl8.6/tclAppInit.c + rm -rf /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/share/tcl8.6/ldAix + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.tGFAim + umask 022 + cd /usr/local/home/build/rpm/BUILD + cd tcl8.6.0 + unset DISPLAY + exit 0
Installed packages looks fine also, at least there are links at all:
[neu@rpmbuild generic]$ pwd /usr/include/tcl-private/generic [neu@rpmbuild generic]$ ls -la total 444 drwxr-xr-x 2 root root 4096 Jun 28 11:13 . drwxr-xr-x 4 root root 4096 Jun 28 11:05 .. -rw-r--r-- 1 root root 4996 Jun 26 2012 regcustom.h -rw-r--r-- 1 root root 1137 Apr 26 2011 regerrs.h -rw-r--r-- 1 root root 11263 Jun 26 2012 regex.h -rw-r--r-- 1 root root 12722 Jun 26 2012 regguts.h -rw-r--r-- 1 root root 60467 Nov 5 2012 tclCompile.h lrwxrwxrwx 1 root root 16 Jun 28 11:13 tclDecls.h -> ../../tclDecls.h -rw-r--r-- 1 root root 2451 Jul 2 2012 tclFileSystem.h lrwxrwxrwx 1 root root 11 Jun 28 11:13 tcl.h -> ../../tcl.h -rw-r--r-- 1 root root 50962 Dec 20 2012 tclIntDecls.h -rw-r--r-- 1 root root 186174 Nov 5 2012 tclInt.h -rw-r--r-- 1 root root 20897 Dec 20 2012 tclIntPlatDecls.h -rw-r--r-- 1 root root 17791 Jun 26 2012 tclIO.h lrwxrwxrwx 1 root root 18 Jun 28 11:13 tclOODecls.h -> ../../tclOODecls.h lrwxrwxrwx 1 root root 13 Jun 28 11:13 tclOO.h -> ../../tclOO.h -rw-r--r-- 1 root root 7241 Dec 20 2012 tclOOIntDecls.h -rw-r--r-- 1 root root 23931 Sep 4 2012 tclOOInt.h -rw-r--r-- 1 root root 457 Dec 4 2012 tclParse.h lrwxrwxrwx 1 root root 20 Jun 28 11:13 tclPlatDecls.h -> ../../tclPlatDecls.h -rw-r--r-- 1 root root 1075 Jun 26 2012 tclPort.h -rw-r--r-- 1 root root 1668 Jun 26 2012 tclRegexp.h lrwxrwxrwx 1 root root 23 Jun 28 11:13 tclTomMathDecls.h -> ../../tclTomMathDecls.h lrwxrwxrwx 1 root root 18 Jun 28 11:13 tclTomMath.h -> ../../tclTomMath.h -rw-r--r-- 1 root root 71 Jun 26 2012 tclTomMathInt.h -rw-r--r-- 1 root root 27 Jun 26 2012 tommath.h
Will try the debug statements Yury mentioned also... -Jens
www.biotronik.com
BIOTRONIK - Celebrating 50 years of excellence
Founded in 1963 with the development of the first German pacemaker, BIOTRONIK has brought innovations and the highest quality standards to the cardiac rhythm management and vascular intervention fields in more than 100 countries around the world. We’ve developed advanced technologies such as BIOTRONIK Home Monitoring®, Closed Loop Stimulation (CLS) and Orsiro, the industry's first hybrid drug eluting stent. BIOTRONIK also offers the broadest portfolio of cardiac devices with ProMRI®, an advanced technology that gives patients access to magnetic resonance (MR) scanning. BIOTRONIK SE & Co. KG Woermannkehre 1, 12359 Berlin, Germany Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRA 6501
Vertreten durch ihre Komplementärin: BIOTRONIK MT SE Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRB 118866 B Geschäftsführende Direktoren: Christoph Böhmer, Dr. Lothar Krings This e-mail and the information it contains including attachments are confidential and meant only for use by the intended recipient(s); disclosure or copying is strictly prohibited. If you are not addressed, but in the possession of this e-mail, please notify the sender immediately and delete the document.
Will try the debug statements Yury mentioned also... -Jens
this is with
[ -f $RPM_BUILD_ROOT/%{_includedir}/%{name}-private/generic/$i ] && echo "linkfrom: ../../$i" && echo "linkto: $RPM_BUILD_ROOT/%{_includedir}/%{name}-private/generic" && ln -sf ../../$i $RPM_BUILD_ROOT/%{_includedir}/%{name}-private/generic ;
to me it looks as if all links get created to remove duplicates between /usr/include/* and /usr/include/tcl-private/generic/*
so, question remains why does it work with pushd/popd, but not with ( cd ). Interesting also, how this ever worked for the 8.5 package, should not be much difference here...
regards -Jens
+ mkdir -p /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/unix + find generic unix -name '*.h' -exec cp -p '{}' '/usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/{}' ';' + pushd /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include ~/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64/usr/include ~/rpm/BUILD/tcl8.6.0 + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/fakemysql.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/fakepq.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/fakesql.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/itcl.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/itcl2TclOO.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/itclDecls.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/itclInt.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/itclIntDecls.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/itclMigrate2TclCore.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/itclTclIntStubsFcn.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/mysqlStubs.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/odbcStubs.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/pqStubs.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/tcl.h ']' + echo 'linkfrom: ../../tcl.h' linkfrom: ../../tcl.h + echo 'linkto: /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic' linkto: /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic + ln -sf ../../tcl.h /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/tclDecls.h ']' + echo 'linkfrom: ../../tclDecls.h' linkfrom: ../../tclDecls.h + echo 'linkto: /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic' linkto: /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic + ln -sf ../../tclDecls.h /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/tclOO.h ']' + echo 'linkfrom: ../../tclOO.h' linkfrom: ../../tclOO.h + echo 'linkto: /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic' linkto: /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic + ln -sf ../../tclOO.h /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/tclOODecls.h ']' + echo 'linkfrom: ../../tclOODecls.h' linkfrom: ../../tclOODecls.h + echo 'linkto: /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic' linkto: /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic + ln -sf ../../tclOODecls.h /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/tclPlatDecls.h ']' + echo 'linkfrom: ../../tclPlatDecls.h' linkfrom: ../../tclPlatDecls.h + echo 'linkto: /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic' linkto: /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic + ln -sf ../../tclPlatDecls.h /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/tclThread.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/tclTomMath.h ']' + echo 'linkfrom: ../../tclTomMath.h' linkfrom: ../../tclTomMath.h + echo 'linkto: /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic' linkto: /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic + ln -sf ../../tclTomMath.h /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/tclTomMathDecls.h ']' + echo 'linkfrom: ../../tclTomMathDecls.h' linkfrom: ../../tclTomMathDecls.h + echo 'linkto: /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic' linkto: /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic + ln -sf ../../tclTomMathDecls.h /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/tdbc.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/tdbcDecls.h ']' + for i in '*.h' + '[' -f /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/include/tcl-private/generic/tdbcInt.h ']' + popd ~/rpm/BUILD/tcl8.6.0 + sed -i -e 's|/usr/local/home/build/rpm/BUILD/tcl8.6.0/unix|/usr/lib64|; s|/usr/local/home/build/rpm/BUILD/tcl8.6.0|/usr/include/tcl-private|' /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/lib64/tclConfig.sh + rm -rf /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/share/tcl8.6/tclAppInit.c + rm -rf /usr/local/home/build/rpm/BUILDROOT/tcl-8.6.0-4hss.el6.x86_64//usr/share/tcl8.6/ldAix + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-python-bytecompile + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.JvstbG + umask 022 + cd /usr/local/home/build/rpm/BUILD + cd tcl8.6.0 + unset DISPLAY + exit 0
www.biotronik.com
BIOTRONIK - Celebrating 50 years of excellence
Founded in 1963 with the development of the first German pacemaker, BIOTRONIK has brought innovations and the highest quality standards to the cardiac rhythm management and vascular intervention fields in more than 100 countries around the world. We’ve developed advanced technologies such as BIOTRONIK Home Monitoring®, Closed Loop Stimulation (CLS) and Orsiro, the industry's first hybrid drug eluting stent. BIOTRONIK also offers the broadest portfolio of cardiac devices with ProMRI®, an advanced technology that gives patients access to magnetic resonance (MR) scanning. BIOTRONIK SE & Co. KG Woermannkehre 1, 12359 Berlin, Germany Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRA 6501
Vertreten durch ihre Komplementärin: BIOTRONIK MT SE Sitz der Gesellschaft: Berlin, Registergericht: Berlin HRB 118866 B Geschäftsführende Direktoren: Christoph Böhmer, Dr. Lothar Krings This e-mail and the information it contains including attachments are confidential and meant only for use by the intended recipient(s); disclosure or copying is strictly prohibited. If you are not addressed, but in the possession of this e-mail, please notify the sender immediately and delete the document.