First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 33527
Alias:
Product:
Component:
Status: CLOSED
Resolution: TEST-REQUEST
Assigned To: Troy Dack <troy@tkdack.com>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Norberto Bensa <nbensa@gmail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

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

Bug 33527 depends on: Show dependency tree
Show dependency graph
Bug 33527 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-11-14 19:31 0000
Hello,

there's a problem in apg-2.3.0b.tar.gz. All files are chmod'ed ugo-w and this is the result:

$ sudo emerge apg
Password:
Calculating dependencies ...done!
>>> emerge (1 of 1) app-admin/apg-2.3.0b to /
>>> md5 src_uri ;-) apg-2.3.0b.tar.gz
>>> Unpacking source...
>>> Unpacking apg-2.3.0b.tar.gz to /var/tmp/portage/apg-2.3.0b/work
>>> Source unpacked.
cp: cannot create regular file `Makefile.orig': Permission denied
/usr/sbin/ebuild.sh: line 18: Makefile: Permission denied
gcc -Wall -DAPG_USE_CRYPT -o apg bloom.c ./sha/sha.c ./cast/cast.c rnd.c pronpass.c randpass.c restrict.c errors.c apg.c getopt.c convert.c -lm -lcrypt
gcc  -DAPGBFM -o apgbfm apgbfm.c bloom.c sha/sha.c errors.c getopt.c convert.c -lm
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.2/../../../../i586-pc-linux-gnu/bin/ld: cannot open output file apgbfm: Permission denied
collect2: ld returned 1 exit status
make: *** [apgbfm] Error 1
make: *** Waiting for unfinished jobs....
/usr/lib/gcc-lib/i586-pc-linux-gnu/3.3.2/../../../../i586-pc-linux-gnu/bin/ld: cannot open output file apg: Permission denied
collect2: ld returned 1 exit status
make: *** [apg] Error 1

!!! ERROR: app-admin/apg-2.3.0b failed.
!!! Function src_compile, Line 20, Exitcode 2
!!! compile problem

Perhaps a chmod -R +w ${S} in src_unpack() could do the trick.

------- Comment #1 From Troy Dack 2003-11-15 21:01:25 0000 -------
I can't seem to duplicate this error.

However I've fixed the sed statement in the ebuild that was incorrect because the make file has changed.

It looks like it could be something a little more than just the tar ball permissions.

	cp: cannot create regular file `Makefile.orig': Permission denied
	/usr/sbin/ebuild.sh: line 18: Makefile: Permission denied

That is just a simple copy of the Makefile to Makefile.orig, tar ball permissions shouldn't cause that to fail.

------- Comment #2 From Troy Dack 2003-11-15 21:17:24 0000 -------
Sorted!

This only seems to appear if you have
	FEATURES="userpriv"
so that is why I couldn't reproduce it intially.

chmod added to src_unpack seems to have fixed it.

Committed to cvs, please test and let me know.

------- Comment #3 From Norberto Bensa 2003-11-15 23:37:04 0000 -------
Fixed. Thanks.
I think you can close this one.

Regards,
Norberto

------- Comment #4 From Troy Dack 2003-11-17 04:21:31 0000 -------
Closing.

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