Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 51727
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux High-Performance Clustering Team <hp-cluster@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matthias Gessenay <mgessenay@hfhs.ch>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emerge_drbd_output output from ebuild sys-clust-drbd-0.6.12 text/plain Gary Baker 2004-05-26 04:49 0000 14.42 KB Details
drbd-0.6.12.ebuild cleaner ebuild application/octet-stream Christian Zoffoli 2004-05-30 20:26 0000 2.10 KB Details
0.6.12-scripts-Makefile.patch.chris fixes path, link etc patch Christian Zoffoli 2004-05-30 20:36 0000 1.38 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 51727 depends on: 51333 Show dependency tree
Bug 51727 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-05-22 03:09 0000
I upgraded from DRBD 0.6.6 to 0.6.12 and it places the drbd binary file direct
on the root level instead of /sbin/.  This is also reported during the build
process:

>>> Completed installing into /var/tmp/portage/drbd-0.6.12/image/

>>> Merging sys-cluster/drbd-0.6.12 to /
--- /sbin/
>>> /sbin/drbdsetup
--- /usr/
--- /usr/share/
--- /usr/share/man/
--- /usr/share/man/man5/
>>> /usr/share/man/man5/drbd.conf.5.gz
--- /usr/share/man/man8/
>>> /usr/share/man/man8/drbdsetup.8.gz
>>> /usr/share/man/man8/drbd.8.gz
>>> /usr/share/man/man8/datadisk.8.gz
--- /usr/share/man/ja/
--- /usr/share/man/ja/man8/
>>> /usr/share/man/ja/man8/drbd.8.gz
>>> /usr/share/man/ja/man8/drbdsetup.8.gz
>>> /usr/share/man/ja/man8/datadisk.8.gz
--- /usr/share/man/ja/man5/
>>> /usr/share/man/ja/man5/drbd.conf.5.gz
--- /usr/share/man/pt_BR/
--- /usr/share/man/pt_BR/man8/
>>> /usr/share/man/pt_BR/man8/drbd.8.gz
>>> /usr/share/man/pt_BR/man8/drbdsetup.8.gz
>>> /usr/share/man/pt_BR/man8/datadisk.8.gz
--- /usr/share/man/pt_BR/man5/
>>> /usr/share/man/pt_BR/man5/drbd.conf.5.gz
--- /usr/share/doc/
>>> /usr/share/doc/drbd-0.6.12/
>>> /usr/share/doc/drbd-0.6.12/README.gz
>>> /usr/share/doc/drbd-0.6.12/COPYING.gz
>>> /usr/share/doc/drbd-0.6.12/ChangeLog.gz
>>> /usr/share/doc/drbd-0.6.12/NFS-Server-README.txt.gz
>>> /usr/share/doc/drbd-0.6.12/drbd.conf.gz
--- /etc/
--- /etc/ha.d/
--- /etc/ha.d/resource.d/
>>> /etc/ha.d/resource.d/datadisk -> ../../../drbd
--- /etc/init.d/


>>> /drbd


--- /lib/
--- /lib/modules/
--- /lib/modules/2.4.25_pre7-gss-r3/
--- /lib/modules/2.4.25_pre7-gss-r3/kernel/
--- /lib/modules/2.4.25_pre7-gss-r3/kernel/drivers/
--- /lib/modules/2.4.25_pre7-gss-r3/kernel/drivers/block/
>>> /lib/modules/2.4.25_pre7-gss-r3/kernel/drivers/block/drbd.o
--- /var/
--- /var/lib/
--- /var/lib/drbd/
>>> /var/lib/drbd/.keep
 * 
 * upgrading module dependencies ... 
 * ... done
 *

------- Comment #1 From Gary Baker 2004-05-26 04:46:07 0000 -------
I have found the same. Attaching the complete output from ebuild process. Also
found that documentation does not install correctly (such as the HOWTO and the
DRBD Article).

------- Comment #2 From Gary Baker 2004-05-26 04:49:17 0000 -------
Created an attachment (id=32068) [details]
output from ebuild sys-clust-drbd-0.6.12

The attached emerge output - did this three times with same results

------- Comment #3 From Christian Zoffoli 2004-05-30 20:26:32 0000 -------
Created an attachment (id=32364) [details]
cleaner ebuild

a cleaner ebuild that comes with a new 0.6.12-scripts-Makefile.patch.chris

------- Comment #4 From Christian Zoffoli 2004-05-30 20:36:03 0000 -------
Created an attachment (id=32365) [details]
fixes path, link etc

fixes path, link etc ...already tested with heartbeat

------- Comment #5 From Michael Imhof 2004-06-06 17:39:59 0000 -------
I checked in your ebuild as -r1 and renamed your patch to ${PVR}...
When i try to emerge the new ebuild i get the following errors:
mobile drbd # ebuild drbd-0.6.12-r1.ebuild merge
>>> md5 src_uri ;-) drbd-0.6.12.tar.gz
>>> Checking drbd-0.6.12.tar.gz's mtime...
>>> /usr/portage/sys-cluster/drbd/drbd-0.6.12-r1.ebuild has been updated; recreating WORKDIR...
>>> Unpacking source...
>>> Unpacking drbd-0.6.12.tar.gz to /var/tmp/portage/drbd-0.6.12-r1/work
 * Applying 0.6.12-Makefile.vars.patch...                                 [ ok ]
 * Applying 0.6.12-module-Makefile.patch...                               [ ok ]
 * Applying 0.6.12-r1-scripts-Makefile.patch...                           [ ok ]
>>> Source unpacked.
 *
 * Your kernel-sources in /usr/src/linux-2.6.5-mm6 must be properly configured
 * and match the currently running kernel version 2.6.5-mm6
 * If otherwise -> build will fail.
 *
pod2html --title "Howto Build and Install DRBD" \
        < INSTALL.pod > INSTALL.html ; rm -f pod2htm*
make[1]: Entering directory `/var/tmp/portage/drbd-0.6.12-r1/work/drbd-0.6.12/user'
gcc -c -Wall   drbdsetup.c
gcc -o drbdsetup drbdsetup.o
make[1]: Leaving directory `/var/tmp/portage/drbd-0.6.12-r1/work/drbd-0.6.12/user'
make[1]: Entering directory `/var/tmp/portage/drbd-0.6.12-r1/work/drbd-0.6.12/documentation'
make[2]: Entering directory `/var/tmp/portage/drbd-0.6.12-r1/work/drbd-0.6.12/documentation/ja'
make[2]: *** No rule to make target `man'.  Stop.
make[2]: Leaving directory `/var/tmp/portage/drbd-0.6.12-r1/work/drbd-0.6.12/documentation/ja'
make[1]: *** [man] Error 2
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/tmp/portage/drbd-0.6.12-r1/work/drbd-0.6.12/documentation'
make[1]: Entering directory `/var/tmp/portage/drbd-0.6.12-r1/work/drbd-0.6.12/scripts'
ln -sf drbd datadisk
make[1]: Leaving directory `/var/tmp/portage/drbd-0.6.12-r1/work/drbd-0.6.12/scripts'
make[1]: Entering directory `/var/tmp/portage/drbd-0.6.12-r1/work/drbd-0.6.12/benchmark'
gcc -o dm dm.c
strip dm
make[1]: Leaving directory `/var/tmp/portage/drbd-0.6.12-r1/work/drbd-0.6.12/benchmark'
make[1]: Entering directory `/var/tmp/portage/drbd-0.6.12-r1/work/drbd-0.6.12/drbd'

    Calling toplevel makefile of kernel source tree, which I believe is in
    KDIR=//var/tmp/portage/drbd-0.6.12-r1/work/linux-2.6.5-mm6

make dep ...
make[2]: Entering directory `/var/tmp/portage/drbd-0.6.12-r1/work/linux-2.6.5-mm6'
Makefile:450: /var/tmp/portage/drbd-0.6.12-r1/work/linux-2.6.5-mm6/arch/x86/Makefile: No such file or directory
make[2]: *** No rule to make target `/var/tmp/portage/drbd-0.6.12-r1/work/linux-2.6.5-mm6/arch/x86/Makefile'.  Stop.
make[2]: Leaving directory `/var/tmp/portage/drbd-0.6.12-r1/work/linux-2.6.5-mm6'
I'll ignore this error, but this can cause inconsistencies!
done.
make -C //var/tmp/portage/drbd-0.6.12-r1/work/linux-2.6.5-mm6 SUBDIRS=/var/tmp/portage/drbd-0.6.12-r1/work/drbd-0.6.12/drbd  modules
make[2]: Entering directory `/var/tmp/portage/drbd-0.6.12-r1/work/linux-2.6.5-mm6'
Makefile:450: /var/tmp/portage/drbd-0.6.12-r1/work/linux-2.6.5-mm6/arch/x86/Makefile: No such file or directory
make[2]: *** No rule to make target `/var/tmp/portage/drbd-0.6.12-r1/work/linux-2.6.5-mm6/arch/x86/Makefile'.  Stop.
make[2]: Leaving directory `/var/tmp/portage/drbd-0.6.12-r1/work/linux-2.6.5-mm6'
make[1]: *** [kbuild] Error 2
make[1]: Leaving directory `/var/tmp/portage/drbd-0.6.12-r1/work/drbd-0.6.12/drbd'
make: *** [all] Error 1

!!! ERROR: sys-cluster/drbd-0.6.12-r1 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! (no error message)


------- Comment #6 From Michael Imhof 2004-07-13 13:02:34 0000 -------
I looked into this one again.
Looks like it does not compile with kernel version 2.6 as there exists no arch/x86 directory.

Could you please submit an ebuild that works with kernel 2.6?

------- Comment #7 From Gary Baker 2004-07-19 05:43:26 0000 -------
Michael,
DRBD 0.6.12 is not meant to work with 2.6 sources -- only 2.4-vanilla sources. However, I believe the folks at DRBD have just commited 0.7 to final stage. They have tested  0.7 with 2.6 kernel. I am running 0.6.12 (compiled with manual makes and tweaks to ebuild) successfully with 2.4.25 vanilla. If time permits I may be able to submit something, but I am a realative 'noob' to ebuilds and such.

------- Comment #8 From Michael Imhof 2004-09-19 13:15:51 0000 -------
Any news on this one?

------- Comment #9 From Christian Zoffoli 2005-01-19 10:43:29 0000 -------
already fixed in CVS, please try the newer series 0.7.x

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug