Lucian Cristian wrote:
> Eric "Shubes" wrote:
>> Lucian Cristian wrote:
>>
>>> Eric "Shubes" wrote:
>>>
>>>> Lucian Cristian wrote:
>>>>
>>>>
>>>>> Eric "Shubes" wrote:
>>>>>
>>>>>> Forget the new thread. I think I found the problem. It's in
>>>>>> qtp-build-sandbox (I broke something). I'll get it fixed and tested
>>>>>> right away.
>>>>>>
>>>>>> Eric "Shubes" wrote:
>>>>>>
>>>>>>
>>>>>>> I'm having this same problem now, and am tracking it down. At first
>>>>>>> glance
>>>>>>> it appears to be outside of the qtp- scripts.
>>>>>>>
>>>>>>> I'll start a new thread for this one.
>>>>>>>
>>>>>>> Lucian Cristian wrote:
>>>>>>>
>>>>>>>> Eric "Shubes" wrote:
>>>>>>>>
>>>>>>>>> Lucian Cristian wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> I've looked into the file and it-s saying that is
>>>>>>>>>> v0.1.1 who knows what's happening, i'll remove all
>>>>>>>>>> qtp-build-sandbox
>>>>>>>>>> files if there are others (I haven't check that yet)
>>>>>>>>>> from the server and download them again.
>>>>>>>>>>
>>>>>>>>> Please download them directly from svn.shubes.net or
>>>>>>>>> qtp.shubes.net.
>>>>>>>>> Do not
>>>>>>>>> use the 0.1 qt-plus versions. This should all be ironed out with
>>>>>>>>> the 0.2
>>>>>>>>> release of qt-plus (in a few weeks).
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> so far this are my results
>>>>>>>>>> after unmounting /var/named/chroot/proc
>>>>>>>>>>
>>>>>>>>> I wouldn't unmount /var/named/chroot/proc, especially on a live
>>>>>>>>> server. It
>>>>>>>>> should no longer be necessary.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> Creating /opt/qtp-sandbox/var ...
>>>>>>>>>> Unexpected named pipe: /var/gdm/.gdmfifo
>>>>>>>>>> prw-rw---- 1 root root 0 Oct 18 2005 /var/gdm/.gdmfifo
>>>>>>>>>> Continuing ...
>>>>>>>>>>
>>>>>>>>> I added code that should handle this. I'm guessing that this was
>>>>>>>>> still
>>>>>>>>> v0.1
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> Creating /opt/qtp-sandbox/home/vpopmail ...
>>>>>>>>>> Creating /opt/qtp-sandbox/ misc directories ...
>>>>>>>>>> Sandbox has been built successfully!
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>> Starting to build the binary rpms ...(pizza anyone?)
>>>>>>>>>>
>>>>>>>>>> If you want to view compile messages, you can open another
>>>>>>>>>> terminal and:
>>>>>>>>>> # tail -f
>>>>>>>>>> /opt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log
>>>>>>>>>>
>>>>>>>>>> qtp-build-rpms 0.1.3
>>>>>>>>>> cat: /usr/src/qtp-upgrade: Is a directory
>>>>>>>>>> qtp-build-rpms Error - package list not found
>>>>>>>>>> Build failed, Exiting.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>> The order of parameters passed from qtp-newmodel to
>>>>>>>>> qtp-build-rpms was
>>>>>>>>> changed at some point. One of these scripts is apparently not
>>>>>>>>> up to
>>>>>>>>> date.
>>>>>>>>>
>>>>>>>>> You should have:
>>>>>>>>> qtp-newmodel v0.1.10
>>>>>>>>> qtp-whatami v0.1.1
>>>>>>>>> qtp-build-sandbox v0.1.1
>>>>>>>>> qtp-build-rpms v0.1.3
>>>>>>>>>
>>>>>>>>>
>>>>>>>> here's my run for today ;)
>>>>>>>>
>>>>>>>> bash-3.00# ./qtp-newmodel
>>>>>>>> qtp-newmodel v0.1.10 starting Thu Oct 12 21:31:24 EEST 2006
>>>>>>>> qtp-whatami v0.1.1
>>>>>>>> DISTRO=CentOS
>>>>>>>> OSVER=4.4
>>>>>>>> ARCH=i686
>>>>>>>> BUILD_DIST=cnt40
>>>>>>>> BUILD_DIR=/usr/src/redhat
>>>>>>>> This machine's OS is supported, but this version/arch has not been
>>>>>>>> tested.
>>>>>>>> If your OS is not current, you should consider upgrading it.
>>>>>>>> Do you want to proceed at your own risk? (yes, no) y/[n] : y
>>>>>>>> Ok, here we go ...
>>>>>>>> Getting package list ...
>>>>>>>>
>>>>>>>> qmail Toaster is an integrated distribution.
>>>>>>>> Packages are preconfigured for the whole distro.
>>>>>>>> As a result, a partial install might be misconfigured.
>>>>>>>> Upgrading all packages to their latest version is strongly
>>>>>>>> recommended.
>>>>>>>> Now that you've been warned, we will proceed with package
>>>>>>>> selection ...
>>>>>>>> ..
>>>>>>>> ..
>>>>>>>> Creating /opt/qtp-sandbox/var ...
>>>>>>>> Creating /opt/qtp-sandbox/home/vpopmail ...
>>>>>>>> Creating /opt/qtp-sandbox/ misc directories ...
>>>>>>>> cp: cannot copy a directory, `/opt/qtp-sandbox', into itself,
>>>>>>>> `/opt/qtp-sandbox/opt/./qtp-sandbox'
>>>>>>>> cp: cannot copy a directory, `/opt/qtp-sandbox', into itself,
>>>>>>>> `/opt/qtp-sandbox/opt/./qtp-sandbox'
>>>>>>>> Sandbox has been built successfully!
>>>>>>>>
>>>>>>>> Starting to build the binary rpms ...(pizza anyone?)
>>>>>>>>
>>>>>>>> If you want to view compile messages, you can open another terminal
>>>>>>>> and:
>>>>>>>> # tail -f /opt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log
>>>>>>>>
>>>>>>>> qtp-build-rpms v0.1.3
>>>>>>>> REMOVED spamassassin-toaster from sandbox (not for real)
>>>>>>>> Building vpopmail-toaster-5.4.13-1.3.2 ...
>>>>>>>> qtp-build-rpms - rpmbuild failed for vpopmail-toaster-5.4.13-1.3.2
>>>>>>>> qtp-build-rpms - see
>>>>>>>> /opt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log
>>>>>>>> Build failed, Exiting.
>>>>>>>> bash-3.00#
>>>>>>>> bash-3.00# tail -f
>>>>>>>> /opt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log
>>>>>>>> checking build system type... i686-pc-linux-gnu
>>>>>>>> checking host system type... i686-pc-linux-gnu
>>>>>>>> checking for gawk... (cached) gawk
>>>>>>>> checking for gcc... gcc
>>>>>>>> checking for C compiler default output... configure: error: C
>>>>>>>> compiler
>>>>>>>> cannot create executables
>>>>>>>> error: Bad exit status from /var/tmp/rpm-tmp.32546 (%build)
>>>>>>>>
>>>>>>>>
>>>>>>>> RPM build errors:
>>>>>>>> Bad exit status from /var/tmp/rpm-tmp.32546 (%build)
>>>>>>>>
>>>>>>>> bash-3.00#
>>>>>>>>
>>>>>>>>
>>>>>>>> I don't remember if there are some steps to do before running
>>>>>>>> qtp-newmodel, maybe I'm not doing the right way, i'll try on
>>>>>>>> another
>>>>>>>> machine, but I have to work and go to school too .. I'll try the
>>>>>>>> moment
>>>>>>>> I'll have free time
>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>
>>>>>>>> QmailToaster hosted by: VR Hosted <http://www.vr.org>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>>
>>>>>>>> To unsubscribe, e-mail:
>>>>>>>> [EMAIL PROTECTED]
>>>>>>>> For additional commands, e-mail:
>>>>>>>> [EMAIL PROTECTED]
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>> I'm kind of tired, are you thinking like a quick fix ? should I
>>>>> wait an
>>>>> hour to put it to test ? :D
>>>>>
>>>>>
>>>> Please accept my apology. I tested qtp-build-sandbox, but failed to
>>>> test
>>>> qtp-newmodel along with it. Some compile library links weren't being
>>>> created
>>>> properly any more, and I missed it.
>>>>
>>>> I'm running a test on it now on the whole thing. As soon as it gets
>>>> into the
>>>> compile cleanly, I'll post it on the web with a message here. I'm
>>>> guessing
>>>> 1/2 hour or so.
>>>>
>>>>
>>> no need for apology , i'm too a soft developer.. or i'm trying to be ;)
>>>
>>>
>>
>> Ok, fixed versions is on the web. You should have v0.1.2.
>> Let me know how it goes.
>>
>>
> I tried to do a linked sandbox and I got the following output:
>
> ..
> ..
> Starting to build the binary rpms ...(pizza anyone?)
>
> If you want to view compile messages, you can open another terminal and:
> # tail -f /opt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log
>
> qtp-build-rpms v0.1.3
> Building spamassassin-toaster-3.1.5-1.3.3 ...
> qtp-build-rpms - rpmbuild failed for spamassassin-toaster-3.1.5-1.3.3
> qtp-build-rpms - see
> /opt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log
> Build failed, Exiting.
> [EMAIL PROTECTED] qmailtoaster-plus]#
> [EMAIL PROTECTED] qmailtoaster-plus]# tail -f
> /opt/qtp-sandbox/usr/src/qtp-upgrade/log/build-recent.log
> Building spamassassin-toaster-3.1.5-1.3.3 ...
> error: Unable to open temp file.
> Installing
> /usr/src/qtp-upgrade/SRPMS/spamassassin-toaster-3.1.5-1.3.3.src.rpm
> Building target platforms: i686
> Building for target i686
>
>
> RPM build errors:
> Unable to open temp file.
>
I can't recreate this error. In build-recent.log I get:
Building spamassassin-toaster-3.1.5-1.3.3 ...
Installing /usr/src/qtp-upgrade/SRPMS/spamassassin-toaster-3.1.5-1.3.3.src.rpm
Building target platforms: i686
Building for target i686
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.13427
I'm not sure what temp file you're bombing on. What does
# ls -ld /var/tmp
# ls -ld /opt/qtp-sandbox/var/tmp
show you? I have
drwxrwxrwt 2 root root 4096 Oct 15 11:12 /var/tmp
and
drwxr-xr-x 2 root root 4096 Oct 18 12:33 /opt/qtp-sandbox/var/tmp
respectively.
Please verify that you are running the current scripts:
qtp-build-rpms:myver=v0.1.3
qtp-build-sandbox:myver=v0.1.2
qtp-newmodel:myver=v0.1.10
qtp-whatami:myver=v0.1.1
If that all checks out, I'd try running again and letting it recreate the
sandbox.
Please let me know how you make out.
--
-Eric 'shubes'
---------------------------------------------------------------------
QmailToaster hosted by: VR Hosted <http://www.vr.org>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]