First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 19302
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Stefan Jones (RETIRED) <cretin@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andreas Pokorny <diemumiee@gmx.de>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gpart-0.1h-r1.ebuild New ebuild that uses the patch text/plain Andreas Pokorny 2003-04-14 12:34 0000 506 bytes Details
gpart-0.1h-20030923.diff Patch that adds errno.h to disku.c and l64seek.c patch Andreas Pokorny 2003-04-14 12:35 0000 533 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 19302 depends on: Show dependency tree
Show dependency graph
Bug 19302 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

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







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


Description:   Opened: 2003-04-14 12:32 0000
gpart-0.1h does not compile since errno.h is not included in to source files
(src/l64seek.c and  src/disku.c )


Reproducible: Always
Steps to Reproduce:

1. emerge gpart
2.
3.

Actual Results:  
emerge gpart
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/gpart-0.1h to /
>>> md5 ;-) gpart-0.1h.tar.gz
>>> Unpacking source...
>>> Unpacking gpart-0.1h.tar.gz to /var/tmp/portage/gpart-0.1h/work
>>> Source unpacked.
make -C src
make[1]: Entering directory `/var/tmp/portage/gpart-0.1h/work/gpart-0.1h/src'
make[1]: Leaving directory `/var/tmp/portage/gpart-0.1h/work/gpart-0.1h/src'
make[1]: Entering directory `/var/tmp/portage/gpart-0.1h/work/gpart-0.1h/src'
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gpart.o gpart.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gmodules.o gmodules.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o disku.o disku.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o l64seek.o l64seek.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gm_ext2.o gm_ext2.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gm_lswap.o gm_lswap.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gm_fat.o gm_fat.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gm_bsddl.o gm_bsddl.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gm_ntfs.o gm_ntfs.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gm_hpfs.o gm_hpfs.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gm_s86dl.o gm_s86dl.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gm_minix.o gm_minix.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gm_rfs.o gm_rfs.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gm_hmlvm.o gm_hmlvm.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gm_qnx4.o gm_qnx4.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gm_beos.o gm_beos.c
gcc -Wall -O2 -pedantic -DVERSION=\"0.1h\"   -c -o gm_xfs.o gm_xfs.c
In file included from gm_xfs.c:19:
gm_xfs.h:30: warning: ISO C89 does not support `long long'
gm_xfs.h:31: warning: ISO C89 does not support `long long'
gm_xfs.c: In function `xfs_gfun':
gm_xfs.c:70: warning: ISO C89 forbids long long integer constants
gm_xfs.c:70: warning: ISO C89 forbids long long integer constants
gm_xfs.c:70: warning: ISO C89 forbids long long integer constants
gm_xfs.c:70: warning: ISO C89 forbids long long integer constants
gm_xfs.c:70: warning: ISO C89 forbids long long integer constants
gm_xfs.c:70: warning: ISO C89 forbids long long integer constants
gm_xfs.c:70: warning: ISO C89 forbids long long integer constants
gm_xfs.c:70: warning: ISO C89 forbids long long integer constants
gm_xfs.c:70: warning: ISO C89 forbids long long integer constants
gm_xfs.c:71: warning: ISO C89 forbids long long integer constants
gm_xfs.c:71: warning: ISO C89 forbids long long integer constants
gm_xfs.c:71: warning: ISO C89 forbids long long integer constants
gm_xfs.c:71: warning: ISO C89 forbids long long integer constants
gm_xfs.c:71: warning: ISO C89 forbids long long integer constants
gm_xfs.c:71: warning: ISO C89 forbids long long integer constants
gm_xfs.c:71: warning: ISO C89 forbids long long integer constants
gm_xfs.c:71: warning: ISO C89 forbids long long integer constants
gcc -o gpart  gpart.o gmodules.o disku.o l64seek.o gm_ext2.o gm_lswap.o
gm_fat.o gm_bsddl.o gm_ntfs.o 
_hpfs.o gm_s86dl.o gm_minix.o gm_rfs.o gm_hmlvm.o gm_qnx4.o gm_beos.o gm_xfs.o
-ldl
disku.o(.text+0x78): In function `disk_geometry':
: undefined reference to `errno'
disku.o(.text+0xa7): In function `disk_geometry':
: undefined reference to `errno'
disku.o(.text+0x106): In function `reread_partition_table':
: undefined reference to `errno'
l64seek.o(.text+0x2f): In function `_llseek':
: undefinecollect2: ld returned 1 exit status
make[1]: *** [gpart] Error 1
make[1]: Leaving directory `/var/tmp/portage/gpart-0.1h/work/gpart-0.1h/src'
make: *** [gpart] Error 2

!!! ERROR: sys-apps/gpart-0.1h failed.
!!! Function src_compile, Line 18, Exitcode 2
!!! (no error message)

d reference to `errno'


Expected Results:  
gpart should compile ..

------- Comment #1 From Andreas Pokorny 2003-04-14 12:34:21 0000 -------
Created an attachment (id=10633) [edit]
New ebuild that uses the patch

------- Comment #2 From Andreas Pokorny 2003-04-14 12:35:50 0000 -------
Created an attachment (id=10634) [edit]
Patch that adds errno.h to disku.c and l64seek.c

has to be saved sys-app/gpart/files/

------- Comment #3 From Stefan Jones (RETIRED) 2003-04-22 14:54:55 0000 -------
Thanks, I have tested / applied the patch to portage. Closing bug.

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