Xen 
 
Home Products Support Community News
 
   
First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 573
Product:  
Component:  
Status: RESOLVED
Resolution: WONTFIX
Assigned To: Xen Bug List <xen-bugs@lists.xensource.com>
Hardware:  
OS:  
Version:  
Priority:  
Severity:  
Reporter: Lele <xeldiosx@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:

Attachment Type Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 573 depends on: Show dependency tree
Show dependency graph
Bug 573 blocks:

Additional Comments:







View Bug Activity   |   Format For Printing   |   Clone This Bug


Description:   Opened: 2006-03-15 15:19
My System Spec:

Gentoo Linux 2006.0 profile - GCC 3.4.5 - Kernel 2.6.16-rc5 - Xen-unstable-9029
- progsreiserfs 0.3.1_rc8 - Centrino x86 optimized laptop system

When I try to compile the program stops at this point with this error:

i686-pc-linux-gnu-gcc -pthread -shared -Wdeclaration-after-statement
-Wdeclaration-after-statement -Wdeclaration-after-statement -m32 -march=i686
-Wdeclaration-after-statement -m32 -march=i686
build/temp.linux-i686-2.4/src/fsys/ext2/ext2module.o -lext2fs -o
build/lib.linux-i686-2.4/grub/fsys/ext2/_pyext2.so
building 'grub.fsys.reiser._pyreiser' extension
creating build/temp.linux-i686-2.4/src/fsys/reiser
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG
-Wdeclaration-after-statement -Wdeclaration-after-statement
-Wdeclaration-after-statement -m32 -march=i686 -Wdeclaration-after-statement
-m32 -march=i686 -fPIC -I/usr/include/python2.4 -c
src/fsys/reiser/reisermodule.c -o
build/temp.linux-i686-2.4/src/fsys/reiser/reisermodule.o -fno-strict-aliasing
-Wall -Werror
src/fsys/reiser/reisermodule.c:20:26: dal/file_dal.h: No such file or directory
src/fsys/reiser/reisermodule.c: In function `file_dal_close':
src/fsys/reiser/reisermodule.c:49: error: structure has no member named `dev'
src/fsys/reiser/reisermodule.c:50: warning: implicit declaration of function
`dal_free'
src/fsys/reiser/reisermodule.c: In function `reiser_fs_open':
src/fsys/reiser/reisermodule.c:221: warning: implicit declaration of function
`file_dal_open'
src/fsys/reiser/reisermodule.c:221: warning: assignment makes pointer from
integer without a cast
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1
make[2]: *** [build] Error 1
make[2]: Leaving directory
`/var/tmp/portage/xen-9029-r2/work/xen-unstable-9029/tools/pygrub'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/portage/xen-9029-r2/work/xen-unstable-9029/tools'
make: *** [gentoo-compile] Error 2

!!! ERROR: app-emulation/xen-9029-r2 failed.
Call stack:
  ebuild.sh, line 1928:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile


Then I spotted that I actually have not that file and I symlinked
/usr/include/dal/file.h -> /usr/include/dal/file_dal.h with this result:

i686-pc-linux-gnu-gcc -pthread -shared -Wdeclaration-after-statement
-Wdeclaration-after-statement -Wdeclaration-after-statement -m32 -march=i686
-Wdeclaration-after-statement -m32 -march=i686
build/temp.linux-i686-2.4/src/fsys/ext2/ext2module.o -lext2fs -o
build/lib.linux-i686-2.4/grub/fsys/ext2/_pyext2.so
building 'grub.fsys.reiser._pyreiser' extension
creating build/temp.linux-i686-2.4/src/fsys/reiser
i686-pc-linux-gnu-gcc -pthread -fno-strict-aliasing -DNDEBUG
-Wdeclaration-after-statement -Wdeclaration-after-statement
-Wdeclaration-after-statement -m32 -march=i686 -Wdeclaration-after-statement
-m32 -march=i686 -fPIC -I/usr/include/python2.4 -c
src/fsys/reiser/reisermodule.c -o
build/temp.linux-i686-2.4/src/fsys/reiser/reisermodule.o -fno-strict-aliasing
-Wall -Werror
src/fsys/reiser/reisermodule.c: In function `file_dal_close':
src/fsys/reiser/reisermodule.c:49: error: structure has no member named `dev'
src/fsys/reiser/reisermodule.c:50: warning: implicit declaration of function
`dal_free'
src/fsys/reiser/reisermodule.c: In function `reiser_fs_open':
src/fsys/reiser/reisermodule.c:221: warning: implicit declaration of function
`file_dal_open'
src/fsys/reiser/reisermodule.c:221: warning: assignment makes pointer from
integer without a cast
error: command 'i686-pc-linux-gnu-gcc' failed with exit status 1
make[2]: *** [build] Error 1
make[2]: Leaving directory
`/var/tmp/portage/xen-9029-r2/work/xen-unstable-9029/tools/pygrub'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/var/tmp/portage/xen-9029-r2/work/xen-unstable-9029/tools'
make: *** [gentoo-compile] Error 2

!!! ERROR: app-emulation/xen-9029-r2 failed.
Call stack:
  ebuild.sh, line 1928:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile

I managed to temporarily compile Xen deleting the Reiserfs part from pygrub
setup stopping the compile process, deleting the criminal rows and then going on...

Could you figure out what's the problem? 

Thanks, 

Lele.

------- Comment #1 From Ewan Mellor 2006-03-22 10:20 -------
Not a blocker -- workaround already given by bug reporter.

------- Comment #2 From Lele 2006-03-23 22:58 -------
(In reply to comment #1)
> Not a blocker -- workaround already given by bug reporter.
> 

well indeed it is a blocker.. I found a workaround too, simply compiling it
without reiserfs support and then using initrd to boot but if you don't put
ReiserFS support out of pyGrub source it doesn't compile.. that's blocking IMHO.

------- Comment #3 From Vincent Hanquez 2006-04-06 14:01 -------
blocker means that you cannot do anything to make it works, thus you're block.
This isn't the case here since you managed to find a solution.

------- Comment #4 From Vincent Hanquez 2006-04-11 07:39 -------
I quickly check, Debian has both files /usr/include/dal/file_dal.h and
/usr/include/dal/dal.h which contains the correct dev field in this structure.

Please report this to Gentoo bugzilla.

------- Comment #5 From Andrew Ross 2006-07-04 03:08 -------
While a Gentoo-specific solution is being worked on in
https://bugs.gentoo.org/show_bug.cgi?id=137137, I think you should update your
documentation to reflect the fact that pygrub won't build with progsreiserfs
v0.3.1

At present, the README
(http://lxr.xensource.com/lxr/source/tools/pygrub/README) doesn't say anything
about v0.3.0 being required instead of 0.3.1

------- Comment #6 From henning 2007-02-19 04:31 -------
This bug has not further been dealt with for some months now.
I'm therefore closing it in the course of bugzilla 2007 spring cleaning. 

If the problem still exists with current Xen and progsreiserfs versions (on
debian testing the version is currently 3.6.19), feel free to reopen this bug.

Closing with wontfix because that seems appropriate regarding the developer
reactions taken for this bug yet.

First Last Prev Next    No search results available      Search page      Enter new bug