Skip to contentSkip to conversation

New: Failing chmod when running "make" in buildroot (openssl). /usr/lib should have been /usr/lib64

Buildroot bugzilla at busybox.net 1 participant 7 messages Feb 3, 2011 – Feb 23, 2011

lore
Share & tools
lore
#0 lore raw

https://bugs.busybox.net/show_bug.cgi?id=3205

Summary: Failing chmod when running "make" in buildroot
(openssl). /usr/lib should have been /usr/lib64
Product: buildroot
Version: 2010.11
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at buildroot.uclibc.org
ReportedBy: daniel at visp.name
CC: buildroot at uclibc.org
Estimated Hours: 0.0

Created attachment 2911
--> https://bugs.busybox.net/attachment.cgi?id=2911
Buildroot "make" output

Quoted 3 lines

make[1]: Leaving directory `/usr/src/buildroot-2010.11/output/build/openssl-1.0.0b' rm -rf /usr/src/buildroot-2010.11/output/target/usr/lib/ssl
rm -f /usr/src/buildroot-2010.11/output/target/usr/bin/c_rehash

# libraries gets installed read only, so strip fails
Quoted 3 lines

chmod +w /usr/src/buildroot-2010.11/output/target/usr/lib/engines/lib*.so
chmod: cannot access `/usr/src/buildroot-2010.11/output/target/usr/lib/engines/lib*.so': No such file or directory
make: *** [/usr/src/buildroot-2010.11/output/build/openssl-1.0.0b/.stamp_target_installed] Error 1

If failes to chmod the files because the engines catalog is in lib64 instead. Added a symlink as a workaround, but then it also tried to chmod libssl.so.* and libcrypto.so.* in the same catalog with the same result. Was able to make it continue by touching those files and setting the permissions, then removing the dummy files afterwards. See attached files for more detailed output

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#1 lore raw

[Buildroot] [Bug 3205] Failing chmod when running "make" in buildroot (openssl). /usr/lib should have been /usr/lib64

https://bugs.busybox.net/show_bug.cgi?id=3205

--- Comment #1 from daniel at visp.name --- Created attachment 2917
--> https://bugs.busybox.net/attachment.cgi?id=2917
Buildroot "make" output with engines-symlink workaround

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#2 lore raw

[Buildroot] [Bug 3205] Failing chmod when running "make" in buildroot (openssl). /usr/lib should have been /usr/lib64

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=3205

--- Comment #2 from daniel at visp.name --- Created attachment 2923
--> https://bugs.busybox.net/attachment.cgi?id=2923
File listing showing the problem

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#3 lore raw

[Buildroot] [Bug 3205] Failing chmod when running "make" in buildroot (openssl). /usr/lib should have been /usr/lib64

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=3205

--- Comment #3 from daniel at visp.name --- Created attachment 2929
--> https://bugs.busybox.net/attachment.cgi?id=2929
Config file used for buildroot

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#4 lore raw

[Buildroot] [Bug 3205] Failing chmod when running "make" in buildroot (openssl). /usr/lib should have been /usr/lib64

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=3205

Gustavo Zacarias <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |ASSIGNED
         AssignedTo|unassigned at buildroot.uclibc |gustavo at zacarias.com.ar
                   |.org                        |

--- Comment #4 from Gustavo Zacarias <[email protected]> --- Can you try the patch at
http://repo.or.cz/w/buildroot-gz.git/commitdiff/dddfea987f329a7dea507f987bde59f52b14ddd5
?
Fixes the issue for me.

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#5 lore raw

[Buildroot] [Bug 3205] Failing chmod when running "make" in buildroot (openssl). /usr/lib should have been /usr/lib64

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=3205

--- Comment #5 from daniel at visp.name ---
Testing it now. Takes a while to build...

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
#6 lore raw

[Buildroot] [Bug 3205] Failing chmod when running "make" in buildroot (openssl). /usr/lib should have been /usr/lib64

In reply to bugzilla at busybox.net

https://bugs.busybox.net/show_bug.cgi?id=3205

Peter Korsgaard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #6 from Peter Korsgaard <[email protected]> --- Committed fix by Gustavo, thanks

Signature · 3 lines
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.